~ubuntu-branches/ubuntu/oneiric/gecko-mediaplayer/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne, Cesare Tirabassi, Julien Lavergne
  • Date: 2011-02-14 23:17:54 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20110214231754-sih8fqnn1evbuf4d
Tags: 1.0.0-0ubuntu1
[ Cesare Tirabassi ]
* Update dependencies list (xulrunner, midbrowser and firefox-3.5)
* Add konqueror, opera and chromium in long description
* Removed all symlinks, lookup is now implemented upstream by all
  compatible packages (Closes: #581807).
  This may (and likely will) break backports.
* Updated watch file in line with new google code standard
  (thanks D. Leidert)

[ Julien Lavergne ]
* New upstream release (LP: #693867)
 - Fix crash when loading iTunes store (LP: #569682) 
* debian/rules:
 - Build without gconf support, which should fix the hang with chromium
  (LP: #545209).
* debian/patches/90_svn420_fix_null.patch:
 - From upstream, fix NULL pointer errors (LP: #709277)
* debian/patches/91_svn421_disable_npp_initialize.patch:
 - From upstream, fix FTBFS with new xulrunner.
* debian/control:
 - Drop build-depends on quilt, handle by format 3.0.
* debian/patches/01_xulrunner-20.patch:
 - Drop, replace by upstream patch 91_svn421_disable_npp_initialize.patch.

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.
 
3
# Generated by GNU Autoconf 2.65.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
# Inc.
 
9
#
 
10
#
7
11
# This configure script is free software; the Free Software Foundation
8
12
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
12
16
 
13
17
# Be more Bourne compatible
14
18
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
20
  emulate sh
17
21
  NULLCMD=:
18
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
24
  alias -g '${1+"$@"}'='"$@"'
21
25
  setopt NO_GLOB_SUBST
22
26
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
25
32
esac
26
 
 
27
33
fi
28
34
 
29
35
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
36
as_nl='
41
37
'
42
38
export as_nl
44
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
50
  as_echo='printf %s\n'
49
51
  as_echo_n='printf %s'
50
52
else
55
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
58
    as_echo_n_body='eval
57
59
      arg=$1;
58
 
      case $arg in
 
60
      case $arg in #(
59
61
      *"$as_nl"*)
60
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78
80
  }
79
81
fi
80
82
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
83
 
89
84
# IFS
90
85
# We need space, tab and new line, in precisely that order.  Quoting is
94
89
IFS=" ""        $as_nl"
95
90
 
96
91
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
 
92
case $0 in #((
98
93
  *[\\/]* ) as_myself=$0 ;;
99
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
95
for as_dir in $PATH
101
96
do
102
97
  IFS=$as_save_IFS
103
98
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
106
101
IFS=$as_save_IFS
107
102
 
108
103
     ;;
114
109
fi
115
110
if test ! -f "$as_myself"; then
116
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
 
112
  exit 1
118
113
fi
119
114
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
122
done
124
123
PS1='$ '
125
124
PS2='> '
131
130
LANGUAGE=C
132
131
export LANGUAGE
133
132
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
133
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172
135
 
173
136
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
174
test \$(( 1 + 1 )) = 2 || exit 1"
 
175
  if (eval "$as_required") 2>/dev/null; then :
175
176
  as_have_required=yes
176
177
else
177
178
  as_have_required=no
178
179
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
181
 
 
182
else
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
184
as_found=false
241
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
186
do
243
187
  IFS=$as_save_IFS
244
188
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
 
189
  as_found=:
 
190
  case $as_dir in #(
246
191
         /*)
247
192
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
193
             # Try only shells that exist, to save several forks.
 
194
             as_shell=$as_dir/$as_base
 
195
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
196
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  CONFIG_SHELL=$as_shell as_have_required=yes
 
198
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  break 2
 
200
fi
 
201
fi
249
202
           done;;
250
203
       esac
 
204
  as_found=false
251
205
done
 
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
207
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$SHELL as_have_required=yes
 
209
fi; }
252
210
IFS=$as_save_IFS
253
211
 
254
212
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
 
213
      if test "x$CONFIG_SHELL" != x; then :
 
214
  # We cannot yet assume a decent shell, so we have to provide a
 
215
        # neutralization value for shells without unset; and this also
 
216
        # works around shells that cannot unset nonexistent variables.
 
217
        BASH_ENV=/dev/null
 
218
        ENV=/dev/null
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
220
        export CONFIG_SHELL
366
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
222
fi
368
223
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
 
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
224
    if test x$as_have_required = xno; then :
 
225
  $as_echo "$0: This script requires a shell more modern than all"
 
226
  $as_echo "$0: the shells that I found on your system."
 
227
  if test x${ZSH_VERSION+set} = xset ; then
 
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
230
  else
 
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
232
$0: including any error possibly output before this
 
233
$0: message. Then install a modern shell, or manually run
 
234
$0: the script under such a shell if you do have one."
 
235
  fi
 
236
  exit 1
 
237
fi
 
238
fi
 
239
fi
 
240
SHELL=${CONFIG_SHELL-/bin/sh}
 
241
export SHELL
 
242
# Unset more variables known to interfere with behavior of common tools.
 
243
CLICOLOR_FORCE= GREP_OPTIONS=
 
244
unset CLICOLOR_FORCE GREP_OPTIONS
 
245
 
 
246
## --------------------- ##
 
247
## M4sh Shell Functions. ##
 
248
## --------------------- ##
 
249
# as_fn_unset VAR
 
250
# ---------------
 
251
# Portably unset VAR.
 
252
as_fn_unset ()
 
253
{
 
254
  { eval $1=; unset $1;}
 
255
}
 
256
as_unset=as_fn_unset
 
257
 
 
258
# as_fn_set_status STATUS
 
259
# -----------------------
 
260
# Set $? to STATUS, without forking.
 
261
as_fn_set_status ()
 
262
{
 
263
  return $1
 
264
} # as_fn_set_status
 
265
 
 
266
# as_fn_exit STATUS
 
267
# -----------------
 
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
269
as_fn_exit ()
 
270
{
 
271
  set +e
 
272
  as_fn_set_status $1
 
273
  exit $1
 
274
} # as_fn_exit
 
275
 
 
276
# as_fn_mkdir_p
 
277
# -------------
 
278
# Create "$as_dir" as a directory, including parents if necessary.
 
279
as_fn_mkdir_p ()
 
280
{
 
281
 
 
282
  case $as_dir in #(
 
283
  -*) as_dir=./$as_dir;;
 
284
  esac
 
285
  test -d "$as_dir" || eval $as_mkdir_p || {
 
286
    as_dirs=
 
287
    while :; do
 
288
      case $as_dir in #(
 
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
290
      *) as_qdir=$as_dir;;
 
291
      esac
 
292
      as_dirs="'$as_qdir' $as_dirs"
 
293
      as_dir=`$as_dirname -- "$as_dir" ||
 
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
295
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
296
         X"$as_dir" : 'X\(//\)$' \| \
 
297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
298
$as_echo X"$as_dir" |
 
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
300
            s//\1/
 
301
            q
 
302
          }
 
303
          /^X\(\/\/\)[^/].*/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)$/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\).*/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          s/.*/./; q'`
 
316
      test -d "$as_dir" && break
 
317
    done
 
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
319
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
320
 
 
321
 
 
322
} # as_fn_mkdir_p
 
323
# as_fn_append VAR VALUE
 
324
# ----------------------
 
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
326
# advantage of any shell optimizations that allow amortized linear growth over
 
327
# repeated appends, instead of the typical quadratic growth present in naive
 
328
# implementations.
 
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
330
  eval 'as_fn_append ()
 
331
  {
 
332
    eval $1+=\$2
 
333
  }'
 
334
else
 
335
  as_fn_append ()
 
336
  {
 
337
    eval $1=\$$1\$2
 
338
  }
 
339
fi # as_fn_append
 
340
 
 
341
# as_fn_arith ARG...
 
342
# ------------------
 
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
345
# must be portable across $(()) and expr.
 
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
347
  eval 'as_fn_arith ()
 
348
  {
 
349
    as_val=$(( $* ))
 
350
  }'
 
351
else
 
352
  as_fn_arith ()
 
353
  {
 
354
    as_val=`expr "$@" || test $? -eq 1`
 
355
  }
 
356
fi # as_fn_arith
 
357
 
 
358
 
 
359
# as_fn_error ERROR [LINENO LOG_FD]
 
360
# ---------------------------------
 
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
363
# script with status $?, using 1 if that was 0.
 
364
as_fn_error ()
 
365
{
 
366
  as_status=$?; test $as_status -eq 0 && as_status=1
 
367
  if test "$3"; then
 
368
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
370
  fi
 
371
  $as_echo "$as_me: error: $1" >&2
 
372
  as_fn_exit $as_status
 
373
} # as_fn_error
 
374
 
 
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
377
  as_expr=expr
 
378
else
 
379
  as_expr=false
 
380
fi
 
381
 
 
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
383
  as_basename=basename
 
384
else
 
385
  as_basename=false
 
386
fi
 
387
 
 
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
389
  as_dirname=dirname
 
390
else
 
391
  as_dirname=false
 
392
fi
 
393
 
 
394
as_me=`$as_basename -- "$0" ||
 
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
396
         X"$0" : 'X\(//\)$' \| \
 
397
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
398
$as_echo X/"$0" |
 
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
400
            s//\1/
 
401
            q
 
402
          }
 
403
          /^X\/\(\/\/\)$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\).*/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          s/.*/./; q'`
 
412
 
 
413
# Avoid depending upon Character Ranges.
 
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
417
as_cr_digits='0123456789'
 
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
419
 
 
420
 
 
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
426
  sed -n '
459
427
    p
460
428
    /[$]LINENO/=
471
439
      s/-\n.*//
472
440
    ' >$as_me.lineno &&
473
441
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
 
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476
443
 
477
444
  # Don't try to exec as it changes $[0], causing all sort of problems
478
445
  # (the dirname of $[0] is not the place where we might find the
482
449
  exit
483
450
}
484
451
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
452
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
 
453
case `echo -n x` in #(((((
494
454
-n*)
495
 
  case `echo 'x\c'` in
 
455
  case `echo 'xy\c'` in
496
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
 
457
  xy)  ECHO_C='\c';;
 
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
459
       ECHO_T=' ';;
498
460
  esac;;
499
461
*)
500
462
  ECHO_N='-n';;
501
463
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
464
 
509
465
rm -f conf$$ conf$$.exe conf$$.file
510
466
if test -d conf$$.dir; then
534
490
rmdir conf$$.dir 2>/dev/null
535
491
 
536
492
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
 
493
  as_mkdir_p='mkdir -p "$as_dir"'
538
494
else
539
495
  test -d ./-p && rmdir ./-p
540
496
  as_mkdir_p=false
553
509
      if test -d "$1"; then
554
510
        test -d "$1/.";
555
511
      else
556
 
        case $1 in
 
512
        case $1 in #(
557
513
        -*)set "./$1";;
558
514
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560
516
        ???[sx]*):;;*)false;;esac;fi
561
517
    '\'' sh
562
518
  '
570
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
527
 
572
528
 
573
 
 
574
 
exec 7<&0 </dev/null 6>&1
 
529
test -n "$DJDIR" || exec 7<&0 </dev/null
 
530
exec 6>&1
575
531
 
576
532
# Name of the host.
577
533
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
589
545
subdirs=
590
546
MFLAGS=
591
547
MAKEFLAGS=
592
 
SHELL=${CONFIG_SHELL-/bin/sh}
593
548
 
594
549
# Identity of this package.
595
550
PACKAGE_NAME=
597
552
PACKAGE_VERSION=
598
553
PACKAGE_STRING=
599
554
PACKAGE_BUGREPORT=
 
555
PACKAGE_URL=
600
556
 
601
557
ac_unique_file="configure.in"
602
558
# Factoring default headers for most tests.
758
714
program_transform_name
759
715
prefix
760
716
exec_prefix
 
717
PACKAGE_URL
761
718
PACKAGE_BUGREPORT
762
719
PACKAGE_STRING
763
720
PACKAGE_VERSION
913
870
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
914
871
    # Reject names that are not valid shell variable names.
915
872
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
916
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
917
 
   { (exit 1); exit 1; }; }
 
873
      as_fn_error "invalid feature name: $ac_useropt"
918
874
    ac_useropt_orig=$ac_useropt
919
875
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920
876
    case $ac_user_opts in
940
896
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
941
897
    # Reject names that are not valid shell variable names.
942
898
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
944
 
   { (exit 1); exit 1; }; }
 
899
      as_fn_error "invalid feature name: $ac_useropt"
945
900
    ac_useropt_orig=$ac_useropt
946
901
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947
902
    case $ac_user_opts in
1145
1100
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1146
1101
    # Reject names that are not valid shell variable names.
1147
1102
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1148
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1149
 
   { (exit 1); exit 1; }; }
 
1103
      as_fn_error "invalid package name: $ac_useropt"
1150
1104
    ac_useropt_orig=$ac_useropt
1151
1105
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152
1106
    case $ac_user_opts in
1162
1116
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1163
1117
    # Reject names that are not valid shell variable names.
1164
1118
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1165
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1166
 
   { (exit 1); exit 1; }; }
 
1119
      as_fn_error "invalid package name: $ac_useropt"
1167
1120
    ac_useropt_orig=$ac_useropt
1168
1121
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169
1122
    case $ac_user_opts in
1193
1146
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1194
1147
    x_libraries=$ac_optarg ;;
1195
1148
 
1196
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1197
 
Try \`$0 --help' for more information." >&2
1198
 
   { (exit 1); exit 1; }; }
 
1149
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1150
Try \`$0 --help' for more information."
1199
1151
    ;;
1200
1152
 
1201
1153
  *=*)
1202
1154
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1203
1155
    # Reject names that are not valid shell variable names.
1204
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1205
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1206
 
   { (exit 1); exit 1; }; }
 
1156
    case $ac_envvar in #(
 
1157
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1158
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1159
    esac
1207
1160
    eval $ac_envvar=\$ac_optarg
1208
1161
    export $ac_envvar ;;
1209
1162
 
1220
1173
 
1221
1174
if test -n "$ac_prev"; then
1222
1175
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1223
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1224
 
   { (exit 1); exit 1; }; }
 
1176
  as_fn_error "missing argument to $ac_option"
1225
1177
fi
1226
1178
 
1227
1179
if test -n "$ac_unrecognized_opts"; then
1228
1180
  case $enable_option_checking in
1229
1181
    no) ;;
1230
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1231
 
   { (exit 1); exit 1; }; } ;;
 
1182
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1232
1183
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1233
1184
  esac
1234
1185
fi
1251
1202
    [\\/$]* | ?:[\\/]* )  continue;;
1252
1203
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1253
1204
  esac
1254
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1255
 
   { (exit 1); exit 1; }; }
 
1205
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1256
1206
done
1257
1207
 
1258
1208
# There might be people who depend on the old broken behavior: `$host'
1282
1232
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1283
1233
ac_ls_di=`ls -di .` &&
1284
1234
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1285
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1286
 
   { (exit 1); exit 1; }; }
 
1235
  as_fn_error "working directory cannot be determined"
1287
1236
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1289
 
   { (exit 1); exit 1; }; }
 
1237
  as_fn_error "pwd does not report name of working directory"
1290
1238
 
1291
1239
 
1292
1240
# Find the source files, if location was not specified.
1325
1273
fi
1326
1274
if test ! -r "$srcdir/$ac_unique_file"; then
1327
1275
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1328
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1329
 
   { (exit 1); exit 1; }; }
 
1276
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1330
1277
fi
1331
1278
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1332
1279
ac_abs_confdir=`(
1333
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1334
 
   { (exit 1); exit 1; }; }
 
1280
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1335
1281
        pwd)`
1336
1282
# When building in place, set srcdir=.
1337
1283
if test "$ac_abs_confdir" = "$ac_pwd"; then
1458
1404
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1459
1405
              nonstandard directory <lib dir>
1460
1406
  LIBS        libraries to pass to the linker, e.g. -l<library>
1461
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1407
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1462
1408
              you have headers in a nonstandard directory <include dir>
1463
1409
  CPP         C preprocessor
1464
1410
  CXX         C++ compiler command
1482
1428
Use these variables to override the choices made by `configure' or to help
1483
1429
it to find libraries and programs with nonstandard names/locations.
1484
1430
 
 
1431
Report bugs to the package provider.
1485
1432
_ACEOF
1486
1433
ac_status=$?
1487
1434
fi
1545
1492
if $ac_init_version; then
1546
1493
  cat <<\_ACEOF
1547
1494
configure
1548
 
generated by GNU Autoconf 2.63
 
1495
generated by GNU Autoconf 2.65
1549
1496
 
1550
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1551
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1497
Copyright (C) 2009 Free Software Foundation, Inc.
1552
1498
This configure script is free software; the Free Software Foundation
1553
1499
gives unlimited permission to copy, distribute and modify it.
1554
1500
_ACEOF
1555
1501
  exit
1556
1502
fi
 
1503
 
 
1504
## ------------------------ ##
 
1505
## Autoconf initialization. ##
 
1506
## ------------------------ ##
 
1507
 
 
1508
# ac_fn_c_try_compile LINENO
 
1509
# --------------------------
 
1510
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1511
ac_fn_c_try_compile ()
 
1512
{
 
1513
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1514
  rm -f conftest.$ac_objext
 
1515
  if { { ac_try="$ac_compile"
 
1516
case "(($ac_try" in
 
1517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1518
  *) ac_try_echo=$ac_try;;
 
1519
esac
 
1520
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1521
$as_echo "$ac_try_echo"; } >&5
 
1522
  (eval "$ac_compile") 2>conftest.err
 
1523
  ac_status=$?
 
1524
  if test -s conftest.err; then
 
1525
    grep -v '^ *+' conftest.err >conftest.er1
 
1526
    cat conftest.er1 >&5
 
1527
    mv -f conftest.er1 conftest.err
 
1528
  fi
 
1529
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1530
  test $ac_status = 0; } && {
 
1531
         test -z "$ac_c_werror_flag" ||
 
1532
         test ! -s conftest.err
 
1533
       } && test -s conftest.$ac_objext; then :
 
1534
  ac_retval=0
 
1535
else
 
1536
  $as_echo "$as_me: failed program was:" >&5
 
1537
sed 's/^/| /' conftest.$ac_ext >&5
 
1538
 
 
1539
        ac_retval=1
 
1540
fi
 
1541
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1542
  as_fn_set_status $ac_retval
 
1543
 
 
1544
} # ac_fn_c_try_compile
 
1545
 
 
1546
# ac_fn_c_try_link LINENO
 
1547
# -----------------------
 
1548
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1549
ac_fn_c_try_link ()
 
1550
{
 
1551
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1552
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1553
  if { { ac_try="$ac_link"
 
1554
case "(($ac_try" in
 
1555
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1556
  *) ac_try_echo=$ac_try;;
 
1557
esac
 
1558
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1559
$as_echo "$ac_try_echo"; } >&5
 
1560
  (eval "$ac_link") 2>conftest.err
 
1561
  ac_status=$?
 
1562
  if test -s conftest.err; then
 
1563
    grep -v '^ *+' conftest.err >conftest.er1
 
1564
    cat conftest.er1 >&5
 
1565
    mv -f conftest.er1 conftest.err
 
1566
  fi
 
1567
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1568
  test $ac_status = 0; } && {
 
1569
         test -z "$ac_c_werror_flag" ||
 
1570
         test ! -s conftest.err
 
1571
       } && test -s conftest$ac_exeext && {
 
1572
         test "$cross_compiling" = yes ||
 
1573
         $as_test_x conftest$ac_exeext
 
1574
       }; then :
 
1575
  ac_retval=0
 
1576
else
 
1577
  $as_echo "$as_me: failed program was:" >&5
 
1578
sed 's/^/| /' conftest.$ac_ext >&5
 
1579
 
 
1580
        ac_retval=1
 
1581
fi
 
1582
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1583
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1584
  # interfere with the next link command; also delete a directory that is
 
1585
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1586
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1587
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1588
  as_fn_set_status $ac_retval
 
1589
 
 
1590
} # ac_fn_c_try_link
 
1591
 
 
1592
# ac_fn_c_try_cpp LINENO
 
1593
# ----------------------
 
1594
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1595
ac_fn_c_try_cpp ()
 
1596
{
 
1597
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1598
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1599
case "(($ac_try" in
 
1600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1601
  *) ac_try_echo=$ac_try;;
 
1602
esac
 
1603
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1604
$as_echo "$ac_try_echo"; } >&5
 
1605
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1606
  ac_status=$?
 
1607
  if test -s conftest.err; then
 
1608
    grep -v '^ *+' conftest.err >conftest.er1
 
1609
    cat conftest.er1 >&5
 
1610
    mv -f conftest.er1 conftest.err
 
1611
  fi
 
1612
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1613
  test $ac_status = 0; } >/dev/null && {
 
1614
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1615
         test ! -s conftest.err
 
1616
       }; then :
 
1617
  ac_retval=0
 
1618
else
 
1619
  $as_echo "$as_me: failed program was:" >&5
 
1620
sed 's/^/| /' conftest.$ac_ext >&5
 
1621
 
 
1622
    ac_retval=1
 
1623
fi
 
1624
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1625
  as_fn_set_status $ac_retval
 
1626
 
 
1627
} # ac_fn_c_try_cpp
 
1628
 
 
1629
# ac_fn_c_try_run LINENO
 
1630
# ----------------------
 
1631
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1632
# that executables *can* be run.
 
1633
ac_fn_c_try_run ()
 
1634
{
 
1635
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1636
  if { { ac_try="$ac_link"
 
1637
case "(($ac_try" in
 
1638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1639
  *) ac_try_echo=$ac_try;;
 
1640
esac
 
1641
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1642
$as_echo "$ac_try_echo"; } >&5
 
1643
  (eval "$ac_link") 2>&5
 
1644
  ac_status=$?
 
1645
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1646
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
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_try") 2>&5
 
1654
  ac_status=$?
 
1655
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1656
  test $ac_status = 0; }; }; then :
 
1657
  ac_retval=0
 
1658
else
 
1659
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1660
       $as_echo "$as_me: failed program was:" >&5
 
1661
sed 's/^/| /' conftest.$ac_ext >&5
 
1662
 
 
1663
       ac_retval=$ac_status
 
1664
fi
 
1665
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1666
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1667
  as_fn_set_status $ac_retval
 
1668
 
 
1669
} # ac_fn_c_try_run
 
1670
 
 
1671
# ac_fn_cxx_try_compile LINENO
 
1672
# ----------------------------
 
1673
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1674
ac_fn_cxx_try_compile ()
 
1675
{
 
1676
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1677
  rm -f conftest.$ac_objext
 
1678
  if { { ac_try="$ac_compile"
 
1679
case "(($ac_try" in
 
1680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1681
  *) ac_try_echo=$ac_try;;
 
1682
esac
 
1683
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1684
$as_echo "$ac_try_echo"; } >&5
 
1685
  (eval "$ac_compile") 2>conftest.err
 
1686
  ac_status=$?
 
1687
  if test -s conftest.err; then
 
1688
    grep -v '^ *+' conftest.err >conftest.er1
 
1689
    cat conftest.er1 >&5
 
1690
    mv -f conftest.er1 conftest.err
 
1691
  fi
 
1692
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1693
  test $ac_status = 0; } && {
 
1694
         test -z "$ac_cxx_werror_flag" ||
 
1695
         test ! -s conftest.err
 
1696
       } && test -s conftest.$ac_objext; then :
 
1697
  ac_retval=0
 
1698
else
 
1699
  $as_echo "$as_me: failed program was:" >&5
 
1700
sed 's/^/| /' conftest.$ac_ext >&5
 
1701
 
 
1702
        ac_retval=1
 
1703
fi
 
1704
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1705
  as_fn_set_status $ac_retval
 
1706
 
 
1707
} # ac_fn_cxx_try_compile
 
1708
 
 
1709
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1710
# -------------------------------------------------------
 
1711
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1712
# the include files in INCLUDES and setting the cache variable VAR
 
1713
# accordingly.
 
1714
ac_fn_c_check_header_mongrel ()
 
1715
{
 
1716
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1717
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1718
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1719
$as_echo_n "checking for $2... " >&6; }
 
1720
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1721
  $as_echo_n "(cached) " >&6
 
1722
fi
 
1723
eval ac_res=\$$3
 
1724
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1725
$as_echo "$ac_res" >&6; }
 
1726
else
 
1727
  # Is the header compilable?
 
1728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1729
$as_echo_n "checking $2 usability... " >&6; }
 
1730
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1731
/* end confdefs.h.  */
 
1732
$4
 
1733
#include <$2>
 
1734
_ACEOF
 
1735
if ac_fn_c_try_compile "$LINENO"; then :
 
1736
  ac_header_compiler=yes
 
1737
else
 
1738
  ac_header_compiler=no
 
1739
fi
 
1740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1742
$as_echo "$ac_header_compiler" >&6; }
 
1743
 
 
1744
# Is the header present?
 
1745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1746
$as_echo_n "checking $2 presence... " >&6; }
 
1747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1748
/* end confdefs.h.  */
 
1749
#include <$2>
 
1750
_ACEOF
 
1751
if ac_fn_c_try_cpp "$LINENO"; then :
 
1752
  ac_header_preproc=yes
 
1753
else
 
1754
  ac_header_preproc=no
 
1755
fi
 
1756
rm -f conftest.err conftest.$ac_ext
 
1757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1758
$as_echo "$ac_header_preproc" >&6; }
 
1759
 
 
1760
# So?  What about this header?
 
1761
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1762
  yes:no: )
 
1763
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1764
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1765
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1766
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1767
    ;;
 
1768
  no:yes:* )
 
1769
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1770
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1771
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1772
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1773
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1774
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1775
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1776
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1777
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1778
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1779
    ;;
 
1780
esac
 
1781
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1782
$as_echo_n "checking for $2... " >&6; }
 
1783
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1784
  $as_echo_n "(cached) " >&6
 
1785
else
 
1786
  eval "$3=\$ac_header_compiler"
 
1787
fi
 
1788
eval ac_res=\$$3
 
1789
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1790
$as_echo "$ac_res" >&6; }
 
1791
fi
 
1792
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1793
 
 
1794
} # ac_fn_c_check_header_mongrel
 
1795
 
 
1796
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1797
# -------------------------------------------------------
 
1798
# Tests whether HEADER exists and can be compiled using the include files in
 
1799
# INCLUDES, setting the cache variable VAR accordingly.
 
1800
ac_fn_c_check_header_compile ()
 
1801
{
 
1802
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1803
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1804
$as_echo_n "checking for $2... " >&6; }
 
1805
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1806
  $as_echo_n "(cached) " >&6
 
1807
else
 
1808
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1809
/* end confdefs.h.  */
 
1810
$4
 
1811
#include <$2>
 
1812
_ACEOF
 
1813
if ac_fn_c_try_compile "$LINENO"; then :
 
1814
  eval "$3=yes"
 
1815
else
 
1816
  eval "$3=no"
 
1817
fi
 
1818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1819
fi
 
1820
eval ac_res=\$$3
 
1821
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1822
$as_echo "$ac_res" >&6; }
 
1823
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1824
 
 
1825
} # ac_fn_c_check_header_compile
 
1826
 
 
1827
# ac_fn_c_check_func LINENO FUNC VAR
 
1828
# ----------------------------------
 
1829
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1830
ac_fn_c_check_func ()
 
1831
{
 
1832
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1833
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1834
$as_echo_n "checking for $2... " >&6; }
 
1835
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1836
  $as_echo_n "(cached) " >&6
 
1837
else
 
1838
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1839
/* end confdefs.h.  */
 
1840
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1841
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1842
#define $2 innocuous_$2
 
1843
 
 
1844
/* System header to define __stub macros and hopefully few prototypes,
 
1845
    which can conflict with char $2 (); below.
 
1846
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1847
    <limits.h> exists even on freestanding compilers.  */
 
1848
 
 
1849
#ifdef __STDC__
 
1850
# include <limits.h>
 
1851
#else
 
1852
# include <assert.h>
 
1853
#endif
 
1854
 
 
1855
#undef $2
 
1856
 
 
1857
/* Override any GCC internal prototype to avoid an error.
 
1858
   Use char because int might match the return type of a GCC
 
1859
   builtin and then its argument prototype would still apply.  */
 
1860
#ifdef __cplusplus
 
1861
extern "C"
 
1862
#endif
 
1863
char $2 ();
 
1864
/* The GNU C library defines this for functions which it implements
 
1865
    to always fail with ENOSYS.  Some functions are actually named
 
1866
    something starting with __ and the normal name is an alias.  */
 
1867
#if defined __stub_$2 || defined __stub___$2
 
1868
choke me
 
1869
#endif
 
1870
 
 
1871
int
 
1872
main ()
 
1873
{
 
1874
return $2 ();
 
1875
  ;
 
1876
  return 0;
 
1877
}
 
1878
_ACEOF
 
1879
if ac_fn_c_try_link "$LINENO"; then :
 
1880
  eval "$3=yes"
 
1881
else
 
1882
  eval "$3=no"
 
1883
fi
 
1884
rm -f core conftest.err conftest.$ac_objext \
 
1885
    conftest$ac_exeext conftest.$ac_ext
 
1886
fi
 
1887
eval ac_res=\$$3
 
1888
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1889
$as_echo "$ac_res" >&6; }
 
1890
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1891
 
 
1892
} # ac_fn_c_check_func
1557
1893
cat >config.log <<_ACEOF
1558
1894
This file contains any messages produced by compilers while
1559
1895
running configure, to aid debugging if configure makes a mistake.
1560
1896
 
1561
1897
It was created by $as_me, which was
1562
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1898
generated by GNU Autoconf 2.65.  Invocation command line was
1563
1899
 
1564
1900
  $ $0 $@
1565
1901
 
1595
1931
do
1596
1932
  IFS=$as_save_IFS
1597
1933
  test -z "$as_dir" && as_dir=.
1598
 
  $as_echo "PATH: $as_dir"
1599
 
done
 
1934
    $as_echo "PATH: $as_dir"
 
1935
  done
1600
1936
IFS=$as_save_IFS
1601
1937
 
1602
1938
} >&5
1633
1969
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1634
1970
    esac
1635
1971
    case $ac_pass in
1636
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1972
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1637
1973
    2)
1638
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1974
      as_fn_append ac_configure_args1 " '$ac_arg'"
1639
1975
      if test $ac_must_keep_next = true; then
1640
1976
        ac_must_keep_next=false # Got value, back to normal.
1641
1977
      else
1651
1987
          -* ) ac_must_keep_next=true ;;
1652
1988
        esac
1653
1989
      fi
1654
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1990
      as_fn_append ac_configure_args " '$ac_arg'"
1655
1991
      ;;
1656
1992
    esac
1657
1993
  done
1658
1994
done
1659
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1660
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1995
{ ac_configure_args0=; unset ac_configure_args0;}
 
1996
{ ac_configure_args1=; unset ac_configure_args1;}
1661
1997
 
1662
1998
# When interrupted or exit'd, cleanup temporary files, and complete
1663
1999
# config.log.  We remove comments because anyway the quotes in there
1682
2018
    case $ac_val in #(
1683
2019
    *${as_nl}*)
1684
2020
      case $ac_var in #(
1685
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2021
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1686
2022
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1687
2023
      esac
1688
2024
      case $ac_var in #(
1689
2025
      _ | IFS | as_nl) ;; #(
1690
2026
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1691
 
      *) $as_unset $ac_var ;;
 
2027
      *) { eval $ac_var=; unset $ac_var;} ;;
1692
2028
      esac ;;
1693
2029
    esac
1694
2030
  done
1760
2096
    exit $exit_status
1761
2097
' 0
1762
2098
for ac_signal in 1 2 13 15; do
1763
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2099
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1764
2100
done
1765
2101
ac_signal=0
1766
2102
 
1767
2103
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1768
2104
rm -f -r conftest* confdefs.h
1769
2105
 
 
2106
$as_echo "/* confdefs.h */" > confdefs.h
 
2107
 
1770
2108
# Predefined preprocessor variables.
1771
2109
 
1772
2110
cat >>confdefs.h <<_ACEOF
1773
2111
#define PACKAGE_NAME "$PACKAGE_NAME"
1774
2112
_ACEOF
1775
2113
 
1776
 
 
1777
2114
cat >>confdefs.h <<_ACEOF
1778
2115
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1779
2116
_ACEOF
1780
2117
 
1781
 
 
1782
2118
cat >>confdefs.h <<_ACEOF
1783
2119
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1784
2120
_ACEOF
1785
2121
 
1786
 
 
1787
2122
cat >>confdefs.h <<_ACEOF
1788
2123
#define PACKAGE_STRING "$PACKAGE_STRING"
1789
2124
_ACEOF
1790
2125
 
1791
 
 
1792
2126
cat >>confdefs.h <<_ACEOF
1793
2127
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1794
2128
_ACEOF
1795
2129
 
 
2130
cat >>confdefs.h <<_ACEOF
 
2131
#define PACKAGE_URL "$PACKAGE_URL"
 
2132
_ACEOF
 
2133
 
1796
2134
 
1797
2135
# Let the site file select an alternate cache file if it wants to.
1798
2136
# Prefer an explicitly selected file to automatically selected ones.
1810
2148
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1811
2149
do
1812
2150
  test "x$ac_site_file" = xNONE && continue
1813
 
  if test -r "$ac_site_file"; then
1814
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2151
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2152
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1815
2153
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1816
2154
    sed 's/^/| /' "$ac_site_file" >&5
1817
2155
    . "$ac_site_file"
1819
2157
done
1820
2158
 
1821
2159
if test -r "$cache_file"; then
1822
 
  # Some versions of bash will fail to source /dev/null (special
1823
 
  # files actually), so we avoid doing that.
1824
 
  if test -f "$cache_file"; then
1825
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2160
  # Some versions of bash will fail to source /dev/null (special files
 
2161
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2162
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2163
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1826
2164
$as_echo "$as_me: loading cache $cache_file" >&6;}
1827
2165
    case $cache_file in
1828
2166
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1830
2168
    esac
1831
2169
  fi
1832
2170
else
1833
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2171
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1834
2172
$as_echo "$as_me: creating cache $cache_file" >&6;}
1835
2173
  >$cache_file
1836
2174
fi
1845
2183
  eval ac_new_val=\$ac_env_${ac_var}_value
1846
2184
  case $ac_old_set,$ac_new_set in
1847
2185
    set,)
1848
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2186
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1849
2187
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1850
2188
      ac_cache_corrupted=: ;;
1851
2189
    ,set)
1852
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2190
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1853
2191
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1854
2192
      ac_cache_corrupted=: ;;
1855
2193
    ,);;
1859
2197
        ac_old_val_w=`echo x $ac_old_val`
1860
2198
        ac_new_val_w=`echo x $ac_new_val`
1861
2199
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1862
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2200
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1863
2201
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1864
2202
          ac_cache_corrupted=:
1865
2203
        else
1866
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2204
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1867
2205
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1868
2206
          eval $ac_var=\$ac_old_val
1869
2207
        fi
1870
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2208
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1871
2209
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1872
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2210
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1873
2211
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1874
2212
      fi;;
1875
2213
  esac
1881
2219
    esac
1882
2220
    case " $ac_configure_args " in
1883
2221
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1884
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2222
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1885
2223
    esac
1886
2224
  fi
1887
2225
done
1888
2226
if $ac_cache_corrupted; then
1889
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2227
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1890
2228
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1891
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2229
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1892
2230
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1893
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1894
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1895
 
   { (exit 1); exit 1; }; }
 
2231
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1896
2232
fi
1897
 
 
1898
 
 
1899
 
 
1900
 
 
1901
 
 
1902
 
 
1903
 
 
1904
 
 
1905
 
 
1906
 
 
1907
 
 
1908
 
 
1909
 
 
1910
 
 
1911
 
 
1912
 
 
 
2233
## -------------------- ##
 
2234
## Main body of script. ##
 
2235
## -------------------- ##
1913
2236
 
1914
2237
ac_ext=c
1915
2238
ac_cpp='$CPP $CPPFLAGS'
1922
2245
 
1923
2246
ac_aux_dir=
1924
2247
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1925
 
  if test -f "$ac_dir/install-sh"; then
1926
 
    ac_aux_dir=$ac_dir
1927
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1928
 
    break
1929
 
  elif test -f "$ac_dir/install.sh"; then
1930
 
    ac_aux_dir=$ac_dir
1931
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1932
 
    break
1933
 
  elif test -f "$ac_dir/shtool"; then
1934
 
    ac_aux_dir=$ac_dir
1935
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1936
 
    break
1937
 
  fi
 
2248
  for ac_t in install-sh install.sh shtool; do
 
2249
    if test -f "$ac_dir/$ac_t"; then
 
2250
      ac_aux_dir=$ac_dir
 
2251
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2252
      break 2
 
2253
    fi
 
2254
  done
1938
2255
done
1939
2256
if test -z "$ac_aux_dir"; then
1940
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1941
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1942
 
   { (exit 1); exit 1; }; }
 
2257
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1943
2258
fi
1944
2259
 
1945
2260
# These three variables are undocumented and unsupported,
1965
2280
# OS/2's system install, which has a completely different semantic
1966
2281
# ./install, which can be erroneously created by make from ./install.sh.
1967
2282
# Reject install programs that cannot install multiple files.
1968
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1969
2284
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1970
2285
if test -z "$INSTALL"; then
1971
 
if test "${ac_cv_path_install+set}" = set; then
 
2286
if test "${ac_cv_path_install+set}" = set; then :
1972
2287
  $as_echo_n "(cached) " >&6
1973
2288
else
1974
2289
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976
2291
do
1977
2292
  IFS=$as_save_IFS
1978
2293
  test -z "$as_dir" && as_dir=.
1979
 
  # Account for people who put trailing slashes in PATH elements.
1980
 
case $as_dir/ in
1981
 
  ./ | .// | /cC/* | \
 
2294
    # Account for people who put trailing slashes in PATH elements.
 
2295
case $as_dir/ in #((
 
2296
  ./ | .// | /[cC]/* | \
1982
2297
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1983
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2298
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1984
2299
  /usr/ucb/* ) ;;
1985
2300
  *)
1986
2301
    # OSF1 and SCO ODT 3.0 have their own names for install.
2017
2332
    ;;
2018
2333
esac
2019
2334
 
2020
 
done
 
2335
  done
2021
2336
IFS=$as_save_IFS
2022
2337
 
2023
2338
rm -rf conftest.one conftest.two conftest.dir
2033
2348
    INSTALL=$ac_install_sh
2034
2349
  fi
2035
2350
fi
2036
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2037
2352
$as_echo "$INSTALL" >&6; }
2038
2353
 
2039
2354
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2044
2359
 
2045
2360
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2046
2361
 
2047
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2048
2363
$as_echo_n "checking whether build environment is sane... " >&6; }
2049
2364
# Just in case
2050
2365
sleep 1
2055
2370
'
2056
2371
case `pwd` in
2057
2372
  *[\\\"\#\$\&\'\`$am_lf]*)
2058
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2059
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2060
 
   { (exit 1); exit 1; }; };;
 
2373
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2061
2374
esac
2062
2375
case $srcdir in
2063
2376
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2064
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2065
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2066
 
   { (exit 1); exit 1; }; };;
 
2377
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2067
2378
esac
2068
2379
 
2069
2380
# Do `set' in a subshell so we don't clobber the current shell's
2085
2396
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2086
2397
      # broken ls alias from the environment.  This has actually
2087
2398
      # happened.  Such a system could not be considered "sane".
2088
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2089
 
alias in your environment" >&5
2090
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2091
 
alias in your environment" >&2;}
2092
 
   { (exit 1); exit 1; }; }
 
2399
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2400
alias in your environment" "$LINENO" 5
2093
2401
   fi
2094
2402
 
2095
2403
   test "$2" = conftest.file
2098
2406
   # Ok.
2099
2407
   :
2100
2408
else
2101
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2102
 
Check your system clock" >&5
2103
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2104
 
Check your system clock" >&2;}
2105
 
   { (exit 1); exit 1; }; }
 
2409
   as_fn_error "newly created file is older than distributed files!
 
2410
Check your system clock" "$LINENO" 5
2106
2411
fi
2107
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2108
2413
$as_echo "yes" >&6; }
2109
2414
test "$program_prefix" != NONE &&
2110
2415
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2132
2437
  am_missing_run="$MISSING --run "
2133
2438
else
2134
2439
  am_missing_run=
2135
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2440
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2136
2441
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2137
2442
fi
2138
2443
 
2153
2458
  if test -n "$ac_tool_prefix"; then
2154
2459
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2155
2460
set dummy ${ac_tool_prefix}strip; ac_word=$2
2156
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2157
2462
$as_echo_n "checking for $ac_word... " >&6; }
2158
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2463
if test "${ac_cv_prog_STRIP+set}" = set; then :
2159
2464
  $as_echo_n "(cached) " >&6
2160
2465
else
2161
2466
  if test -n "$STRIP"; then
2166
2471
do
2167
2472
  IFS=$as_save_IFS
2168
2473
  test -z "$as_dir" && as_dir=.
2169
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2474
    for ac_exec_ext in '' $ac_executable_extensions; do
2170
2475
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2171
2476
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2172
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2477
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2173
2478
    break 2
2174
2479
  fi
2175
2480
done
2176
 
done
 
2481
  done
2177
2482
IFS=$as_save_IFS
2178
2483
 
2179
2484
fi
2180
2485
fi
2181
2486
STRIP=$ac_cv_prog_STRIP
2182
2487
if test -n "$STRIP"; then
2183
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2488
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2184
2489
$as_echo "$STRIP" >&6; }
2185
2490
else
2186
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2491
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2187
2492
$as_echo "no" >&6; }
2188
2493
fi
2189
2494
 
2193
2498
  ac_ct_STRIP=$STRIP
2194
2499
  # Extract the first word of "strip", so it can be a program name with args.
2195
2500
set dummy strip; ac_word=$2
2196
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2197
2502
$as_echo_n "checking for $ac_word... " >&6; }
2198
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2503
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2199
2504
  $as_echo_n "(cached) " >&6
2200
2505
else
2201
2506
  if test -n "$ac_ct_STRIP"; then
2206
2511
do
2207
2512
  IFS=$as_save_IFS
2208
2513
  test -z "$as_dir" && as_dir=.
2209
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2514
    for ac_exec_ext in '' $ac_executable_extensions; do
2210
2515
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2211
2516
    ac_cv_prog_ac_ct_STRIP="strip"
2212
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2517
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2213
2518
    break 2
2214
2519
  fi
2215
2520
done
2216
 
done
 
2521
  done
2217
2522
IFS=$as_save_IFS
2218
2523
 
2219
2524
fi
2220
2525
fi
2221
2526
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2222
2527
if test -n "$ac_ct_STRIP"; then
2223
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2528
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2224
2529
$as_echo "$ac_ct_STRIP" >&6; }
2225
2530
else
2226
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2531
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2227
2532
$as_echo "no" >&6; }
2228
2533
fi
2229
2534
 
2232
2537
  else
2233
2538
    case $cross_compiling:$ac_tool_warned in
2234
2539
yes:)
2235
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2236
2541
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2237
2542
ac_tool_warned=yes ;;
2238
2543
esac
2245
2550
fi
2246
2551
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2247
2552
 
2248
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2249
2554
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2250
2555
if test -z "$MKDIR_P"; then
2251
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2556
  if test "${ac_cv_path_mkdir+set}" = set; then :
2252
2557
  $as_echo_n "(cached) " >&6
2253
2558
else
2254
2559
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256
2561
do
2257
2562
  IFS=$as_save_IFS
2258
2563
  test -z "$as_dir" && as_dir=.
2259
 
  for ac_prog in mkdir gmkdir; do
 
2564
    for ac_prog in mkdir gmkdir; do
2260
2565
         for ac_exec_ext in '' $ac_executable_extensions; do
2261
2566
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2262
2567
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2268
2573
           esac
2269
2574
         done
2270
2575
       done
2271
 
done
 
2576
  done
2272
2577
IFS=$as_save_IFS
2273
2578
 
2274
2579
fi
2275
2580
 
 
2581
  test -d ./--version && rmdir ./--version
2276
2582
  if test "${ac_cv_path_mkdir+set}" = set; then
2277
2583
    MKDIR_P="$ac_cv_path_mkdir -p"
2278
2584
  else
2280
2586
    # value for MKDIR_P within a source directory, because that will
2281
2587
    # break other packages using the cache if that directory is
2282
2588
    # removed, or if the value is a relative name.
2283
 
    test -d ./--version && rmdir ./--version
2284
2589
    MKDIR_P="$ac_install_sh -d"
2285
2590
  fi
2286
2591
fi
2287
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2288
2593
$as_echo "$MKDIR_P" >&6; }
2289
2594
 
2290
2595
mkdir_p="$MKDIR_P"
2297
2602
do
2298
2603
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2299
2604
set dummy $ac_prog; ac_word=$2
2300
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2301
2606
$as_echo_n "checking for $ac_word... " >&6; }
2302
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2607
if test "${ac_cv_prog_AWK+set}" = set; then :
2303
2608
  $as_echo_n "(cached) " >&6
2304
2609
else
2305
2610
  if test -n "$AWK"; then
2310
2615
do
2311
2616
  IFS=$as_save_IFS
2312
2617
  test -z "$as_dir" && as_dir=.
2313
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2618
    for ac_exec_ext in '' $ac_executable_extensions; do
2314
2619
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2315
2620
    ac_cv_prog_AWK="$ac_prog"
2316
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2621
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2317
2622
    break 2
2318
2623
  fi
2319
2624
done
2320
 
done
 
2625
  done
2321
2626
IFS=$as_save_IFS
2322
2627
 
2323
2628
fi
2324
2629
fi
2325
2630
AWK=$ac_cv_prog_AWK
2326
2631
if test -n "$AWK"; then
2327
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2328
2633
$as_echo "$AWK" >&6; }
2329
2634
else
2330
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2331
2636
$as_echo "no" >&6; }
2332
2637
fi
2333
2638
 
2335
2640
  test -n "$AWK" && break
2336
2641
done
2337
2642
 
2338
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2339
2644
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2340
2645
set x ${MAKE-make}
2341
2646
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2342
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2647
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2343
2648
  $as_echo_n "(cached) " >&6
2344
2649
else
2345
2650
  cat >conftest.make <<\_ACEOF
2357
2662
rm -f conftest.make
2358
2663
fi
2359
2664
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2360
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2361
2666
$as_echo "yes" >&6; }
2362
2667
  SET_MAKE=
2363
2668
else
2364
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2365
2670
$as_echo "no" >&6; }
2366
2671
  SET_MAKE="MAKE=${MAKE-make}"
2367
2672
fi
2381
2686
  am__isrc=' -I$(srcdir)'
2382
2687
  # test to see if srcdir already configured
2383
2688
  if test -f $srcdir/config.status; then
2384
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2385
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2386
 
   { (exit 1); exit 1; }; }
 
2689
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2387
2690
  fi
2388
2691
fi
2389
2692
 
2399
2702
 
2400
2703
# Define the identity of the package.
2401
2704
 PACKAGE=gecko-mediaplayer
2402
 
 VERSION=0.9.9.2
 
2705
 VERSION=1.0.0
2403
2706
 
2404
2707
 
2405
2708
cat >>confdefs.h <<_ACEOF
2442
2745
ac_config_headers="$ac_config_headers config.h"
2443
2746
 
2444
2747
 
2445
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2446
2749
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2447
2750
    # Check whether --enable-maintainer-mode was given.
2448
 
if test "${enable_maintainer_mode+set}" = set; then
 
2751
if test "${enable_maintainer_mode+set}" = set; then :
2449
2752
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2450
2753
else
2451
2754
  USE_MAINTAINER_MODE=no
2452
2755
fi
2453
2756
 
2454
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2455
2758
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2456
2759
   if test $USE_MAINTAINER_MODE = yes; then
2457
2760
  MAINTAINER_MODE_TRUE=
2477
2780
.PHONY: am__doit
2478
2781
END
2479
2782
# If we don't find an include directive, just comment out the code.
2480
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2481
2784
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2482
2785
am__include="#"
2483
2786
am__quote=
2505
2808
fi
2506
2809
 
2507
2810
 
2508
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2509
2812
$as_echo "$_am_result" >&6; }
2510
2813
rm -f confinc confmf
2511
2814
 
2512
2815
# Check whether --enable-dependency-tracking was given.
2513
 
if test "${enable_dependency_tracking+set}" = set; then
 
2816
if test "${enable_dependency_tracking+set}" = set; then :
2514
2817
  enableval=$enable_dependency_tracking;
2515
2818
fi
2516
2819
 
2535
2838
if test -n "$ac_tool_prefix"; then
2536
2839
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2537
2840
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2538
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539
2842
$as_echo_n "checking for $ac_word... " >&6; }
2540
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2843
if test "${ac_cv_prog_CC+set}" = set; then :
2541
2844
  $as_echo_n "(cached) " >&6
2542
2845
else
2543
2846
  if test -n "$CC"; then
2548
2851
do
2549
2852
  IFS=$as_save_IFS
2550
2853
  test -z "$as_dir" && as_dir=.
2551
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2854
    for ac_exec_ext in '' $ac_executable_extensions; do
2552
2855
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553
2856
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2554
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2857
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555
2858
    break 2
2556
2859
  fi
2557
2860
done
2558
 
done
 
2861
  done
2559
2862
IFS=$as_save_IFS
2560
2863
 
2561
2864
fi
2562
2865
fi
2563
2866
CC=$ac_cv_prog_CC
2564
2867
if test -n "$CC"; then
2565
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2566
2869
$as_echo "$CC" >&6; }
2567
2870
else
2568
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569
2872
$as_echo "no" >&6; }
2570
2873
fi
2571
2874
 
2575
2878
  ac_ct_CC=$CC
2576
2879
  # Extract the first word of "gcc", so it can be a program name with args.
2577
2880
set dummy gcc; ac_word=$2
2578
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2579
2882
$as_echo_n "checking for $ac_word... " >&6; }
2580
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2883
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2581
2884
  $as_echo_n "(cached) " >&6
2582
2885
else
2583
2886
  if test -n "$ac_ct_CC"; then
2588
2891
do
2589
2892
  IFS=$as_save_IFS
2590
2893
  test -z "$as_dir" && as_dir=.
2591
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2894
    for ac_exec_ext in '' $ac_executable_extensions; do
2592
2895
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593
2896
    ac_cv_prog_ac_ct_CC="gcc"
2594
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2897
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595
2898
    break 2
2596
2899
  fi
2597
2900
done
2598
 
done
 
2901
  done
2599
2902
IFS=$as_save_IFS
2600
2903
 
2601
2904
fi
2602
2905
fi
2603
2906
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2604
2907
if test -n "$ac_ct_CC"; then
2605
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2908
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2606
2909
$as_echo "$ac_ct_CC" >&6; }
2607
2910
else
2608
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2911
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2609
2912
$as_echo "no" >&6; }
2610
2913
fi
2611
2914
 
2614
2917
  else
2615
2918
    case $cross_compiling:$ac_tool_warned in
2616
2919
yes:)
2617
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2920
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2618
2921
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2619
2922
ac_tool_warned=yes ;;
2620
2923
esac
2628
2931
          if test -n "$ac_tool_prefix"; then
2629
2932
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2630
2933
set dummy ${ac_tool_prefix}cc; ac_word=$2
2631
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632
2935
$as_echo_n "checking for $ac_word... " >&6; }
2633
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2936
if test "${ac_cv_prog_CC+set}" = set; then :
2634
2937
  $as_echo_n "(cached) " >&6
2635
2938
else
2636
2939
  if test -n "$CC"; then
2641
2944
do
2642
2945
  IFS=$as_save_IFS
2643
2946
  test -z "$as_dir" && as_dir=.
2644
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2947
    for ac_exec_ext in '' $ac_executable_extensions; do
2645
2948
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646
2949
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2647
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2950
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648
2951
    break 2
2649
2952
  fi
2650
2953
done
2651
 
done
 
2954
  done
2652
2955
IFS=$as_save_IFS
2653
2956
 
2654
2957
fi
2655
2958
fi
2656
2959
CC=$ac_cv_prog_CC
2657
2960
if test -n "$CC"; then
2658
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2961
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2659
2962
$as_echo "$CC" >&6; }
2660
2963
else
2661
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662
2965
$as_echo "no" >&6; }
2663
2966
fi
2664
2967
 
2668
2971
if test -z "$CC"; then
2669
2972
  # Extract the first word of "cc", so it can be a program name with args.
2670
2973
set dummy cc; ac_word=$2
2671
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672
2975
$as_echo_n "checking for $ac_word... " >&6; }
2673
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2976
if test "${ac_cv_prog_CC+set}" = set; then :
2674
2977
  $as_echo_n "(cached) " >&6
2675
2978
else
2676
2979
  if test -n "$CC"; then
2682
2985
do
2683
2986
  IFS=$as_save_IFS
2684
2987
  test -z "$as_dir" && as_dir=.
2685
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2988
    for ac_exec_ext in '' $ac_executable_extensions; do
2686
2989
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687
2990
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2688
2991
       ac_prog_rejected=yes
2689
2992
       continue
2690
2993
     fi
2691
2994
    ac_cv_prog_CC="cc"
2692
 
    $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
2693
2996
    break 2
2694
2997
  fi
2695
2998
done
2696
 
done
 
2999
  done
2697
3000
IFS=$as_save_IFS
2698
3001
 
2699
3002
if test $ac_prog_rejected = yes; then
2712
3015
fi
2713
3016
CC=$ac_cv_prog_CC
2714
3017
if test -n "$CC"; then
2715
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3018
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2716
3019
$as_echo "$CC" >&6; }
2717
3020
else
2718
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3021
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719
3022
$as_echo "no" >&6; }
2720
3023
fi
2721
3024
 
2727
3030
  do
2728
3031
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2729
3032
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2730
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731
3034
$as_echo_n "checking for $ac_word... " >&6; }
2732
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3035
if test "${ac_cv_prog_CC+set}" = set; then :
2733
3036
  $as_echo_n "(cached) " >&6
2734
3037
else
2735
3038
  if test -n "$CC"; then
2740
3043
do
2741
3044
  IFS=$as_save_IFS
2742
3045
  test -z "$as_dir" && as_dir=.
2743
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3046
    for ac_exec_ext in '' $ac_executable_extensions; do
2744
3047
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745
3048
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2746
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3049
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747
3050
    break 2
2748
3051
  fi
2749
3052
done
2750
 
done
 
3053
  done
2751
3054
IFS=$as_save_IFS
2752
3055
 
2753
3056
fi
2754
3057
fi
2755
3058
CC=$ac_cv_prog_CC
2756
3059
if test -n "$CC"; then
2757
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3060
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758
3061
$as_echo "$CC" >&6; }
2759
3062
else
2760
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3063
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761
3064
$as_echo "no" >&6; }
2762
3065
fi
2763
3066
 
2771
3074
do
2772
3075
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2773
3076
set dummy $ac_prog; ac_word=$2
2774
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775
3078
$as_echo_n "checking for $ac_word... " >&6; }
2776
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3079
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2777
3080
  $as_echo_n "(cached) " >&6
2778
3081
else
2779
3082
  if test -n "$ac_ct_CC"; then
2784
3087
do
2785
3088
  IFS=$as_save_IFS
2786
3089
  test -z "$as_dir" && as_dir=.
2787
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3090
    for ac_exec_ext in '' $ac_executable_extensions; do
2788
3091
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789
3092
    ac_cv_prog_ac_ct_CC="$ac_prog"
2790
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3093
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791
3094
    break 2
2792
3095
  fi
2793
3096
done
2794
 
done
 
3097
  done
2795
3098
IFS=$as_save_IFS
2796
3099
 
2797
3100
fi
2798
3101
fi
2799
3102
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2800
3103
if test -n "$ac_ct_CC"; then
2801
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2802
3105
$as_echo "$ac_ct_CC" >&6; }
2803
3106
else
2804
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3107
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805
3108
$as_echo "no" >&6; }
2806
3109
fi
2807
3110
 
2814
3117
  else
2815
3118
    case $cross_compiling:$ac_tool_warned in
2816
3119
yes:)
2817
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2818
3121
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2819
3122
ac_tool_warned=yes ;;
2820
3123
esac
2825
3128
fi
2826
3129
 
2827
3130
 
2828
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3131
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2829
3132
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2831
 
See \`config.log' for more details." >&5
2832
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2833
 
See \`config.log' for more details." >&2;}
2834
 
   { (exit 1); exit 1; }; }; }
 
3133
as_fn_error "no acceptable C compiler found in \$PATH
 
3134
See \`config.log' for more details." "$LINENO" 5; }
2835
3135
 
2836
3136
# Provide some information about the compiler.
2837
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3137
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2838
3138
set X $ac_compile
2839
3139
ac_compiler=$2
2840
 
{ (ac_try="$ac_compiler --version >&5"
2841
 
case "(($ac_try" in
2842
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843
 
  *) ac_try_echo=$ac_try;;
2844
 
esac
2845
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846
 
$as_echo "$ac_try_echo") >&5
2847
 
  (eval "$ac_compiler --version >&5") 2>&5
2848
 
  ac_status=$?
2849
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
 
  (exit $ac_status); }
2851
 
{ (ac_try="$ac_compiler -v >&5"
2852
 
case "(($ac_try" in
2853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854
 
  *) ac_try_echo=$ac_try;;
2855
 
esac
2856
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2857
 
$as_echo "$ac_try_echo") >&5
2858
 
  (eval "$ac_compiler -v >&5") 2>&5
2859
 
  ac_status=$?
2860
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861
 
  (exit $ac_status); }
2862
 
{ (ac_try="$ac_compiler -V >&5"
2863
 
case "(($ac_try" in
2864
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865
 
  *) ac_try_echo=$ac_try;;
2866
 
esac
2867
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868
 
$as_echo "$ac_try_echo") >&5
2869
 
  (eval "$ac_compiler -V >&5") 2>&5
2870
 
  ac_status=$?
2871
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872
 
  (exit $ac_status); }
 
3140
for ac_option in --version -v -V -qversion; do
 
3141
  { { ac_try="$ac_compiler $ac_option >&5"
 
3142
case "(($ac_try" in
 
3143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3144
  *) ac_try_echo=$ac_try;;
 
3145
esac
 
3146
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3147
$as_echo "$ac_try_echo"; } >&5
 
3148
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3149
  ac_status=$?
 
3150
  if test -s conftest.err; then
 
3151
    sed '10a\
 
3152
... rest of stderr output deleted ...
 
3153
         10q' conftest.err >conftest.er1
 
3154
    cat conftest.er1 >&5
 
3155
  fi
 
3156
  rm -f conftest.er1 conftest.err
 
3157
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3158
  test $ac_status = 0; }
 
3159
done
2873
3160
 
2874
 
cat >conftest.$ac_ext <<_ACEOF
2875
 
/* confdefs.h.  */
2876
 
_ACEOF
2877
 
cat confdefs.h >>conftest.$ac_ext
2878
 
cat >>conftest.$ac_ext <<_ACEOF
 
3161
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879
3162
/* end confdefs.h.  */
2880
3163
 
2881
3164
int
2891
3174
# Try to create an executable without -o first, disregard a.out.
2892
3175
# It will help us diagnose broken compilers, and finding out an intuition
2893
3176
# of exeext.
2894
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2895
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3178
$as_echo_n "checking whether the C compiler works... " >&6; }
2896
3179
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2897
3180
 
2898
3181
# The possible output files:
2908
3191
done
2909
3192
rm -f $ac_rmfiles
2910
3193
 
2911
 
if { (ac_try="$ac_link_default"
 
3194
if { { ac_try="$ac_link_default"
2912
3195
case "(($ac_try" in
2913
3196
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914
3197
  *) ac_try_echo=$ac_try;;
2915
3198
esac
2916
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2917
 
$as_echo "$ac_try_echo") >&5
 
3199
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3200
$as_echo "$ac_try_echo"; } >&5
2918
3201
  (eval "$ac_link_default") 2>&5
2919
3202
  ac_status=$?
2920
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921
 
  (exit $ac_status); }; then
 
3203
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3204
  test $ac_status = 0; }; then :
2922
3205
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2923
3206
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2924
3207
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2935
3218
        # certainly right.
2936
3219
        break;;
2937
3220
    *.* )
2938
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3221
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2939
3222
        then :; else
2940
3223
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2941
3224
        fi
2954
3237
else
2955
3238
  ac_file=''
2956
3239
fi
 
3240
if test -z "$ac_file"; then :
 
3241
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3242
$as_echo "no" >&6; }
 
3243
$as_echo "$as_me: failed program was:" >&5
 
3244
sed 's/^/| /' conftest.$ac_ext >&5
2957
3245
 
2958
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3246
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3247
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3248
{ as_fn_set_status 77
 
3249
as_fn_error "C compiler cannot create executables
 
3250
See \`config.log' for more details." "$LINENO" 5; }; }
 
3251
else
 
3252
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3253
$as_echo "yes" >&6; }
 
3254
fi
 
3255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3256
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2959
3258
$as_echo "$ac_file" >&6; }
2960
 
if test -z "$ac_file"; then
2961
 
  $as_echo "$as_me: failed program was:" >&5
2962
 
sed 's/^/| /' conftest.$ac_ext >&5
2963
 
 
2964
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2965
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2967
 
See \`config.log' for more details." >&5
2968
 
$as_echo "$as_me: error: C compiler cannot create executables
2969
 
See \`config.log' for more details." >&2;}
2970
 
   { (exit 77); exit 77; }; }; }
2971
 
fi
2972
 
 
2973
3259
ac_exeext=$ac_cv_exeext
2974
3260
 
2975
 
# Check that the compiler produces executables we can run.  If not, either
2976
 
# the compiler is broken, or we cross compile.
2977
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2978
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2979
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2980
 
# If not cross compiling, check that we can run a simple program.
2981
 
if test "$cross_compiling" != yes; then
2982
 
  if { ac_try='./$ac_file'
2983
 
  { (case "(($ac_try" in
2984
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985
 
  *) ac_try_echo=$ac_try;;
2986
 
esac
2987
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2988
 
$as_echo "$ac_try_echo") >&5
2989
 
  (eval "$ac_try") 2>&5
2990
 
  ac_status=$?
2991
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992
 
  (exit $ac_status); }; }; then
2993
 
    cross_compiling=no
2994
 
  else
2995
 
    if test "$cross_compiling" = maybe; then
2996
 
        cross_compiling=yes
2997
 
    else
2998
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2999
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3000
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3001
 
If you meant to cross compile, use \`--host'.
3002
 
See \`config.log' for more details." >&5
3003
 
$as_echo "$as_me: error: cannot run C compiled programs.
3004
 
If you meant to cross compile, use \`--host'.
3005
 
See \`config.log' for more details." >&2;}
3006
 
   { (exit 1); exit 1; }; }; }
3007
 
    fi
3008
 
  fi
3009
 
fi
3010
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3011
 
$as_echo "yes" >&6; }
3012
 
 
3013
3261
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3014
3262
ac_clean_files=$ac_clean_files_save
3015
 
# Check that the compiler produces executables we can run.  If not, either
3016
 
# the compiler is broken, or we cross compile.
3017
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3018
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3019
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3020
 
$as_echo "$cross_compiling" >&6; }
3021
 
 
3022
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3023
3264
$as_echo_n "checking for suffix of executables... " >&6; }
3024
 
if { (ac_try="$ac_link"
 
3265
if { { ac_try="$ac_link"
3025
3266
case "(($ac_try" in
3026
3267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027
3268
  *) ac_try_echo=$ac_try;;
3028
3269
esac
3029
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3030
 
$as_echo "$ac_try_echo") >&5
 
3270
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3271
$as_echo "$ac_try_echo"; } >&5
3031
3272
  (eval "$ac_link") 2>&5
3032
3273
  ac_status=$?
3033
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034
 
  (exit $ac_status); }; then
 
3274
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3275
  test $ac_status = 0; }; then :
3035
3276
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3036
3277
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3037
3278
# work properly (i.e., refer to `conftest.exe'), while it won't with
3046
3287
  esac
3047
3288
done
3048
3289
else
3049
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3290
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050
3291
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3052
 
See \`config.log' for more details." >&5
3053
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3054
 
See \`config.log' for more details." >&2;}
3055
 
   { (exit 1); exit 1; }; }; }
 
3292
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3293
See \`config.log' for more details." "$LINENO" 5; }
3056
3294
fi
3057
 
 
3058
 
rm -f conftest$ac_cv_exeext
3059
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3295
rm -f conftest conftest$ac_cv_exeext
 
3296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3060
3297
$as_echo "$ac_cv_exeext" >&6; }
3061
3298
 
3062
3299
rm -f conftest.$ac_ext
3063
3300
EXEEXT=$ac_cv_exeext
3064
3301
ac_exeext=$EXEEXT
3065
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3302
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3303
/* end confdefs.h.  */
 
3304
#include <stdio.h>
 
3305
int
 
3306
main ()
 
3307
{
 
3308
FILE *f = fopen ("conftest.out", "w");
 
3309
 return ferror (f) || fclose (f) != 0;
 
3310
 
 
3311
  ;
 
3312
  return 0;
 
3313
}
 
3314
_ACEOF
 
3315
ac_clean_files="$ac_clean_files conftest.out"
 
3316
# Check that the compiler produces executables we can run.  If not, either
 
3317
# the compiler is broken, or we cross compile.
 
3318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3319
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3320
if test "$cross_compiling" != yes; then
 
3321
  { { ac_try="$ac_link"
 
3322
case "(($ac_try" in
 
3323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3324
  *) ac_try_echo=$ac_try;;
 
3325
esac
 
3326
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3327
$as_echo "$ac_try_echo"; } >&5
 
3328
  (eval "$ac_link") 2>&5
 
3329
  ac_status=$?
 
3330
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3331
  test $ac_status = 0; }
 
3332
  if { ac_try='./conftest$ac_cv_exeext'
 
3333
  { { case "(($ac_try" in
 
3334
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3335
  *) ac_try_echo=$ac_try;;
 
3336
esac
 
3337
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3338
$as_echo "$ac_try_echo"; } >&5
 
3339
  (eval "$ac_try") 2>&5
 
3340
  ac_status=$?
 
3341
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3342
  test $ac_status = 0; }; }; then
 
3343
    cross_compiling=no
 
3344
  else
 
3345
    if test "$cross_compiling" = maybe; then
 
3346
        cross_compiling=yes
 
3347
    else
 
3348
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3349
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3350
as_fn_error "cannot run C compiled programs.
 
3351
If you meant to cross compile, use \`--host'.
 
3352
See \`config.log' for more details." "$LINENO" 5; }
 
3353
    fi
 
3354
  fi
 
3355
fi
 
3356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3357
$as_echo "$cross_compiling" >&6; }
 
3358
 
 
3359
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3360
ac_clean_files=$ac_clean_files_save
 
3361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3066
3362
$as_echo_n "checking for suffix of object files... " >&6; }
3067
 
if test "${ac_cv_objext+set}" = set; then
 
3363
if test "${ac_cv_objext+set}" = set; then :
3068
3364
  $as_echo_n "(cached) " >&6
3069
3365
else
3070
 
  cat >conftest.$ac_ext <<_ACEOF
3071
 
/* confdefs.h.  */
3072
 
_ACEOF
3073
 
cat confdefs.h >>conftest.$ac_ext
3074
 
cat >>conftest.$ac_ext <<_ACEOF
 
3366
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075
3367
/* end confdefs.h.  */
3076
3368
 
3077
3369
int
3083
3375
}
3084
3376
_ACEOF
3085
3377
rm -f conftest.o conftest.obj
3086
 
if { (ac_try="$ac_compile"
 
3378
if { { ac_try="$ac_compile"
3087
3379
case "(($ac_try" in
3088
3380
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089
3381
  *) ac_try_echo=$ac_try;;
3090
3382
esac
3091
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3092
 
$as_echo "$ac_try_echo") >&5
 
3383
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3384
$as_echo "$ac_try_echo"; } >&5
3093
3385
  (eval "$ac_compile") 2>&5
3094
3386
  ac_status=$?
3095
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096
 
  (exit $ac_status); }; then
 
3387
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3388
  test $ac_status = 0; }; then :
3097
3389
  for ac_file in conftest.o conftest.obj conftest.*; do
3098
3390
  test -f "$ac_file" || continue;
3099
3391
  case $ac_file in
3106
3398
  $as_echo "$as_me: failed program was:" >&5
3107
3399
sed 's/^/| /' conftest.$ac_ext >&5
3108
3400
 
3109
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3401
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110
3402
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3112
 
See \`config.log' for more details." >&5
3113
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3114
 
See \`config.log' for more details." >&2;}
3115
 
   { (exit 1); exit 1; }; }; }
 
3403
as_fn_error "cannot compute suffix of object files: cannot compile
 
3404
See \`config.log' for more details." "$LINENO" 5; }
3116
3405
fi
3117
 
 
3118
3406
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3119
3407
fi
3120
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3121
3409
$as_echo "$ac_cv_objext" >&6; }
3122
3410
OBJEXT=$ac_cv_objext
3123
3411
ac_objext=$OBJEXT
3124
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3125
3413
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3126
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3414
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3127
3415
  $as_echo_n "(cached) " >&6
3128
3416
else
3129
 
  cat >conftest.$ac_ext <<_ACEOF
3130
 
/* confdefs.h.  */
3131
 
_ACEOF
3132
 
cat confdefs.h >>conftest.$ac_ext
3133
 
cat >>conftest.$ac_ext <<_ACEOF
 
3417
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134
3418
/* end confdefs.h.  */
3135
3419
 
3136
3420
int
3144
3428
  return 0;
3145
3429
}
3146
3430
_ACEOF
3147
 
rm -f conftest.$ac_objext
3148
 
if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
3156
 
  ac_status=$?
3157
 
  grep -v '^ *+' conftest.er1 >conftest.err
3158
 
  rm -f conftest.er1
3159
 
  cat conftest.err >&5
3160
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161
 
  (exit $ac_status); } && {
3162
 
         test -z "$ac_c_werror_flag" ||
3163
 
         test ! -s conftest.err
3164
 
       } && test -s conftest.$ac_objext; then
 
3431
if ac_fn_c_try_compile "$LINENO"; then :
3165
3432
  ac_compiler_gnu=yes
3166
3433
else
3167
 
  $as_echo "$as_me: failed program was:" >&5
3168
 
sed 's/^/| /' conftest.$ac_ext >&5
3169
 
 
3170
 
        ac_compiler_gnu=no
 
3434
  ac_compiler_gnu=no
3171
3435
fi
3172
 
 
3173
3436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3174
3437
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3175
3438
 
3176
3439
fi
3177
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3178
3441
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3179
3442
if test $ac_compiler_gnu = yes; then
3180
3443
  GCC=yes
3183
3446
fi
3184
3447
ac_test_CFLAGS=${CFLAGS+set}
3185
3448
ac_save_CFLAGS=$CFLAGS
3186
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3187
3450
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3188
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3451
if test "${ac_cv_prog_cc_g+set}" = set; then :
3189
3452
  $as_echo_n "(cached) " >&6
3190
3453
else
3191
3454
  ac_save_c_werror_flag=$ac_c_werror_flag
3192
3455
   ac_c_werror_flag=yes
3193
3456
   ac_cv_prog_cc_g=no
3194
3457
   CFLAGS="-g"
3195
 
   cat >conftest.$ac_ext <<_ACEOF
3196
 
/* confdefs.h.  */
3197
 
_ACEOF
3198
 
cat confdefs.h >>conftest.$ac_ext
3199
 
cat >>conftest.$ac_ext <<_ACEOF
 
3458
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200
3459
/* end confdefs.h.  */
3201
3460
 
3202
3461
int
3207
3466
  return 0;
3208
3467
}
3209
3468
_ACEOF
3210
 
rm -f conftest.$ac_objext
3211
 
if { (ac_try="$ac_compile"
3212
 
case "(($ac_try" in
3213
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214
 
  *) ac_try_echo=$ac_try;;
3215
 
esac
3216
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3217
 
$as_echo "$ac_try_echo") >&5
3218
 
  (eval "$ac_compile") 2>conftest.er1
3219
 
  ac_status=$?
3220
 
  grep -v '^ *+' conftest.er1 >conftest.err
3221
 
  rm -f conftest.er1
3222
 
  cat conftest.err >&5
3223
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224
 
  (exit $ac_status); } && {
3225
 
         test -z "$ac_c_werror_flag" ||
3226
 
         test ! -s conftest.err
3227
 
       } && test -s conftest.$ac_objext; then
 
3469
if ac_fn_c_try_compile "$LINENO"; then :
3228
3470
  ac_cv_prog_cc_g=yes
3229
3471
else
3230
 
  $as_echo "$as_me: failed program was:" >&5
3231
 
sed 's/^/| /' conftest.$ac_ext >&5
3232
 
 
3233
 
        CFLAGS=""
3234
 
      cat >conftest.$ac_ext <<_ACEOF
3235
 
/* confdefs.h.  */
3236
 
_ACEOF
3237
 
cat confdefs.h >>conftest.$ac_ext
3238
 
cat >>conftest.$ac_ext <<_ACEOF
 
3472
  CFLAGS=""
 
3473
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239
3474
/* end confdefs.h.  */
3240
3475
 
3241
3476
int
3246
3481
  return 0;
3247
3482
}
3248
3483
_ACEOF
3249
 
rm -f conftest.$ac_objext
3250
 
if { (ac_try="$ac_compile"
3251
 
case "(($ac_try" in
3252
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3253
 
  *) ac_try_echo=$ac_try;;
3254
 
esac
3255
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3256
 
$as_echo "$ac_try_echo") >&5
3257
 
  (eval "$ac_compile") 2>conftest.er1
3258
 
  ac_status=$?
3259
 
  grep -v '^ *+' conftest.er1 >conftest.err
3260
 
  rm -f conftest.er1
3261
 
  cat conftest.err >&5
3262
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263
 
  (exit $ac_status); } && {
3264
 
         test -z "$ac_c_werror_flag" ||
3265
 
         test ! -s conftest.err
3266
 
       } && test -s conftest.$ac_objext; then
3267
 
  :
 
3484
if ac_fn_c_try_compile "$LINENO"; then :
 
3485
 
3268
3486
else
3269
 
  $as_echo "$as_me: failed program was:" >&5
3270
 
sed 's/^/| /' conftest.$ac_ext >&5
3271
 
 
3272
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3487
  ac_c_werror_flag=$ac_save_c_werror_flag
3273
3488
         CFLAGS="-g"
3274
 
         cat >conftest.$ac_ext <<_ACEOF
3275
 
/* confdefs.h.  */
3276
 
_ACEOF
3277
 
cat confdefs.h >>conftest.$ac_ext
3278
 
cat >>conftest.$ac_ext <<_ACEOF
 
3489
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279
3490
/* end confdefs.h.  */
3280
3491
 
3281
3492
int
3286
3497
  return 0;
3287
3498
}
3288
3499
_ACEOF
3289
 
rm -f conftest.$ac_objext
3290
 
if { (ac_try="$ac_compile"
3291
 
case "(($ac_try" in
3292
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293
 
  *) ac_try_echo=$ac_try;;
3294
 
esac
3295
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3296
 
$as_echo "$ac_try_echo") >&5
3297
 
  (eval "$ac_compile") 2>conftest.er1
3298
 
  ac_status=$?
3299
 
  grep -v '^ *+' conftest.er1 >conftest.err
3300
 
  rm -f conftest.er1
3301
 
  cat conftest.err >&5
3302
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303
 
  (exit $ac_status); } && {
3304
 
         test -z "$ac_c_werror_flag" ||
3305
 
         test ! -s conftest.err
3306
 
       } && test -s conftest.$ac_objext; then
 
3500
if ac_fn_c_try_compile "$LINENO"; then :
3307
3501
  ac_cv_prog_cc_g=yes
3308
 
else
3309
 
  $as_echo "$as_me: failed program was:" >&5
3310
 
sed 's/^/| /' conftest.$ac_ext >&5
3311
 
 
3312
 
 
3313
 
fi
3314
 
 
3315
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316
 
fi
3317
 
 
3318
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319
 
fi
3320
 
 
 
3502
fi
 
3503
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3504
fi
 
3505
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3506
fi
3321
3507
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322
3508
   ac_c_werror_flag=$ac_save_c_werror_flag
3323
3509
fi
3324
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3325
3511
$as_echo "$ac_cv_prog_cc_g" >&6; }
3326
3512
if test "$ac_test_CFLAGS" = set; then
3327
3513
  CFLAGS=$ac_save_CFLAGS
3338
3524
    CFLAGS=
3339
3525
  fi
3340
3526
fi
3341
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3342
3528
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3343
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3529
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3344
3530
  $as_echo_n "(cached) " >&6
3345
3531
else
3346
3532
  ac_cv_prog_cc_c89=no
3347
3533
ac_save_CC=$CC
3348
 
cat >conftest.$ac_ext <<_ACEOF
3349
 
/* confdefs.h.  */
3350
 
_ACEOF
3351
 
cat confdefs.h >>conftest.$ac_ext
3352
 
cat >>conftest.$ac_ext <<_ACEOF
 
3534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353
3535
/* end confdefs.h.  */
3354
3536
#include <stdarg.h>
3355
3537
#include <stdio.h>
3406
3588
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3407
3589
do
3408
3590
  CC="$ac_save_CC $ac_arg"
3409
 
  rm -f conftest.$ac_objext
3410
 
if { (ac_try="$ac_compile"
3411
 
case "(($ac_try" in
3412
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413
 
  *) ac_try_echo=$ac_try;;
3414
 
esac
3415
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3416
 
$as_echo "$ac_try_echo") >&5
3417
 
  (eval "$ac_compile") 2>conftest.er1
3418
 
  ac_status=$?
3419
 
  grep -v '^ *+' conftest.er1 >conftest.err
3420
 
  rm -f conftest.er1
3421
 
  cat conftest.err >&5
3422
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423
 
  (exit $ac_status); } && {
3424
 
         test -z "$ac_c_werror_flag" ||
3425
 
         test ! -s conftest.err
3426
 
       } && test -s conftest.$ac_objext; then
 
3591
  if ac_fn_c_try_compile "$LINENO"; then :
3427
3592
  ac_cv_prog_cc_c89=$ac_arg
3428
 
else
3429
 
  $as_echo "$as_me: failed program was:" >&5
3430
 
sed 's/^/| /' conftest.$ac_ext >&5
3431
 
 
3432
 
 
3433
3593
fi
3434
 
 
3435
3594
rm -f core conftest.err conftest.$ac_objext
3436
3595
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3437
3596
done
3442
3601
# AC_CACHE_VAL
3443
3602
case "x$ac_cv_prog_cc_c89" in
3444
3603
  x)
3445
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3604
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3446
3605
$as_echo "none needed" >&6; } ;;
3447
3606
  xno)
3448
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3607
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3449
3608
$as_echo "unsupported" >&6; } ;;
3450
3609
  *)
3451
3610
    CC="$CC $ac_cv_prog_cc_c89"
3452
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3611
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3453
3612
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3454
3613
esac
 
3614
if test "x$ac_cv_prog_cc_c89" != xno; then :
3455
3615
 
 
3616
fi
3456
3617
 
3457
3618
ac_ext=c
3458
3619
ac_cpp='$CPP $CPPFLAGS'
3462
3623
 
3463
3624
depcc="$CC"   am_compiler_list=
3464
3625
 
3465
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3466
3627
$as_echo_n "checking dependency style of $depcc... " >&6; }
3467
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3628
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3468
3629
  $as_echo_n "(cached) " >&6
3469
3630
else
3470
3631
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3572
3733
fi
3573
3734
 
3574
3735
fi
3575
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3576
3737
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3577
3738
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3578
3739
 
3588
3749
 
3589
3750
 
3590
3751
 
3591
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3592
3753
$as_echo_n "checking for library containing strerror... " >&6; }
3593
 
if test "${ac_cv_search_strerror+set}" = set; then
 
3754
if test "${ac_cv_search_strerror+set}" = set; then :
3594
3755
  $as_echo_n "(cached) " >&6
3595
3756
else
3596
3757
  ac_func_search_save_LIBS=$LIBS
3597
 
cat >conftest.$ac_ext <<_ACEOF
3598
 
/* confdefs.h.  */
3599
 
_ACEOF
3600
 
cat confdefs.h >>conftest.$ac_ext
3601
 
cat >>conftest.$ac_ext <<_ACEOF
 
3758
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602
3759
/* end confdefs.h.  */
3603
3760
 
3604
3761
/* Override any GCC internal prototype to avoid an error.
3623
3780
    ac_res=-l$ac_lib
3624
3781
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3625
3782
  fi
3626
 
  rm -f conftest.$ac_objext conftest$ac_exeext
3627
 
if { (ac_try="$ac_link"
3628
 
case "(($ac_try" in
3629
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630
 
  *) ac_try_echo=$ac_try;;
3631
 
esac
3632
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3633
 
$as_echo "$ac_try_echo") >&5
3634
 
  (eval "$ac_link") 2>conftest.er1
3635
 
  ac_status=$?
3636
 
  grep -v '^ *+' conftest.er1 >conftest.err
3637
 
  rm -f conftest.er1
3638
 
  cat conftest.err >&5
3639
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640
 
  (exit $ac_status); } && {
3641
 
         test -z "$ac_c_werror_flag" ||
3642
 
         test ! -s conftest.err
3643
 
       } && test -s conftest$ac_exeext && {
3644
 
         test "$cross_compiling" = yes ||
3645
 
         $as_test_x conftest$ac_exeext
3646
 
       }; then
 
3783
  if ac_fn_c_try_link "$LINENO"; then :
3647
3784
  ac_cv_search_strerror=$ac_res
3648
 
else
3649
 
  $as_echo "$as_me: failed program was:" >&5
3650
 
sed 's/^/| /' conftest.$ac_ext >&5
3651
 
 
3652
 
 
3653
3785
fi
3654
 
 
3655
 
rm -rf conftest.dSYM
3656
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3657
 
      conftest$ac_exeext
3658
 
  if test "${ac_cv_search_strerror+set}" = set; then
 
3786
rm -f core conftest.err conftest.$ac_objext \
 
3787
    conftest$ac_exeext
 
3788
  if test "${ac_cv_search_strerror+set}" = set; then :
3659
3789
  break
3660
3790
fi
3661
3791
done
3662
 
if test "${ac_cv_search_strerror+set}" = set; then
3663
 
  :
 
3792
if test "${ac_cv_search_strerror+set}" = set; then :
 
3793
 
3664
3794
else
3665
3795
  ac_cv_search_strerror=no
3666
3796
fi
3667
3797
rm conftest.$ac_ext
3668
3798
LIBS=$ac_func_search_save_LIBS
3669
3799
fi
3670
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3671
3801
$as_echo "$ac_cv_search_strerror" >&6; }
3672
3802
ac_res=$ac_cv_search_strerror
3673
 
if test "$ac_res" != no; then
 
3803
if test "$ac_res" != no; then :
3674
3804
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3675
3805
 
3676
3806
fi
3683
3813
if test -n "$ac_tool_prefix"; then
3684
3814
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3685
3815
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3686
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687
3817
$as_echo_n "checking for $ac_word... " >&6; }
3688
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3818
if test "${ac_cv_prog_CC+set}" = set; then :
3689
3819
  $as_echo_n "(cached) " >&6
3690
3820
else
3691
3821
  if test -n "$CC"; then
3696
3826
do
3697
3827
  IFS=$as_save_IFS
3698
3828
  test -z "$as_dir" && as_dir=.
3699
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3829
    for ac_exec_ext in '' $ac_executable_extensions; do
3700
3830
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701
3831
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3702
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3832
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703
3833
    break 2
3704
3834
  fi
3705
3835
done
3706
 
done
 
3836
  done
3707
3837
IFS=$as_save_IFS
3708
3838
 
3709
3839
fi
3710
3840
fi
3711
3841
CC=$ac_cv_prog_CC
3712
3842
if test -n "$CC"; then
3713
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3714
3844
$as_echo "$CC" >&6; }
3715
3845
else
3716
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717
3847
$as_echo "no" >&6; }
3718
3848
fi
3719
3849
 
3723
3853
  ac_ct_CC=$CC
3724
3854
  # Extract the first word of "gcc", so it can be a program name with args.
3725
3855
set dummy gcc; ac_word=$2
3726
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727
3857
$as_echo_n "checking for $ac_word... " >&6; }
3728
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3858
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3729
3859
  $as_echo_n "(cached) " >&6
3730
3860
else
3731
3861
  if test -n "$ac_ct_CC"; then
3736
3866
do
3737
3867
  IFS=$as_save_IFS
3738
3868
  test -z "$as_dir" && as_dir=.
3739
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3869
    for ac_exec_ext in '' $ac_executable_extensions; do
3740
3870
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3741
3871
    ac_cv_prog_ac_ct_CC="gcc"
3742
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3872
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743
3873
    break 2
3744
3874
  fi
3745
3875
done
3746
 
done
 
3876
  done
3747
3877
IFS=$as_save_IFS
3748
3878
 
3749
3879
fi
3750
3880
fi
3751
3881
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3752
3882
if test -n "$ac_ct_CC"; then
3753
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3754
3884
$as_echo "$ac_ct_CC" >&6; }
3755
3885
else
3756
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757
3887
$as_echo "no" >&6; }
3758
3888
fi
3759
3889
 
3762
3892
  else
3763
3893
    case $cross_compiling:$ac_tool_warned in
3764
3894
yes:)
3765
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3895
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3766
3896
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3767
3897
ac_tool_warned=yes ;;
3768
3898
esac
3776
3906
          if test -n "$ac_tool_prefix"; then
3777
3907
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3778
3908
set dummy ${ac_tool_prefix}cc; ac_word=$2
3779
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780
3910
$as_echo_n "checking for $ac_word... " >&6; }
3781
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3911
if test "${ac_cv_prog_CC+set}" = set; then :
3782
3912
  $as_echo_n "(cached) " >&6
3783
3913
else
3784
3914
  if test -n "$CC"; then
3789
3919
do
3790
3920
  IFS=$as_save_IFS
3791
3921
  test -z "$as_dir" && as_dir=.
3792
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3922
    for ac_exec_ext in '' $ac_executable_extensions; do
3793
3923
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794
3924
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3795
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3925
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796
3926
    break 2
3797
3927
  fi
3798
3928
done
3799
 
done
 
3929
  done
3800
3930
IFS=$as_save_IFS
3801
3931
 
3802
3932
fi
3803
3933
fi
3804
3934
CC=$ac_cv_prog_CC
3805
3935
if test -n "$CC"; then
3806
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3936
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3807
3937
$as_echo "$CC" >&6; }
3808
3938
else
3809
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3939
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810
3940
$as_echo "no" >&6; }
3811
3941
fi
3812
3942
 
3816
3946
if test -z "$CC"; then
3817
3947
  # Extract the first word of "cc", so it can be a program name with args.
3818
3948
set dummy cc; ac_word=$2
3819
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3820
3950
$as_echo_n "checking for $ac_word... " >&6; }
3821
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3951
if test "${ac_cv_prog_CC+set}" = set; then :
3822
3952
  $as_echo_n "(cached) " >&6
3823
3953
else
3824
3954
  if test -n "$CC"; then
3830
3960
do
3831
3961
  IFS=$as_save_IFS
3832
3962
  test -z "$as_dir" && as_dir=.
3833
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3963
    for ac_exec_ext in '' $ac_executable_extensions; do
3834
3964
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3835
3965
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3836
3966
       ac_prog_rejected=yes
3837
3967
       continue
3838
3968
     fi
3839
3969
    ac_cv_prog_CC="cc"
3840
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3970
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841
3971
    break 2
3842
3972
  fi
3843
3973
done
3844
 
done
 
3974
  done
3845
3975
IFS=$as_save_IFS
3846
3976
 
3847
3977
if test $ac_prog_rejected = yes; then
3860
3990
fi
3861
3991
CC=$ac_cv_prog_CC
3862
3992
if test -n "$CC"; then
3863
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3864
3994
$as_echo "$CC" >&6; }
3865
3995
else
3866
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3996
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867
3997
$as_echo "no" >&6; }
3868
3998
fi
3869
3999
 
3875
4005
  do
3876
4006
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3877
4007
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3878
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879
4009
$as_echo_n "checking for $ac_word... " >&6; }
3880
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4010
if test "${ac_cv_prog_CC+set}" = set; then :
3881
4011
  $as_echo_n "(cached) " >&6
3882
4012
else
3883
4013
  if test -n "$CC"; then
3888
4018
do
3889
4019
  IFS=$as_save_IFS
3890
4020
  test -z "$as_dir" && as_dir=.
3891
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4021
    for ac_exec_ext in '' $ac_executable_extensions; do
3892
4022
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3893
4023
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3894
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4024
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3895
4025
    break 2
3896
4026
  fi
3897
4027
done
3898
 
done
 
4028
  done
3899
4029
IFS=$as_save_IFS
3900
4030
 
3901
4031
fi
3902
4032
fi
3903
4033
CC=$ac_cv_prog_CC
3904
4034
if test -n "$CC"; then
3905
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3906
4036
$as_echo "$CC" >&6; }
3907
4037
else
3908
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909
4039
$as_echo "no" >&6; }
3910
4040
fi
3911
4041
 
3919
4049
do
3920
4050
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3921
4051
set dummy $ac_prog; ac_word=$2
3922
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923
4053
$as_echo_n "checking for $ac_word... " >&6; }
3924
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4054
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3925
4055
  $as_echo_n "(cached) " >&6
3926
4056
else
3927
4057
  if test -n "$ac_ct_CC"; then
3932
4062
do
3933
4063
  IFS=$as_save_IFS
3934
4064
  test -z "$as_dir" && as_dir=.
3935
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4065
    for ac_exec_ext in '' $ac_executable_extensions; do
3936
4066
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3937
4067
    ac_cv_prog_ac_ct_CC="$ac_prog"
3938
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4068
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939
4069
    break 2
3940
4070
  fi
3941
4071
done
3942
 
done
 
4072
  done
3943
4073
IFS=$as_save_IFS
3944
4074
 
3945
4075
fi
3946
4076
fi
3947
4077
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3948
4078
if test -n "$ac_ct_CC"; then
3949
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4079
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3950
4080
$as_echo "$ac_ct_CC" >&6; }
3951
4081
else
3952
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953
4083
$as_echo "no" >&6; }
3954
4084
fi
3955
4085
 
3962
4092
  else
3963
4093
    case $cross_compiling:$ac_tool_warned in
3964
4094
yes:)
3965
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4095
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3966
4096
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3967
4097
ac_tool_warned=yes ;;
3968
4098
esac
3973
4103
fi
3974
4104
 
3975
4105
 
3976
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4106
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977
4107
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3978
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3979
 
See \`config.log' for more details." >&5
3980
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3981
 
See \`config.log' for more details." >&2;}
3982
 
   { (exit 1); exit 1; }; }; }
 
4108
as_fn_error "no acceptable C compiler found in \$PATH
 
4109
See \`config.log' for more details." "$LINENO" 5; }
3983
4110
 
3984
4111
# Provide some information about the compiler.
3985
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4112
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3986
4113
set X $ac_compile
3987
4114
ac_compiler=$2
3988
 
{ (ac_try="$ac_compiler --version >&5"
3989
 
case "(($ac_try" in
3990
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991
 
  *) ac_try_echo=$ac_try;;
3992
 
esac
3993
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3994
 
$as_echo "$ac_try_echo") >&5
3995
 
  (eval "$ac_compiler --version >&5") 2>&5
3996
 
  ac_status=$?
3997
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998
 
  (exit $ac_status); }
3999
 
{ (ac_try="$ac_compiler -v >&5"
4000
 
case "(($ac_try" in
4001
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002
 
  *) ac_try_echo=$ac_try;;
4003
 
esac
4004
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4005
 
$as_echo "$ac_try_echo") >&5
4006
 
  (eval "$ac_compiler -v >&5") 2>&5
4007
 
  ac_status=$?
4008
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009
 
  (exit $ac_status); }
4010
 
{ (ac_try="$ac_compiler -V >&5"
4011
 
case "(($ac_try" in
4012
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013
 
  *) ac_try_echo=$ac_try;;
4014
 
esac
4015
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4016
 
$as_echo "$ac_try_echo") >&5
4017
 
  (eval "$ac_compiler -V >&5") 2>&5
4018
 
  ac_status=$?
4019
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020
 
  (exit $ac_status); }
 
4115
for ac_option in --version -v -V -qversion; do
 
4116
  { { ac_try="$ac_compiler $ac_option >&5"
 
4117
case "(($ac_try" in
 
4118
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4119
  *) ac_try_echo=$ac_try;;
 
4120
esac
 
4121
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4122
$as_echo "$ac_try_echo"; } >&5
 
4123
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4124
  ac_status=$?
 
4125
  if test -s conftest.err; then
 
4126
    sed '10a\
 
4127
... rest of stderr output deleted ...
 
4128
         10q' conftest.err >conftest.er1
 
4129
    cat conftest.er1 >&5
 
4130
  fi
 
4131
  rm -f conftest.er1 conftest.err
 
4132
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4133
  test $ac_status = 0; }
 
4134
done
4021
4135
 
4022
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4023
4137
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4024
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4138
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4025
4139
  $as_echo_n "(cached) " >&6
4026
4140
else
4027
 
  cat >conftest.$ac_ext <<_ACEOF
4028
 
/* confdefs.h.  */
4029
 
_ACEOF
4030
 
cat confdefs.h >>conftest.$ac_ext
4031
 
cat >>conftest.$ac_ext <<_ACEOF
 
4141
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032
4142
/* end confdefs.h.  */
4033
4143
 
4034
4144
int
4042
4152
  return 0;
4043
4153
}
4044
4154
_ACEOF
4045
 
rm -f conftest.$ac_objext
4046
 
if { (ac_try="$ac_compile"
4047
 
case "(($ac_try" in
4048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049
 
  *) ac_try_echo=$ac_try;;
4050
 
esac
4051
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4052
 
$as_echo "$ac_try_echo") >&5
4053
 
  (eval "$ac_compile") 2>conftest.er1
4054
 
  ac_status=$?
4055
 
  grep -v '^ *+' conftest.er1 >conftest.err
4056
 
  rm -f conftest.er1
4057
 
  cat conftest.err >&5
4058
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059
 
  (exit $ac_status); } && {
4060
 
         test -z "$ac_c_werror_flag" ||
4061
 
         test ! -s conftest.err
4062
 
       } && test -s conftest.$ac_objext; then
 
4155
if ac_fn_c_try_compile "$LINENO"; then :
4063
4156
  ac_compiler_gnu=yes
4064
4157
else
4065
 
  $as_echo "$as_me: failed program was:" >&5
4066
 
sed 's/^/| /' conftest.$ac_ext >&5
4067
 
 
4068
 
        ac_compiler_gnu=no
 
4158
  ac_compiler_gnu=no
4069
4159
fi
4070
 
 
4071
4160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4072
4161
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4073
4162
 
4074
4163
fi
4075
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4076
4165
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4077
4166
if test $ac_compiler_gnu = yes; then
4078
4167
  GCC=yes
4081
4170
fi
4082
4171
ac_test_CFLAGS=${CFLAGS+set}
4083
4172
ac_save_CFLAGS=$CFLAGS
4084
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4085
4174
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4086
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4175
if test "${ac_cv_prog_cc_g+set}" = set; then :
4087
4176
  $as_echo_n "(cached) " >&6
4088
4177
else
4089
4178
  ac_save_c_werror_flag=$ac_c_werror_flag
4090
4179
   ac_c_werror_flag=yes
4091
4180
   ac_cv_prog_cc_g=no
4092
4181
   CFLAGS="-g"
4093
 
   cat >conftest.$ac_ext <<_ACEOF
4094
 
/* confdefs.h.  */
4095
 
_ACEOF
4096
 
cat confdefs.h >>conftest.$ac_ext
4097
 
cat >>conftest.$ac_ext <<_ACEOF
 
4182
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098
4183
/* end confdefs.h.  */
4099
4184
 
4100
4185
int
4105
4190
  return 0;
4106
4191
}
4107
4192
_ACEOF
4108
 
rm -f conftest.$ac_objext
4109
 
if { (ac_try="$ac_compile"
4110
 
case "(($ac_try" in
4111
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112
 
  *) ac_try_echo=$ac_try;;
4113
 
esac
4114
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4115
 
$as_echo "$ac_try_echo") >&5
4116
 
  (eval "$ac_compile") 2>conftest.er1
4117
 
  ac_status=$?
4118
 
  grep -v '^ *+' conftest.er1 >conftest.err
4119
 
  rm -f conftest.er1
4120
 
  cat conftest.err >&5
4121
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122
 
  (exit $ac_status); } && {
4123
 
         test -z "$ac_c_werror_flag" ||
4124
 
         test ! -s conftest.err
4125
 
       } && test -s conftest.$ac_objext; then
 
4193
if ac_fn_c_try_compile "$LINENO"; then :
4126
4194
  ac_cv_prog_cc_g=yes
4127
4195
else
4128
 
  $as_echo "$as_me: failed program was:" >&5
4129
 
sed 's/^/| /' conftest.$ac_ext >&5
4130
 
 
4131
 
        CFLAGS=""
4132
 
      cat >conftest.$ac_ext <<_ACEOF
4133
 
/* confdefs.h.  */
4134
 
_ACEOF
4135
 
cat confdefs.h >>conftest.$ac_ext
4136
 
cat >>conftest.$ac_ext <<_ACEOF
 
4196
  CFLAGS=""
 
4197
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137
4198
/* end confdefs.h.  */
4138
4199
 
4139
4200
int
4144
4205
  return 0;
4145
4206
}
4146
4207
_ACEOF
4147
 
rm -f conftest.$ac_objext
4148
 
if { (ac_try="$ac_compile"
4149
 
case "(($ac_try" in
4150
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151
 
  *) ac_try_echo=$ac_try;;
4152
 
esac
4153
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4154
 
$as_echo "$ac_try_echo") >&5
4155
 
  (eval "$ac_compile") 2>conftest.er1
4156
 
  ac_status=$?
4157
 
  grep -v '^ *+' conftest.er1 >conftest.err
4158
 
  rm -f conftest.er1
4159
 
  cat conftest.err >&5
4160
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161
 
  (exit $ac_status); } && {
4162
 
         test -z "$ac_c_werror_flag" ||
4163
 
         test ! -s conftest.err
4164
 
       } && test -s conftest.$ac_objext; then
4165
 
  :
 
4208
if ac_fn_c_try_compile "$LINENO"; then :
 
4209
 
4166
4210
else
4167
 
  $as_echo "$as_me: failed program was:" >&5
4168
 
sed 's/^/| /' conftest.$ac_ext >&5
4169
 
 
4170
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4211
  ac_c_werror_flag=$ac_save_c_werror_flag
4171
4212
         CFLAGS="-g"
4172
 
         cat >conftest.$ac_ext <<_ACEOF
4173
 
/* confdefs.h.  */
4174
 
_ACEOF
4175
 
cat confdefs.h >>conftest.$ac_ext
4176
 
cat >>conftest.$ac_ext <<_ACEOF
 
4213
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177
4214
/* end confdefs.h.  */
4178
4215
 
4179
4216
int
4184
4221
  return 0;
4185
4222
}
4186
4223
_ACEOF
4187
 
rm -f conftest.$ac_objext
4188
 
if { (ac_try="$ac_compile"
4189
 
case "(($ac_try" in
4190
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191
 
  *) ac_try_echo=$ac_try;;
4192
 
esac
4193
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4194
 
$as_echo "$ac_try_echo") >&5
4195
 
  (eval "$ac_compile") 2>conftest.er1
4196
 
  ac_status=$?
4197
 
  grep -v '^ *+' conftest.er1 >conftest.err
4198
 
  rm -f conftest.er1
4199
 
  cat conftest.err >&5
4200
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201
 
  (exit $ac_status); } && {
4202
 
         test -z "$ac_c_werror_flag" ||
4203
 
         test ! -s conftest.err
4204
 
       } && test -s conftest.$ac_objext; then
 
4224
if ac_fn_c_try_compile "$LINENO"; then :
4205
4225
  ac_cv_prog_cc_g=yes
4206
 
else
4207
 
  $as_echo "$as_me: failed program was:" >&5
4208
 
sed 's/^/| /' conftest.$ac_ext >&5
4209
 
 
4210
 
 
4211
 
fi
4212
 
 
4213
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214
 
fi
4215
 
 
4216
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217
 
fi
4218
 
 
 
4226
fi
 
4227
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4228
fi
 
4229
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4230
fi
4219
4231
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220
4232
   ac_c_werror_flag=$ac_save_c_werror_flag
4221
4233
fi
4222
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4223
4235
$as_echo "$ac_cv_prog_cc_g" >&6; }
4224
4236
if test "$ac_test_CFLAGS" = set; then
4225
4237
  CFLAGS=$ac_save_CFLAGS
4236
4248
    CFLAGS=
4237
4249
  fi
4238
4250
fi
4239
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4240
4252
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4241
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4253
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4242
4254
  $as_echo_n "(cached) " >&6
4243
4255
else
4244
4256
  ac_cv_prog_cc_c89=no
4245
4257
ac_save_CC=$CC
4246
 
cat >conftest.$ac_ext <<_ACEOF
4247
 
/* confdefs.h.  */
4248
 
_ACEOF
4249
 
cat confdefs.h >>conftest.$ac_ext
4250
 
cat >>conftest.$ac_ext <<_ACEOF
 
4258
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251
4259
/* end confdefs.h.  */
4252
4260
#include <stdarg.h>
4253
4261
#include <stdio.h>
4304
4312
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4305
4313
do
4306
4314
  CC="$ac_save_CC $ac_arg"
4307
 
  rm -f conftest.$ac_objext
4308
 
if { (ac_try="$ac_compile"
4309
 
case "(($ac_try" in
4310
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4311
 
  *) ac_try_echo=$ac_try;;
4312
 
esac
4313
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4314
 
$as_echo "$ac_try_echo") >&5
4315
 
  (eval "$ac_compile") 2>conftest.er1
4316
 
  ac_status=$?
4317
 
  grep -v '^ *+' conftest.er1 >conftest.err
4318
 
  rm -f conftest.er1
4319
 
  cat conftest.err >&5
4320
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321
 
  (exit $ac_status); } && {
4322
 
         test -z "$ac_c_werror_flag" ||
4323
 
         test ! -s conftest.err
4324
 
       } && test -s conftest.$ac_objext; then
 
4315
  if ac_fn_c_try_compile "$LINENO"; then :
4325
4316
  ac_cv_prog_cc_c89=$ac_arg
4326
 
else
4327
 
  $as_echo "$as_me: failed program was:" >&5
4328
 
sed 's/^/| /' conftest.$ac_ext >&5
4329
 
 
4330
 
 
4331
4317
fi
4332
 
 
4333
4318
rm -f core conftest.err conftest.$ac_objext
4334
4319
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4335
4320
done
4340
4325
# AC_CACHE_VAL
4341
4326
case "x$ac_cv_prog_cc_c89" in
4342
4327
  x)
4343
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4328
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4344
4329
$as_echo "none needed" >&6; } ;;
4345
4330
  xno)
4346
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4331
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4347
4332
$as_echo "unsupported" >&6; } ;;
4348
4333
  *)
4349
4334
    CC="$CC $ac_cv_prog_cc_c89"
4350
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4335
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4351
4336
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4352
4337
esac
 
4338
if test "x$ac_cv_prog_cc_c89" != xno; then :
4353
4339
 
 
4340
fi
4354
4341
 
4355
4342
ac_ext=c
4356
4343
ac_cpp='$CPP $CPPFLAGS'
4360
4347
 
4361
4348
depcc="$CC"   am_compiler_list=
4362
4349
 
4363
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4364
4351
$as_echo_n "checking dependency style of $depcc... " >&6; }
4365
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4352
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4366
4353
  $as_echo_n "(cached) " >&6
4367
4354
else
4368
4355
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4470
4457
fi
4471
4458
 
4472
4459
fi
4473
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4474
4461
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4475
4462
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4476
4463
 
4493
4480
if test -n "$ac_tool_prefix"; then
4494
4481
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4495
4482
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4496
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497
4484
$as_echo_n "checking for $ac_word... " >&6; }
4498
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4485
if test "${ac_cv_prog_CC+set}" = set; then :
4499
4486
  $as_echo_n "(cached) " >&6
4500
4487
else
4501
4488
  if test -n "$CC"; then
4506
4493
do
4507
4494
  IFS=$as_save_IFS
4508
4495
  test -z "$as_dir" && as_dir=.
4509
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4496
    for ac_exec_ext in '' $ac_executable_extensions; do
4510
4497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4511
4498
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4512
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4499
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4513
4500
    break 2
4514
4501
  fi
4515
4502
done
4516
 
done
 
4503
  done
4517
4504
IFS=$as_save_IFS
4518
4505
 
4519
4506
fi
4520
4507
fi
4521
4508
CC=$ac_cv_prog_CC
4522
4509
if test -n "$CC"; then
4523
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4524
4511
$as_echo "$CC" >&6; }
4525
4512
else
4526
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527
4514
$as_echo "no" >&6; }
4528
4515
fi
4529
4516
 
4533
4520
  ac_ct_CC=$CC
4534
4521
  # Extract the first word of "gcc", so it can be a program name with args.
4535
4522
set dummy gcc; ac_word=$2
4536
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537
4524
$as_echo_n "checking for $ac_word... " >&6; }
4538
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4525
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4539
4526
  $as_echo_n "(cached) " >&6
4540
4527
else
4541
4528
  if test -n "$ac_ct_CC"; then
4546
4533
do
4547
4534
  IFS=$as_save_IFS
4548
4535
  test -z "$as_dir" && as_dir=.
4549
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4536
    for ac_exec_ext in '' $ac_executable_extensions; do
4550
4537
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551
4538
    ac_cv_prog_ac_ct_CC="gcc"
4552
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4539
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4553
4540
    break 2
4554
4541
  fi
4555
4542
done
4556
 
done
 
4543
  done
4557
4544
IFS=$as_save_IFS
4558
4545
 
4559
4546
fi
4560
4547
fi
4561
4548
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4562
4549
if test -n "$ac_ct_CC"; then
4563
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4550
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4564
4551
$as_echo "$ac_ct_CC" >&6; }
4565
4552
else
4566
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567
4554
$as_echo "no" >&6; }
4568
4555
fi
4569
4556
 
4572
4559
  else
4573
4560
    case $cross_compiling:$ac_tool_warned in
4574
4561
yes:)
4575
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4562
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4576
4563
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4577
4564
ac_tool_warned=yes ;;
4578
4565
esac
4586
4573
          if test -n "$ac_tool_prefix"; then
4587
4574
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4588
4575
set dummy ${ac_tool_prefix}cc; ac_word=$2
4589
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590
4577
$as_echo_n "checking for $ac_word... " >&6; }
4591
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4578
if test "${ac_cv_prog_CC+set}" = set; then :
4592
4579
  $as_echo_n "(cached) " >&6
4593
4580
else
4594
4581
  if test -n "$CC"; then
4599
4586
do
4600
4587
  IFS=$as_save_IFS
4601
4588
  test -z "$as_dir" && as_dir=.
4602
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4589
    for ac_exec_ext in '' $ac_executable_extensions; do
4603
4590
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4604
4591
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4605
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4592
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4606
4593
    break 2
4607
4594
  fi
4608
4595
done
4609
 
done
 
4596
  done
4610
4597
IFS=$as_save_IFS
4611
4598
 
4612
4599
fi
4613
4600
fi
4614
4601
CC=$ac_cv_prog_CC
4615
4602
if test -n "$CC"; then
4616
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4603
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4617
4604
$as_echo "$CC" >&6; }
4618
4605
else
4619
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4606
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620
4607
$as_echo "no" >&6; }
4621
4608
fi
4622
4609
 
4626
4613
if test -z "$CC"; then
4627
4614
  # Extract the first word of "cc", so it can be a program name with args.
4628
4615
set dummy cc; ac_word=$2
4629
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630
4617
$as_echo_n "checking for $ac_word... " >&6; }
4631
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4618
if test "${ac_cv_prog_CC+set}" = set; then :
4632
4619
  $as_echo_n "(cached) " >&6
4633
4620
else
4634
4621
  if test -n "$CC"; then
4640
4627
do
4641
4628
  IFS=$as_save_IFS
4642
4629
  test -z "$as_dir" && as_dir=.
4643
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4630
    for ac_exec_ext in '' $ac_executable_extensions; do
4644
4631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4645
4632
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4646
4633
       ac_prog_rejected=yes
4647
4634
       continue
4648
4635
     fi
4649
4636
    ac_cv_prog_CC="cc"
4650
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4637
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651
4638
    break 2
4652
4639
  fi
4653
4640
done
4654
 
done
 
4641
  done
4655
4642
IFS=$as_save_IFS
4656
4643
 
4657
4644
if test $ac_prog_rejected = yes; then
4670
4657
fi
4671
4658
CC=$ac_cv_prog_CC
4672
4659
if test -n "$CC"; then
4673
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4660
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4674
4661
$as_echo "$CC" >&6; }
4675
4662
else
4676
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4663
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677
4664
$as_echo "no" >&6; }
4678
4665
fi
4679
4666
 
4685
4672
  do
4686
4673
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4687
4674
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4688
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689
4676
$as_echo_n "checking for $ac_word... " >&6; }
4690
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4677
if test "${ac_cv_prog_CC+set}" = set; then :
4691
4678
  $as_echo_n "(cached) " >&6
4692
4679
else
4693
4680
  if test -n "$CC"; then
4698
4685
do
4699
4686
  IFS=$as_save_IFS
4700
4687
  test -z "$as_dir" && as_dir=.
4701
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4688
    for ac_exec_ext in '' $ac_executable_extensions; do
4702
4689
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703
4690
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4704
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4691
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705
4692
    break 2
4706
4693
  fi
4707
4694
done
4708
 
done
 
4695
  done
4709
4696
IFS=$as_save_IFS
4710
4697
 
4711
4698
fi
4712
4699
fi
4713
4700
CC=$ac_cv_prog_CC
4714
4701
if test -n "$CC"; then
4715
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4716
4703
$as_echo "$CC" >&6; }
4717
4704
else
4718
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719
4706
$as_echo "no" >&6; }
4720
4707
fi
4721
4708
 
4729
4716
do
4730
4717
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4731
4718
set dummy $ac_prog; ac_word=$2
4732
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733
4720
$as_echo_n "checking for $ac_word... " >&6; }
4734
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4721
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4735
4722
  $as_echo_n "(cached) " >&6
4736
4723
else
4737
4724
  if test -n "$ac_ct_CC"; then
4742
4729
do
4743
4730
  IFS=$as_save_IFS
4744
4731
  test -z "$as_dir" && as_dir=.
4745
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4732
    for ac_exec_ext in '' $ac_executable_extensions; do
4746
4733
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747
4734
    ac_cv_prog_ac_ct_CC="$ac_prog"
4748
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4735
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749
4736
    break 2
4750
4737
  fi
4751
4738
done
4752
 
done
 
4739
  done
4753
4740
IFS=$as_save_IFS
4754
4741
 
4755
4742
fi
4756
4743
fi
4757
4744
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4758
4745
if test -n "$ac_ct_CC"; then
4759
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4746
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4760
4747
$as_echo "$ac_ct_CC" >&6; }
4761
4748
else
4762
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763
4750
$as_echo "no" >&6; }
4764
4751
fi
4765
4752
 
4772
4759
  else
4773
4760
    case $cross_compiling:$ac_tool_warned in
4774
4761
yes:)
4775
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4762
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4776
4763
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4777
4764
ac_tool_warned=yes ;;
4778
4765
esac
4783
4770
fi
4784
4771
 
4785
4772
 
4786
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4773
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4787
4774
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4788
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4789
 
See \`config.log' for more details." >&5
4790
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4791
 
See \`config.log' for more details." >&2;}
4792
 
   { (exit 1); exit 1; }; }; }
 
4775
as_fn_error "no acceptable C compiler found in \$PATH
 
4776
See \`config.log' for more details." "$LINENO" 5; }
4793
4777
 
4794
4778
# Provide some information about the compiler.
4795
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4779
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4796
4780
set X $ac_compile
4797
4781
ac_compiler=$2
4798
 
{ (ac_try="$ac_compiler --version >&5"
4799
 
case "(($ac_try" in
4800
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4801
 
  *) ac_try_echo=$ac_try;;
4802
 
esac
4803
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4804
 
$as_echo "$ac_try_echo") >&5
4805
 
  (eval "$ac_compiler --version >&5") 2>&5
4806
 
  ac_status=$?
4807
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808
 
  (exit $ac_status); }
4809
 
{ (ac_try="$ac_compiler -v >&5"
4810
 
case "(($ac_try" in
4811
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812
 
  *) ac_try_echo=$ac_try;;
4813
 
esac
4814
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4815
 
$as_echo "$ac_try_echo") >&5
4816
 
  (eval "$ac_compiler -v >&5") 2>&5
4817
 
  ac_status=$?
4818
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819
 
  (exit $ac_status); }
4820
 
{ (ac_try="$ac_compiler -V >&5"
4821
 
case "(($ac_try" in
4822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823
 
  *) ac_try_echo=$ac_try;;
4824
 
esac
4825
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4826
 
$as_echo "$ac_try_echo") >&5
4827
 
  (eval "$ac_compiler -V >&5") 2>&5
4828
 
  ac_status=$?
4829
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830
 
  (exit $ac_status); }
 
4782
for ac_option in --version -v -V -qversion; do
 
4783
  { { ac_try="$ac_compiler $ac_option >&5"
 
4784
case "(($ac_try" in
 
4785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4786
  *) ac_try_echo=$ac_try;;
 
4787
esac
 
4788
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4789
$as_echo "$ac_try_echo"; } >&5
 
4790
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4791
  ac_status=$?
 
4792
  if test -s conftest.err; then
 
4793
    sed '10a\
 
4794
... rest of stderr output deleted ...
 
4795
         10q' conftest.err >conftest.er1
 
4796
    cat conftest.er1 >&5
 
4797
  fi
 
4798
  rm -f conftest.er1 conftest.err
 
4799
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4800
  test $ac_status = 0; }
 
4801
done
4831
4802
 
4832
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4833
4804
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4834
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4805
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4835
4806
  $as_echo_n "(cached) " >&6
4836
4807
else
4837
 
  cat >conftest.$ac_ext <<_ACEOF
4838
 
/* confdefs.h.  */
4839
 
_ACEOF
4840
 
cat confdefs.h >>conftest.$ac_ext
4841
 
cat >>conftest.$ac_ext <<_ACEOF
 
4808
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4842
4809
/* end confdefs.h.  */
4843
4810
 
4844
4811
int
4852
4819
  return 0;
4853
4820
}
4854
4821
_ACEOF
4855
 
rm -f conftest.$ac_objext
4856
 
if { (ac_try="$ac_compile"
4857
 
case "(($ac_try" in
4858
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4859
 
  *) ac_try_echo=$ac_try;;
4860
 
esac
4861
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4862
 
$as_echo "$ac_try_echo") >&5
4863
 
  (eval "$ac_compile") 2>conftest.er1
4864
 
  ac_status=$?
4865
 
  grep -v '^ *+' conftest.er1 >conftest.err
4866
 
  rm -f conftest.er1
4867
 
  cat conftest.err >&5
4868
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869
 
  (exit $ac_status); } && {
4870
 
         test -z "$ac_c_werror_flag" ||
4871
 
         test ! -s conftest.err
4872
 
       } && test -s conftest.$ac_objext; then
 
4822
if ac_fn_c_try_compile "$LINENO"; then :
4873
4823
  ac_compiler_gnu=yes
4874
4824
else
4875
 
  $as_echo "$as_me: failed program was:" >&5
4876
 
sed 's/^/| /' conftest.$ac_ext >&5
4877
 
 
4878
 
        ac_compiler_gnu=no
 
4825
  ac_compiler_gnu=no
4879
4826
fi
4880
 
 
4881
4827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882
4828
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4883
4829
 
4884
4830
fi
4885
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4886
4832
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4887
4833
if test $ac_compiler_gnu = yes; then
4888
4834
  GCC=yes
4891
4837
fi
4892
4838
ac_test_CFLAGS=${CFLAGS+set}
4893
4839
ac_save_CFLAGS=$CFLAGS
4894
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4895
4841
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4896
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4842
if test "${ac_cv_prog_cc_g+set}" = set; then :
4897
4843
  $as_echo_n "(cached) " >&6
4898
4844
else
4899
4845
  ac_save_c_werror_flag=$ac_c_werror_flag
4900
4846
   ac_c_werror_flag=yes
4901
4847
   ac_cv_prog_cc_g=no
4902
4848
   CFLAGS="-g"
4903
 
   cat >conftest.$ac_ext <<_ACEOF
4904
 
/* confdefs.h.  */
4905
 
_ACEOF
4906
 
cat confdefs.h >>conftest.$ac_ext
4907
 
cat >>conftest.$ac_ext <<_ACEOF
 
4849
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908
4850
/* end confdefs.h.  */
4909
4851
 
4910
4852
int
4915
4857
  return 0;
4916
4858
}
4917
4859
_ACEOF
4918
 
rm -f conftest.$ac_objext
4919
 
if { (ac_try="$ac_compile"
4920
 
case "(($ac_try" in
4921
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4922
 
  *) ac_try_echo=$ac_try;;
4923
 
esac
4924
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4925
 
$as_echo "$ac_try_echo") >&5
4926
 
  (eval "$ac_compile") 2>conftest.er1
4927
 
  ac_status=$?
4928
 
  grep -v '^ *+' conftest.er1 >conftest.err
4929
 
  rm -f conftest.er1
4930
 
  cat conftest.err >&5
4931
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932
 
  (exit $ac_status); } && {
4933
 
         test -z "$ac_c_werror_flag" ||
4934
 
         test ! -s conftest.err
4935
 
       } && test -s conftest.$ac_objext; then
 
4860
if ac_fn_c_try_compile "$LINENO"; then :
4936
4861
  ac_cv_prog_cc_g=yes
4937
4862
else
4938
 
  $as_echo "$as_me: failed program was:" >&5
4939
 
sed 's/^/| /' conftest.$ac_ext >&5
4940
 
 
4941
 
        CFLAGS=""
4942
 
      cat >conftest.$ac_ext <<_ACEOF
4943
 
/* confdefs.h.  */
4944
 
_ACEOF
4945
 
cat confdefs.h >>conftest.$ac_ext
4946
 
cat >>conftest.$ac_ext <<_ACEOF
 
4863
  CFLAGS=""
 
4864
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947
4865
/* end confdefs.h.  */
4948
4866
 
4949
4867
int
4954
4872
  return 0;
4955
4873
}
4956
4874
_ACEOF
4957
 
rm -f conftest.$ac_objext
4958
 
if { (ac_try="$ac_compile"
4959
 
case "(($ac_try" in
4960
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4961
 
  *) ac_try_echo=$ac_try;;
4962
 
esac
4963
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4964
 
$as_echo "$ac_try_echo") >&5
4965
 
  (eval "$ac_compile") 2>conftest.er1
4966
 
  ac_status=$?
4967
 
  grep -v '^ *+' conftest.er1 >conftest.err
4968
 
  rm -f conftest.er1
4969
 
  cat conftest.err >&5
4970
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971
 
  (exit $ac_status); } && {
4972
 
         test -z "$ac_c_werror_flag" ||
4973
 
         test ! -s conftest.err
4974
 
       } && test -s conftest.$ac_objext; then
4975
 
  :
 
4875
if ac_fn_c_try_compile "$LINENO"; then :
 
4876
 
4976
4877
else
4977
 
  $as_echo "$as_me: failed program was:" >&5
4978
 
sed 's/^/| /' conftest.$ac_ext >&5
4979
 
 
4980
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4878
  ac_c_werror_flag=$ac_save_c_werror_flag
4981
4879
         CFLAGS="-g"
4982
 
         cat >conftest.$ac_ext <<_ACEOF
4983
 
/* confdefs.h.  */
4984
 
_ACEOF
4985
 
cat confdefs.h >>conftest.$ac_ext
4986
 
cat >>conftest.$ac_ext <<_ACEOF
 
4880
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987
4881
/* end confdefs.h.  */
4988
4882
 
4989
4883
int
4994
4888
  return 0;
4995
4889
}
4996
4890
_ACEOF
4997
 
rm -f conftest.$ac_objext
4998
 
if { (ac_try="$ac_compile"
4999
 
case "(($ac_try" in
5000
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001
 
  *) ac_try_echo=$ac_try;;
5002
 
esac
5003
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5004
 
$as_echo "$ac_try_echo") >&5
5005
 
  (eval "$ac_compile") 2>conftest.er1
5006
 
  ac_status=$?
5007
 
  grep -v '^ *+' conftest.er1 >conftest.err
5008
 
  rm -f conftest.er1
5009
 
  cat conftest.err >&5
5010
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011
 
  (exit $ac_status); } && {
5012
 
         test -z "$ac_c_werror_flag" ||
5013
 
         test ! -s conftest.err
5014
 
       } && test -s conftest.$ac_objext; then
 
4891
if ac_fn_c_try_compile "$LINENO"; then :
5015
4892
  ac_cv_prog_cc_g=yes
5016
 
else
5017
 
  $as_echo "$as_me: failed program was:" >&5
5018
 
sed 's/^/| /' conftest.$ac_ext >&5
5019
 
 
5020
 
 
5021
 
fi
5022
 
 
5023
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5024
 
fi
5025
 
 
5026
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027
 
fi
5028
 
 
 
4893
fi
 
4894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4895
fi
 
4896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4897
fi
5029
4898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5030
4899
   ac_c_werror_flag=$ac_save_c_werror_flag
5031
4900
fi
5032
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5033
4902
$as_echo "$ac_cv_prog_cc_g" >&6; }
5034
4903
if test "$ac_test_CFLAGS" = set; then
5035
4904
  CFLAGS=$ac_save_CFLAGS
5046
4915
    CFLAGS=
5047
4916
  fi
5048
4917
fi
5049
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5050
4919
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5051
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4920
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5052
4921
  $as_echo_n "(cached) " >&6
5053
4922
else
5054
4923
  ac_cv_prog_cc_c89=no
5055
4924
ac_save_CC=$CC
5056
 
cat >conftest.$ac_ext <<_ACEOF
5057
 
/* confdefs.h.  */
5058
 
_ACEOF
5059
 
cat confdefs.h >>conftest.$ac_ext
5060
 
cat >>conftest.$ac_ext <<_ACEOF
 
4925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061
4926
/* end confdefs.h.  */
5062
4927
#include <stdarg.h>
5063
4928
#include <stdio.h>
5114
4979
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5115
4980
do
5116
4981
  CC="$ac_save_CC $ac_arg"
5117
 
  rm -f conftest.$ac_objext
5118
 
if { (ac_try="$ac_compile"
5119
 
case "(($ac_try" in
5120
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121
 
  *) ac_try_echo=$ac_try;;
5122
 
esac
5123
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5124
 
$as_echo "$ac_try_echo") >&5
5125
 
  (eval "$ac_compile") 2>conftest.er1
5126
 
  ac_status=$?
5127
 
  grep -v '^ *+' conftest.er1 >conftest.err
5128
 
  rm -f conftest.er1
5129
 
  cat conftest.err >&5
5130
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131
 
  (exit $ac_status); } && {
5132
 
         test -z "$ac_c_werror_flag" ||
5133
 
         test ! -s conftest.err
5134
 
       } && test -s conftest.$ac_objext; then
 
4982
  if ac_fn_c_try_compile "$LINENO"; then :
5135
4983
  ac_cv_prog_cc_c89=$ac_arg
5136
 
else
5137
 
  $as_echo "$as_me: failed program was:" >&5
5138
 
sed 's/^/| /' conftest.$ac_ext >&5
5139
 
 
5140
 
 
5141
4984
fi
5142
 
 
5143
4985
rm -f core conftest.err conftest.$ac_objext
5144
4986
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5145
4987
done
5150
4992
# AC_CACHE_VAL
5151
4993
case "x$ac_cv_prog_cc_c89" in
5152
4994
  x)
5153
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4995
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5154
4996
$as_echo "none needed" >&6; } ;;
5155
4997
  xno)
5156
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4998
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5157
4999
$as_echo "unsupported" >&6; } ;;
5158
5000
  *)
5159
5001
    CC="$CC $ac_cv_prog_cc_c89"
5160
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5002
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5161
5003
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5162
5004
esac
 
5005
if test "x$ac_cv_prog_cc_c89" != xno; then :
5163
5006
 
 
5007
fi
5164
5008
 
5165
5009
ac_ext=c
5166
5010
ac_cpp='$CPP $CPPFLAGS'
5170
5014
 
5171
5015
depcc="$CC"   am_compiler_list=
5172
5016
 
5173
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5174
5018
$as_echo_n "checking dependency style of $depcc... " >&6; }
5175
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
5019
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5176
5020
  $as_echo_n "(cached) " >&6
5177
5021
else
5178
5022
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5280
5124
fi
5281
5125
 
5282
5126
fi
5283
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5284
5128
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5285
5129
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5286
5130
 
5303
5147
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5304
5148
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5305
5149
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5306
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5307
5151
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5308
5152
# On Suns, sometimes $CPP names a directory.
5309
5153
if test -n "$CPP" && test -d "$CPP"; then
5310
5154
  CPP=
5311
5155
fi
5312
5156
if test -z "$CPP"; then
5313
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
5157
  if test "${ac_cv_prog_CPP+set}" = set; then :
5314
5158
  $as_echo_n "(cached) " >&6
5315
5159
else
5316
5160
      # Double quotes because CPP needs to be expanded
5325
5169
  # <limits.h> exists even on freestanding compilers.
5326
5170
  # On the NeXT, cc -E runs the code through the compiler's parser,
5327
5171
  # not just through cpp. "Syntax error" is here to catch this case.
5328
 
  cat >conftest.$ac_ext <<_ACEOF
5329
 
/* confdefs.h.  */
5330
 
_ACEOF
5331
 
cat confdefs.h >>conftest.$ac_ext
5332
 
cat >>conftest.$ac_ext <<_ACEOF
 
5172
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333
5173
/* end confdefs.h.  */
5334
5174
#ifdef __STDC__
5335
5175
# include <limits.h>
5338
5178
#endif
5339
5179
                     Syntax error
5340
5180
_ACEOF
5341
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5342
 
case "(($ac_try" in
5343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5344
 
  *) ac_try_echo=$ac_try;;
5345
 
esac
5346
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5347
 
$as_echo "$ac_try_echo") >&5
5348
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5349
 
  ac_status=$?
5350
 
  grep -v '^ *+' conftest.er1 >conftest.err
5351
 
  rm -f conftest.er1
5352
 
  cat conftest.err >&5
5353
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354
 
  (exit $ac_status); } >/dev/null && {
5355
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5356
 
         test ! -s conftest.err
5357
 
       }; then
5358
 
  :
 
5181
if ac_fn_c_try_cpp "$LINENO"; then :
 
5182
 
5359
5183
else
5360
 
  $as_echo "$as_me: failed program was:" >&5
5361
 
sed 's/^/| /' conftest.$ac_ext >&5
5362
 
 
5363
5184
  # Broken: fails on valid input.
5364
5185
continue
5365
5186
fi
5366
 
 
5367
5187
rm -f conftest.err conftest.$ac_ext
5368
5188
 
5369
5189
  # OK, works on sane cases.  Now check whether nonexistent headers
5370
5190
  # can be detected and how.
5371
 
  cat >conftest.$ac_ext <<_ACEOF
5372
 
/* confdefs.h.  */
5373
 
_ACEOF
5374
 
cat confdefs.h >>conftest.$ac_ext
5375
 
cat >>conftest.$ac_ext <<_ACEOF
 
5191
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376
5192
/* end confdefs.h.  */
5377
5193
#include <ac_nonexistent.h>
5378
5194
_ACEOF
5379
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5380
 
case "(($ac_try" in
5381
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5382
 
  *) ac_try_echo=$ac_try;;
5383
 
esac
5384
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5385
 
$as_echo "$ac_try_echo") >&5
5386
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5387
 
  ac_status=$?
5388
 
  grep -v '^ *+' conftest.er1 >conftest.err
5389
 
  rm -f conftest.er1
5390
 
  cat conftest.err >&5
5391
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392
 
  (exit $ac_status); } >/dev/null && {
5393
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5394
 
         test ! -s conftest.err
5395
 
       }; then
 
5195
if ac_fn_c_try_cpp "$LINENO"; then :
5396
5196
  # Broken: success on invalid input.
5397
5197
continue
5398
5198
else
5399
 
  $as_echo "$as_me: failed program was:" >&5
5400
 
sed 's/^/| /' conftest.$ac_ext >&5
5401
 
 
5402
5199
  # Passes both tests.
5403
5200
ac_preproc_ok=:
5404
5201
break
5405
5202
fi
5406
 
 
5407
5203
rm -f conftest.err conftest.$ac_ext
5408
5204
 
5409
5205
done
5410
5206
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5411
5207
rm -f conftest.err conftest.$ac_ext
5412
 
if $ac_preproc_ok; then
 
5208
if $ac_preproc_ok; then :
5413
5209
  break
5414
5210
fi
5415
5211
 
5421
5217
else
5422
5218
  ac_cv_prog_CPP=$CPP
5423
5219
fi
5424
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5425
5221
$as_echo "$CPP" >&6; }
5426
5222
ac_preproc_ok=false
5427
5223
for ac_c_preproc_warn_flag in '' yes
5432
5228
  # <limits.h> exists even on freestanding compilers.
5433
5229
  # On the NeXT, cc -E runs the code through the compiler's parser,
5434
5230
  # not just through cpp. "Syntax error" is here to catch this case.
5435
 
  cat >conftest.$ac_ext <<_ACEOF
5436
 
/* confdefs.h.  */
5437
 
_ACEOF
5438
 
cat confdefs.h >>conftest.$ac_ext
5439
 
cat >>conftest.$ac_ext <<_ACEOF
 
5231
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5440
5232
/* end confdefs.h.  */
5441
5233
#ifdef __STDC__
5442
5234
# include <limits.h>
5445
5237
#endif
5446
5238
                     Syntax error
5447
5239
_ACEOF
5448
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5449
 
case "(($ac_try" in
5450
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5451
 
  *) ac_try_echo=$ac_try;;
5452
 
esac
5453
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5454
 
$as_echo "$ac_try_echo") >&5
5455
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5456
 
  ac_status=$?
5457
 
  grep -v '^ *+' conftest.er1 >conftest.err
5458
 
  rm -f conftest.er1
5459
 
  cat conftest.err >&5
5460
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461
 
  (exit $ac_status); } >/dev/null && {
5462
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5463
 
         test ! -s conftest.err
5464
 
       }; then
5465
 
  :
 
5240
if ac_fn_c_try_cpp "$LINENO"; then :
 
5241
 
5466
5242
else
5467
 
  $as_echo "$as_me: failed program was:" >&5
5468
 
sed 's/^/| /' conftest.$ac_ext >&5
5469
 
 
5470
5243
  # Broken: fails on valid input.
5471
5244
continue
5472
5245
fi
5473
 
 
5474
5246
rm -f conftest.err conftest.$ac_ext
5475
5247
 
5476
5248
  # OK, works on sane cases.  Now check whether nonexistent headers
5477
5249
  # can be detected and how.
5478
 
  cat >conftest.$ac_ext <<_ACEOF
5479
 
/* confdefs.h.  */
5480
 
_ACEOF
5481
 
cat confdefs.h >>conftest.$ac_ext
5482
 
cat >>conftest.$ac_ext <<_ACEOF
 
5250
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5483
5251
/* end confdefs.h.  */
5484
5252
#include <ac_nonexistent.h>
5485
5253
_ACEOF
5486
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5487
 
case "(($ac_try" in
5488
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5489
 
  *) ac_try_echo=$ac_try;;
5490
 
esac
5491
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5492
 
$as_echo "$ac_try_echo") >&5
5493
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5494
 
  ac_status=$?
5495
 
  grep -v '^ *+' conftest.er1 >conftest.err
5496
 
  rm -f conftest.er1
5497
 
  cat conftest.err >&5
5498
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499
 
  (exit $ac_status); } >/dev/null && {
5500
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5501
 
         test ! -s conftest.err
5502
 
       }; then
 
5254
if ac_fn_c_try_cpp "$LINENO"; then :
5503
5255
  # Broken: success on invalid input.
5504
5256
continue
5505
5257
else
5506
 
  $as_echo "$as_me: failed program was:" >&5
5507
 
sed 's/^/| /' conftest.$ac_ext >&5
5508
 
 
5509
5258
  # Passes both tests.
5510
5259
ac_preproc_ok=:
5511
5260
break
5512
5261
fi
5513
 
 
5514
5262
rm -f conftest.err conftest.$ac_ext
5515
5263
 
5516
5264
done
5517
5265
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5518
5266
rm -f conftest.err conftest.$ac_ext
5519
 
if $ac_preproc_ok; then
5520
 
  :
 
5267
if $ac_preproc_ok; then :
 
5268
 
5521
5269
else
5522
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5270
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5523
5271
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5524
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5525
 
See \`config.log' for more details." >&5
5526
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5527
 
See \`config.log' for more details." >&2;}
5528
 
   { (exit 1); exit 1; }; }; }
 
5272
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
5273
See \`config.log' for more details." "$LINENO" 5; }
5529
5274
fi
5530
5275
 
5531
5276
ac_ext=c
5535
5280
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5536
5281
 
5537
5282
 
5538
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
5283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5539
5284
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5540
 
if test "${ac_cv_path_GREP+set}" = set; then
 
5285
if test "${ac_cv_path_GREP+set}" = set; then :
5541
5286
  $as_echo_n "(cached) " >&6
5542
5287
else
5543
5288
  if test -z "$GREP"; then
5548
5293
do
5549
5294
  IFS=$as_save_IFS
5550
5295
  test -z "$as_dir" && as_dir=.
5551
 
  for ac_prog in grep ggrep; do
 
5296
    for ac_prog in grep ggrep; do
5552
5297
    for ac_exec_ext in '' $ac_executable_extensions; do
5553
5298
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5554
5299
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5568
5313
    $as_echo 'GREP' >> "conftest.nl"
5569
5314
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5570
5315
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5571
 
    ac_count=`expr $ac_count + 1`
 
5316
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5572
5317
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5573
5318
      # Best one so far, save it but keep looking for a better one
5574
5319
      ac_cv_path_GREP="$ac_path_GREP"
5583
5328
      $ac_path_GREP_found && break 3
5584
5329
    done
5585
5330
  done
5586
 
done
 
5331
  done
5587
5332
IFS=$as_save_IFS
5588
5333
  if test -z "$ac_cv_path_GREP"; then
5589
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5590
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5591
 
   { (exit 1); exit 1; }; }
 
5334
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5592
5335
  fi
5593
5336
else
5594
5337
  ac_cv_path_GREP=$GREP
5595
5338
fi
5596
5339
 
5597
5340
fi
5598
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5599
5342
$as_echo "$ac_cv_path_GREP" >&6; }
5600
5343
 GREP="$ac_cv_path_GREP"
5601
5344
 
5602
5345
 
5603
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5604
5347
$as_echo_n "checking for egrep... " >&6; }
5605
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
5348
if test "${ac_cv_path_EGREP+set}" = set; then :
5606
5349
  $as_echo_n "(cached) " >&6
5607
5350
else
5608
5351
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5616
5359
do
5617
5360
  IFS=$as_save_IFS
5618
5361
  test -z "$as_dir" && as_dir=.
5619
 
  for ac_prog in egrep; do
 
5362
    for ac_prog in egrep; do
5620
5363
    for ac_exec_ext in '' $ac_executable_extensions; do
5621
5364
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5622
5365
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5636
5379
    $as_echo 'EGREP' >> "conftest.nl"
5637
5380
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5638
5381
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5639
 
    ac_count=`expr $ac_count + 1`
 
5382
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5640
5383
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5641
5384
      # Best one so far, save it but keep looking for a better one
5642
5385
      ac_cv_path_EGREP="$ac_path_EGREP"
5651
5394
      $ac_path_EGREP_found && break 3
5652
5395
    done
5653
5396
  done
5654
 
done
 
5397
  done
5655
5398
IFS=$as_save_IFS
5656
5399
  if test -z "$ac_cv_path_EGREP"; then
5657
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5658
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5659
 
   { (exit 1); exit 1; }; }
 
5400
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5660
5401
  fi
5661
5402
else
5662
5403
  ac_cv_path_EGREP=$EGREP
5664
5405
 
5665
5406
   fi
5666
5407
fi
5667
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5668
5409
$as_echo "$ac_cv_path_EGREP" >&6; }
5669
5410
 EGREP="$ac_cv_path_EGREP"
5670
5411
 
5671
5412
 
5672
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5673
5414
$as_echo_n "checking for ANSI C header files... " >&6; }
5674
 
if test "${ac_cv_header_stdc+set}" = set; then
 
5415
if test "${ac_cv_header_stdc+set}" = set; then :
5675
5416
  $as_echo_n "(cached) " >&6
5676
5417
else
5677
 
  cat >conftest.$ac_ext <<_ACEOF
5678
 
/* confdefs.h.  */
5679
 
_ACEOF
5680
 
cat confdefs.h >>conftest.$ac_ext
5681
 
cat >>conftest.$ac_ext <<_ACEOF
 
5418
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5682
5419
/* end confdefs.h.  */
5683
5420
#include <stdlib.h>
5684
5421
#include <stdarg.h>
5693
5430
  return 0;
5694
5431
}
5695
5432
_ACEOF
5696
 
rm -f conftest.$ac_objext
5697
 
if { (ac_try="$ac_compile"
5698
 
case "(($ac_try" in
5699
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5700
 
  *) ac_try_echo=$ac_try;;
5701
 
esac
5702
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5703
 
$as_echo "$ac_try_echo") >&5
5704
 
  (eval "$ac_compile") 2>conftest.er1
5705
 
  ac_status=$?
5706
 
  grep -v '^ *+' conftest.er1 >conftest.err
5707
 
  rm -f conftest.er1
5708
 
  cat conftest.err >&5
5709
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710
 
  (exit $ac_status); } && {
5711
 
         test -z "$ac_c_werror_flag" ||
5712
 
         test ! -s conftest.err
5713
 
       } && test -s conftest.$ac_objext; then
 
5433
if ac_fn_c_try_compile "$LINENO"; then :
5714
5434
  ac_cv_header_stdc=yes
5715
5435
else
5716
 
  $as_echo "$as_me: failed program was:" >&5
5717
 
sed 's/^/| /' conftest.$ac_ext >&5
5718
 
 
5719
 
        ac_cv_header_stdc=no
 
5436
  ac_cv_header_stdc=no
5720
5437
fi
5721
 
 
5722
5438
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5723
5439
 
5724
5440
if test $ac_cv_header_stdc = yes; then
5725
5441
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5726
 
  cat >conftest.$ac_ext <<_ACEOF
5727
 
/* confdefs.h.  */
5728
 
_ACEOF
5729
 
cat confdefs.h >>conftest.$ac_ext
5730
 
cat >>conftest.$ac_ext <<_ACEOF
 
5442
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731
5443
/* end confdefs.h.  */
5732
5444
#include <string.h>
5733
5445
 
5734
5446
_ACEOF
5735
5447
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5736
 
  $EGREP "memchr" >/dev/null 2>&1; then
5737
 
  :
 
5448
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5449
 
5738
5450
else
5739
5451
  ac_cv_header_stdc=no
5740
5452
fi
5744
5456
 
5745
5457
if test $ac_cv_header_stdc = yes; then
5746
5458
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5747
 
  cat >conftest.$ac_ext <<_ACEOF
5748
 
/* confdefs.h.  */
5749
 
_ACEOF
5750
 
cat confdefs.h >>conftest.$ac_ext
5751
 
cat >>conftest.$ac_ext <<_ACEOF
 
5459
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5752
5460
/* end confdefs.h.  */
5753
5461
#include <stdlib.h>
5754
5462
 
5755
5463
_ACEOF
5756
5464
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5757
 
  $EGREP "free" >/dev/null 2>&1; then
5758
 
  :
 
5465
  $EGREP "free" >/dev/null 2>&1; then :
 
5466
 
5759
5467
else
5760
5468
  ac_cv_header_stdc=no
5761
5469
fi
5765
5473
 
5766
5474
if test $ac_cv_header_stdc = yes; then
5767
5475
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5768
 
  if test "$cross_compiling" = yes; then
 
5476
  if test "$cross_compiling" = yes; then :
5769
5477
  :
5770
5478
else
5771
 
  cat >conftest.$ac_ext <<_ACEOF
5772
 
/* confdefs.h.  */
5773
 
_ACEOF
5774
 
cat confdefs.h >>conftest.$ac_ext
5775
 
cat >>conftest.$ac_ext <<_ACEOF
 
5479
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5776
5480
/* end confdefs.h.  */
5777
5481
#include <ctype.h>
5778
5482
#include <stdlib.h>
5799
5503
  return 0;
5800
5504
}
5801
5505
_ACEOF
5802
 
rm -f conftest$ac_exeext
5803
 
if { (ac_try="$ac_link"
5804
 
case "(($ac_try" in
5805
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5806
 
  *) ac_try_echo=$ac_try;;
5807
 
esac
5808
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5809
 
$as_echo "$ac_try_echo") >&5
5810
 
  (eval "$ac_link") 2>&5
5811
 
  ac_status=$?
5812
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5814
 
  { (case "(($ac_try" in
5815
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5816
 
  *) ac_try_echo=$ac_try;;
5817
 
esac
5818
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5819
 
$as_echo "$ac_try_echo") >&5
5820
 
  (eval "$ac_try") 2>&5
5821
 
  ac_status=$?
5822
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823
 
  (exit $ac_status); }; }; then
5824
 
  :
 
5506
if ac_fn_c_try_run "$LINENO"; then :
 
5507
 
5825
5508
else
5826
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
5827
 
$as_echo "$as_me: failed program was:" >&5
5828
 
sed 's/^/| /' conftest.$ac_ext >&5
5829
 
 
5830
 
( exit $ac_status )
5831
 
ac_cv_header_stdc=no
5832
 
fi
5833
 
rm -rf conftest.dSYM
5834
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5835
 
fi
5836
 
 
5837
 
 
5838
 
fi
5839
 
fi
5840
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5509
  ac_cv_header_stdc=no
 
5510
fi
 
5511
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5512
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5513
fi
 
5514
 
 
5515
fi
 
5516
fi
 
5517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5841
5518
$as_echo "$ac_cv_header_stdc" >&6; }
5842
5519
if test $ac_cv_header_stdc = yes; then
5843
5520
 
5844
 
cat >>confdefs.h <<\_ACEOF
5845
 
#define STDC_HEADERS 1
5846
 
_ACEOF
 
5521
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5847
5522
 
5848
5523
fi
5849
5524
 
5854
5529
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5855
5530
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5856
5531
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5857
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5858
5533
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5859
5534
# On Suns, sometimes $CPP names a directory.
5860
5535
if test -n "$CPP" && test -d "$CPP"; then
5861
5536
  CPP=
5862
5537
fi
5863
5538
if test -z "$CPP"; then
5864
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
5539
  if test "${ac_cv_prog_CPP+set}" = set; then :
5865
5540
  $as_echo_n "(cached) " >&6
5866
5541
else
5867
5542
      # Double quotes because CPP needs to be expanded
5876
5551
  # <limits.h> exists even on freestanding compilers.
5877
5552
  # On the NeXT, cc -E runs the code through the compiler's parser,
5878
5553
  # not just through cpp. "Syntax error" is here to catch this case.
5879
 
  cat >conftest.$ac_ext <<_ACEOF
5880
 
/* confdefs.h.  */
5881
 
_ACEOF
5882
 
cat confdefs.h >>conftest.$ac_ext
5883
 
cat >>conftest.$ac_ext <<_ACEOF
 
5554
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884
5555
/* end confdefs.h.  */
5885
5556
#ifdef __STDC__
5886
5557
# include <limits.h>
5889
5560
#endif
5890
5561
                     Syntax error
5891
5562
_ACEOF
5892
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5893
 
case "(($ac_try" in
5894
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5895
 
  *) ac_try_echo=$ac_try;;
5896
 
esac
5897
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5898
 
$as_echo "$ac_try_echo") >&5
5899
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5900
 
  ac_status=$?
5901
 
  grep -v '^ *+' conftest.er1 >conftest.err
5902
 
  rm -f conftest.er1
5903
 
  cat conftest.err >&5
5904
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905
 
  (exit $ac_status); } >/dev/null && {
5906
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5907
 
         test ! -s conftest.err
5908
 
       }; then
5909
 
  :
 
5563
if ac_fn_c_try_cpp "$LINENO"; then :
 
5564
 
5910
5565
else
5911
 
  $as_echo "$as_me: failed program was:" >&5
5912
 
sed 's/^/| /' conftest.$ac_ext >&5
5913
 
 
5914
5566
  # Broken: fails on valid input.
5915
5567
continue
5916
5568
fi
5917
 
 
5918
5569
rm -f conftest.err conftest.$ac_ext
5919
5570
 
5920
5571
  # OK, works on sane cases.  Now check whether nonexistent headers
5921
5572
  # can be detected and how.
5922
 
  cat >conftest.$ac_ext <<_ACEOF
5923
 
/* confdefs.h.  */
5924
 
_ACEOF
5925
 
cat confdefs.h >>conftest.$ac_ext
5926
 
cat >>conftest.$ac_ext <<_ACEOF
 
5573
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927
5574
/* end confdefs.h.  */
5928
5575
#include <ac_nonexistent.h>
5929
5576
_ACEOF
5930
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5931
 
case "(($ac_try" in
5932
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5933
 
  *) ac_try_echo=$ac_try;;
5934
 
esac
5935
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5936
 
$as_echo "$ac_try_echo") >&5
5937
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5938
 
  ac_status=$?
5939
 
  grep -v '^ *+' conftest.er1 >conftest.err
5940
 
  rm -f conftest.er1
5941
 
  cat conftest.err >&5
5942
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943
 
  (exit $ac_status); } >/dev/null && {
5944
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5945
 
         test ! -s conftest.err
5946
 
       }; then
 
5577
if ac_fn_c_try_cpp "$LINENO"; then :
5947
5578
  # Broken: success on invalid input.
5948
5579
continue
5949
5580
else
5950
 
  $as_echo "$as_me: failed program was:" >&5
5951
 
sed 's/^/| /' conftest.$ac_ext >&5
5952
 
 
5953
5581
  # Passes both tests.
5954
5582
ac_preproc_ok=:
5955
5583
break
5956
5584
fi
5957
 
 
5958
5585
rm -f conftest.err conftest.$ac_ext
5959
5586
 
5960
5587
done
5961
5588
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5962
5589
rm -f conftest.err conftest.$ac_ext
5963
 
if $ac_preproc_ok; then
 
5590
if $ac_preproc_ok; then :
5964
5591
  break
5965
5592
fi
5966
5593
 
5972
5599
else
5973
5600
  ac_cv_prog_CPP=$CPP
5974
5601
fi
5975
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5976
5603
$as_echo "$CPP" >&6; }
5977
5604
ac_preproc_ok=false
5978
5605
for ac_c_preproc_warn_flag in '' yes
5983
5610
  # <limits.h> exists even on freestanding compilers.
5984
5611
  # On the NeXT, cc -E runs the code through the compiler's parser,
5985
5612
  # not just through cpp. "Syntax error" is here to catch this case.
5986
 
  cat >conftest.$ac_ext <<_ACEOF
5987
 
/* confdefs.h.  */
5988
 
_ACEOF
5989
 
cat confdefs.h >>conftest.$ac_ext
5990
 
cat >>conftest.$ac_ext <<_ACEOF
 
5613
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991
5614
/* end confdefs.h.  */
5992
5615
#ifdef __STDC__
5993
5616
# include <limits.h>
5996
5619
#endif
5997
5620
                     Syntax error
5998
5621
_ACEOF
5999
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6000
 
case "(($ac_try" in
6001
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6002
 
  *) ac_try_echo=$ac_try;;
6003
 
esac
6004
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6005
 
$as_echo "$ac_try_echo") >&5
6006
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6007
 
  ac_status=$?
6008
 
  grep -v '^ *+' conftest.er1 >conftest.err
6009
 
  rm -f conftest.er1
6010
 
  cat conftest.err >&5
6011
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012
 
  (exit $ac_status); } >/dev/null && {
6013
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6014
 
         test ! -s conftest.err
6015
 
       }; then
6016
 
  :
 
5622
if ac_fn_c_try_cpp "$LINENO"; then :
 
5623
 
6017
5624
else
6018
 
  $as_echo "$as_me: failed program was:" >&5
6019
 
sed 's/^/| /' conftest.$ac_ext >&5
6020
 
 
6021
5625
  # Broken: fails on valid input.
6022
5626
continue
6023
5627
fi
6024
 
 
6025
5628
rm -f conftest.err conftest.$ac_ext
6026
5629
 
6027
5630
  # OK, works on sane cases.  Now check whether nonexistent headers
6028
5631
  # can be detected and how.
6029
 
  cat >conftest.$ac_ext <<_ACEOF
6030
 
/* confdefs.h.  */
6031
 
_ACEOF
6032
 
cat confdefs.h >>conftest.$ac_ext
6033
 
cat >>conftest.$ac_ext <<_ACEOF
 
5632
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034
5633
/* end confdefs.h.  */
6035
5634
#include <ac_nonexistent.h>
6036
5635
_ACEOF
6037
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6038
 
case "(($ac_try" in
6039
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6040
 
  *) ac_try_echo=$ac_try;;
6041
 
esac
6042
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6043
 
$as_echo "$ac_try_echo") >&5
6044
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6045
 
  ac_status=$?
6046
 
  grep -v '^ *+' conftest.er1 >conftest.err
6047
 
  rm -f conftest.er1
6048
 
  cat conftest.err >&5
6049
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050
 
  (exit $ac_status); } >/dev/null && {
6051
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6052
 
         test ! -s conftest.err
6053
 
       }; then
 
5636
if ac_fn_c_try_cpp "$LINENO"; then :
6054
5637
  # Broken: success on invalid input.
6055
5638
continue
6056
5639
else
6057
 
  $as_echo "$as_me: failed program was:" >&5
6058
 
sed 's/^/| /' conftest.$ac_ext >&5
6059
 
 
6060
5640
  # Passes both tests.
6061
5641
ac_preproc_ok=:
6062
5642
break
6063
5643
fi
6064
 
 
6065
5644
rm -f conftest.err conftest.$ac_ext
6066
5645
 
6067
5646
done
6068
5647
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6069
5648
rm -f conftest.err conftest.$ac_ext
6070
 
if $ac_preproc_ok; then
6071
 
  :
 
5649
if $ac_preproc_ok; then :
 
5650
 
6072
5651
else
6073
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5652
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6074
5653
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6075
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6076
 
See \`config.log' for more details." >&5
6077
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6078
 
See \`config.log' for more details." >&2;}
6079
 
   { (exit 1); exit 1; }; }; }
 
5654
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
5655
See \`config.log' for more details." "$LINENO" 5; }
6080
5656
fi
6081
5657
 
6082
5658
ac_ext=c
6099
5675
  do
6100
5676
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6101
5677
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6102
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103
5679
$as_echo_n "checking for $ac_word... " >&6; }
6104
 
if test "${ac_cv_prog_CXX+set}" = set; then
 
5680
if test "${ac_cv_prog_CXX+set}" = set; then :
6105
5681
  $as_echo_n "(cached) " >&6
6106
5682
else
6107
5683
  if test -n "$CXX"; then
6112
5688
do
6113
5689
  IFS=$as_save_IFS
6114
5690
  test -z "$as_dir" && as_dir=.
6115
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5691
    for ac_exec_ext in '' $ac_executable_extensions; do
6116
5692
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117
5693
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6118
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5694
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119
5695
    break 2
6120
5696
  fi
6121
5697
done
6122
 
done
 
5698
  done
6123
5699
IFS=$as_save_IFS
6124
5700
 
6125
5701
fi
6126
5702
fi
6127
5703
CXX=$ac_cv_prog_CXX
6128
5704
if test -n "$CXX"; then
6129
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
5705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6130
5706
$as_echo "$CXX" >&6; }
6131
5707
else
6132
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5708
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133
5709
$as_echo "no" >&6; }
6134
5710
fi
6135
5711
 
6143
5719
do
6144
5720
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6145
5721
set dummy $ac_prog; ac_word=$2
6146
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147
5723
$as_echo_n "checking for $ac_word... " >&6; }
6148
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
5724
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
6149
5725
  $as_echo_n "(cached) " >&6
6150
5726
else
6151
5727
  if test -n "$ac_ct_CXX"; then
6156
5732
do
6157
5733
  IFS=$as_save_IFS
6158
5734
  test -z "$as_dir" && as_dir=.
6159
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5735
    for ac_exec_ext in '' $ac_executable_extensions; do
6160
5736
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6161
5737
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6162
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5738
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163
5739
    break 2
6164
5740
  fi
6165
5741
done
6166
 
done
 
5742
  done
6167
5743
IFS=$as_save_IFS
6168
5744
 
6169
5745
fi
6170
5746
fi
6171
5747
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6172
5748
if test -n "$ac_ct_CXX"; then
6173
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6174
5750
$as_echo "$ac_ct_CXX" >&6; }
6175
5751
else
6176
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5752
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177
5753
$as_echo "no" >&6; }
6178
5754
fi
6179
5755
 
6186
5762
  else
6187
5763
    case $cross_compiling:$ac_tool_warned in
6188
5764
yes:)
6189
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5765
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6190
5766
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6191
5767
ac_tool_warned=yes ;;
6192
5768
esac
6197
5773
  fi
6198
5774
fi
6199
5775
# Provide some information about the compiler.
6200
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
5776
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6201
5777
set X $ac_compile
6202
5778
ac_compiler=$2
6203
 
{ (ac_try="$ac_compiler --version >&5"
6204
 
case "(($ac_try" in
6205
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6206
 
  *) ac_try_echo=$ac_try;;
6207
 
esac
6208
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6209
 
$as_echo "$ac_try_echo") >&5
6210
 
  (eval "$ac_compiler --version >&5") 2>&5
6211
 
  ac_status=$?
6212
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213
 
  (exit $ac_status); }
6214
 
{ (ac_try="$ac_compiler -v >&5"
6215
 
case "(($ac_try" in
6216
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6217
 
  *) ac_try_echo=$ac_try;;
6218
 
esac
6219
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6220
 
$as_echo "$ac_try_echo") >&5
6221
 
  (eval "$ac_compiler -v >&5") 2>&5
6222
 
  ac_status=$?
6223
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224
 
  (exit $ac_status); }
6225
 
{ (ac_try="$ac_compiler -V >&5"
6226
 
case "(($ac_try" in
6227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6228
 
  *) ac_try_echo=$ac_try;;
6229
 
esac
6230
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6231
 
$as_echo "$ac_try_echo") >&5
6232
 
  (eval "$ac_compiler -V >&5") 2>&5
6233
 
  ac_status=$?
6234
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235
 
  (exit $ac_status); }
 
5779
for ac_option in --version -v -V -qversion; do
 
5780
  { { ac_try="$ac_compiler $ac_option >&5"
 
5781
case "(($ac_try" in
 
5782
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5783
  *) ac_try_echo=$ac_try;;
 
5784
esac
 
5785
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5786
$as_echo "$ac_try_echo"; } >&5
 
5787
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5788
  ac_status=$?
 
5789
  if test -s conftest.err; then
 
5790
    sed '10a\
 
5791
... rest of stderr output deleted ...
 
5792
         10q' conftest.err >conftest.er1
 
5793
    cat conftest.er1 >&5
 
5794
  fi
 
5795
  rm -f conftest.er1 conftest.err
 
5796
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5797
  test $ac_status = 0; }
 
5798
done
6236
5799
 
6237
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6238
5801
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6239
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
5802
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
6240
5803
  $as_echo_n "(cached) " >&6
6241
5804
else
6242
 
  cat >conftest.$ac_ext <<_ACEOF
6243
 
/* confdefs.h.  */
6244
 
_ACEOF
6245
 
cat confdefs.h >>conftest.$ac_ext
6246
 
cat >>conftest.$ac_ext <<_ACEOF
 
5805
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6247
5806
/* end confdefs.h.  */
6248
5807
 
6249
5808
int
6257
5816
  return 0;
6258
5817
}
6259
5818
_ACEOF
6260
 
rm -f conftest.$ac_objext
6261
 
if { (ac_try="$ac_compile"
6262
 
case "(($ac_try" in
6263
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6264
 
  *) ac_try_echo=$ac_try;;
6265
 
esac
6266
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6267
 
$as_echo "$ac_try_echo") >&5
6268
 
  (eval "$ac_compile") 2>conftest.er1
6269
 
  ac_status=$?
6270
 
  grep -v '^ *+' conftest.er1 >conftest.err
6271
 
  rm -f conftest.er1
6272
 
  cat conftest.err >&5
6273
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274
 
  (exit $ac_status); } && {
6275
 
         test -z "$ac_cxx_werror_flag" ||
6276
 
         test ! -s conftest.err
6277
 
       } && test -s conftest.$ac_objext; then
 
5819
if ac_fn_cxx_try_compile "$LINENO"; then :
6278
5820
  ac_compiler_gnu=yes
6279
5821
else
6280
 
  $as_echo "$as_me: failed program was:" >&5
6281
 
sed 's/^/| /' conftest.$ac_ext >&5
6282
 
 
6283
 
        ac_compiler_gnu=no
 
5822
  ac_compiler_gnu=no
6284
5823
fi
6285
 
 
6286
5824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6287
5825
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6288
5826
 
6289
5827
fi
6290
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6291
5829
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6292
5830
if test $ac_compiler_gnu = yes; then
6293
5831
  GXX=yes
6296
5834
fi
6297
5835
ac_test_CXXFLAGS=${CXXFLAGS+set}
6298
5836
ac_save_CXXFLAGS=$CXXFLAGS
6299
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6300
5838
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6301
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
5839
if test "${ac_cv_prog_cxx_g+set}" = set; then :
6302
5840
  $as_echo_n "(cached) " >&6
6303
5841
else
6304
5842
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6305
5843
   ac_cxx_werror_flag=yes
6306
5844
   ac_cv_prog_cxx_g=no
6307
5845
   CXXFLAGS="-g"
6308
 
   cat >conftest.$ac_ext <<_ACEOF
6309
 
/* confdefs.h.  */
6310
 
_ACEOF
6311
 
cat confdefs.h >>conftest.$ac_ext
6312
 
cat >>conftest.$ac_ext <<_ACEOF
 
5846
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313
5847
/* end confdefs.h.  */
6314
5848
 
6315
5849
int
6320
5854
  return 0;
6321
5855
}
6322
5856
_ACEOF
6323
 
rm -f conftest.$ac_objext
6324
 
if { (ac_try="$ac_compile"
6325
 
case "(($ac_try" in
6326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6327
 
  *) ac_try_echo=$ac_try;;
6328
 
esac
6329
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6330
 
$as_echo "$ac_try_echo") >&5
6331
 
  (eval "$ac_compile") 2>conftest.er1
6332
 
  ac_status=$?
6333
 
  grep -v '^ *+' conftest.er1 >conftest.err
6334
 
  rm -f conftest.er1
6335
 
  cat conftest.err >&5
6336
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337
 
  (exit $ac_status); } && {
6338
 
         test -z "$ac_cxx_werror_flag" ||
6339
 
         test ! -s conftest.err
6340
 
       } && test -s conftest.$ac_objext; then
 
5857
if ac_fn_cxx_try_compile "$LINENO"; then :
6341
5858
  ac_cv_prog_cxx_g=yes
6342
5859
else
6343
 
  $as_echo "$as_me: failed program was:" >&5
6344
 
sed 's/^/| /' conftest.$ac_ext >&5
6345
 
 
6346
 
        CXXFLAGS=""
6347
 
      cat >conftest.$ac_ext <<_ACEOF
6348
 
/* confdefs.h.  */
6349
 
_ACEOF
6350
 
cat confdefs.h >>conftest.$ac_ext
6351
 
cat >>conftest.$ac_ext <<_ACEOF
 
5860
  CXXFLAGS=""
 
5861
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352
5862
/* end confdefs.h.  */
6353
5863
 
6354
5864
int
6359
5869
  return 0;
6360
5870
}
6361
5871
_ACEOF
6362
 
rm -f conftest.$ac_objext
6363
 
if { (ac_try="$ac_compile"
6364
 
case "(($ac_try" in
6365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6366
 
  *) ac_try_echo=$ac_try;;
6367
 
esac
6368
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6369
 
$as_echo "$ac_try_echo") >&5
6370
 
  (eval "$ac_compile") 2>conftest.er1
6371
 
  ac_status=$?
6372
 
  grep -v '^ *+' conftest.er1 >conftest.err
6373
 
  rm -f conftest.er1
6374
 
  cat conftest.err >&5
6375
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376
 
  (exit $ac_status); } && {
6377
 
         test -z "$ac_cxx_werror_flag" ||
6378
 
         test ! -s conftest.err
6379
 
       } && test -s conftest.$ac_objext; then
6380
 
  :
 
5872
if ac_fn_cxx_try_compile "$LINENO"; then :
 
5873
 
6381
5874
else
6382
 
  $as_echo "$as_me: failed program was:" >&5
6383
 
sed 's/^/| /' conftest.$ac_ext >&5
6384
 
 
6385
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5875
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6386
5876
         CXXFLAGS="-g"
6387
 
         cat >conftest.$ac_ext <<_ACEOF
6388
 
/* confdefs.h.  */
6389
 
_ACEOF
6390
 
cat confdefs.h >>conftest.$ac_ext
6391
 
cat >>conftest.$ac_ext <<_ACEOF
 
5877
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6392
5878
/* end confdefs.h.  */
6393
5879
 
6394
5880
int
6399
5885
  return 0;
6400
5886
}
6401
5887
_ACEOF
6402
 
rm -f conftest.$ac_objext
6403
 
if { (ac_try="$ac_compile"
6404
 
case "(($ac_try" in
6405
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6406
 
  *) ac_try_echo=$ac_try;;
6407
 
esac
6408
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6409
 
$as_echo "$ac_try_echo") >&5
6410
 
  (eval "$ac_compile") 2>conftest.er1
6411
 
  ac_status=$?
6412
 
  grep -v '^ *+' conftest.er1 >conftest.err
6413
 
  rm -f conftest.er1
6414
 
  cat conftest.err >&5
6415
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416
 
  (exit $ac_status); } && {
6417
 
         test -z "$ac_cxx_werror_flag" ||
6418
 
         test ! -s conftest.err
6419
 
       } && test -s conftest.$ac_objext; then
 
5888
if ac_fn_cxx_try_compile "$LINENO"; then :
6420
5889
  ac_cv_prog_cxx_g=yes
6421
 
else
6422
 
  $as_echo "$as_me: failed program was:" >&5
6423
 
sed 's/^/| /' conftest.$ac_ext >&5
6424
 
 
6425
 
 
6426
 
fi
6427
 
 
6428
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6429
 
fi
6430
 
 
6431
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6432
 
fi
6433
 
 
 
5890
fi
 
5891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5892
fi
 
5893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5894
fi
6434
5895
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6435
5896
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6436
5897
fi
6437
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6438
5899
$as_echo "$ac_cv_prog_cxx_g" >&6; }
6439
5900
if test "$ac_test_CXXFLAGS" = set; then
6440
5901
  CXXFLAGS=$ac_save_CXXFLAGS
6459
5920
 
6460
5921
depcc="$CXX"  am_compiler_list=
6461
5922
 
6462
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6463
5924
$as_echo_n "checking dependency style of $depcc... " >&6; }
6464
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
5925
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
6465
5926
  $as_echo_n "(cached) " >&6
6466
5927
else
6467
5928
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6569
6030
fi
6570
6031
 
6571
6032
fi
6572
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6573
6034
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6574
6035
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6575
6036
 
6585
6046
 
6586
6047
 
6587
6048
if test "x$CC" != xcc; then
6588
 
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
6049
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6589
6050
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6590
6051
else
6591
 
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
6052
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6592
6053
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6593
6054
fi
6594
6055
set dummy $CC; ac_cc=`$as_echo "$2" |
6595
6056
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6596
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
6057
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
6597
6058
  $as_echo_n "(cached) " >&6
6598
6059
else
6599
 
  cat >conftest.$ac_ext <<_ACEOF
6600
 
/* confdefs.h.  */
6601
 
_ACEOF
6602
 
cat confdefs.h >>conftest.$ac_ext
6603
 
cat >>conftest.$ac_ext <<_ACEOF
 
6060
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604
6061
/* end confdefs.h.  */
6605
6062
 
6606
6063
int
6616
6073
# existing .o file with -o, though they will create one.
6617
6074
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6618
6075
rm -f conftest2.*
6619
 
if { (case "(($ac_try" in
6620
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6621
 
  *) ac_try_echo=$ac_try;;
6622
 
esac
6623
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6624
 
$as_echo "$ac_try_echo") >&5
6625
 
  (eval "$ac_try") 2>&5
6626
 
  ac_status=$?
6627
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628
 
  (exit $ac_status); } &&
6629
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
6630
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6631
 
  *) ac_try_echo=$ac_try;;
6632
 
esac
6633
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6634
 
$as_echo "$ac_try_echo") >&5
6635
 
  (eval "$ac_try") 2>&5
6636
 
  ac_status=$?
6637
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638
 
  (exit $ac_status); };
 
6076
if { { case "(($ac_try" in
 
6077
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6078
  *) ac_try_echo=$ac_try;;
 
6079
esac
 
6080
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
6081
$as_echo "$ac_try_echo"; } >&5
 
6082
  (eval "$ac_try") 2>&5
 
6083
  ac_status=$?
 
6084
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6085
  test $ac_status = 0; } &&
 
6086
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
6087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6088
  *) ac_try_echo=$ac_try;;
 
6089
esac
 
6090
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
6091
$as_echo "$ac_try_echo"; } >&5
 
6092
  (eval "$ac_try") 2>&5
 
6093
  ac_status=$?
 
6094
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6095
  test $ac_status = 0; };
6639
6096
then
6640
6097
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
6641
6098
  if test "x$CC" != xcc; then
6642
6099
    # Test first that cc exists at all.
6643
6100
    if { ac_try='cc -c conftest.$ac_ext >&5'
6644
 
  { (case "(($ac_try" in
 
6101
  { { case "(($ac_try" in
6645
6102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6646
6103
  *) ac_try_echo=$ac_try;;
6647
6104
esac
6648
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6649
 
$as_echo "$ac_try_echo") >&5
 
6105
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
6106
$as_echo "$ac_try_echo"; } >&5
6650
6107
  (eval "$ac_try") 2>&5
6651
6108
  ac_status=$?
6652
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653
 
  (exit $ac_status); }; }; then
 
6109
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6110
  test $ac_status = 0; }; }; then
6654
6111
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6655
6112
      rm -f conftest2.*
6656
 
      if { (case "(($ac_try" in
6657
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6658
 
  *) ac_try_echo=$ac_try;;
6659
 
esac
6660
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6661
 
$as_echo "$ac_try_echo") >&5
6662
 
  (eval "$ac_try") 2>&5
6663
 
  ac_status=$?
6664
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665
 
  (exit $ac_status); } &&
6666
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
6667
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6668
 
  *) ac_try_echo=$ac_try;;
6669
 
esac
6670
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6671
 
$as_echo "$ac_try_echo") >&5
6672
 
  (eval "$ac_try") 2>&5
6673
 
  ac_status=$?
6674
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675
 
  (exit $ac_status); };
 
6113
      if { { case "(($ac_try" in
 
6114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6115
  *) ac_try_echo=$ac_try;;
 
6116
esac
 
6117
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
6118
$as_echo "$ac_try_echo"; } >&5
 
6119
  (eval "$ac_try") 2>&5
 
6120
  ac_status=$?
 
6121
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6122
  test $ac_status = 0; } &&
 
6123
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
6124
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6125
  *) ac_try_echo=$ac_try;;
 
6126
esac
 
6127
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
6128
$as_echo "$ac_try_echo"; } >&5
 
6129
  (eval "$ac_try") 2>&5
 
6130
  ac_status=$?
 
6131
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6132
  test $ac_status = 0; };
6676
6133
      then
6677
6134
        # cc works too.
6678
6135
        :
6689
6146
 
6690
6147
fi
6691
6148
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6692
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6693
6150
$as_echo "yes" >&6; }
6694
6151
else
6695
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696
6153
$as_echo "no" >&6; }
6697
6154
 
6698
 
cat >>confdefs.h <<\_ACEOF
6699
 
#define NO_MINUS_C_MINUS_O 1
6700
 
_ACEOF
 
6155
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6701
6156
 
6702
6157
fi
6703
6158
 
6719
6174
if test -n "$ac_tool_prefix"; then
6720
6175
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6721
6176
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6722
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723
6178
$as_echo_n "checking for $ac_word... " >&6; }
6724
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6179
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6725
6180
  $as_echo_n "(cached) " >&6
6726
6181
else
6727
6182
  if test -n "$RANLIB"; then
6732
6187
do
6733
6188
  IFS=$as_save_IFS
6734
6189
  test -z "$as_dir" && as_dir=.
6735
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6190
    for ac_exec_ext in '' $ac_executable_extensions; do
6736
6191
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6737
6192
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6738
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6193
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739
6194
    break 2
6740
6195
  fi
6741
6196
done
6742
 
done
 
6197
  done
6743
6198
IFS=$as_save_IFS
6744
6199
 
6745
6200
fi
6746
6201
fi
6747
6202
RANLIB=$ac_cv_prog_RANLIB
6748
6203
if test -n "$RANLIB"; then
6749
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6204
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6750
6205
$as_echo "$RANLIB" >&6; }
6751
6206
else
6752
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753
6208
$as_echo "no" >&6; }
6754
6209
fi
6755
6210
 
6759
6214
  ac_ct_RANLIB=$RANLIB
6760
6215
  # Extract the first word of "ranlib", so it can be a program name with args.
6761
6216
set dummy ranlib; ac_word=$2
6762
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763
6218
$as_echo_n "checking for $ac_word... " >&6; }
6764
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6219
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6765
6220
  $as_echo_n "(cached) " >&6
6766
6221
else
6767
6222
  if test -n "$ac_ct_RANLIB"; then
6772
6227
do
6773
6228
  IFS=$as_save_IFS
6774
6229
  test -z "$as_dir" && as_dir=.
6775
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6230
    for ac_exec_ext in '' $ac_executable_extensions; do
6776
6231
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6777
6232
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6778
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6233
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6779
6234
    break 2
6780
6235
  fi
6781
6236
done
6782
 
done
 
6237
  done
6783
6238
IFS=$as_save_IFS
6784
6239
 
6785
6240
fi
6786
6241
fi
6787
6242
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6788
6243
if test -n "$ac_ct_RANLIB"; then
6789
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6790
6245
$as_echo "$ac_ct_RANLIB" >&6; }
6791
6246
else
6792
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6247
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793
6248
$as_echo "no" >&6; }
6794
6249
fi
6795
6250
 
6798
6253
  else
6799
6254
    case $cross_compiling:$ac_tool_warned in
6800
6255
yes:)
6801
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6256
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6802
6257
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6803
6258
ac_tool_warned=yes ;;
6804
6259
esac
6817
6272
_ACEOF
6818
6273
 
6819
6274
 
6820
 
ALL_LINGUAS="cs es fr ja it nl pl pt_BR tr"
 
6275
ALL_LINGUAS="cs de es fr ja it nl pl pt_BR tr"
6821
6276
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6822
 
 
6823
 
 
6824
 
 
6825
 
 
6826
 
 
6827
 
 
6828
 
 
6829
 
 
6830
 
 
6831
6277
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6832
6278
                  inttypes.h stdint.h unistd.h
6833
 
do
6834
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6836
 
$as_echo_n "checking for $ac_header... " >&6; }
6837
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6838
 
  $as_echo_n "(cached) " >&6
6839
 
else
6840
 
  cat >conftest.$ac_ext <<_ACEOF
6841
 
/* confdefs.h.  */
6842
 
_ACEOF
6843
 
cat confdefs.h >>conftest.$ac_ext
6844
 
cat >>conftest.$ac_ext <<_ACEOF
6845
 
/* end confdefs.h.  */
6846
 
$ac_includes_default
6847
 
 
6848
 
#include <$ac_header>
6849
 
_ACEOF
6850
 
rm -f conftest.$ac_objext
6851
 
if { (ac_try="$ac_compile"
6852
 
case "(($ac_try" in
6853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6854
 
  *) ac_try_echo=$ac_try;;
6855
 
esac
6856
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6857
 
$as_echo "$ac_try_echo") >&5
6858
 
  (eval "$ac_compile") 2>conftest.er1
6859
 
  ac_status=$?
6860
 
  grep -v '^ *+' conftest.er1 >conftest.err
6861
 
  rm -f conftest.er1
6862
 
  cat conftest.err >&5
6863
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864
 
  (exit $ac_status); } && {
6865
 
         test -z "$ac_c_werror_flag" ||
6866
 
         test ! -s conftest.err
6867
 
       } && test -s conftest.$ac_objext; then
6868
 
  eval "$as_ac_Header=yes"
6869
 
else
6870
 
  $as_echo "$as_me: failed program was:" >&5
6871
 
sed 's/^/| /' conftest.$ac_ext >&5
6872
 
 
6873
 
        eval "$as_ac_Header=no"
6874
 
fi
6875
 
 
6876
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877
 
fi
6878
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6879
 
                 $as_echo "$as_val"'`
6880
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6881
 
$as_echo "$ac_res" >&6; }
6882
 
as_val=`eval 'as_val=${'$as_ac_Header'}
6883
 
                 $as_echo "$as_val"'`
6884
 
   if test "x$as_val" = x""yes; then
 
6279
do :
 
6280
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6281
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
6282
"
 
6283
eval as_val=\$$as_ac_Header
 
6284
   if test "x$as_val" = x""yes; then :
6885
6285
  cat >>confdefs.h <<_ACEOF
6886
6286
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887
6287
_ACEOF
6892
6292
 
6893
6293
 
6894
6294
 
6895
 
 
6896
 
for ac_header in locale.h
6897
 
do
6898
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6899
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6900
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6901
 
$as_echo_n "checking for $ac_header... " >&6; }
6902
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6903
 
  $as_echo_n "(cached) " >&6
6904
 
fi
6905
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6906
 
                 $as_echo "$as_val"'`
6907
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6908
 
$as_echo "$ac_res" >&6; }
6909
 
else
6910
 
  # Is the header compilable?
6911
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6912
 
$as_echo_n "checking $ac_header usability... " >&6; }
6913
 
cat >conftest.$ac_ext <<_ACEOF
6914
 
/* confdefs.h.  */
6915
 
_ACEOF
6916
 
cat confdefs.h >>conftest.$ac_ext
6917
 
cat >>conftest.$ac_ext <<_ACEOF
6918
 
/* end confdefs.h.  */
6919
 
$ac_includes_default
6920
 
#include <$ac_header>
6921
 
_ACEOF
6922
 
rm -f conftest.$ac_objext
6923
 
if { (ac_try="$ac_compile"
6924
 
case "(($ac_try" in
6925
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6926
 
  *) ac_try_echo=$ac_try;;
6927
 
esac
6928
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6929
 
$as_echo "$ac_try_echo") >&5
6930
 
  (eval "$ac_compile") 2>conftest.er1
6931
 
  ac_status=$?
6932
 
  grep -v '^ *+' conftest.er1 >conftest.err
6933
 
  rm -f conftest.er1
6934
 
  cat conftest.err >&5
6935
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936
 
  (exit $ac_status); } && {
6937
 
         test -z "$ac_c_werror_flag" ||
6938
 
         test ! -s conftest.err
6939
 
       } && test -s conftest.$ac_objext; then
6940
 
  ac_header_compiler=yes
6941
 
else
6942
 
  $as_echo "$as_me: failed program was:" >&5
6943
 
sed 's/^/| /' conftest.$ac_ext >&5
6944
 
 
6945
 
        ac_header_compiler=no
6946
 
fi
6947
 
 
6948
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6949
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6950
 
$as_echo "$ac_header_compiler" >&6; }
6951
 
 
6952
 
# Is the header present?
6953
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6954
 
$as_echo_n "checking $ac_header presence... " >&6; }
6955
 
cat >conftest.$ac_ext <<_ACEOF
6956
 
/* confdefs.h.  */
6957
 
_ACEOF
6958
 
cat confdefs.h >>conftest.$ac_ext
6959
 
cat >>conftest.$ac_ext <<_ACEOF
6960
 
/* end confdefs.h.  */
6961
 
#include <$ac_header>
6962
 
_ACEOF
6963
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6964
 
case "(($ac_try" in
6965
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6966
 
  *) ac_try_echo=$ac_try;;
6967
 
esac
6968
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6969
 
$as_echo "$ac_try_echo") >&5
6970
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6971
 
  ac_status=$?
6972
 
  grep -v '^ *+' conftest.er1 >conftest.err
6973
 
  rm -f conftest.er1
6974
 
  cat conftest.err >&5
6975
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976
 
  (exit $ac_status); } >/dev/null && {
6977
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6978
 
         test ! -s conftest.err
6979
 
       }; then
6980
 
  ac_header_preproc=yes
6981
 
else
6982
 
  $as_echo "$as_me: failed program was:" >&5
6983
 
sed 's/^/| /' conftest.$ac_ext >&5
6984
 
 
6985
 
  ac_header_preproc=no
6986
 
fi
6987
 
 
6988
 
rm -f conftest.err conftest.$ac_ext
6989
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6990
 
$as_echo "$ac_header_preproc" >&6; }
6991
 
 
6992
 
# So?  What about this header?
6993
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6994
 
  yes:no: )
6995
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6996
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6997
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6998
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6999
 
    ac_header_preproc=yes
7000
 
    ;;
7001
 
  no:yes:* )
7002
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7003
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7004
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7005
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7006
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7007
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7008
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7009
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7010
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7011
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7012
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7013
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7014
 
 
7015
 
    ;;
7016
 
esac
7017
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7018
 
$as_echo_n "checking for $ac_header... " >&6; }
7019
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7020
 
  $as_echo_n "(cached) " >&6
7021
 
else
7022
 
  eval "$as_ac_Header=\$ac_header_preproc"
7023
 
fi
7024
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7025
 
                 $as_echo "$as_val"'`
7026
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7027
 
$as_echo "$ac_res" >&6; }
7028
 
 
7029
 
fi
7030
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7031
 
                 $as_echo "$as_val"'`
7032
 
   if test "x$as_val" = x""yes; then
 
6295
   for ac_header in locale.h
 
6296
do :
 
6297
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
6298
if test "x$ac_cv_header_locale_h" = x""yes; then :
7033
6299
  cat >>confdefs.h <<_ACEOF
7034
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6300
#define HAVE_LOCALE_H 1
7035
6301
_ACEOF
7036
6302
 
7037
6303
fi
7039
6305
done
7040
6306
 
7041
6307
    if test $ac_cv_header_locale_h = yes; then
7042
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
6308
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7043
6309
$as_echo_n "checking for LC_MESSAGES... " >&6; }
7044
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
6310
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7045
6311
  $as_echo_n "(cached) " >&6
7046
6312
else
7047
 
  cat >conftest.$ac_ext <<_ACEOF
7048
 
/* confdefs.h.  */
7049
 
_ACEOF
7050
 
cat confdefs.h >>conftest.$ac_ext
7051
 
cat >>conftest.$ac_ext <<_ACEOF
 
6313
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7052
6314
/* end confdefs.h.  */
7053
6315
#include <locale.h>
7054
6316
int
7059
6321
  return 0;
7060
6322
}
7061
6323
_ACEOF
7062
 
rm -f conftest.$ac_objext conftest$ac_exeext
7063
 
if { (ac_try="$ac_link"
7064
 
case "(($ac_try" in
7065
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7066
 
  *) ac_try_echo=$ac_try;;
7067
 
esac
7068
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7069
 
$as_echo "$ac_try_echo") >&5
7070
 
  (eval "$ac_link") 2>conftest.er1
7071
 
  ac_status=$?
7072
 
  grep -v '^ *+' conftest.er1 >conftest.err
7073
 
  rm -f conftest.er1
7074
 
  cat conftest.err >&5
7075
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076
 
  (exit $ac_status); } && {
7077
 
         test -z "$ac_c_werror_flag" ||
7078
 
         test ! -s conftest.err
7079
 
       } && test -s conftest$ac_exeext && {
7080
 
         test "$cross_compiling" = yes ||
7081
 
         $as_test_x conftest$ac_exeext
7082
 
       }; then
 
6324
if ac_fn_c_try_link "$LINENO"; then :
7083
6325
  am_cv_val_LC_MESSAGES=yes
7084
6326
else
7085
 
  $as_echo "$as_me: failed program was:" >&5
7086
 
sed 's/^/| /' conftest.$ac_ext >&5
7087
 
 
7088
 
        am_cv_val_LC_MESSAGES=no
7089
 
fi
7090
 
 
7091
 
rm -rf conftest.dSYM
7092
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7093
 
      conftest$ac_exeext conftest.$ac_ext
7094
 
fi
7095
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
6327
  am_cv_val_LC_MESSAGES=no
 
6328
fi
 
6329
rm -f core conftest.err conftest.$ac_objext \
 
6330
    conftest$ac_exeext conftest.$ac_ext
 
6331
fi
 
6332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7096
6333
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7097
6334
    if test $am_cv_val_LC_MESSAGES = yes; then
7098
6335
 
7099
 
cat >>confdefs.h <<\_ACEOF
7100
 
#define HAVE_LC_MESSAGES 1
7101
 
_ACEOF
 
6336
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7102
6337
 
7103
6338
    fi
7104
6339
  fi
7111
6346
    XGETTEXT=:
7112
6347
    INTLLIBS=
7113
6348
 
7114
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
7115
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
7116
 
$as_echo_n "checking for libintl.h... " >&6; }
7117
 
if test "${ac_cv_header_libintl_h+set}" = set; then
7118
 
  $as_echo_n "(cached) " >&6
7119
 
fi
7120
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7121
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
7122
 
else
7123
 
  # Is the header compilable?
7124
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
7125
 
$as_echo_n "checking libintl.h usability... " >&6; }
7126
 
cat >conftest.$ac_ext <<_ACEOF
7127
 
/* confdefs.h.  */
7128
 
_ACEOF
7129
 
cat confdefs.h >>conftest.$ac_ext
7130
 
cat >>conftest.$ac_ext <<_ACEOF
7131
 
/* end confdefs.h.  */
7132
 
$ac_includes_default
7133
 
#include <libintl.h>
7134
 
_ACEOF
7135
 
rm -f conftest.$ac_objext
7136
 
if { (ac_try="$ac_compile"
7137
 
case "(($ac_try" in
7138
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7139
 
  *) ac_try_echo=$ac_try;;
7140
 
esac
7141
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7142
 
$as_echo "$ac_try_echo") >&5
7143
 
  (eval "$ac_compile") 2>conftest.er1
7144
 
  ac_status=$?
7145
 
  grep -v '^ *+' conftest.er1 >conftest.err
7146
 
  rm -f conftest.er1
7147
 
  cat conftest.err >&5
7148
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149
 
  (exit $ac_status); } && {
7150
 
         test -z "$ac_c_werror_flag" ||
7151
 
         test ! -s conftest.err
7152
 
       } && test -s conftest.$ac_objext; then
7153
 
  ac_header_compiler=yes
7154
 
else
7155
 
  $as_echo "$as_me: failed program was:" >&5
7156
 
sed 's/^/| /' conftest.$ac_ext >&5
7157
 
 
7158
 
        ac_header_compiler=no
7159
 
fi
7160
 
 
7161
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7162
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7163
 
$as_echo "$ac_header_compiler" >&6; }
7164
 
 
7165
 
# Is the header present?
7166
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
7167
 
$as_echo_n "checking libintl.h presence... " >&6; }
7168
 
cat >conftest.$ac_ext <<_ACEOF
7169
 
/* confdefs.h.  */
7170
 
_ACEOF
7171
 
cat confdefs.h >>conftest.$ac_ext
7172
 
cat >>conftest.$ac_ext <<_ACEOF
7173
 
/* end confdefs.h.  */
7174
 
#include <libintl.h>
7175
 
_ACEOF
7176
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7177
 
case "(($ac_try" in
7178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7179
 
  *) ac_try_echo=$ac_try;;
7180
 
esac
7181
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7182
 
$as_echo "$ac_try_echo") >&5
7183
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7184
 
  ac_status=$?
7185
 
  grep -v '^ *+' conftest.er1 >conftest.err
7186
 
  rm -f conftest.er1
7187
 
  cat conftest.err >&5
7188
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189
 
  (exit $ac_status); } >/dev/null && {
7190
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7191
 
         test ! -s conftest.err
7192
 
       }; then
7193
 
  ac_header_preproc=yes
7194
 
else
7195
 
  $as_echo "$as_me: failed program was:" >&5
7196
 
sed 's/^/| /' conftest.$ac_ext >&5
7197
 
 
7198
 
  ac_header_preproc=no
7199
 
fi
7200
 
 
7201
 
rm -f conftest.err conftest.$ac_ext
7202
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7203
 
$as_echo "$ac_header_preproc" >&6; }
7204
 
 
7205
 
# So?  What about this header?
7206
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7207
 
  yes:no: )
7208
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7209
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7210
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7211
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7212
 
    ac_header_preproc=yes
7213
 
    ;;
7214
 
  no:yes:* )
7215
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7216
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7217
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
7218
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
7219
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7220
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7221
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
7222
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7223
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7224
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7225
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7226
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7227
 
 
7228
 
    ;;
7229
 
esac
7230
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
7231
 
$as_echo_n "checking for libintl.h... " >&6; }
7232
 
if test "${ac_cv_header_libintl_h+set}" = set; then
7233
 
  $as_echo_n "(cached) " >&6
7234
 
else
7235
 
  ac_cv_header_libintl_h=$ac_header_preproc
7236
 
fi
7237
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7238
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
7239
 
 
7240
 
fi
7241
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
6349
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
6350
if test "x$ac_cv_header_libintl_h" = x""yes; then :
7242
6351
  gt_cv_func_dgettext_libintl="no"
7243
6352
      libintl_extra_libs=""
7244
6353
 
7245
6354
      #
7246
6355
      # First check in libc
7247
6356
      #
7248
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
6357
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
7249
6358
$as_echo_n "checking for ngettext in libc... " >&6; }
7250
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
6359
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
7251
6360
  $as_echo_n "(cached) " >&6
7252
6361
else
7253
 
  cat >conftest.$ac_ext <<_ACEOF
7254
 
/* confdefs.h.  */
7255
 
_ACEOF
7256
 
cat confdefs.h >>conftest.$ac_ext
7257
 
cat >>conftest.$ac_ext <<_ACEOF
 
6362
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258
6363
/* end confdefs.h.  */
7259
6364
 
7260
6365
#include <libintl.h>
7267
6372
  return 0;
7268
6373
}
7269
6374
_ACEOF
7270
 
rm -f conftest.$ac_objext conftest$ac_exeext
7271
 
if { (ac_try="$ac_link"
7272
 
case "(($ac_try" in
7273
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7274
 
  *) ac_try_echo=$ac_try;;
7275
 
esac
7276
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7277
 
$as_echo "$ac_try_echo") >&5
7278
 
  (eval "$ac_link") 2>conftest.er1
7279
 
  ac_status=$?
7280
 
  grep -v '^ *+' conftest.er1 >conftest.err
7281
 
  rm -f conftest.er1
7282
 
  cat conftest.err >&5
7283
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284
 
  (exit $ac_status); } && {
7285
 
         test -z "$ac_c_werror_flag" ||
7286
 
         test ! -s conftest.err
7287
 
       } && test -s conftest$ac_exeext && {
7288
 
         test "$cross_compiling" = yes ||
7289
 
         $as_test_x conftest$ac_exeext
7290
 
       }; then
 
6375
if ac_fn_c_try_link "$LINENO"; then :
7291
6376
  gt_cv_func_ngettext_libc=yes
7292
6377
else
7293
 
  $as_echo "$as_me: failed program was:" >&5
7294
 
sed 's/^/| /' conftest.$ac_ext >&5
7295
 
 
7296
 
        gt_cv_func_ngettext_libc=no
7297
 
fi
7298
 
 
7299
 
rm -rf conftest.dSYM
7300
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7301
 
      conftest$ac_exeext conftest.$ac_ext
7302
 
 
7303
 
fi
7304
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
6378
  gt_cv_func_ngettext_libc=no
 
6379
fi
 
6380
rm -f core conftest.err conftest.$ac_objext \
 
6381
    conftest$ac_exeext conftest.$ac_ext
 
6382
 
 
6383
fi
 
6384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
7305
6385
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
7306
6386
 
7307
6387
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7308
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
6388
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
7309
6389
$as_echo_n "checking for dgettext in libc... " >&6; }
7310
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
6390
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
7311
6391
  $as_echo_n "(cached) " >&6
7312
6392
else
7313
 
  cat >conftest.$ac_ext <<_ACEOF
7314
 
/* confdefs.h.  */
7315
 
_ACEOF
7316
 
cat confdefs.h >>conftest.$ac_ext
7317
 
cat >>conftest.$ac_ext <<_ACEOF
 
6393
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7318
6394
/* end confdefs.h.  */
7319
6395
 
7320
6396
#include <libintl.h>
7327
6403
  return 0;
7328
6404
}
7329
6405
_ACEOF
7330
 
rm -f conftest.$ac_objext conftest$ac_exeext
7331
 
if { (ac_try="$ac_link"
7332
 
case "(($ac_try" in
7333
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7334
 
  *) ac_try_echo=$ac_try;;
7335
 
esac
7336
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7337
 
$as_echo "$ac_try_echo") >&5
7338
 
  (eval "$ac_link") 2>conftest.er1
7339
 
  ac_status=$?
7340
 
  grep -v '^ *+' conftest.er1 >conftest.err
7341
 
  rm -f conftest.er1
7342
 
  cat conftest.err >&5
7343
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344
 
  (exit $ac_status); } && {
7345
 
         test -z "$ac_c_werror_flag" ||
7346
 
         test ! -s conftest.err
7347
 
       } && test -s conftest$ac_exeext && {
7348
 
         test "$cross_compiling" = yes ||
7349
 
         $as_test_x conftest$ac_exeext
7350
 
       }; then
 
6406
if ac_fn_c_try_link "$LINENO"; then :
7351
6407
  gt_cv_func_dgettext_libc=yes
7352
6408
else
7353
 
  $as_echo "$as_me: failed program was:" >&5
7354
 
sed 's/^/| /' conftest.$ac_ext >&5
7355
 
 
7356
 
        gt_cv_func_dgettext_libc=no
7357
 
fi
7358
 
 
7359
 
rm -rf conftest.dSYM
7360
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7361
 
      conftest$ac_exeext conftest.$ac_ext
7362
 
 
7363
 
fi
7364
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
6409
  gt_cv_func_dgettext_libc=no
 
6410
fi
 
6411
rm -f core conftest.err conftest.$ac_objext \
 
6412
    conftest$ac_exeext conftest.$ac_ext
 
6413
 
 
6414
fi
 
6415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
7365
6416
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
7366
6417
      fi
7367
6418
 
7368
6419
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7369
 
 
7370
 
for ac_func in bind_textdomain_codeset
7371
 
do
7372
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7373
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7374
 
$as_echo_n "checking for $ac_func... " >&6; }
7375
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7376
 
  $as_echo_n "(cached) " >&6
7377
 
else
7378
 
  cat >conftest.$ac_ext <<_ACEOF
7379
 
/* confdefs.h.  */
7380
 
_ACEOF
7381
 
cat confdefs.h >>conftest.$ac_ext
7382
 
cat >>conftest.$ac_ext <<_ACEOF
7383
 
/* end confdefs.h.  */
7384
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7385
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7386
 
#define $ac_func innocuous_$ac_func
7387
 
 
7388
 
/* System header to define __stub macros and hopefully few prototypes,
7389
 
    which can conflict with char $ac_func (); below.
7390
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7391
 
    <limits.h> exists even on freestanding compilers.  */
7392
 
 
7393
 
#ifdef __STDC__
7394
 
# include <limits.h>
7395
 
#else
7396
 
# include <assert.h>
7397
 
#endif
7398
 
 
7399
 
#undef $ac_func
7400
 
 
7401
 
/* Override any GCC internal prototype to avoid an error.
7402
 
   Use char because int might match the return type of a GCC
7403
 
   builtin and then its argument prototype would still apply.  */
7404
 
#ifdef __cplusplus
7405
 
extern "C"
7406
 
#endif
7407
 
char $ac_func ();
7408
 
/* The GNU C library defines this for functions which it implements
7409
 
    to always fail with ENOSYS.  Some functions are actually named
7410
 
    something starting with __ and the normal name is an alias.  */
7411
 
#if defined __stub_$ac_func || defined __stub___$ac_func
7412
 
choke me
7413
 
#endif
7414
 
 
7415
 
int
7416
 
main ()
7417
 
{
7418
 
return $ac_func ();
7419
 
  ;
7420
 
  return 0;
7421
 
}
7422
 
_ACEOF
7423
 
rm -f conftest.$ac_objext conftest$ac_exeext
7424
 
if { (ac_try="$ac_link"
7425
 
case "(($ac_try" in
7426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7427
 
  *) ac_try_echo=$ac_try;;
7428
 
esac
7429
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7430
 
$as_echo "$ac_try_echo") >&5
7431
 
  (eval "$ac_link") 2>conftest.er1
7432
 
  ac_status=$?
7433
 
  grep -v '^ *+' conftest.er1 >conftest.err
7434
 
  rm -f conftest.er1
7435
 
  cat conftest.err >&5
7436
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437
 
  (exit $ac_status); } && {
7438
 
         test -z "$ac_c_werror_flag" ||
7439
 
         test ! -s conftest.err
7440
 
       } && test -s conftest$ac_exeext && {
7441
 
         test "$cross_compiling" = yes ||
7442
 
         $as_test_x conftest$ac_exeext
7443
 
       }; then
7444
 
  eval "$as_ac_var=yes"
7445
 
else
7446
 
  $as_echo "$as_me: failed program was:" >&5
7447
 
sed 's/^/| /' conftest.$ac_ext >&5
7448
 
 
7449
 
        eval "$as_ac_var=no"
7450
 
fi
7451
 
 
7452
 
rm -rf conftest.dSYM
7453
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7454
 
      conftest$ac_exeext conftest.$ac_ext
7455
 
fi
7456
 
ac_res=`eval 'as_val=${'$as_ac_var'}
7457
 
                 $as_echo "$as_val"'`
7458
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7459
 
$as_echo "$ac_res" >&6; }
7460
 
as_val=`eval 'as_val=${'$as_ac_var'}
7461
 
                 $as_echo "$as_val"'`
7462
 
   if test "x$as_val" = x""yes; then
 
6420
        for ac_func in bind_textdomain_codeset
 
6421
do :
 
6422
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
6423
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7463
6424
  cat >>confdefs.h <<_ACEOF
7464
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6425
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
7465
6426
_ACEOF
7466
6427
 
7467
6428
fi
7476
6437
         || test "$gt_cv_func_ngettext_libc" != "yes" \
7477
6438
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
7478
6439
 
7479
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
6440
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
7480
6441
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
7481
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
6442
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
7482
6443
  $as_echo_n "(cached) " >&6
7483
6444
else
7484
6445
  ac_check_lib_save_LIBS=$LIBS
7485
6446
LIBS="-lintl  $LIBS"
7486
 
cat >conftest.$ac_ext <<_ACEOF
7487
 
/* confdefs.h.  */
7488
 
_ACEOF
7489
 
cat confdefs.h >>conftest.$ac_ext
7490
 
cat >>conftest.$ac_ext <<_ACEOF
 
6447
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7491
6448
/* end confdefs.h.  */
7492
6449
 
7493
6450
/* Override any GCC internal prototype to avoid an error.
7505
6462
  return 0;
7506
6463
}
7507
6464
_ACEOF
7508
 
rm -f conftest.$ac_objext conftest$ac_exeext
7509
 
if { (ac_try="$ac_link"
7510
 
case "(($ac_try" in
7511
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7512
 
  *) ac_try_echo=$ac_try;;
7513
 
esac
7514
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7515
 
$as_echo "$ac_try_echo") >&5
7516
 
  (eval "$ac_link") 2>conftest.er1
7517
 
  ac_status=$?
7518
 
  grep -v '^ *+' conftest.er1 >conftest.err
7519
 
  rm -f conftest.er1
7520
 
  cat conftest.err >&5
7521
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522
 
  (exit $ac_status); } && {
7523
 
         test -z "$ac_c_werror_flag" ||
7524
 
         test ! -s conftest.err
7525
 
       } && test -s conftest$ac_exeext && {
7526
 
         test "$cross_compiling" = yes ||
7527
 
         $as_test_x conftest$ac_exeext
7528
 
       }; then
 
6465
if ac_fn_c_try_link "$LINENO"; then :
7529
6466
  ac_cv_lib_intl_bindtextdomain=yes
7530
6467
else
7531
 
  $as_echo "$as_me: failed program was:" >&5
7532
 
sed 's/^/| /' conftest.$ac_ext >&5
7533
 
 
7534
 
        ac_cv_lib_intl_bindtextdomain=no
 
6468
  ac_cv_lib_intl_bindtextdomain=no
7535
6469
fi
7536
 
 
7537
 
rm -rf conftest.dSYM
7538
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7539
 
      conftest$ac_exeext conftest.$ac_ext
 
6470
rm -f core conftest.err conftest.$ac_objext \
 
6471
    conftest$ac_exeext conftest.$ac_ext
7540
6472
LIBS=$ac_check_lib_save_LIBS
7541
6473
fi
7542
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
6474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
7543
6475
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
7544
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
7545
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
6476
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
6477
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
7546
6478
$as_echo_n "checking for ngettext in -lintl... " >&6; }
7547
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
6479
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
7548
6480
  $as_echo_n "(cached) " >&6
7549
6481
else
7550
6482
  ac_check_lib_save_LIBS=$LIBS
7551
6483
LIBS="-lintl  $LIBS"
7552
 
cat >conftest.$ac_ext <<_ACEOF
7553
 
/* confdefs.h.  */
7554
 
_ACEOF
7555
 
cat confdefs.h >>conftest.$ac_ext
7556
 
cat >>conftest.$ac_ext <<_ACEOF
 
6484
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7557
6485
/* end confdefs.h.  */
7558
6486
 
7559
6487
/* Override any GCC internal prototype to avoid an error.
7571
6499
  return 0;
7572
6500
}
7573
6501
_ACEOF
7574
 
rm -f conftest.$ac_objext conftest$ac_exeext
7575
 
if { (ac_try="$ac_link"
7576
 
case "(($ac_try" in
7577
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7578
 
  *) ac_try_echo=$ac_try;;
7579
 
esac
7580
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7581
 
$as_echo "$ac_try_echo") >&5
7582
 
  (eval "$ac_link") 2>conftest.er1
7583
 
  ac_status=$?
7584
 
  grep -v '^ *+' conftest.er1 >conftest.err
7585
 
  rm -f conftest.er1
7586
 
  cat conftest.err >&5
7587
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588
 
  (exit $ac_status); } && {
7589
 
         test -z "$ac_c_werror_flag" ||
7590
 
         test ! -s conftest.err
7591
 
       } && test -s conftest$ac_exeext && {
7592
 
         test "$cross_compiling" = yes ||
7593
 
         $as_test_x conftest$ac_exeext
7594
 
       }; then
 
6502
if ac_fn_c_try_link "$LINENO"; then :
7595
6503
  ac_cv_lib_intl_ngettext=yes
7596
6504
else
7597
 
  $as_echo "$as_me: failed program was:" >&5
7598
 
sed 's/^/| /' conftest.$ac_ext >&5
7599
 
 
7600
 
        ac_cv_lib_intl_ngettext=no
 
6505
  ac_cv_lib_intl_ngettext=no
7601
6506
fi
7602
 
 
7603
 
rm -rf conftest.dSYM
7604
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7605
 
      conftest$ac_exeext conftest.$ac_ext
 
6507
rm -f core conftest.err conftest.$ac_objext \
 
6508
    conftest$ac_exeext conftest.$ac_ext
7606
6509
LIBS=$ac_check_lib_save_LIBS
7607
6510
fi
7608
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
6511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
7609
6512
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7610
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
7611
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
6513
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
6514
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
7612
6515
$as_echo_n "checking for dgettext in -lintl... " >&6; }
7613
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
6516
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
7614
6517
  $as_echo_n "(cached) " >&6
7615
6518
else
7616
6519
  ac_check_lib_save_LIBS=$LIBS
7617
6520
LIBS="-lintl  $LIBS"
7618
 
cat >conftest.$ac_ext <<_ACEOF
7619
 
/* confdefs.h.  */
7620
 
_ACEOF
7621
 
cat confdefs.h >>conftest.$ac_ext
7622
 
cat >>conftest.$ac_ext <<_ACEOF
 
6521
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623
6522
/* end confdefs.h.  */
7624
6523
 
7625
6524
/* Override any GCC internal prototype to avoid an error.
7637
6536
  return 0;
7638
6537
}
7639
6538
_ACEOF
7640
 
rm -f conftest.$ac_objext conftest$ac_exeext
7641
 
if { (ac_try="$ac_link"
7642
 
case "(($ac_try" in
7643
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7644
 
  *) ac_try_echo=$ac_try;;
7645
 
esac
7646
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7647
 
$as_echo "$ac_try_echo") >&5
7648
 
  (eval "$ac_link") 2>conftest.er1
7649
 
  ac_status=$?
7650
 
  grep -v '^ *+' conftest.er1 >conftest.err
7651
 
  rm -f conftest.er1
7652
 
  cat conftest.err >&5
7653
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654
 
  (exit $ac_status); } && {
7655
 
         test -z "$ac_c_werror_flag" ||
7656
 
         test ! -s conftest.err
7657
 
       } && test -s conftest$ac_exeext && {
7658
 
         test "$cross_compiling" = yes ||
7659
 
         $as_test_x conftest$ac_exeext
7660
 
       }; then
 
6539
if ac_fn_c_try_link "$LINENO"; then :
7661
6540
  ac_cv_lib_intl_dgettext=yes
7662
6541
else
7663
 
  $as_echo "$as_me: failed program was:" >&5
7664
 
sed 's/^/| /' conftest.$ac_ext >&5
7665
 
 
7666
 
        ac_cv_lib_intl_dgettext=no
 
6542
  ac_cv_lib_intl_dgettext=no
7667
6543
fi
7668
 
 
7669
 
rm -rf conftest.dSYM
7670
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7671
 
      conftest$ac_exeext conftest.$ac_ext
 
6544
rm -f core conftest.err conftest.$ac_objext \
 
6545
    conftest$ac_exeext conftest.$ac_ext
7672
6546
LIBS=$ac_check_lib_save_LIBS
7673
6547
fi
7674
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
6548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
7675
6549
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
7676
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
6550
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
7677
6551
  gt_cv_func_dgettext_libintl=yes
7678
6552
fi
7679
6553
 
7683
6557
 
7684
6558
 
7685
6559
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
7686
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
6560
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
7687
6561
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
7688
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
6562
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
7689
6563
$as_echo "" >&6; }
7690
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
6564
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
7691
6565
$as_echo_n "checking for ngettext in -lintl... " >&6; }
7692
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
6566
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
7693
6567
  $as_echo_n "(cached) " >&6
7694
6568
else
7695
6569
  ac_check_lib_save_LIBS=$LIBS
7696
6570
LIBS="-lintl -liconv $LIBS"
7697
 
cat >conftest.$ac_ext <<_ACEOF
7698
 
/* confdefs.h.  */
7699
 
_ACEOF
7700
 
cat confdefs.h >>conftest.$ac_ext
7701
 
cat >>conftest.$ac_ext <<_ACEOF
 
6571
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702
6572
/* end confdefs.h.  */
7703
6573
 
7704
6574
/* Override any GCC internal prototype to avoid an error.
7716
6586
  return 0;
7717
6587
}
7718
6588
_ACEOF
7719
 
rm -f conftest.$ac_objext conftest$ac_exeext
7720
 
if { (ac_try="$ac_link"
7721
 
case "(($ac_try" in
7722
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7723
 
  *) ac_try_echo=$ac_try;;
7724
 
esac
7725
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7726
 
$as_echo "$ac_try_echo") >&5
7727
 
  (eval "$ac_link") 2>conftest.er1
7728
 
  ac_status=$?
7729
 
  grep -v '^ *+' conftest.er1 >conftest.err
7730
 
  rm -f conftest.er1
7731
 
  cat conftest.err >&5
7732
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733
 
  (exit $ac_status); } && {
7734
 
         test -z "$ac_c_werror_flag" ||
7735
 
         test ! -s conftest.err
7736
 
       } && test -s conftest$ac_exeext && {
7737
 
         test "$cross_compiling" = yes ||
7738
 
         $as_test_x conftest$ac_exeext
7739
 
       }; then
 
6589
if ac_fn_c_try_link "$LINENO"; then :
7740
6590
  ac_cv_lib_intl_ngettext=yes
7741
6591
else
7742
 
  $as_echo "$as_me: failed program was:" >&5
7743
 
sed 's/^/| /' conftest.$ac_ext >&5
7744
 
 
7745
 
        ac_cv_lib_intl_ngettext=no
 
6592
  ac_cv_lib_intl_ngettext=no
7746
6593
fi
7747
 
 
7748
 
rm -rf conftest.dSYM
7749
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7750
 
      conftest$ac_exeext conftest.$ac_ext
 
6594
rm -f core conftest.err conftest.$ac_objext \
 
6595
    conftest$ac_exeext conftest.$ac_ext
7751
6596
LIBS=$ac_check_lib_save_LIBS
7752
6597
fi
7753
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
6598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
7754
6599
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7755
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
7756
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
6600
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
6601
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
7757
6602
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
7758
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
6603
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
7759
6604
  $as_echo_n "(cached) " >&6
7760
6605
else
7761
6606
  ac_check_lib_save_LIBS=$LIBS
7762
6607
LIBS="-lintl -liconv $LIBS"
7763
 
cat >conftest.$ac_ext <<_ACEOF
7764
 
/* confdefs.h.  */
7765
 
_ACEOF
7766
 
cat confdefs.h >>conftest.$ac_ext
7767
 
cat >>conftest.$ac_ext <<_ACEOF
 
6608
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7768
6609
/* end confdefs.h.  */
7769
6610
 
7770
6611
/* Override any GCC internal prototype to avoid an error.
7782
6623
  return 0;
7783
6624
}
7784
6625
_ACEOF
7785
 
rm -f conftest.$ac_objext conftest$ac_exeext
7786
 
if { (ac_try="$ac_link"
7787
 
case "(($ac_try" in
7788
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7789
 
  *) ac_try_echo=$ac_try;;
7790
 
esac
7791
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7792
 
$as_echo "$ac_try_echo") >&5
7793
 
  (eval "$ac_link") 2>conftest.er1
7794
 
  ac_status=$?
7795
 
  grep -v '^ *+' conftest.er1 >conftest.err
7796
 
  rm -f conftest.er1
7797
 
  cat conftest.err >&5
7798
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799
 
  (exit $ac_status); } && {
7800
 
         test -z "$ac_c_werror_flag" ||
7801
 
         test ! -s conftest.err
7802
 
       } && test -s conftest$ac_exeext && {
7803
 
         test "$cross_compiling" = yes ||
7804
 
         $as_test_x conftest$ac_exeext
7805
 
       }; then
 
6626
if ac_fn_c_try_link "$LINENO"; then :
7806
6627
  ac_cv_lib_intl_dcgettext=yes
7807
6628
else
7808
 
  $as_echo "$as_me: failed program was:" >&5
7809
 
sed 's/^/| /' conftest.$ac_ext >&5
7810
 
 
7811
 
        ac_cv_lib_intl_dcgettext=no
 
6629
  ac_cv_lib_intl_dcgettext=no
7812
6630
fi
7813
 
 
7814
 
rm -rf conftest.dSYM
7815
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7816
 
      conftest$ac_exeext conftest.$ac_ext
 
6631
rm -f core conftest.err conftest.$ac_objext \
 
6632
    conftest$ac_exeext conftest.$ac_ext
7817
6633
LIBS=$ac_check_lib_save_LIBS
7818
6634
fi
7819
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
6635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
7820
6636
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
7821
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
6637
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
7822
6638
  gt_cv_func_dgettext_libintl=yes
7823
6639
                        libintl_extra_libs=-liconv
7824
6640
else
7840
6656
          glib_save_LIBS="$LIBS"
7841
6657
          LIBS="$LIBS -lintl $libintl_extra_libs"
7842
6658
          unset ac_cv_func_bind_textdomain_codeset
7843
 
 
7844
 
for ac_func in bind_textdomain_codeset
7845
 
do
7846
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7847
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7848
 
$as_echo_n "checking for $ac_func... " >&6; }
7849
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7850
 
  $as_echo_n "(cached) " >&6
7851
 
else
7852
 
  cat >conftest.$ac_ext <<_ACEOF
7853
 
/* confdefs.h.  */
7854
 
_ACEOF
7855
 
cat confdefs.h >>conftest.$ac_ext
7856
 
cat >>conftest.$ac_ext <<_ACEOF
7857
 
/* end confdefs.h.  */
7858
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7859
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7860
 
#define $ac_func innocuous_$ac_func
7861
 
 
7862
 
/* System header to define __stub macros and hopefully few prototypes,
7863
 
    which can conflict with char $ac_func (); below.
7864
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7865
 
    <limits.h> exists even on freestanding compilers.  */
7866
 
 
7867
 
#ifdef __STDC__
7868
 
# include <limits.h>
7869
 
#else
7870
 
# include <assert.h>
7871
 
#endif
7872
 
 
7873
 
#undef $ac_func
7874
 
 
7875
 
/* Override any GCC internal prototype to avoid an error.
7876
 
   Use char because int might match the return type of a GCC
7877
 
   builtin and then its argument prototype would still apply.  */
7878
 
#ifdef __cplusplus
7879
 
extern "C"
7880
 
#endif
7881
 
char $ac_func ();
7882
 
/* The GNU C library defines this for functions which it implements
7883
 
    to always fail with ENOSYS.  Some functions are actually named
7884
 
    something starting with __ and the normal name is an alias.  */
7885
 
#if defined __stub_$ac_func || defined __stub___$ac_func
7886
 
choke me
7887
 
#endif
7888
 
 
7889
 
int
7890
 
main ()
7891
 
{
7892
 
return $ac_func ();
7893
 
  ;
7894
 
  return 0;
7895
 
}
7896
 
_ACEOF
7897
 
rm -f conftest.$ac_objext conftest$ac_exeext
7898
 
if { (ac_try="$ac_link"
7899
 
case "(($ac_try" in
7900
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7901
 
  *) ac_try_echo=$ac_try;;
7902
 
esac
7903
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7904
 
$as_echo "$ac_try_echo") >&5
7905
 
  (eval "$ac_link") 2>conftest.er1
7906
 
  ac_status=$?
7907
 
  grep -v '^ *+' conftest.er1 >conftest.err
7908
 
  rm -f conftest.er1
7909
 
  cat conftest.err >&5
7910
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7911
 
  (exit $ac_status); } && {
7912
 
         test -z "$ac_c_werror_flag" ||
7913
 
         test ! -s conftest.err
7914
 
       } && test -s conftest$ac_exeext && {
7915
 
         test "$cross_compiling" = yes ||
7916
 
         $as_test_x conftest$ac_exeext
7917
 
       }; then
7918
 
  eval "$as_ac_var=yes"
7919
 
else
7920
 
  $as_echo "$as_me: failed program was:" >&5
7921
 
sed 's/^/| /' conftest.$ac_ext >&5
7922
 
 
7923
 
        eval "$as_ac_var=no"
7924
 
fi
7925
 
 
7926
 
rm -rf conftest.dSYM
7927
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7928
 
      conftest$ac_exeext conftest.$ac_ext
7929
 
fi
7930
 
ac_res=`eval 'as_val=${'$as_ac_var'}
7931
 
                 $as_echo "$as_val"'`
7932
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7933
 
$as_echo "$ac_res" >&6; }
7934
 
as_val=`eval 'as_val=${'$as_ac_var'}
7935
 
                 $as_echo "$as_val"'`
7936
 
   if test "x$as_val" = x""yes; then
 
6659
          for ac_func in bind_textdomain_codeset
 
6660
do :
 
6661
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
6662
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7937
6663
  cat >>confdefs.h <<_ACEOF
7938
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6664
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
7939
6665
_ACEOF
7940
6666
 
7941
6667
fi
7965
6691
 
7966
6692
      if test "$gt_cv_have_gettext" = "yes"; then
7967
6693
 
7968
 
cat >>confdefs.h <<\_ACEOF
7969
 
#define HAVE_GETTEXT 1
7970
 
_ACEOF
 
6694
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7971
6695
 
7972
6696
        # Extract the first word of "msgfmt", so it can be a program name with args.
7973
6697
set dummy msgfmt; ac_word=$2
7974
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975
6699
$as_echo_n "checking for $ac_word... " >&6; }
7976
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
6700
if test "${ac_cv_path_MSGFMT+set}" = set; then :
7977
6701
  $as_echo_n "(cached) " >&6
7978
6702
else
7979
6703
  case "$MSGFMT" in
7998
6722
fi
7999
6723
MSGFMT="$ac_cv_path_MSGFMT"
8000
6724
if test "$MSGFMT" != "no"; then
8001
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
6725
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8002
6726
$as_echo "$MSGFMT" >&6; }
8003
6727
else
8004
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6728
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005
6729
$as_echo "no" >&6; }
8006
6730
fi
8007
6731
        if test "$MSGFMT" != "no"; then
8008
6732
          glib_save_LIBS="$LIBS"
8009
6733
          LIBS="$LIBS $INTLLIBS"
8010
 
 
8011
 
for ac_func in dcgettext
8012
 
do
8013
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8014
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8015
 
$as_echo_n "checking for $ac_func... " >&6; }
8016
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8017
 
  $as_echo_n "(cached) " >&6
8018
 
else
8019
 
  cat >conftest.$ac_ext <<_ACEOF
8020
 
/* confdefs.h.  */
8021
 
_ACEOF
8022
 
cat confdefs.h >>conftest.$ac_ext
8023
 
cat >>conftest.$ac_ext <<_ACEOF
8024
 
/* end confdefs.h.  */
8025
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8026
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8027
 
#define $ac_func innocuous_$ac_func
8028
 
 
8029
 
/* System header to define __stub macros and hopefully few prototypes,
8030
 
    which can conflict with char $ac_func (); below.
8031
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8032
 
    <limits.h> exists even on freestanding compilers.  */
8033
 
 
8034
 
#ifdef __STDC__
8035
 
# include <limits.h>
8036
 
#else
8037
 
# include <assert.h>
8038
 
#endif
8039
 
 
8040
 
#undef $ac_func
8041
 
 
8042
 
/* Override any GCC internal prototype to avoid an error.
8043
 
   Use char because int might match the return type of a GCC
8044
 
   builtin and then its argument prototype would still apply.  */
8045
 
#ifdef __cplusplus
8046
 
extern "C"
8047
 
#endif
8048
 
char $ac_func ();
8049
 
/* The GNU C library defines this for functions which it implements
8050
 
    to always fail with ENOSYS.  Some functions are actually named
8051
 
    something starting with __ and the normal name is an alias.  */
8052
 
#if defined __stub_$ac_func || defined __stub___$ac_func
8053
 
choke me
8054
 
#endif
8055
 
 
8056
 
int
8057
 
main ()
8058
 
{
8059
 
return $ac_func ();
8060
 
  ;
8061
 
  return 0;
8062
 
}
8063
 
_ACEOF
8064
 
rm -f conftest.$ac_objext conftest$ac_exeext
8065
 
if { (ac_try="$ac_link"
8066
 
case "(($ac_try" in
8067
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8068
 
  *) ac_try_echo=$ac_try;;
8069
 
esac
8070
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8071
 
$as_echo "$ac_try_echo") >&5
8072
 
  (eval "$ac_link") 2>conftest.er1
8073
 
  ac_status=$?
8074
 
  grep -v '^ *+' conftest.er1 >conftest.err
8075
 
  rm -f conftest.er1
8076
 
  cat conftest.err >&5
8077
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078
 
  (exit $ac_status); } && {
8079
 
         test -z "$ac_c_werror_flag" ||
8080
 
         test ! -s conftest.err
8081
 
       } && test -s conftest$ac_exeext && {
8082
 
         test "$cross_compiling" = yes ||
8083
 
         $as_test_x conftest$ac_exeext
8084
 
       }; then
8085
 
  eval "$as_ac_var=yes"
8086
 
else
8087
 
  $as_echo "$as_me: failed program was:" >&5
8088
 
sed 's/^/| /' conftest.$ac_ext >&5
8089
 
 
8090
 
        eval "$as_ac_var=no"
8091
 
fi
8092
 
 
8093
 
rm -rf conftest.dSYM
8094
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8095
 
      conftest$ac_exeext conftest.$ac_ext
8096
 
fi
8097
 
ac_res=`eval 'as_val=${'$as_ac_var'}
8098
 
                 $as_echo "$as_val"'`
8099
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8100
 
$as_echo "$ac_res" >&6; }
8101
 
as_val=`eval 'as_val=${'$as_ac_var'}
8102
 
                 $as_echo "$as_val"'`
8103
 
   if test "x$as_val" = x""yes; then
 
6734
          for ac_func in dcgettext
 
6735
do :
 
6736
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
6737
if test "x$ac_cv_func_dcgettext" = x""yes; then :
8104
6738
  cat >>confdefs.h <<_ACEOF
8105
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6739
#define HAVE_DCGETTEXT 1
8106
6740
_ACEOF
8107
6741
 
8108
6742
fi
8109
6743
done
8110
6744
 
8111
6745
          MSGFMT_OPTS=
8112
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
6746
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
8113
6747
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
8114
6748
          cat >conftest.foo <<_ACEOF
8115
6749
 
8124
6758
"Content-Transfer-Encoding: 8bit\n"
8125
6759
 
8126
6760
_ACEOF
8127
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
6761
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
8128
6762
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
8129
6763
  ac_status=$?
8130
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131
 
  (exit $ac_status); }; then
8132
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6764
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6765
  test $ac_status = 0; }; then
 
6766
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8133
6767
$as_echo "yes" >&6; }
8134
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
6768
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135
6769
$as_echo "no" >&6; }
8136
6770
echo "$as_me: failed input was:" >&5
8137
6771
sed 's/^/| /' conftest.foo >&5
8139
6773
 
8140
6774
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
8141
6775
set dummy gmsgfmt; ac_word=$2
8142
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8143
6777
$as_echo_n "checking for $ac_word... " >&6; }
8144
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
6778
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
8145
6779
  $as_echo_n "(cached) " >&6
8146
6780
else
8147
6781
  case $GMSGFMT in
8154
6788
do
8155
6789
  IFS=$as_save_IFS
8156
6790
  test -z "$as_dir" && as_dir=.
8157
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6791
    for ac_exec_ext in '' $ac_executable_extensions; do
8158
6792
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8159
6793
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8160
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6794
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8161
6795
    break 2
8162
6796
  fi
8163
6797
done
8164
 
done
 
6798
  done
8165
6799
IFS=$as_save_IFS
8166
6800
 
8167
6801
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8170
6804
fi
8171
6805
GMSGFMT=$ac_cv_path_GMSGFMT
8172
6806
if test -n "$GMSGFMT"; then
8173
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
6807
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
8174
6808
$as_echo "$GMSGFMT" >&6; }
8175
6809
else
8176
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177
6811
$as_echo "no" >&6; }
8178
6812
fi
8179
6813
 
8180
6814
 
8181
6815
          # Extract the first word of "xgettext", so it can be a program name with args.
8182
6816
set dummy xgettext; ac_word=$2
8183
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8184
6818
$as_echo_n "checking for $ac_word... " >&6; }
8185
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
6819
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
8186
6820
  $as_echo_n "(cached) " >&6
8187
6821
else
8188
6822
  case "$XGETTEXT" in
8207
6841
fi
8208
6842
XGETTEXT="$ac_cv_path_XGETTEXT"
8209
6843
if test "$XGETTEXT" != ":"; then
8210
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
6844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8211
6845
$as_echo "$XGETTEXT" >&6; }
8212
6846
else
8213
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8214
6848
$as_echo "no" >&6; }
8215
6849
fi
8216
6850
 
8217
 
          cat >conftest.$ac_ext <<_ACEOF
8218
 
/* confdefs.h.  */
8219
 
_ACEOF
8220
 
cat confdefs.h >>conftest.$ac_ext
8221
 
cat >>conftest.$ac_ext <<_ACEOF
 
6851
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8222
6852
/* end confdefs.h.  */
8223
6853
 
8224
6854
int
8230
6860
  return 0;
8231
6861
}
8232
6862
_ACEOF
8233
 
rm -f conftest.$ac_objext conftest$ac_exeext
8234
 
if { (ac_try="$ac_link"
8235
 
case "(($ac_try" in
8236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8237
 
  *) ac_try_echo=$ac_try;;
8238
 
esac
8239
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8240
 
$as_echo "$ac_try_echo") >&5
8241
 
  (eval "$ac_link") 2>conftest.er1
8242
 
  ac_status=$?
8243
 
  grep -v '^ *+' conftest.er1 >conftest.err
8244
 
  rm -f conftest.er1
8245
 
  cat conftest.err >&5
8246
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247
 
  (exit $ac_status); } && {
8248
 
         test -z "$ac_c_werror_flag" ||
8249
 
         test ! -s conftest.err
8250
 
       } && test -s conftest$ac_exeext && {
8251
 
         test "$cross_compiling" = yes ||
8252
 
         $as_test_x conftest$ac_exeext
8253
 
       }; then
 
6863
if ac_fn_c_try_link "$LINENO"; then :
8254
6864
  CATOBJEXT=.gmo
8255
6865
             DATADIRNAME=share
8256
6866
else
8257
 
  $as_echo "$as_me: failed program was:" >&5
8258
 
sed 's/^/| /' conftest.$ac_ext >&5
8259
 
 
8260
 
        case $host in
 
6867
  case $host in
8261
6868
            *-*-solaris*)
8262
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8263
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
8264
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8265
 
  $as_echo_n "(cached) " >&6
8266
 
else
8267
 
  cat >conftest.$ac_ext <<_ACEOF
8268
 
/* confdefs.h.  */
8269
 
_ACEOF
8270
 
cat confdefs.h >>conftest.$ac_ext
8271
 
cat >>conftest.$ac_ext <<_ACEOF
8272
 
/* end confdefs.h.  */
8273
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8274
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8275
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8276
 
 
8277
 
/* System header to define __stub macros and hopefully few prototypes,
8278
 
    which can conflict with char bind_textdomain_codeset (); below.
8279
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8280
 
    <limits.h> exists even on freestanding compilers.  */
8281
 
 
8282
 
#ifdef __STDC__
8283
 
# include <limits.h>
8284
 
#else
8285
 
# include <assert.h>
8286
 
#endif
8287
 
 
8288
 
#undef bind_textdomain_codeset
8289
 
 
8290
 
/* Override any GCC internal prototype to avoid an error.
8291
 
   Use char because int might match the return type of a GCC
8292
 
   builtin and then its argument prototype would still apply.  */
8293
 
#ifdef __cplusplus
8294
 
extern "C"
8295
 
#endif
8296
 
char bind_textdomain_codeset ();
8297
 
/* The GNU C library defines this for functions which it implements
8298
 
    to always fail with ENOSYS.  Some functions are actually named
8299
 
    something starting with __ and the normal name is an alias.  */
8300
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8301
 
choke me
8302
 
#endif
8303
 
 
8304
 
int
8305
 
main ()
8306
 
{
8307
 
return bind_textdomain_codeset ();
8308
 
  ;
8309
 
  return 0;
8310
 
}
8311
 
_ACEOF
8312
 
rm -f conftest.$ac_objext conftest$ac_exeext
8313
 
if { (ac_try="$ac_link"
8314
 
case "(($ac_try" in
8315
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8316
 
  *) ac_try_echo=$ac_try;;
8317
 
esac
8318
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8319
 
$as_echo "$ac_try_echo") >&5
8320
 
  (eval "$ac_link") 2>conftest.er1
8321
 
  ac_status=$?
8322
 
  grep -v '^ *+' conftest.er1 >conftest.err
8323
 
  rm -f conftest.er1
8324
 
  cat conftest.err >&5
8325
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326
 
  (exit $ac_status); } && {
8327
 
         test -z "$ac_c_werror_flag" ||
8328
 
         test ! -s conftest.err
8329
 
       } && test -s conftest$ac_exeext && {
8330
 
         test "$cross_compiling" = yes ||
8331
 
         $as_test_x conftest$ac_exeext
8332
 
       }; then
8333
 
  ac_cv_func_bind_textdomain_codeset=yes
8334
 
else
8335
 
  $as_echo "$as_me: failed program was:" >&5
8336
 
sed 's/^/| /' conftest.$ac_ext >&5
8337
 
 
8338
 
        ac_cv_func_bind_textdomain_codeset=no
8339
 
fi
8340
 
 
8341
 
rm -rf conftest.dSYM
8342
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8343
 
      conftest$ac_exeext conftest.$ac_ext
8344
 
fi
8345
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8346
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
8347
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
6869
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
6870
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
8348
6871
  CATOBJEXT=.gmo
8349
6872
               DATADIRNAME=share
8350
6873
else
8359
6882
            ;;
8360
6883
            esac
8361
6884
fi
8362
 
 
8363
 
rm -rf conftest.dSYM
8364
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8365
 
      conftest$ac_exeext conftest.$ac_ext
 
6885
rm -f core conftest.err conftest.$ac_objext \
 
6886
    conftest$ac_exeext conftest.$ac_ext
8366
6887
          LIBS="$glib_save_LIBS"
8367
6888
          INSTOBJEXT=.mo
8368
6889
        else
8376
6897
 
8377
6898
    if test "$gt_cv_have_gettext" = "yes" ; then
8378
6899
 
8379
 
cat >>confdefs.h <<\_ACEOF
8380
 
#define ENABLE_NLS 1
8381
 
_ACEOF
 
6900
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
8382
6901
 
8383
6902
    fi
8384
6903
 
8386
6905
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
8387
6906
        : ;
8388
6907
      else
8389
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
6908
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
8390
6909
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
8391
6910
        XGETTEXT=":"
8392
6911
      fi
8419
6938
     if test "x$ALL_LINGUAS" = "x"; then
8420
6939
       LINGUAS=
8421
6940
     else
8422
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
6941
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8423
6942
$as_echo_n "checking for catalogs to be installed... " >&6; }
8424
6943
       NEW_LINGUAS=
8425
6944
       for presentlang in $ALL_LINGUAS; do
8444
6963
         fi
8445
6964
       done
8446
6965
       LINGUAS=$NEW_LINGUAS
8447
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
6966
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8448
6967
$as_echo "$LINGUAS" >&6; }
8449
6968
     fi
8450
6969
 
8483
7002
        if test -n "$ac_tool_prefix"; then
8484
7003
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8485
7004
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8486
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8487
7006
$as_echo_n "checking for $ac_word... " >&6; }
8488
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
7007
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
8489
7008
  $as_echo_n "(cached) " >&6
8490
7009
else
8491
7010
  case $PKG_CONFIG in
8498
7017
do
8499
7018
  IFS=$as_save_IFS
8500
7019
  test -z "$as_dir" && as_dir=.
8501
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7020
    for ac_exec_ext in '' $ac_executable_extensions; do
8502
7021
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8503
7022
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8504
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7023
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8505
7024
    break 2
8506
7025
  fi
8507
7026
done
8508
 
done
 
7027
  done
8509
7028
IFS=$as_save_IFS
8510
7029
 
8511
7030
  ;;
8513
7032
fi
8514
7033
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8515
7034
if test -n "$PKG_CONFIG"; then
8516
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
7035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8517
7036
$as_echo "$PKG_CONFIG" >&6; }
8518
7037
else
8519
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8520
7039
$as_echo "no" >&6; }
8521
7040
fi
8522
7041
 
8526
7045
  ac_pt_PKG_CONFIG=$PKG_CONFIG
8527
7046
  # Extract the first word of "pkg-config", so it can be a program name with args.
8528
7047
set dummy pkg-config; ac_word=$2
8529
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8530
7049
$as_echo_n "checking for $ac_word... " >&6; }
8531
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
7050
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
8532
7051
  $as_echo_n "(cached) " >&6
8533
7052
else
8534
7053
  case $ac_pt_PKG_CONFIG in
8541
7060
do
8542
7061
  IFS=$as_save_IFS
8543
7062
  test -z "$as_dir" && as_dir=.
8544
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7063
    for ac_exec_ext in '' $ac_executable_extensions; do
8545
7064
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546
7065
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8547
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7066
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548
7067
    break 2
8549
7068
  fi
8550
7069
done
8551
 
done
 
7070
  done
8552
7071
IFS=$as_save_IFS
8553
7072
 
8554
7073
  ;;
8556
7075
fi
8557
7076
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8558
7077
if test -n "$ac_pt_PKG_CONFIG"; then
8559
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
7078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8560
7079
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
8561
7080
else
8562
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8563
7082
$as_echo "no" >&6; }
8564
7083
fi
8565
7084
 
8568
7087
  else
8569
7088
    case $cross_compiling:$ac_tool_warned in
8570
7089
yes:)
8571
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7090
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8572
7091
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8573
7092
ac_tool_warned=yes ;;
8574
7093
esac
8581
7100
fi
8582
7101
if test -n "$PKG_CONFIG"; then
8583
7102
        _pkg_min_version=0.9.0
8584
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
7103
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8585
7104
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8586
7105
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8587
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7106
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8588
7107
$as_echo "yes" >&6; }
8589
7108
        else
8590
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
7109
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591
7110
$as_echo "no" >&6; }
8592
7111
                PKG_CONFIG=""
8593
7112
        fi
8595
7114
fi
8596
7115
 
8597
7116
pkg_failed=no
8598
 
{ $as_echo "$as_me:$LINENO: checking for GLIB" >&5
 
7117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
8599
7118
$as_echo_n "checking for GLIB... " >&6; }
8600
7119
 
8601
7120
if test -n "$GLIB_CFLAGS"; then
8602
7121
    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
8603
7122
 elif test -n "$PKG_CONFIG"; then
8604
7123
    if test -n "$PKG_CONFIG" && \
8605
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \"") >&5
 
7124
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \""; } >&5
8606
7125
  ($PKG_CONFIG --exists --print-errors "glib-2.0 ") 2>&5
8607
7126
  ac_status=$?
8608
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609
 
  (exit $ac_status); }; then
 
7127
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7128
  test $ac_status = 0; }; then
8610
7129
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 " 2>/dev/null`
8611
7130
else
8612
7131
  pkg_failed=yes
8618
7137
    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
8619
7138
 elif test -n "$PKG_CONFIG"; then
8620
7139
    if test -n "$PKG_CONFIG" && \
8621
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \"") >&5
 
7140
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \""; } >&5
8622
7141
  ($PKG_CONFIG --exists --print-errors "glib-2.0 ") 2>&5
8623
7142
  ac_status=$?
8624
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625
 
  (exit $ac_status); }; then
 
7143
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7144
  test $ac_status = 0; }; then
8626
7145
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 " 2>/dev/null`
8627
7146
else
8628
7147
  pkg_failed=yes
8648
7167
        # Put the nasty error message in config.log where it belongs
8649
7168
        echo "$GLIB_PKG_ERRORS" >&5
8650
7169
 
8651
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 ) were not met:
8652
 
 
8653
 
$GLIB_PKG_ERRORS
8654
 
 
8655
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8656
 
installed software in a non-standard prefix.
8657
 
 
8658
 
Alternatively, you may set the environment variables GLIB_CFLAGS
8659
 
and GLIB_LIBS to avoid the need to call pkg-config.
8660
 
See the pkg-config man page for more details.
8661
 
" >&5
8662
 
$as_echo "$as_me: error: Package requirements (glib-2.0 ) were not met:
8663
 
 
8664
 
$GLIB_PKG_ERRORS
8665
 
 
8666
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8667
 
installed software in a non-standard prefix.
8668
 
 
8669
 
Alternatively, you may set the environment variables GLIB_CFLAGS
8670
 
and GLIB_LIBS to avoid the need to call pkg-config.
8671
 
See the pkg-config man page for more details.
8672
 
" >&2;}
8673
 
   { (exit 1); exit 1; }; }
 
7170
        as_fn_error "Package requirements (glib-2.0 ) were not met:
 
7171
 
 
7172
$GLIB_PKG_ERRORS
 
7173
 
 
7174
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
7175
installed software in a non-standard prefix.
 
7176
 
 
7177
Alternatively, you may set the environment variables GLIB_CFLAGS
 
7178
and GLIB_LIBS to avoid the need to call pkg-config.
 
7179
See the pkg-config man page for more details.
 
7180
" "$LINENO" 5
8674
7181
elif test $pkg_failed = untried; then
8675
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7182
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8676
7183
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8677
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
8678
 
is in your PATH or set the PKG_CONFIG environment variable to the full
8679
 
path to pkg-config.
8680
 
 
8681
 
Alternatively, you may set the environment variables GLIB_CFLAGS
8682
 
and GLIB_LIBS to avoid the need to call pkg-config.
8683
 
See the pkg-config man page for more details.
8684
 
 
8685
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8686
 
See \`config.log' for more details." >&5
8687
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
8688
 
is in your PATH or set the PKG_CONFIG environment variable to the full
8689
 
path to pkg-config.
8690
 
 
8691
 
Alternatively, you may set the environment variables GLIB_CFLAGS
8692
 
and GLIB_LIBS to avoid the need to call pkg-config.
8693
 
See the pkg-config man page for more details.
8694
 
 
8695
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8696
 
See \`config.log' for more details." >&2;}
8697
 
   { (exit 1); exit 1; }; }; }
 
7184
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
7185
is in your PATH or set the PKG_CONFIG environment variable to the full
 
7186
path to pkg-config.
 
7187
 
 
7188
Alternatively, you may set the environment variables GLIB_CFLAGS
 
7189
and GLIB_LIBS to avoid the need to call pkg-config.
 
7190
See the pkg-config man page for more details.
 
7191
 
 
7192
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
7193
See \`config.log' for more details." "$LINENO" 5; }
8698
7194
else
8699
7195
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
8700
7196
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
8701
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7197
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8702
7198
$as_echo "yes" >&6; }
8703
7199
        :
8704
7200
fi
8707
7203
 
8708
7204
 
8709
7205
# Check whether --with-xulrunner-sdk was given.
8710
 
if test "${with_xulrunner_sdk+set}" = set; then
 
7206
if test "${with_xulrunner_sdk+set}" = set; then :
8711
7207
  withval=$with_xulrunner_sdk;
8712
7208
        XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
8713
7209
        GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java"
8714
7210
        GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
8715
7211
        # Check whether --enable-new-libxul was given.
8716
 
if test "${enable_new_libxul+set}" = set; then
 
7212
if test "${enable_new_libxul+set}" = set; then :
8717
7213
  enableval=$enable_new_libxul; usenewlibxul=$enableval
8718
7214
else
8719
7215
  usenewlibxul=no
8721
7217
 
8722
7218
 
8723
7219
        if test $usenewlibxul == yes; then
 
7220
                GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
8724
7221
 
8725
 
cat >>confdefs.h <<\_ACEOF
8726
 
#define HAVE_NEW_XULRUNNER 1
8727
 
_ACEOF
 
7222
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
8728
7223
 
8729
7224
        fi
8730
7225
 
8735
7230
if test "$GECKO_CFLAGS" = ""; then
8736
7231
 
8737
7232
pkg_failed=no
8738
 
{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
8739
 
$as_echo_n "checking for GECKO... " >&6; }
8740
 
 
8741
 
if test -n "$GECKO_CFLAGS"; then
8742
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
8743
 
 elif test -n "$PKG_CONFIG"; then
8744
 
    if test -n "$PKG_CONFIG" && \
8745
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\"") >&5
 
7233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7234
$as_echo_n "checking for GECKO... " >&6; }
 
7235
 
 
7236
if test -n "$GECKO_CFLAGS"; then
 
7237
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
 
7238
 elif test -n "$PKG_CONFIG"; then
 
7239
    if test -n "$PKG_CONFIG" && \
 
7240
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2.0\""; } >&5
 
7241
  ($PKG_CONFIG --exists --print-errors "libxul >= 2.0") 2>&5
 
7242
  ac_status=$?
 
7243
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7244
  test $ac_status = 0; }; then
 
7245
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 2.0" 2>/dev/null`
 
7246
else
 
7247
  pkg_failed=yes
 
7248
fi
 
7249
 else
 
7250
    pkg_failed=untried
 
7251
fi
 
7252
if test -n "$GECKO_LIBS"; then
 
7253
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
 
7254
 elif test -n "$PKG_CONFIG"; then
 
7255
    if test -n "$PKG_CONFIG" && \
 
7256
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2.0\""; } >&5
 
7257
  ($PKG_CONFIG --exists --print-errors "libxul >= 2.0") 2>&5
 
7258
  ac_status=$?
 
7259
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7260
  test $ac_status = 0; }; then
 
7261
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 2.0" 2>/dev/null`
 
7262
else
 
7263
  pkg_failed=yes
 
7264
fi
 
7265
 else
 
7266
    pkg_failed=untried
 
7267
fi
 
7268
 
 
7269
 
 
7270
 
 
7271
if test $pkg_failed = yes; then
 
7272
 
 
7273
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7274
        _pkg_short_errors_supported=yes
 
7275
else
 
7276
        _pkg_short_errors_supported=no
 
7277
fi
 
7278
        if test $_pkg_short_errors_supported = yes; then
 
7279
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 2.0" 2>&1`
 
7280
        else
 
7281
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 2.0" 2>&1`
 
7282
        fi
 
7283
        # Put the nasty error message in config.log where it belongs
 
7284
        echo "$GECKO_PKG_ERRORS" >&5
 
7285
 
 
7286
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7287
$as_echo "no" >&6; }
 
7288
                { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2.0 beta 5 not found, trying another" >&5
 
7289
$as_echo "$as_me: libxul >= 2.0 beta 5 not found, trying another" >&6;}
 
7290
elif test $pkg_failed = untried; then
 
7291
        { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2.0 beta 5 not found, trying another" >&5
 
7292
$as_echo "$as_me: libxul >= 2.0 beta 5 not found, trying another" >&6;}
 
7293
else
 
7294
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
 
7295
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
 
7296
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7297
$as_echo "yes" >&6; }
 
7298
        GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
 
7299
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
 
7300
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 2.0 beta 5" >&5
 
7301
$as_echo "$as_me: Using libxul >= 2.0 beta 5" >&6;}
 
7302
 
 
7303
fi
 
7304
fi
 
7305
 
 
7306
if test "$GECKO_CFLAGS" = ""; then
 
7307
 
 
7308
pkg_failed=no
 
7309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7310
$as_echo_n "checking for GECKO... " >&6; }
 
7311
 
 
7312
if test -n "$GECKO_CFLAGS"; then
 
7313
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
 
7314
 elif test -n "$PKG_CONFIG"; then
 
7315
    if test -n "$PKG_CONFIG" && \
 
7316
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
8746
7317
  ($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
8747
7318
  ac_status=$?
8748
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749
 
  (exit $ac_status); }; then
 
7319
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7320
  test $ac_status = 0; }; then
8750
7321
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul < 1.9.2" 2>/dev/null`
8751
7322
else
8752
7323
  pkg_failed=yes
8758
7329
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
8759
7330
 elif test -n "$PKG_CONFIG"; then
8760
7331
    if test -n "$PKG_CONFIG" && \
8761
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\"") >&5
 
7332
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
8762
7333
  ($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
8763
7334
  ac_status=$?
8764
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765
 
  (exit $ac_status); }; then
 
7335
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7336
  test $ac_status = 0; }; then
8766
7337
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul < 1.9.2" 2>/dev/null`
8767
7338
else
8768
7339
  pkg_failed=yes
8788
7359
        # Put the nasty error message in config.log where it belongs
8789
7360
        echo "$GECKO_PKG_ERRORS" >&5
8790
7361
 
8791
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
7362
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8792
7363
$as_echo "no" >&6; }
8793
 
                { $as_echo "$as_me:$LINENO: WARNING: libxul < 1.9.2 not found, trying another" >&5
 
7364
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
8794
7365
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
8795
7366
elif test $pkg_failed = untried; then
8796
 
        { $as_echo "$as_me:$LINENO: WARNING: libxul < 1.9.2 not found, trying another" >&5
 
7367
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
8797
7368
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
8798
7369
else
8799
7370
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
8800
7371
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
8801
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7372
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8802
7373
$as_echo "yes" >&6; }
8803
 
         { $as_echo "$as_me:$LINENO: Using libxul < 1.9.2" >&5
 
7374
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul < 1.9.2" >&5
8804
7375
$as_echo "$as_me: Using libxul < 1.9.2" >&6;}
8805
7376
 
8806
7377
fi
8808
7379
if test "$GECKO_CFLAGS" = ""; then
8809
7380
 
8810
7381
pkg_failed=no
8811
 
{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
 
7382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
8812
7383
$as_echo_n "checking for GECKO... " >&6; }
8813
7384
 
8814
7385
if test -n "$GECKO_CFLAGS"; then
8815
7386
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
8816
7387
 elif test -n "$PKG_CONFIG"; then
8817
7388
    if test -n "$PKG_CONFIG" && \
8818
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\"") >&5
 
7389
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
8819
7390
  ($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
8820
7391
  ac_status=$?
8821
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822
 
  (exit $ac_status); }; then
 
7392
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7393
  test $ac_status = 0; }; then
8823
7394
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 1.9.2" 2>/dev/null`
8824
7395
else
8825
7396
  pkg_failed=yes
8831
7402
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
8832
7403
 elif test -n "$PKG_CONFIG"; then
8833
7404
    if test -n "$PKG_CONFIG" && \
8834
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\"") >&5
 
7405
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
8835
7406
  ($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
8836
7407
  ac_status=$?
8837
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838
 
  (exit $ac_status); }; then
 
7408
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7409
  test $ac_status = 0; }; then
8839
7410
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 1.9.2" 2>/dev/null`
8840
7411
else
8841
7412
  pkg_failed=yes
8861
7432
        # Put the nasty error message in config.log where it belongs
8862
7433
        echo "$GECKO_PKG_ERRORS" >&5
8863
7434
 
8864
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
7435
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8865
7436
$as_echo "no" >&6; }
8866
 
                { $as_echo "$as_me:$LINENO: libxul >= 1.9.2 not found, trying another" >&5
 
7437
                { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
8867
7438
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
8868
7439
elif test $pkg_failed = untried; then
8869
 
        { $as_echo "$as_me:$LINENO: libxul >= 1.9.2 not found, trying another" >&5
 
7440
        { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
8870
7441
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
8871
7442
else
8872
7443
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
8873
7444
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
8874
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7445
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8875
7446
$as_echo "yes" >&6; }
8876
7447
 
8877
 
cat >>confdefs.h <<\_ACEOF
8878
 
#define HAVE_NEW_XULRUNNER 1
8879
 
_ACEOF
8880
 
 { $as_echo "$as_me:$LINENO: Using libxul >= 1.9.2" >&5
 
7448
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
 
7449
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 1.9.2" >&5
8881
7450
$as_echo "$as_me: Using libxul >= 1.9.2" >&6;}
8882
7451
 
8883
7452
fi
8886
7455
if test "$GECKO_CFLAGS" = ""; then
8887
7456
 
8888
7457
pkg_failed=no
8889
 
{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
 
7458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
8890
7459
$as_echo_n "checking for GECKO... " >&6; }
8891
7460
 
8892
7461
if test -n "$GECKO_CFLAGS"; then
8893
7462
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
8894
7463
 elif test -n "$PKG_CONFIG"; then
8895
7464
    if test -n "$PKG_CONFIG" && \
8896
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\"") >&5
 
7465
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
8897
7466
  ($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
8898
7467
  ac_status=$?
8899
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900
 
  (exit $ac_status); }; then
 
7468
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7469
  test $ac_status = 0; }; then
8901
7470
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul-unstable" 2>/dev/null`
8902
7471
else
8903
7472
  pkg_failed=yes
8909
7478
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
8910
7479
 elif test -n "$PKG_CONFIG"; then
8911
7480
    if test -n "$PKG_CONFIG" && \
8912
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\"") >&5
 
7481
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
8913
7482
  ($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
8914
7483
  ac_status=$?
8915
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916
 
  (exit $ac_status); }; then
 
7484
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7485
  test $ac_status = 0; }; then
8917
7486
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul-unstable" 2>/dev/null`
8918
7487
else
8919
7488
  pkg_failed=yes
8939
7508
        # Put the nasty error message in config.log where it belongs
8940
7509
        echo "$GECKO_PKG_ERRORS" >&5
8941
7510
 
8942
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
7511
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8943
7512
$as_echo "no" >&6; }
8944
 
                { $as_echo "$as_me:$LINENO: WARNING: libxul-unstable not found, trying another" >&5
 
7513
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
8945
7514
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
8946
7515
elif test $pkg_failed = untried; then
8947
 
        { $as_echo "$as_me:$LINENO: WARNING: libxul-unstable not found, trying another" >&5
 
7516
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
8948
7517
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
8949
7518
else
8950
7519
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
8951
7520
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
8952
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7521
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8953
7522
$as_echo "yes" >&6; }
8954
 
         { $as_echo "$as_me:$LINENO: Using libxul-unstable" >&5
 
7523
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul-unstable" >&5
8955
7524
$as_echo "$as_me: Using libxul-unstable" >&6;}
8956
7525
 
8957
7526
fi
8960
7529
if test "$GECKO_CFLAGS" = ""; then
8961
7530
 
8962
7531
pkg_failed=no
8963
 
{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
 
7532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
8964
7533
$as_echo_n "checking for GECKO... " >&6; }
8965
7534
 
8966
7535
if test -n "$GECKO_CFLAGS"; then
8967
7536
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
8968
7537
 elif test -n "$PKG_CONFIG"; then
8969
7538
    if test -n "$PKG_CONFIG" && \
8970
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\"") >&5
 
7539
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
8971
7540
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
8972
7541
  ac_status=$?
8973
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974
 
  (exit $ac_status); }; then
 
7542
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7543
  test $ac_status = 0; }; then
8975
7544
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin mozilla-xpcom" 2>/dev/null`
8976
7545
else
8977
7546
  pkg_failed=yes
8983
7552
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
8984
7553
 elif test -n "$PKG_CONFIG"; then
8985
7554
    if test -n "$PKG_CONFIG" && \
8986
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\"") >&5
 
7555
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
8987
7556
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
8988
7557
  ac_status=$?
8989
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990
 
  (exit $ac_status); }; then
 
7558
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7559
  test $ac_status = 0; }; then
8991
7560
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin mozilla-xpcom" 2>/dev/null`
8992
7561
else
8993
7562
  pkg_failed=yes
9013
7582
        # Put the nasty error message in config.log where it belongs
9014
7583
        echo "$GECKO_PKG_ERRORS" >&5
9015
7584
 
9016
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
7585
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9017
7586
$as_echo "no" >&6; }
9018
 
                { $as_echo "$as_me:$LINENO: WARNING: mozilla-plugin not found, trying another" >&5
 
7587
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
9019
7588
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
9020
7589
elif test $pkg_failed = untried; then
9021
 
        { $as_echo "$as_me:$LINENO: WARNING: mozilla-plugin not found, trying another" >&5
 
7590
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
9022
7591
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
9023
7592
else
9024
7593
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
9025
7594
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
9026
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7595
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9027
7596
$as_echo "yes" >&6; }
9028
 
         { $as_echo "$as_me:$LINENO: Using mozilla" >&5
 
7597
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using mozilla" >&5
9029
7598
$as_echo "$as_me: Using mozilla" >&6;}
9030
7599
 
9031
7600
fi
9034
7603
if test "$GECKO_CFLAGS" = ""; then
9035
7604
 
9036
7605
pkg_failed=no
9037
 
{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
 
7606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
9038
7607
$as_echo_n "checking for GECKO... " >&6; }
9039
7608
 
9040
7609
if test -n "$GECKO_CFLAGS"; then
9041
7610
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
9042
7611
 elif test -n "$PKG_CONFIG"; then
9043
7612
    if test -n "$PKG_CONFIG" && \
9044
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\"") >&5
 
7613
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
9045
7614
  ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
9046
7615
  ac_status=$?
9047
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048
 
  (exit $ac_status); }; then
 
7616
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7617
  test $ac_status = 0; }; then
9049
7618
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom" 2>/dev/null`
9050
7619
else
9051
7620
  pkg_failed=yes
9057
7626
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
9058
7627
 elif test -n "$PKG_CONFIG"; then
9059
7628
    if test -n "$PKG_CONFIG" && \
9060
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\"") >&5
 
7629
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
9061
7630
  ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
9062
7631
  ac_status=$?
9063
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064
 
  (exit $ac_status); }; then
 
7632
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7633
  test $ac_status = 0; }; then
9065
7634
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom" 2>/dev/null`
9066
7635
else
9067
7636
  pkg_failed=yes
9087
7656
        # Put the nasty error message in config.log where it belongs
9088
7657
        echo "$GECKO_PKG_ERRORS" >&5
9089
7658
 
9090
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
7659
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091
7660
$as_echo "no" >&6; }
9092
 
                { $as_echo "$as_me:$LINENO: WARNING: firefox-plugin not found, trying another" >&5
 
7661
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
9093
7662
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
9094
7663
elif test $pkg_failed = untried; then
9095
 
        { $as_echo "$as_me:$LINENO: WARNING: firefox-plugin not found, trying another" >&5
 
7664
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
9096
7665
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
9097
7666
else
9098
7667
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
9099
7668
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
9100
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7669
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9101
7670
$as_echo "yes" >&6; }
9102
 
         { $as_echo "$as_me:$LINENO: Using firefox" >&5
 
7671
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using firefox" >&5
9103
7672
$as_echo "$as_me: Using firefox" >&6;}
9104
7673
 
9105
7674
fi
9108
7677
if test "$GECKO_CFLAGS" = ""; then
9109
7678
 
9110
7679
pkg_failed=no
9111
 
{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
 
7680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
9112
7681
$as_echo_n "checking for GECKO... " >&6; }
9113
7682
 
9114
7683
if test -n "$GECKO_CFLAGS"; then
9115
7684
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
9116
7685
 elif test -n "$PKG_CONFIG"; then
9117
7686
    if test -n "$PKG_CONFIG" && \
9118
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\"") >&5
 
7687
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
9119
7688
  ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
9120
7689
  ac_status=$?
9121
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122
 
  (exit $ac_status); }; then
 
7690
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7691
  test $ac_status = 0; }; then
9123
7692
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
9124
7693
else
9125
7694
  pkg_failed=yes
9131
7700
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
9132
7701
 elif test -n "$PKG_CONFIG"; then
9133
7702
    if test -n "$PKG_CONFIG" && \
9134
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\"") >&5
 
7703
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
9135
7704
  ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
9136
7705
  ac_status=$?
9137
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138
 
  (exit $ac_status); }; then
 
7706
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7707
  test $ac_status = 0; }; then
9139
7708
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
9140
7709
else
9141
7710
  pkg_failed=yes
9161
7730
        # Put the nasty error message in config.log where it belongs
9162
7731
        echo "$GECKO_PKG_ERRORS" >&5
9163
7732
 
9164
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
7733
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9165
7734
$as_echo "no" >&6; }
9166
 
                { $as_echo "$as_me:$LINENO: WARNING: seamokey-plugin not found, trying another" >&5
 
7735
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
9167
7736
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
9168
7737
elif test $pkg_failed = untried; then
9169
 
        { $as_echo "$as_me:$LINENO: WARNING: seamokey-plugin not found, trying another" >&5
 
7738
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
9170
7739
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
9171
7740
else
9172
7741
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
9173
7742
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
9174
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7743
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9175
7744
$as_echo "yes" >&6; }
9176
 
         { $as_echo "$as_me:$LINENO: Using seamonkey" >&5
 
7745
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using seamonkey" >&5
9177
7746
$as_echo "$as_me: Using seamonkey" >&6;}
9178
7747
 
9179
7748
fi
9182
7751
if test "$GECKO_CFLAGS" = ""; then
9183
7752
 
9184
7753
pkg_failed=no
9185
 
{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
 
7754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
9186
7755
$as_echo_n "checking for GECKO... " >&6; }
9187
7756
 
9188
7757
if test -n "$GECKO_CFLAGS"; then
9189
7758
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
9190
7759
 elif test -n "$PKG_CONFIG"; then
9191
7760
    if test -n "$PKG_CONFIG" && \
9192
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\"") >&5
 
7761
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
9193
7762
  ($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
9194
7763
  ac_status=$?
9195
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196
 
  (exit $ac_status); }; then
 
7764
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7765
  test $ac_status = 0; }; then
9197
7766
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
9198
7767
else
9199
7768
  pkg_failed=yes
9205
7774
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
9206
7775
 elif test -n "$PKG_CONFIG"; then
9207
7776
    if test -n "$PKG_CONFIG" && \
9208
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\"") >&5
 
7777
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
9209
7778
  ($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
9210
7779
  ac_status=$?
9211
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212
 
  (exit $ac_status); }; then
 
7780
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7781
  test $ac_status = 0; }; then
9213
7782
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
9214
7783
else
9215
7784
  pkg_failed=yes
9235
7804
        # Put the nasty error message in config.log where it belongs
9236
7805
        echo "$GECKO_PKG_ERRORS" >&5
9237
7806
 
9238
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
7807
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9239
7808
$as_echo "no" >&6; }
9240
 
                { $as_echo "$as_me:$LINENO: WARNING: xulrunner-plugin not found, trying another" >&5
 
7809
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
9241
7810
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
9242
7811
elif test $pkg_failed = untried; then
9243
 
        { $as_echo "$as_me:$LINENO: WARNING: xulrunner-plugin not found, trying another" >&5
 
7812
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
9244
7813
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
9245
7814
else
9246
7815
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
9247
7816
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
9248
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7817
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9249
7818
$as_echo "yes" >&6; }
9250
 
         { $as_echo "$as_me:$LINENO: Using xulrunner" >&5
 
7819
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using xulrunner" >&5
9251
7820
$as_echo "$as_me: Using xulrunner" >&6;}
9252
7821
 
9253
7822
fi
9256
7825
if test "$GECKO_CFLAGS" = ""; then
9257
7826
 
9258
7827
pkg_failed=no
9259
 
{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
 
7828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
9260
7829
$as_echo_n "checking for GECKO... " >&6; }
9261
7830
 
9262
7831
if test -n "$GECKO_CFLAGS"; then
9263
7832
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
9264
7833
 elif test -n "$PKG_CONFIG"; then
9265
7834
    if test -n "$PKG_CONFIG" && \
9266
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\"") >&5
 
7835
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
9267
7836
  ($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
9268
7837
  ac_status=$?
9269
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270
 
  (exit $ac_status); }; then
 
7838
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7839
  test $ac_status = 0; }; then
9271
7840
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom" 2>/dev/null`
9272
7841
else
9273
7842
  pkg_failed=yes
9279
7848
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
9280
7849
 elif test -n "$PKG_CONFIG"; then
9281
7850
    if test -n "$PKG_CONFIG" && \
9282
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\"") >&5
 
7851
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
9283
7852
  ($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
9284
7853
  ac_status=$?
9285
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286
 
  (exit $ac_status); }; then
 
7854
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7855
  test $ac_status = 0; }; then
9287
7856
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom" 2>/dev/null`
9288
7857
else
9289
7858
  pkg_failed=yes
9309
7878
        # Put the nasty error message in config.log where it belongs
9310
7879
        echo "$GECKO_PKG_ERRORS" >&5
9311
7880
 
9312
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
7881
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9313
7882
$as_echo "no" >&6; }
9314
 
                { $as_echo "$as_me:$LINENO: WARNING: iceape-plugin not found, trying another" >&5
 
7883
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
9315
7884
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
9316
7885
elif test $pkg_failed = untried; then
9317
 
        { $as_echo "$as_me:$LINENO: WARNING: iceape-plugin not found, trying another" >&5
 
7886
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
9318
7887
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
9319
7888
else
9320
7889
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
9321
7890
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
9322
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7891
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9323
7892
$as_echo "yes" >&6; }
9324
 
         { $as_echo "$as_me:$LINENO: Using iceape" >&5
 
7893
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using iceape" >&5
9325
7894
$as_echo "$as_me: Using iceape" >&6;}
9326
7895
 
9327
7896
fi
9329
7898
 
9330
7899
 
9331
7900
pkg_failed=no
9332
 
{ $as_echo "$as_me:$LINENO: checking for NSPR" >&5
 
7901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5
9333
7902
$as_echo_n "checking for NSPR... " >&6; }
9334
7903
 
9335
7904
if test -n "$NSPR_CFLAGS"; then
9336
7905
    pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS"
9337
7906
 elif test -n "$PKG_CONFIG"; then
9338
7907
    if test -n "$PKG_CONFIG" && \
9339
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nspr\"") >&5
 
7908
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr\""; } >&5
9340
7909
  ($PKG_CONFIG --exists --print-errors "nspr") 2>&5
9341
7910
  ac_status=$?
9342
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343
 
  (exit $ac_status); }; then
 
7911
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7912
  test $ac_status = 0; }; then
9344
7913
  pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr" 2>/dev/null`
9345
7914
else
9346
7915
  pkg_failed=yes
9352
7921
    pkg_cv_NSPR_LIBS="$NSPR_LIBS"
9353
7922
 elif test -n "$PKG_CONFIG"; then
9354
7923
    if test -n "$PKG_CONFIG" && \
9355
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nspr\"") >&5
 
7924
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr\""; } >&5
9356
7925
  ($PKG_CONFIG --exists --print-errors "nspr") 2>&5
9357
7926
  ac_status=$?
9358
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359
 
  (exit $ac_status); }; then
 
7927
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7928
  test $ac_status = 0; }; then
9360
7929
  pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr" 2>/dev/null`
9361
7930
else
9362
7931
  pkg_failed=yes
9382
7951
        # Put the nasty error message in config.log where it belongs
9383
7952
        echo "$NSPR_PKG_ERRORS" >&5
9384
7953
 
9385
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
7954
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9386
7955
$as_echo "no" >&6; }
9387
 
                { $as_echo "$as_me:$LINENO: WARNING: nspr not found, may not be needed" >&5
 
7956
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
9388
7957
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
9389
7958
elif test $pkg_failed = untried; then
9390
 
        { $as_echo "$as_me:$LINENO: WARNING: nspr not found, may not be needed" >&5
 
7959
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
9391
7960
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
9392
7961
else
9393
7962
        NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS
9394
7963
        NSPR_LIBS=$pkg_cv_NSPR_LIBS
9395
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
7964
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9396
7965
$as_echo "yes" >&6; }
9397
7966
 
9398
7967
    libdir=`$PKG_CONFIG --variable=libdir nspr`
9406
7975
 
9407
7976
 
9408
7977
pkg_failed=no
9409
 
{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5
 
7978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
9410
7979
$as_echo_n "checking for DBUS... " >&6; }
9411
7980
 
9412
7981
if test -n "$DBUS_CFLAGS"; then
9413
7982
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
9414
7983
 elif test -n "$PKG_CONFIG"; then
9415
7984
    if test -n "$PKG_CONFIG" && \
9416
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\"") >&5
 
7985
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\""; } >&5
9417
7986
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70") 2>&5
9418
7987
  ac_status=$?
9419
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420
 
  (exit $ac_status); }; then
 
7988
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7989
  test $ac_status = 0; }; then
9421
7990
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
9422
7991
else
9423
7992
  pkg_failed=yes
9429
7998
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
9430
7999
 elif test -n "$PKG_CONFIG"; then
9431
8000
    if test -n "$PKG_CONFIG" && \
9432
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\"") >&5
 
8001
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\""; } >&5
9433
8002
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70") 2>&5
9434
8003
  ac_status=$?
9435
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436
 
  (exit $ac_status); }; then
 
8004
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8005
  test $ac_status = 0; }; then
9437
8006
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
9438
8007
else
9439
8008
  pkg_failed=yes
9459
8028
        # Put the nasty error message in config.log where it belongs
9460
8029
        echo "$DBUS_PKG_ERRORS" >&5
9461
8030
 
9462
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-1 >= 0.95 dbus-glib-1 >= 0.70) were not met:
9463
 
 
9464
 
$DBUS_PKG_ERRORS
9465
 
 
9466
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
9467
 
installed software in a non-standard prefix.
9468
 
 
9469
 
Alternatively, you may set the environment variables DBUS_CFLAGS
9470
 
and DBUS_LIBS to avoid the need to call pkg-config.
9471
 
See the pkg-config man page for more details.
9472
 
" >&5
9473
 
$as_echo "$as_me: error: Package requirements (dbus-1 >= 0.95 dbus-glib-1 >= 0.70) were not met:
9474
 
 
9475
 
$DBUS_PKG_ERRORS
9476
 
 
9477
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
9478
 
installed software in a non-standard prefix.
9479
 
 
9480
 
Alternatively, you may set the environment variables DBUS_CFLAGS
9481
 
and DBUS_LIBS to avoid the need to call pkg-config.
9482
 
See the pkg-config man page for more details.
9483
 
" >&2;}
9484
 
   { (exit 1); exit 1; }; }
 
8031
        as_fn_error "Package requirements (dbus-1 >= 0.95 dbus-glib-1 >= 0.70) were not met:
 
8032
 
 
8033
$DBUS_PKG_ERRORS
 
8034
 
 
8035
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
8036
installed software in a non-standard prefix.
 
8037
 
 
8038
Alternatively, you may set the environment variables DBUS_CFLAGS
 
8039
and DBUS_LIBS to avoid the need to call pkg-config.
 
8040
See the pkg-config man page for more details.
 
8041
" "$LINENO" 5
9485
8042
elif test $pkg_failed = untried; then
9486
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
8043
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9487
8044
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9488
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
9489
 
is in your PATH or set the PKG_CONFIG environment variable to the full
9490
 
path to pkg-config.
9491
 
 
9492
 
Alternatively, you may set the environment variables DBUS_CFLAGS
9493
 
and DBUS_LIBS to avoid the need to call pkg-config.
9494
 
See the pkg-config man page for more details.
9495
 
 
9496
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9497
 
See \`config.log' for more details." >&5
9498
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
9499
 
is in your PATH or set the PKG_CONFIG environment variable to the full
9500
 
path to pkg-config.
9501
 
 
9502
 
Alternatively, you may set the environment variables DBUS_CFLAGS
9503
 
and DBUS_LIBS to avoid the need to call pkg-config.
9504
 
See the pkg-config man page for more details.
9505
 
 
9506
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9507
 
See \`config.log' for more details." >&2;}
9508
 
   { (exit 1); exit 1; }; }; }
 
8045
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
8046
is in your PATH or set the PKG_CONFIG environment variable to the full
 
8047
path to pkg-config.
 
8048
 
 
8049
Alternatively, you may set the environment variables DBUS_CFLAGS
 
8050
and DBUS_LIBS to avoid the need to call pkg-config.
 
8051
See the pkg-config man page for more details.
 
8052
 
 
8053
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
8054
See \`config.log' for more details." "$LINENO" 5; }
9509
8055
else
9510
8056
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
9511
8057
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
9512
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8058
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9513
8059
$as_echo "yes" >&6; }
9514
8060
        :
9515
8061
fi
9518
8064
 
9519
8065
 
9520
8066
# Check whether --with-gconf was given.
9521
 
if test "${with_gconf+set}" = set; then
 
8067
if test "${with_gconf+set}" = set; then :
9522
8068
  withval=$with_gconf;  if false; then
9523
8069
  GCONF_SCHEMAS_INSTALL_TRUE=
9524
8070
  GCONF_SCHEMAS_INSTALL_FALSE='#'
9531
8077
  with_gconf=check
9532
8078
fi
9533
8079
 
9534
 
if test "x$with_gconf" != xno; then
 
8080
if test "x$with_gconf" != xno; then :
9535
8081
 
9536
8082
pkg_failed=no
9537
 
{ $as_echo "$as_me:$LINENO: checking for GCONF" >&5
 
8083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
9538
8084
$as_echo_n "checking for GCONF... " >&6; }
9539
8085
 
9540
8086
if test -n "$GCONF_CFLAGS"; then
9541
8087
    pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
9542
8088
 elif test -n "$PKG_CONFIG"; then
9543
8089
    if test -n "$PKG_CONFIG" && \
9544
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
 
8090
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
9545
8091
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
9546
8092
  ac_status=$?
9547
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548
 
  (exit $ac_status); }; then
 
8093
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8094
  test $ac_status = 0; }; then
9549
8095
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
9550
8096
else
9551
8097
  pkg_failed=yes
9557
8103
    pkg_cv_GCONF_LIBS="$GCONF_LIBS"
9558
8104
 elif test -n "$PKG_CONFIG"; then
9559
8105
    if test -n "$PKG_CONFIG" && \
9560
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
 
8106
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
9561
8107
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
9562
8108
  ac_status=$?
9563
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564
 
  (exit $ac_status); }; then
 
8109
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8110
  test $ac_status = 0; }; then
9565
8111
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
9566
8112
else
9567
8113
  pkg_failed=yes
9587
8133
        # Put the nasty error message in config.log where it belongs
9588
8134
        echo "$GCONF_PKG_ERRORS" >&5
9589
8135
 
9590
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
8136
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9591
8137
$as_echo "no" >&6; }
9592
8138
                 if false; then
9593
8139
  GCONF_SCHEMAS_INSTALL_TRUE=
9596
8142
  GCONF_SCHEMAS_INSTALL_TRUE='#'
9597
8143
  GCONF_SCHEMAS_INSTALL_FALSE=
9598
8144
fi
9599
 
 { $as_echo "$as_me:$LINENO: Using keystore for preferences" >&5
 
8145
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
9600
8146
$as_echo "$as_me: Using keystore for preferences" >&6;}
9601
8147
elif test $pkg_failed = untried; then
9602
8148
         if false; then
9606
8152
  GCONF_SCHEMAS_INSTALL_TRUE='#'
9607
8153
  GCONF_SCHEMAS_INSTALL_FALSE=
9608
8154
fi
9609
 
 { $as_echo "$as_me:$LINENO: Using keystore for preferences" >&5
 
8155
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
9610
8156
$as_echo "$as_me: Using keystore for preferences" >&6;}
9611
8157
else
9612
8158
        GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
9613
8159
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
9614
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8160
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9615
8161
$as_echo "yes" >&6; }
9616
8162
 
9617
8163
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
9622
8168
 
9623
8169
 
9624
8170
# Check whether --with-gconf-source was given.
9625
 
if test "${with_gconf_source+set}" = set; then
 
8171
if test "${with_gconf_source+set}" = set; then :
9626
8172
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
9627
8173
fi
9628
8174
 
9629
8175
 
9630
8176
 
9631
 
  { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
 
8177
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
9632
8178
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
9633
8179
 
9634
8180
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
9637
8183
 
9638
8184
 
9639
8185
# Check whether --with-gconf-schema-file-dir was given.
9640
 
if test "${with_gconf_schema_file_dir+set}" = set; then
 
8186
if test "${with_gconf_schema_file_dir+set}" = set; then :
9641
8187
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
9642
8188
fi
9643
8189
 
9644
8190
 
9645
8191
 
9646
 
  { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
 
8192
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
9647
8193
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
9648
8194
 
9649
8195
  # Check whether --enable-schemas-install was given.
9650
 
if test "${enable_schemas_install+set}" = set; then
 
8196
if test "${enable_schemas_install+set}" = set; then :
9651
8197
  enableval=$enable_schemas_install; case ${enableval} in
9652
8198
       yes|no) ;;
9653
 
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
9654
 
$as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
9655
 
   { (exit 1); exit 1; }; } ;;
 
8199
       *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
9656
8200
      esac
9657
8201
fi
9658
8202
 
9666
8210
 
9667
8211
 
9668
8212
 GCONF_DEFINES="-DHAVE_GCONF"
9669
 
cat >>confdefs.h <<\_ACEOF
9670
 
#define HAVE_GCONF 1
9671
 
_ACEOF
9672
 
 
9673
 
fi
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
fi
9679
 
 
 
8213
$as_echo "#define HAVE_GCONF 1" >>confdefs.h
 
8214
 
 
8215
fi
 
8216
 
 
8217
 
 
8218
 
 
8219
 
 
8220
fi
9680
8221
 
9681
8222
 
9682
8223
# Check whether --with-gio was given.
9683
 
if test "${with_gio+set}" = set; then
 
8224
if test "${with_gio+set}" = set; then :
9684
8225
  withval=$with_gio;
9685
8226
else
9686
8227
  with_gio=check
9687
8228
fi
9688
8229
 
9689
 
if test "x$with_gio" != xno; then
 
8230
if test "x$with_gio" != xno; then :
9690
8231
 
9691
8232
pkg_failed=no
9692
 
{ $as_echo "$as_me:$LINENO: checking for GIO" >&5
 
8233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
9693
8234
$as_echo_n "checking for GIO... " >&6; }
9694
8235
 
9695
8236
if test -n "$GIO_CFLAGS"; then
9696
8237
    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
9697
8238
 elif test -n "$PKG_CONFIG"; then
9698
8239
    if test -n "$PKG_CONFIG" && \
9699
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gio-2.0\"") >&5
 
8240
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
9700
8241
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
9701
8242
  ac_status=$?
9702
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703
 
  (exit $ac_status); }; then
 
8243
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8244
  test $ac_status = 0; }; then
9704
8245
  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
9705
8246
else
9706
8247
  pkg_failed=yes
9712
8253
    pkg_cv_GIO_LIBS="$GIO_LIBS"
9713
8254
 elif test -n "$PKG_CONFIG"; then
9714
8255
    if test -n "$PKG_CONFIG" && \
9715
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gio-2.0\"") >&5
 
8256
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
9716
8257
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
9717
8258
  ac_status=$?
9718
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719
 
  (exit $ac_status); }; then
 
8259
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8260
  test $ac_status = 0; }; then
9720
8261
  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
9721
8262
else
9722
8263
  pkg_failed=yes
9742
8283
        # Put the nasty error message in config.log where it belongs
9743
8284
        echo "$GIO_PKG_ERRORS" >&5
9744
8285
 
9745
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
8286
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9746
8287
$as_echo "no" >&6; }
9747
 
                { $as_echo "$as_me:$LINENO: WARNING: Compiling without gio support" >&5
 
8288
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
9748
8289
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
9749
8290
elif test $pkg_failed = untried; then
9750
 
        { $as_echo "$as_me:$LINENO: WARNING: Compiling without gio support" >&5
 
8291
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
9751
8292
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
9752
8293
else
9753
8294
        GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
9754
8295
        GIO_LIBS=$pkg_cv_GIO_LIBS
9755
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
8296
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9756
8297
$as_echo "yes" >&6; }
9757
8298
        GIO_DEFINES="-DGIO_ENABLED"
9758
 
cat >>confdefs.h <<\_ACEOF
9759
 
#define GIO_ENABLED 1
9760
 
_ACEOF
9761
 
 
9762
 
fi
9763
 
 
9764
 
 
9765
 
 
9766
 
 
9767
 
fi
9768
 
 
 
8299
$as_echo "#define GIO_ENABLED 1" >>confdefs.h
 
8300
 
 
8301
fi
 
8302
 
 
8303
 
 
8304
 
 
8305
 
 
8306
fi
9769
8307
 
9770
8308
 
9771
8309
# Check whether --with-plugin_dir was given.
9772
 
if test "${with_plugin_dir+set}" = set; then
 
8310
if test "${with_plugin_dir+set}" = set; then :
9773
8311
  withval=$with_plugin_dir; plugindir=$withval
9774
8312
else
9775
8313
  plugindir='$(libdir)/mozilla/plugins'
9778
8316
 
9779
8317
 
9780
8318
# Check whether --enable-caching was given.
9781
 
if test "${enable_caching+set}" = set; then
 
8319
if test "${enable_caching+set}" = set; then :
9782
8320
  enableval=$enable_caching; usecache=$enableval
9783
8321
else
9784
8322
  usecache=yes
9820
8358
    case $ac_val in #(
9821
8359
    *${as_nl}*)
9822
8360
      case $ac_var in #(
9823
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
8361
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9824
8362
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9825
8363
      esac
9826
8364
      case $ac_var in #(
9827
8365
      _ | IFS | as_nl) ;; #(
9828
8366
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9829
 
      *) $as_unset $ac_var ;;
 
8367
      *) { eval $ac_var=; unset $ac_var;} ;;
9830
8368
      esac ;;
9831
8369
    esac
9832
8370
  done
9834
8372
  (set) 2>&1 |
9835
8373
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9836
8374
    *${as_nl}ac_space=\ *)
9837
 
      # `set' does not quote correctly, so add quotes (double-quote
9838
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
8375
      # `set' does not quote correctly, so add quotes: double-quote
 
8376
      # substitution turns \\\\ into \\, and sed turns \\ into \.
9839
8377
      sed -n \
9840
8378
        "s/'/'\\\\''/g;
9841
8379
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9858
8396
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9859
8397
  if test -w "$cache_file"; then
9860
8398
    test "x$cache_file" != "x/dev/null" &&
9861
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
8399
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9862
8400
$as_echo "$as_me: updating cache $cache_file" >&6;}
9863
8401
    cat confcache >$cache_file
9864
8402
  else
9865
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
8403
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9866
8404
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9867
8405
  fi
9868
8406
fi
9882
8420
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9883
8421
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9884
8422
  #    will be set to the directory where LIBOBJS objects are built.
9885
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9886
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
8423
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
8424
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9887
8425
done
9888
8426
LIBOBJS=$ac_libobjs
9889
8427
 
9899
8437
fi
9900
8438
 
9901
8439
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9902
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
9903
 
Usually this means the macro was only invoked conditionally." >&5
9904
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
9905
 
Usually this means the macro was only invoked conditionally." >&2;}
9906
 
   { (exit 1); exit 1; }; }
 
8440
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
8441
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9907
8442
fi
9908
8443
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9909
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9910
 
Usually this means the macro was only invoked conditionally." >&5
9911
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
9912
 
Usually this means the macro was only invoked conditionally." >&2;}
9913
 
   { (exit 1); exit 1; }; }
9914
 
fi
9915
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9916
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9917
 
Usually this means the macro was only invoked conditionally." >&5
9918
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9919
 
Usually this means the macro was only invoked conditionally." >&2;}
9920
 
   { (exit 1); exit 1; }; }
9921
 
fi
9922
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9923
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9924
 
Usually this means the macro was only invoked conditionally." >&5
9925
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9926
 
Usually this means the macro was only invoked conditionally." >&2;}
9927
 
   { (exit 1); exit 1; }; }
9928
 
fi
9929
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9930
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9931
 
Usually this means the macro was only invoked conditionally." >&5
9932
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9933
 
Usually this means the macro was only invoked conditionally." >&2;}
9934
 
   { (exit 1); exit 1; }; }
 
8444
  as_fn_error "conditional \"AMDEP\" was never defined.
 
8445
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8446
fi
 
8447
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
8448
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
8449
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8450
fi
 
8451
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
8452
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
8453
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8454
fi
 
8455
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
8456
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
8457
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9935
8458
fi
9936
8459
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9937
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9938
 
Usually this means the macro was only invoked conditionally." >&5
9939
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
9940
 
Usually this means the macro was only invoked conditionally." >&2;}
9941
 
   { (exit 1); exit 1; }; }
9942
 
fi
9943
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
9944
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9945
 
Usually this means the macro was only invoked conditionally." >&5
9946
 
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9947
 
Usually this means the macro was only invoked conditionally." >&2;}
9948
 
   { (exit 1); exit 1; }; }
9949
 
fi
9950
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
9951
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9952
 
Usually this means the macro was only invoked conditionally." >&5
9953
 
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9954
 
Usually this means the macro was only invoked conditionally." >&2;}
9955
 
   { (exit 1); exit 1; }; }
9956
 
fi
9957
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
9958
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9959
 
Usually this means the macro was only invoked conditionally." >&5
9960
 
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9961
 
Usually this means the macro was only invoked conditionally." >&2;}
9962
 
   { (exit 1); exit 1; }; }
9963
 
fi
9964
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
9965
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9966
 
Usually this means the macro was only invoked conditionally." >&5
9967
 
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9968
 
Usually this means the macro was only invoked conditionally." >&2;}
9969
 
   { (exit 1); exit 1; }; }
 
8460
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
8461
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8462
fi
 
8463
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
8464
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
8465
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8466
fi
 
8467
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
8468
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
8469
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8470
fi
 
8471
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
8472
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
8473
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8474
fi
 
8475
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
8476
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
8477
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9970
8478
fi
9971
8479
 
9972
8480
: ${CONFIG_STATUS=./config.status}
9973
8481
ac_write_fail=0
9974
8482
ac_clean_files_save=$ac_clean_files
9975
8483
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9976
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
8484
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9977
8485
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9978
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8486
as_write_fail=0
 
8487
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9979
8488
#! $SHELL
9980
8489
# Generated by $as_me.
9981
8490
# Run this file to recreate the current configuration.
9985
8494
debug=false
9986
8495
ac_cs_recheck=false
9987
8496
ac_cs_silent=false
 
8497
 
9988
8498
SHELL=\${CONFIG_SHELL-$SHELL}
9989
 
_ACEOF
9990
 
 
9991
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9992
 
## --------------------- ##
9993
 
## M4sh Initialization.  ##
9994
 
## --------------------- ##
 
8499
export SHELL
 
8500
_ASEOF
 
8501
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
8502
## -------------------- ##
 
8503
## M4sh Initialization. ##
 
8504
## -------------------- ##
9995
8505
 
9996
8506
# Be more Bourne compatible
9997
8507
DUALCASE=1; export DUALCASE # for MKS sh
9998
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
8508
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9999
8509
  emulate sh
10000
8510
  NULLCMD=:
10001
8511
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10003
8513
  alias -g '${1+"$@"}'='"$@"'
10004
8514
  setopt NO_GLOB_SUBST
10005
8515
else
10006
 
  case `(set -o) 2>/dev/null` in
10007
 
  *posix*) set -o posix ;;
 
8516
  case `(set -o) 2>/dev/null` in #(
 
8517
  *posix*) :
 
8518
    set -o posix ;; #(
 
8519
  *) :
 
8520
     ;;
10008
8521
esac
10009
 
 
10010
8522
fi
10011
8523
 
10012
8524
 
10013
 
 
10014
 
 
10015
 
# PATH needs CR
10016
 
# Avoid depending upon Character Ranges.
10017
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10018
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10019
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10020
 
as_cr_digits='0123456789'
10021
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
10022
 
 
10023
8525
as_nl='
10024
8526
'
10025
8527
export as_nl
10027
8529
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10028
8530
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10029
8531
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10030
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
8532
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
8533
# but without wasting forks for bash or zsh.
 
8534
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
8535
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
8536
  as_echo='print -r --'
 
8537
  as_echo_n='print -rn --'
 
8538
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10031
8539
  as_echo='printf %s\n'
10032
8540
  as_echo_n='printf %s'
10033
8541
else
10038
8546
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10039
8547
    as_echo_n_body='eval
10040
8548
      arg=$1;
10041
 
      case $arg in
 
8549
      case $arg in #(
10042
8550
      *"$as_nl"*)
10043
8551
        expr "X$arg" : "X\\(.*\\)$as_nl";
10044
8552
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10061
8569
  }
10062
8570
fi
10063
8571
 
10064
 
# Support unset when possible.
10065
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10066
 
  as_unset=unset
10067
 
else
10068
 
  as_unset=false
10069
 
fi
10070
 
 
10071
8572
 
10072
8573
# IFS
10073
8574
# We need space, tab and new line, in precisely that order.  Quoting is
10077
8578
IFS=" ""        $as_nl"
10078
8579
 
10079
8580
# Find who we are.  Look in the path if we contain no directory separator.
10080
 
case $0 in
 
8581
case $0 in #((
10081
8582
  *[\\/]* ) as_myself=$0 ;;
10082
8583
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10083
8584
for as_dir in $PATH
10084
8585
do
10085
8586
  IFS=$as_save_IFS
10086
8587
  test -z "$as_dir" && as_dir=.
10087
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10088
 
done
 
8588
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
8589
  done
10089
8590
IFS=$as_save_IFS
10090
8591
 
10091
8592
     ;;
10097
8598
fi
10098
8599
if test ! -f "$as_myself"; then
10099
8600
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10100
 
  { (exit 1); exit 1; }
 
8601
  exit 1
10101
8602
fi
10102
8603
 
10103
 
# Work around bugs in pre-3.0 UWIN ksh.
10104
 
for as_var in ENV MAIL MAILPATH
10105
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
8604
# Unset variables that we do not need and which cause bugs (e.g. in
 
8605
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
8606
# suppresses any "Segmentation fault" message there.  '((' could
 
8607
# trigger a bug in pdksh 5.2.14.
 
8608
for as_var in BASH_ENV ENV MAIL MAILPATH
 
8609
do eval test x\${$as_var+set} = xset \
 
8610
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
10106
8611
done
10107
8612
PS1='$ '
10108
8613
PS2='> '
10114
8619
LANGUAGE=C
10115
8620
export LANGUAGE
10116
8621
 
10117
 
# Required to use basename.
 
8622
# CDPATH.
 
8623
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
8624
 
 
8625
 
 
8626
# as_fn_error ERROR [LINENO LOG_FD]
 
8627
# ---------------------------------
 
8628
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
8629
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
8630
# script with status $?, using 1 if that was 0.
 
8631
as_fn_error ()
 
8632
{
 
8633
  as_status=$?; test $as_status -eq 0 && as_status=1
 
8634
  if test "$3"; then
 
8635
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
8636
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
8637
  fi
 
8638
  $as_echo "$as_me: error: $1" >&2
 
8639
  as_fn_exit $as_status
 
8640
} # as_fn_error
 
8641
 
 
8642
 
 
8643
# as_fn_set_status STATUS
 
8644
# -----------------------
 
8645
# Set $? to STATUS, without forking.
 
8646
as_fn_set_status ()
 
8647
{
 
8648
  return $1
 
8649
} # as_fn_set_status
 
8650
 
 
8651
# as_fn_exit STATUS
 
8652
# -----------------
 
8653
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
8654
as_fn_exit ()
 
8655
{
 
8656
  set +e
 
8657
  as_fn_set_status $1
 
8658
  exit $1
 
8659
} # as_fn_exit
 
8660
 
 
8661
# as_fn_unset VAR
 
8662
# ---------------
 
8663
# Portably unset VAR.
 
8664
as_fn_unset ()
 
8665
{
 
8666
  { eval $1=; unset $1;}
 
8667
}
 
8668
as_unset=as_fn_unset
 
8669
# as_fn_append VAR VALUE
 
8670
# ----------------------
 
8671
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
8672
# advantage of any shell optimizations that allow amortized linear growth over
 
8673
# repeated appends, instead of the typical quadratic growth present in naive
 
8674
# implementations.
 
8675
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
8676
  eval 'as_fn_append ()
 
8677
  {
 
8678
    eval $1+=\$2
 
8679
  }'
 
8680
else
 
8681
  as_fn_append ()
 
8682
  {
 
8683
    eval $1=\$$1\$2
 
8684
  }
 
8685
fi # as_fn_append
 
8686
 
 
8687
# as_fn_arith ARG...
 
8688
# ------------------
 
8689
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
8690
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
8691
# must be portable across $(()) and expr.
 
8692
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
8693
  eval 'as_fn_arith ()
 
8694
  {
 
8695
    as_val=$(( $* ))
 
8696
  }'
 
8697
else
 
8698
  as_fn_arith ()
 
8699
  {
 
8700
    as_val=`expr "$@" || test $? -eq 1`
 
8701
  }
 
8702
fi # as_fn_arith
 
8703
 
 
8704
 
10118
8705
if expr a : '\(a\)' >/dev/null 2>&1 &&
10119
8706
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10120
8707
  as_expr=expr
10128
8715
  as_basename=false
10129
8716
fi
10130
8717
 
 
8718
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
8719
  as_dirname=dirname
 
8720
else
 
8721
  as_dirname=false
 
8722
fi
10131
8723
 
10132
 
# Name of the executable.
10133
8724
as_me=`$as_basename -- "$0" ||
10134
8725
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10135
8726
         X"$0" : 'X\(//\)$' \| \
10149
8740
          }
10150
8741
          s/.*/./; q'`
10151
8742
 
10152
 
# CDPATH.
10153
 
$as_unset CDPATH
10154
 
 
10155
 
 
10156
 
 
10157
 
  as_lineno_1=$LINENO
10158
 
  as_lineno_2=$LINENO
10159
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
10160
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10161
 
 
10162
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10163
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
10164
 
  # line-number line after each line using $LINENO; the second 'sed'
10165
 
  # does the real work.  The second script uses 'N' to pair each
10166
 
  # line-number line with the line containing $LINENO, and appends
10167
 
  # trailing '-' during substitution so that $LINENO is not a special
10168
 
  # case at line end.
10169
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10170
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
10171
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
10172
 
  sed -n '
10173
 
    p
10174
 
    /[$]LINENO/=
10175
 
  ' <$as_myself |
10176
 
    sed '
10177
 
      s/[$]LINENO.*/&-/
10178
 
      t lineno
10179
 
      b
10180
 
      :lineno
10181
 
      N
10182
 
      :loop
10183
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10184
 
      t loop
10185
 
      s/-\n.*//
10186
 
    ' >$as_me.lineno &&
10187
 
  chmod +x "$as_me.lineno" ||
10188
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10189
 
   { (exit 1); exit 1; }; }
10190
 
 
10191
 
  # Don't try to exec as it changes $[0], causing all sort of problems
10192
 
  # (the dirname of $[0] is not the place where we might find the
10193
 
  # original and so on.  Autoconf is especially sensitive to this).
10194
 
  . "./$as_me.lineno"
10195
 
  # Exit status is that of the last command.
10196
 
  exit
10197
 
}
10198
 
 
10199
 
 
10200
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10201
 
  as_dirname=dirname
10202
 
else
10203
 
  as_dirname=false
10204
 
fi
 
8743
# Avoid depending upon Character Ranges.
 
8744
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
8745
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
8746
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
8747
as_cr_digits='0123456789'
 
8748
as_cr_alnum=$as_cr_Letters$as_cr_digits
10205
8749
 
10206
8750
ECHO_C= ECHO_N= ECHO_T=
10207
 
case `echo -n x` in
 
8751
case `echo -n x` in #(((((
10208
8752
-n*)
10209
 
  case `echo 'x\c'` in
 
8753
  case `echo 'xy\c'` in
10210
8754
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
10211
 
  *)   ECHO_C='\c';;
 
8755
  xy)  ECHO_C='\c';;
 
8756
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
8757
       ECHO_T=' ';;
10212
8758
  esac;;
10213
8759
*)
10214
8760
  ECHO_N='-n';;
10215
8761
esac
10216
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
10217
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10218
 
  as_expr=expr
10219
 
else
10220
 
  as_expr=false
10221
 
fi
10222
8762
 
10223
8763
rm -f conf$$ conf$$.exe conf$$.file
10224
8764
if test -d conf$$.dir; then
10247
8787
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10248
8788
rmdir conf$$.dir 2>/dev/null
10249
8789
 
 
8790
 
 
8791
# as_fn_mkdir_p
 
8792
# -------------
 
8793
# Create "$as_dir" as a directory, including parents if necessary.
 
8794
as_fn_mkdir_p ()
 
8795
{
 
8796
 
 
8797
  case $as_dir in #(
 
8798
  -*) as_dir=./$as_dir;;
 
8799
  esac
 
8800
  test -d "$as_dir" || eval $as_mkdir_p || {
 
8801
    as_dirs=
 
8802
    while :; do
 
8803
      case $as_dir in #(
 
8804
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
8805
      *) as_qdir=$as_dir;;
 
8806
      esac
 
8807
      as_dirs="'$as_qdir' $as_dirs"
 
8808
      as_dir=`$as_dirname -- "$as_dir" ||
 
8809
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
8810
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
8811
         X"$as_dir" : 'X\(//\)$' \| \
 
8812
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
8813
$as_echo X"$as_dir" |
 
8814
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8815
            s//\1/
 
8816
            q
 
8817
          }
 
8818
          /^X\(\/\/\)[^/].*/{
 
8819
            s//\1/
 
8820
            q
 
8821
          }
 
8822
          /^X\(\/\/\)$/{
 
8823
            s//\1/
 
8824
            q
 
8825
          }
 
8826
          /^X\(\/\).*/{
 
8827
            s//\1/
 
8828
            q
 
8829
          }
 
8830
          s/.*/./; q'`
 
8831
      test -d "$as_dir" && break
 
8832
    done
 
8833
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
8834
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
8835
 
 
8836
 
 
8837
} # as_fn_mkdir_p
10250
8838
if mkdir -p . 2>/dev/null; then
10251
 
  as_mkdir_p=:
 
8839
  as_mkdir_p='mkdir -p "$as_dir"'
10252
8840
else
10253
8841
  test -d ./-p && rmdir ./-p
10254
8842
  as_mkdir_p=false
10267
8855
      if test -d "$1"; then
10268
8856
        test -d "$1/.";
10269
8857
      else
10270
 
        case $1 in
 
8858
        case $1 in #(
10271
8859
        -*)set "./$1";;
10272
8860
        esac;
10273
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
8861
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10274
8862
        ???[sx]*):;;*)false;;esac;fi
10275
8863
    '\'' sh
10276
8864
  '
10285
8873
 
10286
8874
 
10287
8875
exec 6>&1
 
8876
## ----------------------------------- ##
 
8877
## Main body of $CONFIG_STATUS script. ##
 
8878
## ----------------------------------- ##
 
8879
_ASEOF
 
8880
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10288
8881
 
10289
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
8882
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8883
# Save the log message, to keep $0 and so on meaningful, and to
10290
8884
# report actual input values of CONFIG_FILES etc. instead of their
10291
8885
# values after options handling.
10292
8886
ac_log="
10293
8887
This file was extended by $as_me, which was
10294
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
8888
generated by GNU Autoconf 2.65.  Invocation command line was
10295
8889
 
10296
8890
  CONFIG_FILES    = $CONFIG_FILES
10297
8891
  CONFIG_HEADERS  = $CONFIG_HEADERS
10323
8917
 
10324
8918
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10325
8919
ac_cs_usage="\
10326
 
\`$as_me' instantiates files from templates according to the
10327
 
current configuration.
 
8920
\`$as_me' instantiates files and other configuration actions
 
8921
from templates according to the current configuration.  Unless the files
 
8922
and actions are specified as TAGs, all are instantiated by default.
10328
8923
 
10329
 
Usage: $0 [OPTION]... [FILE]...
 
8924
Usage: $0 [OPTION]... [TAG]...
10330
8925
 
10331
8926
  -h, --help       print this help, then exit
10332
8927
  -V, --version    print version number and configuration settings, then exit
 
8928
      --config     print configuration, then exit
10333
8929
  -q, --quiet, --silent
10334
8930
                   do not print progress messages
10335
8931
  -d, --debug      don't remove temporary files
10348
8944
Configuration commands:
10349
8945
$config_commands
10350
8946
 
10351
 
Report bugs to <bug-autoconf@gnu.org>."
 
8947
Report bugs to the package provider."
10352
8948
 
10353
8949
_ACEOF
10354
8950
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8951
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10355
8952
ac_cs_version="\\
10356
8953
config.status
10357
 
configured by $0, generated by GNU Autoconf 2.63,
10358
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
8954
configured by $0, generated by GNU Autoconf 2.65,
 
8955
  with options \\"\$ac_cs_config\\"
10359
8956
 
10360
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
8957
Copyright (C) 2009 Free Software Foundation, Inc.
10361
8958
This config.status script is free software; the Free Software Foundation
10362
8959
gives unlimited permission to copy, distribute and modify it."
10363
8960
 
10393
8990
    ac_cs_recheck=: ;;
10394
8991
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10395
8992
    $as_echo "$ac_cs_version"; exit ;;
 
8993
  --config | --confi | --conf | --con | --co | --c )
 
8994
    $as_echo "$ac_cs_config"; exit ;;
10396
8995
  --debug | --debu | --deb | --de | --d | -d )
10397
8996
    debug=: ;;
10398
8997
  --file | --fil | --fi | --f )
10400
8999
    case $ac_optarg in
10401
9000
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10402
9001
    esac
10403
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
9002
    as_fn_append CONFIG_FILES " '$ac_optarg'"
10404
9003
    ac_need_defaults=false;;
10405
9004
  --header | --heade | --head | --hea )
10406
9005
    $ac_shift
10407
9006
    case $ac_optarg in
10408
9007
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10409
9008
    esac
10410
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
9009
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10411
9010
    ac_need_defaults=false;;
10412
9011
  --he | --h)
10413
9012
    # Conflict between --help and --header
10414
 
    { $as_echo "$as_me: error: ambiguous option: $1
10415
 
Try \`$0 --help' for more information." >&2
10416
 
   { (exit 1); exit 1; }; };;
 
9013
    as_fn_error "ambiguous option: \`$1'
 
9014
Try \`$0 --help' for more information.";;
10417
9015
  --help | --hel | -h )
10418
9016
    $as_echo "$ac_cs_usage"; exit ;;
10419
9017
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10421
9019
    ac_cs_silent=: ;;
10422
9020
 
10423
9021
  # This is an error.
10424
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
10425
 
Try \`$0 --help' for more information." >&2
10426
 
   { (exit 1); exit 1; }; } ;;
 
9022
  -*) as_fn_error "unrecognized option: \`$1'
 
9023
Try \`$0 --help' for more information." ;;
10427
9024
 
10428
 
  *) ac_config_targets="$ac_config_targets $1"
 
9025
  *) as_fn_append ac_config_targets " $1"
10429
9026
     ac_need_defaults=false ;;
10430
9027
 
10431
9028
  esac
10486
9083
    "src/libgmlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/libgmlib/Makefile" ;;
10487
9084
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10488
9085
 
10489
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10490
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10491
 
   { (exit 1); exit 1; }; };;
 
9086
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10492
9087
  esac
10493
9088
done
10494
9089
 
10515
9110
  trap 'exit_status=$?
10516
9111
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10517
9112
' 0
10518
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
9113
  trap 'as_fn_exit 1' 1 2 13 15
10519
9114
}
10520
9115
# Create a (secure) tmp directory for tmp files.
10521
9116
 
10526
9121
{
10527
9122
  tmp=./conf$$-$RANDOM
10528
9123
  (umask 077 && mkdir "$tmp")
10529
 
} ||
10530
 
{
10531
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
10532
 
   { (exit 1); exit 1; }
10533
 
}
 
9124
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
10534
9125
 
10535
9126
# Set up the scripts for CONFIG_FILES section.
10536
9127
# No need to generate them if there are no CONFIG_FILES.
10538
9129
if test -n "$CONFIG_FILES"; then
10539
9130
 
10540
9131
 
10541
 
ac_cr='
 
 
b"'"
 
9132
ac_cr=`echo X | tr X '\015'`
 
9133
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
9134
# But we know of no other shell where ac_cr would be empty at this
 
9135
# point, so we can use a bashism as a fallback.
 
9136
if test "x$ac_cr" = x; then
 
9137
  eval ac_cr=\$\'\\r\'
 
9138
fi
10542
9139
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10543
9140
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10544
 
  ac_cs_awk_cr='\\r'
 
9141
  ac_cs_awk_cr='\r'
10545
9142
else
10546
9143
  ac_cs_awk_cr=$ac_cr
10547
9144
fi
10555
9152
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10556
9153
  echo "_ACEOF"
10557
9154
} >conf$$subs.sh ||
10558
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10559
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10560
 
   { (exit 1); exit 1; }; }
 
9155
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10561
9156
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
10562
9157
ac_delim='%!_!# '
10563
9158
for ac_last_try in false false false false false :; do
10564
9159
  . ./conf$$subs.sh ||
10565
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10566
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10567
 
   { (exit 1); exit 1; }; }
 
9160
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10568
9161
 
10569
9162
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10570
9163
  if test $ac_delim_n = $ac_delim_num; then
10571
9164
    break
10572
9165
  elif $ac_last_try; then
10573
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10574
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10575
 
   { (exit 1); exit 1; }; }
 
9166
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10576
9167
  else
10577
9168
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10578
9169
  fi
10594
9185
t delim
10595
9186
:nl
10596
9187
h
10597
 
s/\(.\{148\}\).*/\1/
 
9188
s/\(.\{148\}\)..*/\1/
10598
9189
t more1
10599
9190
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10600
9191
p
10608
9199
t nl
10609
9200
:delim
10610
9201
h
10611
 
s/\(.\{148\}\).*/\1/
 
9202
s/\(.\{148\}\)..*/\1/
10612
9203
t more2
10613
9204
s/["\\]/\\&/g; s/^/"/; s/$/"/
10614
9205
p
10661
9252
else
10662
9253
  cat
10663
9254
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10664
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
10665
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
10666
 
   { (exit 1); exit 1; }; }
 
9255
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
10667
9256
_ACEOF
10668
9257
 
10669
9258
# VPATH may cause trouble with some makes, so we remove $(srcdir),
10704
9293
  if test -z "$ac_t"; then
10705
9294
    break
10706
9295
  elif $ac_last_try; then
10707
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
10708
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
10709
 
   { (exit 1); exit 1; }; }
 
9296
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10710
9297
  else
10711
9298
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10712
9299
  fi
10791
9378
_ACAWK
10792
9379
_ACEOF
10793
9380
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10794
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
10795
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
10796
 
   { (exit 1); exit 1; }; }
 
9381
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
10797
9382
fi # test -n "$CONFIG_HEADERS"
10798
9383
 
10799
9384
 
10806
9391
  esac
10807
9392
  case $ac_mode$ac_tag in
10808
9393
  :[FHL]*:*);;
10809
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
10810
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
10811
 
   { (exit 1); exit 1; }; };;
 
9394
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
10812
9395
  :[FH]-) ac_tag=-:-;;
10813
9396
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10814
9397
  esac
10836
9419
           [\\/$]*) false;;
10837
9420
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10838
9421
           esac ||
10839
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10840
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10841
 
   { (exit 1); exit 1; }; };;
 
9422
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10842
9423
      esac
10843
9424
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10844
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
9425
      as_fn_append ac_file_inputs " '$ac_f'"
10845
9426
    done
10846
9427
 
10847
9428
    # Let's still pretend it is `configure' which instantiates (i.e., don't
10852
9433
        `' by configure.'
10853
9434
    if test x"$ac_file" != x-; then
10854
9435
      configure_input="$ac_file.  $configure_input"
10855
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
9436
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10856
9437
$as_echo "$as_me: creating $ac_file" >&6;}
10857
9438
    fi
10858
9439
    # Neutralize special characters interpreted by sed in replacement strings.
10865
9446
 
10866
9447
    case $ac_tag in
10867
9448
    *:-:* | *:-) cat >"$tmp/stdin" \
10868
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10869
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
10870
 
   { (exit 1); exit 1; }; } ;;
 
9449
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
10871
9450
    esac
10872
9451
    ;;
10873
9452
  esac
10895
9474
            q
10896
9475
          }
10897
9476
          s/.*/./; q'`
10898
 
  { as_dir="$ac_dir"
10899
 
  case $as_dir in #(
10900
 
  -*) as_dir=./$as_dir;;
10901
 
  esac
10902
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10903
 
    as_dirs=
10904
 
    while :; do
10905
 
      case $as_dir in #(
10906
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10907
 
      *) as_qdir=$as_dir;;
10908
 
      esac
10909
 
      as_dirs="'$as_qdir' $as_dirs"
10910
 
      as_dir=`$as_dirname -- "$as_dir" ||
10911
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10912
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
10913
 
         X"$as_dir" : 'X\(//\)$' \| \
10914
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10915
 
$as_echo X"$as_dir" |
10916
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10917
 
            s//\1/
10918
 
            q
10919
 
          }
10920
 
          /^X\(\/\/\)[^/].*/{
10921
 
            s//\1/
10922
 
            q
10923
 
          }
10924
 
          /^X\(\/\/\)$/{
10925
 
            s//\1/
10926
 
            q
10927
 
          }
10928
 
          /^X\(\/\).*/{
10929
 
            s//\1/
10930
 
            q
10931
 
          }
10932
 
          s/.*/./; q'`
10933
 
      test -d "$as_dir" && break
10934
 
    done
10935
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
10936
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10937
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10938
 
   { (exit 1); exit 1; }; }; }
 
9477
  as_dir="$ac_dir"; as_fn_mkdir_p
10939
9478
  ac_builddir=.
10940
9479
 
10941
9480
case "$ac_dir" in
10992
9531
# If the template does not know about datarootdir, expand it.
10993
9532
# FIXME: This hack should be removed a few years after 2.60.
10994
9533
ac_datarootdir_hack=; ac_datarootdir_seen=
10995
 
 
10996
9534
ac_sed_dataroot='
10997
9535
/datarootdir/ {
10998
9536
  p
11002
9540
/@docdir@/p
11003
9541
/@infodir@/p
11004
9542
/@localedir@/p
11005
 
/@mandir@/p
11006
 
'
 
9543
/@mandir@/p'
11007
9544
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11008
9545
*datarootdir*) ac_datarootdir_seen=yes;;
11009
9546
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11010
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
9547
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11011
9548
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11012
9549
_ACEOF
11013
9550
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11017
9554
  s&@infodir@&$infodir&g
11018
9555
  s&@localedir@&$localedir&g
11019
9556
  s&@mandir@&$mandir&g
11020
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
9557
  s&\\\${datarootdir}&$datarootdir&g' ;;
11021
9558
esac
11022
9559
_ACEOF
11023
9560
 
11046
9583
$ac_datarootdir_hack
11047
9584
"
11048
9585
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
11049
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11050
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11051
 
   { (exit 1); exit 1; }; }
 
9586
  || as_fn_error "could not create $ac_file" "$LINENO" 5
11052
9587
 
11053
9588
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11054
9589
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11055
9590
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11056
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
9591
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11057
9592
which seems to be undefined.  Please make sure it is defined." >&5
11058
9593
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11059
9594
which seems to be undefined.  Please make sure it is defined." >&2;}
11063
9598
  -) cat "$tmp/out" && rm -f "$tmp/out";;
11064
9599
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11065
9600
  esac \
11066
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11067
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11068
 
   { (exit 1); exit 1; }; }
 
9601
  || as_fn_error "could not create $ac_file" "$LINENO" 5
11069
9602
 ;;
11070
9603
  :H)
11071
9604
  #
11076
9609
      $as_echo "/* $configure_input  */" \
11077
9610
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11078
9611
    } >"$tmp/config.h" \
11079
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11080
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11081
 
   { (exit 1); exit 1; }; }
 
9612
      || as_fn_error "could not create $ac_file" "$LINENO" 5
11082
9613
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11083
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
9614
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11084
9615
$as_echo "$as_me: $ac_file is unchanged" >&6;}
11085
9616
    else
11086
9617
      rm -f "$ac_file"
11087
9618
      mv "$tmp/config.h" "$ac_file" \
11088
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11089
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11090
 
   { (exit 1); exit 1; }; }
 
9619
        || as_fn_error "could not create $ac_file" "$LINENO" 5
11091
9620
    fi
11092
9621
  else
11093
9622
    $as_echo "/* $configure_input  */" \
11094
9623
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11095
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
11096
 
$as_echo "$as_me: error: could not create -" >&2;}
11097
 
   { (exit 1); exit 1; }; }
 
9624
      || as_fn_error "could not create -" "$LINENO" 5
11098
9625
  fi
11099
9626
# Compute "$ac_file"'s index in $config_headers.
11100
9627
_am_arg="$ac_file"
11132
9659
          s/.*/./; q'`/stamp-h$_am_stamp_count
11133
9660
 ;;
11134
9661
 
11135
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
9662
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11136
9663
$as_echo "$as_me: executing $ac_file commands" >&6;}
11137
9664
 ;;
11138
9665
  esac
11227
9754
            q
11228
9755
          }
11229
9756
          s/.*/./; q'`
11230
 
      { as_dir=$dirpart/$fdir
11231
 
  case $as_dir in #(
11232
 
  -*) as_dir=./$as_dir;;
11233
 
  esac
11234
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11235
 
    as_dirs=
11236
 
    while :; do
11237
 
      case $as_dir in #(
11238
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11239
 
      *) as_qdir=$as_dir;;
11240
 
      esac
11241
 
      as_dirs="'$as_qdir' $as_dirs"
11242
 
      as_dir=`$as_dirname -- "$as_dir" ||
11243
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11244
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11245
 
         X"$as_dir" : 'X\(//\)$' \| \
11246
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11247
 
$as_echo X"$as_dir" |
11248
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11249
 
            s//\1/
11250
 
            q
11251
 
          }
11252
 
          /^X\(\/\/\)[^/].*/{
11253
 
            s//\1/
11254
 
            q
11255
 
          }
11256
 
          /^X\(\/\/\)$/{
11257
 
            s//\1/
11258
 
            q
11259
 
          }
11260
 
          /^X\(\/\).*/{
11261
 
            s//\1/
11262
 
            q
11263
 
          }
11264
 
          s/.*/./; q'`
11265
 
      test -d "$as_dir" && break
11266
 
    done
11267
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11268
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11269
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
11270
 
   { (exit 1); exit 1; }; }; }
 
9757
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
11271
9758
      # echo "creating $dirpart/$file"
11272
9759
      echo '# dummy' > "$dirpart/$file"
11273
9760
    done
11282
9769
done # for ac_tag
11283
9770
 
11284
9771
 
11285
 
{ (exit 0); exit 0; }
 
9772
as_fn_exit 0
11286
9773
_ACEOF
11287
 
chmod +x $CONFIG_STATUS
11288
9774
ac_clean_files=$ac_clean_files_save
11289
9775
 
11290
9776
test $ac_write_fail = 0 ||
11291
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
11292
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
11293
 
   { (exit 1); exit 1; }; }
 
9777
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
11294
9778
 
11295
9779
 
11296
9780
# configure is writing to config.log, and then calls config.status.
11311
9795
  exec 5>>config.log
11312
9796
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11313
9797
  # would make configure fail if this is the last instruction.
11314
 
  $ac_cs_success || { (exit 1); exit 1; }
 
9798
  $ac_cs_success || as_fn_exit $?
11315
9799
fi
11316
9800
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11317
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
9801
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11318
9802
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11319
9803
fi
11320
9804