~ubuntu-branches/ubuntu/quantal/gecko-mediaplayer/quantal

« back to all changes in this revision

Viewing changes to .pc/autotools.patch/configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2011-07-17 22:24:37 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20110717222437-f0skmzay316o4rve
Tags: 1.0.4-0ubuntu1
* New upstream release.
* debian/patches:
 - 90_svn420_fix_null.patch: Remove, merged upstream.
 - 91_svn421_disable_npp_initialize.patch: Remove, merged upstream.
 - dont_use_libxul.patch: Remove, fixed upstream.
 - autotools.patch: Remove, not needed now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.65.
4
 
#
5
 
#
6
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
9
 
#
10
 
#
11
 
# This configure script is free software; the Free Software Foundation
12
 
# gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
16
 
 
17
 
# Be more Bourne compatible
18
 
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
 
  emulate sh
21
 
  NULLCMD=:
22
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
 
  # is contrary to our usage.  Disable this feature.
24
 
  alias -g '${1+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in #(
28
 
  *posix*) :
29
 
    set -o posix ;; #(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
39
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
53
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
 
    as_echo_n='/usr/ucb/echo -n'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in #(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
73
 
 
74
 
# The user is always right.
75
 
if test "${PATH_SEPARATOR+set}" != set; then
76
 
  PATH_SEPARATOR=:
77
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
 
      PATH_SEPARATOR=';'
80
 
  }
81
 
fi
82
 
 
83
 
 
84
 
# IFS
85
 
# We need space, tab and new line, in precisely that order.  Quoting is
86
 
# there to prevent editors from complaining about space-tab.
87
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
 
# splitting by setting IFS to empty value.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
case $0 in #((
93
 
  *[\\/]* ) as_myself=$0 ;;
94
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
 
for as_dir in $PATH
96
 
do
97
 
  IFS=$as_save_IFS
98
 
  test -z "$as_dir" && as_dir=.
99
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
 
  done
101
 
IFS=$as_save_IFS
102
 
 
103
 
     ;;
104
 
esac
105
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
 
# in which case we are not to be found in the path.
107
 
if test "x$as_myself" = x; then
108
 
  as_myself=$0
109
 
fi
110
 
if test ! -f "$as_myself"; then
111
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
 
  exit 1
113
 
fi
114
 
 
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 || :
122
 
done
123
 
PS1='$ '
124
 
PS2='> '
125
 
PS4='+ '
126
 
 
127
 
# NLS nuisances.
128
 
LC_ALL=C
129
 
export LC_ALL
130
 
LANGUAGE=C
131
 
export LANGUAGE
132
 
 
133
 
# CDPATH.
134
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
 
 
136
 
if test "x$CONFIG_SHELL" = x; 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 :
176
 
  as_have_required=yes
177
 
else
178
 
  as_have_required=no
179
 
fi
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
185
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186
 
do
187
 
  IFS=$as_save_IFS
188
 
  test -z "$as_dir" && as_dir=.
189
 
  as_found=:
190
 
  case $as_dir in #(
191
 
         /*)
192
 
           for as_base in sh bash ksh sh5; do
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
202
 
           done;;
203
 
       esac
204
 
  as_found=false
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; }
210
 
IFS=$as_save_IFS
211
 
 
212
 
 
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
220
 
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
 
fi
223
 
 
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.  :-)
426
 
  sed -n '
427
 
    p
428
 
    /[$]LINENO/=
429
 
  ' <$as_myself |
430
 
    sed '
431
 
      s/[$]LINENO.*/&-/
432
 
      t lineno
433
 
      b
434
 
      :lineno
435
 
      N
436
 
      :loop
437
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438
 
      t loop
439
 
      s/-\n.*//
440
 
    ' >$as_me.lineno &&
441
 
  chmod +x "$as_me.lineno" ||
442
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
 
 
444
 
  # Don't try to exec as it changes $[0], causing all sort of problems
445
 
  # (the dirname of $[0] is not the place where we might find the
446
 
  # original and so on.  Autoconf is especially sensitive to this).
447
 
  . "./$as_me.lineno"
448
 
  # Exit status is that of the last command.
449
 
  exit
450
 
}
451
 
 
452
 
ECHO_C= ECHO_N= ECHO_T=
453
 
case `echo -n x` in #(((((
454
 
-n*)
455
 
  case `echo 'xy\c'` in
456
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457
 
  xy)  ECHO_C='\c';;
458
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459
 
       ECHO_T=' ';;
460
 
  esac;;
461
 
*)
462
 
  ECHO_N='-n';;
463
 
esac
464
 
 
465
 
rm -f conf$$ conf$$.exe conf$$.file
466
 
if test -d conf$$.dir; then
467
 
  rm -f conf$$.dir/conf$$.file
468
 
else
469
 
  rm -f conf$$.dir
470
 
  mkdir conf$$.dir 2>/dev/null
471
 
fi
472
 
if (echo >conf$$.file) 2>/dev/null; then
473
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
474
 
    as_ln_s='ln -s'
475
 
    # ... but there are two gotchas:
476
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
 
    # In both cases, we have to default to `cp -p'.
479
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480
 
      as_ln_s='cp -p'
481
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
 
    as_ln_s=ln
483
 
  else
484
 
    as_ln_s='cp -p'
485
 
  fi
486
 
else
487
 
  as_ln_s='cp -p'
488
 
fi
489
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
 
rmdir conf$$.dir 2>/dev/null
491
 
 
492
 
if mkdir -p . 2>/dev/null; then
493
 
  as_mkdir_p='mkdir -p "$as_dir"'
494
 
else
495
 
  test -d ./-p && rmdir ./-p
496
 
  as_mkdir_p=false
497
 
fi
498
 
 
499
 
if test -x / >/dev/null 2>&1; then
500
 
  as_test_x='test -x'
501
 
else
502
 
  if ls -dL / >/dev/null 2>&1; then
503
 
    as_ls_L_option=L
504
 
  else
505
 
    as_ls_L_option=
506
 
  fi
507
 
  as_test_x='
508
 
    eval sh -c '\''
509
 
      if test -d "$1"; then
510
 
        test -d "$1/.";
511
 
      else
512
 
        case $1 in #(
513
 
        -*)set "./$1";;
514
 
        esac;
515
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
 
        ???[sx]*):;;*)false;;esac;fi
517
 
    '\'' sh
518
 
  '
519
 
fi
520
 
as_executable_p=$as_test_x
521
 
 
522
 
# Sed expression to map a string onto a valid CPP name.
523
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
 
 
525
 
# Sed expression to map a string onto a valid variable name.
526
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
 
 
528
 
 
529
 
test -n "$DJDIR" || exec 7<&0 </dev/null
530
 
exec 6>&1
531
 
 
532
 
# Name of the host.
533
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534
 
# so uname gets run too.
535
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
 
 
537
 
#
538
 
# Initializations.
539
 
#
540
 
ac_default_prefix=/usr/local
541
 
ac_clean_files=
542
 
ac_config_libobj_dir=.
543
 
LIBOBJS=
544
 
cross_compiling=no
545
 
subdirs=
546
 
MFLAGS=
547
 
MAKEFLAGS=
548
 
 
549
 
# Identity of this package.
550
 
PACKAGE_NAME=
551
 
PACKAGE_TARNAME=
552
 
PACKAGE_VERSION=
553
 
PACKAGE_STRING=
554
 
PACKAGE_BUGREPORT=
555
 
PACKAGE_URL=
556
 
 
557
 
ac_unique_file="configure.in"
558
 
# Factoring default headers for most tests.
559
 
ac_includes_default="\
560
 
#include <stdio.h>
561
 
#ifdef HAVE_SYS_TYPES_H
562
 
# include <sys/types.h>
563
 
#endif
564
 
#ifdef HAVE_SYS_STAT_H
565
 
# include <sys/stat.h>
566
 
#endif
567
 
#ifdef STDC_HEADERS
568
 
# include <stdlib.h>
569
 
# include <stddef.h>
570
 
#else
571
 
# ifdef HAVE_STDLIB_H
572
 
#  include <stdlib.h>
573
 
# endif
574
 
#endif
575
 
#ifdef HAVE_STRING_H
576
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577
 
#  include <memory.h>
578
 
# endif
579
 
# include <string.h>
580
 
#endif
581
 
#ifdef HAVE_STRINGS_H
582
 
# include <strings.h>
583
 
#endif
584
 
#ifdef HAVE_INTTYPES_H
585
 
# include <inttypes.h>
586
 
#endif
587
 
#ifdef HAVE_STDINT_H
588
 
# include <stdint.h>
589
 
#endif
590
 
#ifdef HAVE_UNISTD_H
591
 
# include <unistd.h>
592
 
#endif"
593
 
 
594
 
ac_subst_vars='am__EXEEXT_FALSE
595
 
am__EXEEXT_TRUE
596
 
LTLIBOBJS
597
 
LIBOBJS
598
 
plugindir
599
 
GIO_DEFINES
600
 
GIO_LIBS
601
 
GIO_CFLAGS
602
 
GCONF_DEFINES
603
 
GCONF_SCHEMA_FILE_DIR
604
 
GCONF_SCHEMA_CONFIG_SOURCE
605
 
GCONF_LIBS
606
 
GCONF_CFLAGS
607
 
GCONF_SCHEMAS_INSTALL_FALSE
608
 
GCONF_SCHEMAS_INSTALL_TRUE
609
 
DBUS_LIBS
610
 
DBUS_CFLAGS
611
 
NSPR_LIBS
612
 
NSPR_CFLAGS
613
 
GECKO_LIBS
614
 
GECKO_CFLAGS
615
 
GLIB_LIBS
616
 
GLIB_CFLAGS
617
 
PKG_CONFIG
618
 
MKINSTALLDIRS
619
 
POSUB
620
 
POFILES
621
 
PO_IN_DATADIR_FALSE
622
 
PO_IN_DATADIR_TRUE
623
 
INTLLIBS
624
 
INSTOBJEXT
625
 
GMOFILES
626
 
DATADIRNAME
627
 
CATOBJEXT
628
 
CATALOGS
629
 
XGETTEXT
630
 
GMSGFMT
631
 
MSGFMT_OPTS
632
 
MSGFMT
633
 
USE_NLS
634
 
GETTEXT_PACKAGE
635
 
RANLIB
636
 
am__fastdepCXX_FALSE
637
 
am__fastdepCXX_TRUE
638
 
CXXDEPMODE
639
 
ac_ct_CXX
640
 
CXXFLAGS
641
 
CXX
642
 
EGREP
643
 
GREP
644
 
CPP
645
 
am__fastdepCC_FALSE
646
 
am__fastdepCC_TRUE
647
 
CCDEPMODE
648
 
AMDEPBACKSLASH
649
 
AMDEP_FALSE
650
 
AMDEP_TRUE
651
 
am__quote
652
 
am__include
653
 
DEPDIR
654
 
OBJEXT
655
 
EXEEXT
656
 
ac_ct_CC
657
 
CPPFLAGS
658
 
LDFLAGS
659
 
CFLAGS
660
 
CC
661
 
MAINT
662
 
MAINTAINER_MODE_FALSE
663
 
MAINTAINER_MODE_TRUE
664
 
am__untar
665
 
am__tar
666
 
AMTAR
667
 
am__leading_dot
668
 
SET_MAKE
669
 
AWK
670
 
mkdir_p
671
 
MKDIR_P
672
 
INSTALL_STRIP_PROGRAM
673
 
STRIP
674
 
install_sh
675
 
MAKEINFO
676
 
AUTOHEADER
677
 
AUTOMAKE
678
 
AUTOCONF
679
 
ACLOCAL
680
 
VERSION
681
 
PACKAGE
682
 
CYGPATH_W
683
 
am__isrc
684
 
INSTALL_DATA
685
 
INSTALL_SCRIPT
686
 
INSTALL_PROGRAM
687
 
target_alias
688
 
host_alias
689
 
build_alias
690
 
LIBS
691
 
ECHO_T
692
 
ECHO_N
693
 
ECHO_C
694
 
DEFS
695
 
mandir
696
 
localedir
697
 
libdir
698
 
psdir
699
 
pdfdir
700
 
dvidir
701
 
htmldir
702
 
infodir
703
 
docdir
704
 
oldincludedir
705
 
includedir
706
 
localstatedir
707
 
sharedstatedir
708
 
sysconfdir
709
 
datadir
710
 
datarootdir
711
 
libexecdir
712
 
sbindir
713
 
bindir
714
 
program_transform_name
715
 
prefix
716
 
exec_prefix
717
 
PACKAGE_URL
718
 
PACKAGE_BUGREPORT
719
 
PACKAGE_STRING
720
 
PACKAGE_VERSION
721
 
PACKAGE_TARNAME
722
 
PACKAGE_NAME
723
 
PATH_SEPARATOR
724
 
SHELL'
725
 
ac_subst_files=''
726
 
ac_user_opts='
727
 
enable_option_checking
728
 
enable_maintainer_mode
729
 
enable_dependency_tracking
730
 
with_xulrunner_sdk
731
 
enable_new_libxul
732
 
with_gconf
733
 
with_gconf_source
734
 
with_gconf_schema_file_dir
735
 
enable_schemas_install
736
 
with_gio
737
 
with_plugin_dir
738
 
enable_caching
739
 
'
740
 
      ac_precious_vars='build_alias
741
 
host_alias
742
 
target_alias
743
 
CC
744
 
CFLAGS
745
 
LDFLAGS
746
 
LIBS
747
 
CPPFLAGS
748
 
CPP
749
 
CXX
750
 
CXXFLAGS
751
 
CCC
752
 
PKG_CONFIG
753
 
GLIB_CFLAGS
754
 
GLIB_LIBS
755
 
GECKO_CFLAGS
756
 
GECKO_LIBS
757
 
NSPR_CFLAGS
758
 
NSPR_LIBS
759
 
DBUS_CFLAGS
760
 
DBUS_LIBS
761
 
GCONF_CFLAGS
762
 
GCONF_LIBS
763
 
GIO_CFLAGS
764
 
GIO_LIBS'
765
 
 
766
 
 
767
 
# Initialize some variables set by options.
768
 
ac_init_help=
769
 
ac_init_version=false
770
 
ac_unrecognized_opts=
771
 
ac_unrecognized_sep=
772
 
# The variables have the same names as the options, with
773
 
# dashes changed to underlines.
774
 
cache_file=/dev/null
775
 
exec_prefix=NONE
776
 
no_create=
777
 
no_recursion=
778
 
prefix=NONE
779
 
program_prefix=NONE
780
 
program_suffix=NONE
781
 
program_transform_name=s,x,x,
782
 
silent=
783
 
site=
784
 
srcdir=
785
 
verbose=
786
 
x_includes=NONE
787
 
x_libraries=NONE
788
 
 
789
 
# Installation directory options.
790
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
791
 
# and all the variables that are supposed to be based on exec_prefix
792
 
# by default will actually change.
793
 
# Use braces instead of parens because sh, perl, etc. also accept them.
794
 
# (The list follows the same order as the GNU Coding Standards.)
795
 
bindir='${exec_prefix}/bin'
796
 
sbindir='${exec_prefix}/sbin'
797
 
libexecdir='${exec_prefix}/libexec'
798
 
datarootdir='${prefix}/share'
799
 
datadir='${datarootdir}'
800
 
sysconfdir='${prefix}/etc'
801
 
sharedstatedir='${prefix}/com'
802
 
localstatedir='${prefix}/var'
803
 
includedir='${prefix}/include'
804
 
oldincludedir='/usr/include'
805
 
docdir='${datarootdir}/doc/${PACKAGE}'
806
 
infodir='${datarootdir}/info'
807
 
htmldir='${docdir}'
808
 
dvidir='${docdir}'
809
 
pdfdir='${docdir}'
810
 
psdir='${docdir}'
811
 
libdir='${exec_prefix}/lib'
812
 
localedir='${datarootdir}/locale'
813
 
mandir='${datarootdir}/man'
814
 
 
815
 
ac_prev=
816
 
ac_dashdash=
817
 
for ac_option
818
 
do
819
 
  # If the previous option needs an argument, assign it.
820
 
  if test -n "$ac_prev"; then
821
 
    eval $ac_prev=\$ac_option
822
 
    ac_prev=
823
 
    continue
824
 
  fi
825
 
 
826
 
  case $ac_option in
827
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828
 
  *)    ac_optarg=yes ;;
829
 
  esac
830
 
 
831
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
832
 
 
833
 
  case $ac_dashdash$ac_option in
834
 
  --)
835
 
    ac_dashdash=yes ;;
836
 
 
837
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
838
 
    ac_prev=bindir ;;
839
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
840
 
    bindir=$ac_optarg ;;
841
 
 
842
 
  -build | --build | --buil | --bui | --bu)
843
 
    ac_prev=build_alias ;;
844
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
845
 
    build_alias=$ac_optarg ;;
846
 
 
847
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
848
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
849
 
    ac_prev=cache_file ;;
850
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
851
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
852
 
    cache_file=$ac_optarg ;;
853
 
 
854
 
  --config-cache | -C)
855
 
    cache_file=config.cache ;;
856
 
 
857
 
  -datadir | --datadir | --datadi | --datad)
858
 
    ac_prev=datadir ;;
859
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
860
 
    datadir=$ac_optarg ;;
861
 
 
862
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
863
 
  | --dataroo | --dataro | --datar)
864
 
    ac_prev=datarootdir ;;
865
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
866
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
867
 
    datarootdir=$ac_optarg ;;
868
 
 
869
 
  -disable-* | --disable-*)
870
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871
 
    # Reject names that are not valid shell variable names.
872
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
873
 
      as_fn_error "invalid feature name: $ac_useropt"
874
 
    ac_useropt_orig=$ac_useropt
875
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876
 
    case $ac_user_opts in
877
 
      *"
878
 
"enable_$ac_useropt"
879
 
"*) ;;
880
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881
 
         ac_unrecognized_sep=', ';;
882
 
    esac
883
 
    eval enable_$ac_useropt=no ;;
884
 
 
885
 
  -docdir | --docdir | --docdi | --doc | --do)
886
 
    ac_prev=docdir ;;
887
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
888
 
    docdir=$ac_optarg ;;
889
 
 
890
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
891
 
    ac_prev=dvidir ;;
892
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
893
 
    dvidir=$ac_optarg ;;
894
 
 
895
 
  -enable-* | --enable-*)
896
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897
 
    # Reject names that are not valid shell variable names.
898
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899
 
      as_fn_error "invalid feature name: $ac_useropt"
900
 
    ac_useropt_orig=$ac_useropt
901
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902
 
    case $ac_user_opts in
903
 
      *"
904
 
"enable_$ac_useropt"
905
 
"*) ;;
906
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907
 
         ac_unrecognized_sep=', ';;
908
 
    esac
909
 
    eval enable_$ac_useropt=\$ac_optarg ;;
910
 
 
911
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913
 
  | --exec | --exe | --ex)
914
 
    ac_prev=exec_prefix ;;
915
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917
 
  | --exec=* | --exe=* | --ex=*)
918
 
    exec_prefix=$ac_optarg ;;
919
 
 
920
 
  -gas | --gas | --ga | --g)
921
 
    # Obsolete; use --with-gas.
922
 
    with_gas=yes ;;
923
 
 
924
 
  -help | --help | --hel | --he | -h)
925
 
    ac_init_help=long ;;
926
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927
 
    ac_init_help=recursive ;;
928
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929
 
    ac_init_help=short ;;
930
 
 
931
 
  -host | --host | --hos | --ho)
932
 
    ac_prev=host_alias ;;
933
 
  -host=* | --host=* | --hos=* | --ho=*)
934
 
    host_alias=$ac_optarg ;;
935
 
 
936
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937
 
    ac_prev=htmldir ;;
938
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939
 
  | --ht=*)
940
 
    htmldir=$ac_optarg ;;
941
 
 
942
 
  -includedir | --includedir | --includedi | --included | --include \
943
 
  | --includ | --inclu | --incl | --inc)
944
 
    ac_prev=includedir ;;
945
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
947
 
    includedir=$ac_optarg ;;
948
 
 
949
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
950
 
    ac_prev=infodir ;;
951
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952
 
    infodir=$ac_optarg ;;
953
 
 
954
 
  -libdir | --libdir | --libdi | --libd)
955
 
    ac_prev=libdir ;;
956
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
957
 
    libdir=$ac_optarg ;;
958
 
 
959
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960
 
  | --libexe | --libex | --libe)
961
 
    ac_prev=libexecdir ;;
962
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963
 
  | --libexe=* | --libex=* | --libe=*)
964
 
    libexecdir=$ac_optarg ;;
965
 
 
966
 
  -localedir | --localedir | --localedi | --localed | --locale)
967
 
    ac_prev=localedir ;;
968
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969
 
    localedir=$ac_optarg ;;
970
 
 
971
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
972
 
  | --localstate | --localstat | --localsta | --localst | --locals)
973
 
    ac_prev=localstatedir ;;
974
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976
 
    localstatedir=$ac_optarg ;;
977
 
 
978
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979
 
    ac_prev=mandir ;;
980
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981
 
    mandir=$ac_optarg ;;
982
 
 
983
 
  -nfp | --nfp | --nf)
984
 
    # Obsolete; use --without-fp.
985
 
    with_fp=no ;;
986
 
 
987
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988
 
  | --no-cr | --no-c | -n)
989
 
    no_create=yes ;;
990
 
 
991
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993
 
    no_recursion=yes ;;
994
 
 
995
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997
 
  | --oldin | --oldi | --old | --ol | --o)
998
 
    ac_prev=oldincludedir ;;
999
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002
 
    oldincludedir=$ac_optarg ;;
1003
 
 
1004
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005
 
    ac_prev=prefix ;;
1006
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007
 
    prefix=$ac_optarg ;;
1008
 
 
1009
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010
 
  | --program-pre | --program-pr | --program-p)
1011
 
    ac_prev=program_prefix ;;
1012
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014
 
    program_prefix=$ac_optarg ;;
1015
 
 
1016
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017
 
  | --program-suf | --program-su | --program-s)
1018
 
    ac_prev=program_suffix ;;
1019
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021
 
    program_suffix=$ac_optarg ;;
1022
 
 
1023
 
  -program-transform-name | --program-transform-name \
1024
 
  | --program-transform-nam | --program-transform-na \
1025
 
  | --program-transform-n | --program-transform- \
1026
 
  | --program-transform | --program-transfor \
1027
 
  | --program-transfo | --program-transf \
1028
 
  | --program-trans | --program-tran \
1029
 
  | --progr-tra | --program-tr | --program-t)
1030
 
    ac_prev=program_transform_name ;;
1031
 
  -program-transform-name=* | --program-transform-name=* \
1032
 
  | --program-transform-nam=* | --program-transform-na=* \
1033
 
  | --program-transform-n=* | --program-transform-=* \
1034
 
  | --program-transform=* | --program-transfor=* \
1035
 
  | --program-transfo=* | --program-transf=* \
1036
 
  | --program-trans=* | --program-tran=* \
1037
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1038
 
    program_transform_name=$ac_optarg ;;
1039
 
 
1040
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041
 
    ac_prev=pdfdir ;;
1042
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043
 
    pdfdir=$ac_optarg ;;
1044
 
 
1045
 
  -psdir | --psdir | --psdi | --psd | --ps)
1046
 
    ac_prev=psdir ;;
1047
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048
 
    psdir=$ac_optarg ;;
1049
 
 
1050
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051
 
  | -silent | --silent | --silen | --sile | --sil)
1052
 
    silent=yes ;;
1053
 
 
1054
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055
 
    ac_prev=sbindir ;;
1056
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057
 
  | --sbi=* | --sb=*)
1058
 
    sbindir=$ac_optarg ;;
1059
 
 
1060
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062
 
  | --sharedst | --shareds | --shared | --share | --shar \
1063
 
  | --sha | --sh)
1064
 
    ac_prev=sharedstatedir ;;
1065
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068
 
  | --sha=* | --sh=*)
1069
 
    sharedstatedir=$ac_optarg ;;
1070
 
 
1071
 
  -site | --site | --sit)
1072
 
    ac_prev=site ;;
1073
 
  -site=* | --site=* | --sit=*)
1074
 
    site=$ac_optarg ;;
1075
 
 
1076
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077
 
    ac_prev=srcdir ;;
1078
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079
 
    srcdir=$ac_optarg ;;
1080
 
 
1081
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1083
 
    ac_prev=sysconfdir ;;
1084
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086
 
    sysconfdir=$ac_optarg ;;
1087
 
 
1088
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1089
 
    ac_prev=target_alias ;;
1090
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091
 
    target_alias=$ac_optarg ;;
1092
 
 
1093
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094
 
    verbose=yes ;;
1095
 
 
1096
 
  -version | --version | --versio | --versi | --vers | -V)
1097
 
    ac_init_version=: ;;
1098
 
 
1099
 
  -with-* | --with-*)
1100
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101
 
    # Reject names that are not valid shell variable names.
1102
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103
 
      as_fn_error "invalid package name: $ac_useropt"
1104
 
    ac_useropt_orig=$ac_useropt
1105
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106
 
    case $ac_user_opts in
1107
 
      *"
1108
 
"with_$ac_useropt"
1109
 
"*) ;;
1110
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111
 
         ac_unrecognized_sep=', ';;
1112
 
    esac
1113
 
    eval with_$ac_useropt=\$ac_optarg ;;
1114
 
 
1115
 
  -without-* | --without-*)
1116
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117
 
    # Reject names that are not valid shell variable names.
1118
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119
 
      as_fn_error "invalid package name: $ac_useropt"
1120
 
    ac_useropt_orig=$ac_useropt
1121
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122
 
    case $ac_user_opts in
1123
 
      *"
1124
 
"with_$ac_useropt"
1125
 
"*) ;;
1126
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127
 
         ac_unrecognized_sep=', ';;
1128
 
    esac
1129
 
    eval with_$ac_useropt=no ;;
1130
 
 
1131
 
  --x)
1132
 
    # Obsolete; use --with-x.
1133
 
    with_x=yes ;;
1134
 
 
1135
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1136
 
  | --x-incl | --x-inc | --x-in | --x-i)
1137
 
    ac_prev=x_includes ;;
1138
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1139
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1140
 
    x_includes=$ac_optarg ;;
1141
 
 
1142
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1143
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1144
 
    ac_prev=x_libraries ;;
1145
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1146
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1147
 
    x_libraries=$ac_optarg ;;
1148
 
 
1149
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1150
 
Try \`$0 --help' for more information."
1151
 
    ;;
1152
 
 
1153
 
  *=*)
1154
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155
 
    # Reject names that are not valid shell variable names.
1156
 
    case $ac_envvar in #(
1157
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1158
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1159
 
    esac
1160
 
    eval $ac_envvar=\$ac_optarg
1161
 
    export $ac_envvar ;;
1162
 
 
1163
 
  *)
1164
 
    # FIXME: should be removed in autoconf 3.0.
1165
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1167
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169
 
    ;;
1170
 
 
1171
 
  esac
1172
 
done
1173
 
 
1174
 
if test -n "$ac_prev"; then
1175
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1176
 
  as_fn_error "missing argument to $ac_option"
1177
 
fi
1178
 
 
1179
 
if test -n "$ac_unrecognized_opts"; then
1180
 
  case $enable_option_checking in
1181
 
    no) ;;
1182
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1183
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184
 
  esac
1185
 
fi
1186
 
 
1187
 
# Check all directory arguments for consistency.
1188
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1190
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191
 
                libdir localedir mandir
1192
 
do
1193
 
  eval ac_val=\$$ac_var
1194
 
  # Remove trailing slashes.
1195
 
  case $ac_val in
1196
 
    */ )
1197
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198
 
      eval $ac_var=\$ac_val;;
1199
 
  esac
1200
 
  # Be sure to have absolute directory names.
1201
 
  case $ac_val in
1202
 
    [\\/$]* | ?:[\\/]* )  continue;;
1203
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204
 
  esac
1205
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1206
 
done
1207
 
 
1208
 
# There might be people who depend on the old broken behavior: `$host'
1209
 
# used to hold the argument of --host etc.
1210
 
# FIXME: To remove some day.
1211
 
build=$build_alias
1212
 
host=$host_alias
1213
 
target=$target_alias
1214
 
 
1215
 
# FIXME: To remove some day.
1216
 
if test "x$host_alias" != x; then
1217
 
  if test "x$build_alias" = x; then
1218
 
    cross_compiling=maybe
1219
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1221
 
  elif test "x$build_alias" != "x$host_alias"; then
1222
 
    cross_compiling=yes
1223
 
  fi
1224
 
fi
1225
 
 
1226
 
ac_tool_prefix=
1227
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1228
 
 
1229
 
test "$silent" = yes && exec 6>/dev/null
1230
 
 
1231
 
 
1232
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1233
 
ac_ls_di=`ls -di .` &&
1234
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1235
 
  as_fn_error "working directory cannot be determined"
1236
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237
 
  as_fn_error "pwd does not report name of working directory"
1238
 
 
1239
 
 
1240
 
# Find the source files, if location was not specified.
1241
 
if test -z "$srcdir"; then
1242
 
  ac_srcdir_defaulted=yes
1243
 
  # Try the directory containing this script, then the parent directory.
1244
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1245
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1247
 
         X"$as_myself" : 'X\(//\)$' \| \
1248
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249
 
$as_echo X"$as_myself" |
1250
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251
 
            s//\1/
1252
 
            q
1253
 
          }
1254
 
          /^X\(\/\/\)[^/].*/{
1255
 
            s//\1/
1256
 
            q
1257
 
          }
1258
 
          /^X\(\/\/\)$/{
1259
 
            s//\1/
1260
 
            q
1261
 
          }
1262
 
          /^X\(\/\).*/{
1263
 
            s//\1/
1264
 
            q
1265
 
          }
1266
 
          s/.*/./; q'`
1267
 
  srcdir=$ac_confdir
1268
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1269
 
    srcdir=..
1270
 
  fi
1271
 
else
1272
 
  ac_srcdir_defaulted=no
1273
 
fi
1274
 
if test ! -r "$srcdir/$ac_unique_file"; then
1275
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1276
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1277
 
fi
1278
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279
 
ac_abs_confdir=`(
1280
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1281
 
        pwd)`
1282
 
# When building in place, set srcdir=.
1283
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1284
 
  srcdir=.
1285
 
fi
1286
 
# Remove unnecessary trailing slashes from srcdir.
1287
 
# Double slashes in file names in object file debugging info
1288
 
# mess up M-x gdb in Emacs.
1289
 
case $srcdir in
1290
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291
 
esac
1292
 
for ac_var in $ac_precious_vars; do
1293
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1294
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1295
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1296
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1297
 
done
1298
 
 
1299
 
#
1300
 
# Report the --help message.
1301
 
#
1302
 
if test "$ac_init_help" = "long"; then
1303
 
  # Omit some internal or obsolete options to make the list less imposing.
1304
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1305
 
  cat <<_ACEOF
1306
 
\`configure' configures this package to adapt to many kinds of systems.
1307
 
 
1308
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1309
 
 
1310
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1312
 
 
1313
 
Defaults for the options are specified in brackets.
1314
 
 
1315
 
Configuration:
1316
 
  -h, --help              display this help and exit
1317
 
      --help=short        display options specific to this package
1318
 
      --help=recursive    display the short help of all the included packages
1319
 
  -V, --version           display version information and exit
1320
 
  -q, --quiet, --silent   do not print \`checking...' messages
1321
 
      --cache-file=FILE   cache test results in FILE [disabled]
1322
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1323
 
  -n, --no-create         do not create output files
1324
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1325
 
 
1326
 
Installation directories:
1327
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1328
 
                          [$ac_default_prefix]
1329
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1330
 
                          [PREFIX]
1331
 
 
1332
 
By default, \`make install' will install all the files in
1333
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1334
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335
 
for instance \`--prefix=\$HOME'.
1336
 
 
1337
 
For better control, use the options below.
1338
 
 
1339
 
Fine tuning of the installation directories:
1340
 
  --bindir=DIR            user executables [EPREFIX/bin]
1341
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1342
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1343
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1344
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1345
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1346
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1347
 
  --includedir=DIR        C header files [PREFIX/include]
1348
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1349
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1350
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1351
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1352
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1353
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1354
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1355
 
  --htmldir=DIR           html documentation [DOCDIR]
1356
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1357
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1358
 
  --psdir=DIR             ps documentation [DOCDIR]
1359
 
_ACEOF
1360
 
 
1361
 
  cat <<\_ACEOF
1362
 
 
1363
 
Program names:
1364
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1365
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1366
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1367
 
_ACEOF
1368
 
fi
1369
 
 
1370
 
if test -n "$ac_init_help"; then
1371
 
 
1372
 
  cat <<\_ACEOF
1373
 
 
1374
 
Optional Features:
1375
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1376
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1377
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1378
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1379
 
                          (and sometimes confusing) to the casual installer
1380
 
  --disable-dependency-tracking  speeds up one-time build
1381
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1382
 
  --enable-new-libxul     libxul/xulrunner-sdk is 1.9.2 or higher
1383
 
  --disable-schemas-install
1384
 
                          Disable the schemas installation
1385
 
  --disable-caching       Disable caching of remote media to local storage
1386
 
 
1387
 
Optional Packages:
1388
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1389
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1390
 
  --with-xulrunner-sdk=path_to_sdk
1391
 
                          Path to xulrunner SDK for build
1392
 
                          --with-xulrunner-sdk=/path/to/sdk
1393
 
  --with-gconf            Use Gconf to store preferences
1394
 
  --with-gconf-source=sourceaddress
1395
 
                          Config database for installing schema files.
1396
 
  --with-gconf-schema-file-dir=dir
1397
 
                          Directory for installing schema files.
1398
 
  --with-gio              Use GIO for file I/O
1399
 
  --with-plugin-dir=dir   Directory where plugins are stored
1400
 
 
1401
 
Some influential environment variables:
1402
 
  CC          C compiler command
1403
 
  CFLAGS      C compiler flags
1404
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1405
 
              nonstandard directory <lib dir>
1406
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1407
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1408
 
              you have headers in a nonstandard directory <include dir>
1409
 
  CPP         C preprocessor
1410
 
  CXX         C++ compiler command
1411
 
  CXXFLAGS    C++ compiler flags
1412
 
  PKG_CONFIG  path to pkg-config utility
1413
 
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1414
 
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1415
 
  GECKO_CFLAGS
1416
 
              C compiler flags for GECKO, overriding pkg-config
1417
 
  GECKO_LIBS  linker flags for GECKO, overriding pkg-config
1418
 
  NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config
1419
 
  NSPR_LIBS   linker flags for NSPR, overriding pkg-config
1420
 
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1421
 
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1422
 
  GCONF_CFLAGS
1423
 
              C compiler flags for GCONF, overriding pkg-config
1424
 
  GCONF_LIBS  linker flags for GCONF, overriding pkg-config
1425
 
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1426
 
  GIO_LIBS    linker flags for GIO, overriding pkg-config
1427
 
 
1428
 
Use these variables to override the choices made by `configure' or to help
1429
 
it to find libraries and programs with nonstandard names/locations.
1430
 
 
1431
 
Report bugs to the package provider.
1432
 
_ACEOF
1433
 
ac_status=$?
1434
 
fi
1435
 
 
1436
 
if test "$ac_init_help" = "recursive"; then
1437
 
  # If there are subdirs, report their specific --help.
1438
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1439
 
    test -d "$ac_dir" ||
1440
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1441
 
      continue
1442
 
    ac_builddir=.
1443
 
 
1444
 
case "$ac_dir" in
1445
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446
 
*)
1447
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1448
 
  # A ".." for each directory in $ac_dir_suffix.
1449
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1450
 
  case $ac_top_builddir_sub in
1451
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453
 
  esac ;;
1454
 
esac
1455
 
ac_abs_top_builddir=$ac_pwd
1456
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1457
 
# for backward compatibility:
1458
 
ac_top_builddir=$ac_top_build_prefix
1459
 
 
1460
 
case $srcdir in
1461
 
  .)  # We are building in place.
1462
 
    ac_srcdir=.
1463
 
    ac_top_srcdir=$ac_top_builddir_sub
1464
 
    ac_abs_top_srcdir=$ac_pwd ;;
1465
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1466
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1467
 
    ac_top_srcdir=$srcdir
1468
 
    ac_abs_top_srcdir=$srcdir ;;
1469
 
  *) # Relative name.
1470
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1472
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1473
 
esac
1474
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1475
 
 
1476
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1477
 
    # Check for guested configure.
1478
 
    if test -f "$ac_srcdir/configure.gnu"; then
1479
 
      echo &&
1480
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481
 
    elif test -f "$ac_srcdir/configure"; then
1482
 
      echo &&
1483
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1484
 
    else
1485
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486
 
    fi || ac_status=$?
1487
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1488
 
  done
1489
 
fi
1490
 
 
1491
 
test -n "$ac_init_help" && exit $ac_status
1492
 
if $ac_init_version; then
1493
 
  cat <<\_ACEOF
1494
 
configure
1495
 
generated by GNU Autoconf 2.65
1496
 
 
1497
 
Copyright (C) 2009 Free Software Foundation, Inc.
1498
 
This configure script is free software; the Free Software Foundation
1499
 
gives unlimited permission to copy, distribute and modify it.
1500
 
_ACEOF
1501
 
  exit
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
1893
 
cat >config.log <<_ACEOF
1894
 
This file contains any messages produced by compilers while
1895
 
running configure, to aid debugging if configure makes a mistake.
1896
 
 
1897
 
It was created by $as_me, which was
1898
 
generated by GNU Autoconf 2.65.  Invocation command line was
1899
 
 
1900
 
  $ $0 $@
1901
 
 
1902
 
_ACEOF
1903
 
exec 5>>config.log
1904
 
{
1905
 
cat <<_ASUNAME
1906
 
## --------- ##
1907
 
## Platform. ##
1908
 
## --------- ##
1909
 
 
1910
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1911
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1912
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1913
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1914
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1915
 
 
1916
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1917
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1918
 
 
1919
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1920
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1921
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1922
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1923
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1924
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1925
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1926
 
 
1927
 
_ASUNAME
1928
 
 
1929
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930
 
for as_dir in $PATH
1931
 
do
1932
 
  IFS=$as_save_IFS
1933
 
  test -z "$as_dir" && as_dir=.
1934
 
    $as_echo "PATH: $as_dir"
1935
 
  done
1936
 
IFS=$as_save_IFS
1937
 
 
1938
 
} >&5
1939
 
 
1940
 
cat >&5 <<_ACEOF
1941
 
 
1942
 
 
1943
 
## ----------- ##
1944
 
## Core tests. ##
1945
 
## ----------- ##
1946
 
 
1947
 
_ACEOF
1948
 
 
1949
 
 
1950
 
# Keep a trace of the command line.
1951
 
# Strip out --no-create and --no-recursion so they do not pile up.
1952
 
# Strip out --silent because we don't want to record it for future runs.
1953
 
# Also quote any args containing shell meta-characters.
1954
 
# Make two passes to allow for proper duplicate-argument suppression.
1955
 
ac_configure_args=
1956
 
ac_configure_args0=
1957
 
ac_configure_args1=
1958
 
ac_must_keep_next=false
1959
 
for ac_pass in 1 2
1960
 
do
1961
 
  for ac_arg
1962
 
  do
1963
 
    case $ac_arg in
1964
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1965
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1966
 
    | -silent | --silent | --silen | --sile | --sil)
1967
 
      continue ;;
1968
 
    *\'*)
1969
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1970
 
    esac
1971
 
    case $ac_pass in
1972
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1973
 
    2)
1974
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
1975
 
      if test $ac_must_keep_next = true; then
1976
 
        ac_must_keep_next=false # Got value, back to normal.
1977
 
      else
1978
 
        case $ac_arg in
1979
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1980
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1981
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1982
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1983
 
            case "$ac_configure_args0 " in
1984
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1985
 
            esac
1986
 
            ;;
1987
 
          -* ) ac_must_keep_next=true ;;
1988
 
        esac
1989
 
      fi
1990
 
      as_fn_append ac_configure_args " '$ac_arg'"
1991
 
      ;;
1992
 
    esac
1993
 
  done
1994
 
done
1995
 
{ ac_configure_args0=; unset ac_configure_args0;}
1996
 
{ ac_configure_args1=; unset ac_configure_args1;}
1997
 
 
1998
 
# When interrupted or exit'd, cleanup temporary files, and complete
1999
 
# config.log.  We remove comments because anyway the quotes in there
2000
 
# would cause problems or look ugly.
2001
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2002
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2003
 
trap 'exit_status=$?
2004
 
  # Save into config.log some information that might help in debugging.
2005
 
  {
2006
 
    echo
2007
 
 
2008
 
    cat <<\_ASBOX
2009
 
## ---------------- ##
2010
 
## Cache variables. ##
2011
 
## ---------------- ##
2012
 
_ASBOX
2013
 
    echo
2014
 
    # The following way of writing the cache mishandles newlines in values,
2015
 
(
2016
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2017
 
    eval ac_val=\$$ac_var
2018
 
    case $ac_val in #(
2019
 
    *${as_nl}*)
2020
 
      case $ac_var in #(
2021
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2022
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2023
 
      esac
2024
 
      case $ac_var in #(
2025
 
      _ | IFS | as_nl) ;; #(
2026
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2027
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2028
 
      esac ;;
2029
 
    esac
2030
 
  done
2031
 
  (set) 2>&1 |
2032
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2033
 
    *${as_nl}ac_space=\ *)
2034
 
      sed -n \
2035
 
        "s/'\''/'\''\\\\'\'''\''/g;
2036
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2037
 
      ;; #(
2038
 
    *)
2039
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2040
 
      ;;
2041
 
    esac |
2042
 
    sort
2043
 
)
2044
 
    echo
2045
 
 
2046
 
    cat <<\_ASBOX
2047
 
## ----------------- ##
2048
 
## Output variables. ##
2049
 
## ----------------- ##
2050
 
_ASBOX
2051
 
    echo
2052
 
    for ac_var in $ac_subst_vars
2053
 
    do
2054
 
      eval ac_val=\$$ac_var
2055
 
      case $ac_val in
2056
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2057
 
      esac
2058
 
      $as_echo "$ac_var='\''$ac_val'\''"
2059
 
    done | sort
2060
 
    echo
2061
 
 
2062
 
    if test -n "$ac_subst_files"; then
2063
 
      cat <<\_ASBOX
2064
 
## ------------------- ##
2065
 
## File substitutions. ##
2066
 
## ------------------- ##
2067
 
_ASBOX
2068
 
      echo
2069
 
      for ac_var in $ac_subst_files
2070
 
      do
2071
 
        eval ac_val=\$$ac_var
2072
 
        case $ac_val in
2073
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2074
 
        esac
2075
 
        $as_echo "$ac_var='\''$ac_val'\''"
2076
 
      done | sort
2077
 
      echo
2078
 
    fi
2079
 
 
2080
 
    if test -s confdefs.h; then
2081
 
      cat <<\_ASBOX
2082
 
## ----------- ##
2083
 
## confdefs.h. ##
2084
 
## ----------- ##
2085
 
_ASBOX
2086
 
      echo
2087
 
      cat confdefs.h
2088
 
      echo
2089
 
    fi
2090
 
    test "$ac_signal" != 0 &&
2091
 
      $as_echo "$as_me: caught signal $ac_signal"
2092
 
    $as_echo "$as_me: exit $exit_status"
2093
 
  } >&5
2094
 
  rm -f core *.core core.conftest.* &&
2095
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2096
 
    exit $exit_status
2097
 
' 0
2098
 
for ac_signal in 1 2 13 15; do
2099
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2100
 
done
2101
 
ac_signal=0
2102
 
 
2103
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2104
 
rm -f -r conftest* confdefs.h
2105
 
 
2106
 
$as_echo "/* confdefs.h */" > confdefs.h
2107
 
 
2108
 
# Predefined preprocessor variables.
2109
 
 
2110
 
cat >>confdefs.h <<_ACEOF
2111
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2112
 
_ACEOF
2113
 
 
2114
 
cat >>confdefs.h <<_ACEOF
2115
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2116
 
_ACEOF
2117
 
 
2118
 
cat >>confdefs.h <<_ACEOF
2119
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2120
 
_ACEOF
2121
 
 
2122
 
cat >>confdefs.h <<_ACEOF
2123
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2124
 
_ACEOF
2125
 
 
2126
 
cat >>confdefs.h <<_ACEOF
2127
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2128
 
_ACEOF
2129
 
 
2130
 
cat >>confdefs.h <<_ACEOF
2131
 
#define PACKAGE_URL "$PACKAGE_URL"
2132
 
_ACEOF
2133
 
 
2134
 
 
2135
 
# Let the site file select an alternate cache file if it wants to.
2136
 
# Prefer an explicitly selected file to automatically selected ones.
2137
 
ac_site_file1=NONE
2138
 
ac_site_file2=NONE
2139
 
if test -n "$CONFIG_SITE"; then
2140
 
  ac_site_file1=$CONFIG_SITE
2141
 
elif test "x$prefix" != xNONE; then
2142
 
  ac_site_file1=$prefix/share/config.site
2143
 
  ac_site_file2=$prefix/etc/config.site
2144
 
else
2145
 
  ac_site_file1=$ac_default_prefix/share/config.site
2146
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2147
 
fi
2148
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2149
 
do
2150
 
  test "x$ac_site_file" = xNONE && continue
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
2153
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2154
 
    sed 's/^/| /' "$ac_site_file" >&5
2155
 
    . "$ac_site_file"
2156
 
  fi
2157
 
done
2158
 
 
2159
 
if test -r "$cache_file"; then
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
2164
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2165
 
    case $cache_file in
2166
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2167
 
      *)                      . "./$cache_file";;
2168
 
    esac
2169
 
  fi
2170
 
else
2171
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2172
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2173
 
  >$cache_file
2174
 
fi
2175
 
 
2176
 
# Check that the precious variables saved in the cache have kept the same
2177
 
# value.
2178
 
ac_cache_corrupted=false
2179
 
for ac_var in $ac_precious_vars; do
2180
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2181
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2182
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2183
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2184
 
  case $ac_old_set,$ac_new_set in
2185
 
    set,)
2186
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2187
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2188
 
      ac_cache_corrupted=: ;;
2189
 
    ,set)
2190
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2191
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2192
 
      ac_cache_corrupted=: ;;
2193
 
    ,);;
2194
 
    *)
2195
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2196
 
        # differences in whitespace do not lead to failure.
2197
 
        ac_old_val_w=`echo x $ac_old_val`
2198
 
        ac_new_val_w=`echo x $ac_new_val`
2199
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2200
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2201
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2202
 
          ac_cache_corrupted=:
2203
 
        else
2204
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2205
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2206
 
          eval $ac_var=\$ac_old_val
2207
 
        fi
2208
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2209
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2210
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2211
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2212
 
      fi;;
2213
 
  esac
2214
 
  # Pass precious variables to config.status.
2215
 
  if test "$ac_new_set" = set; then
2216
 
    case $ac_new_val in
2217
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2218
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2219
 
    esac
2220
 
    case " $ac_configure_args " in
2221
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2222
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2223
 
    esac
2224
 
  fi
2225
 
done
2226
 
if $ac_cache_corrupted; then
2227
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2228
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2229
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2230
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2231
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2232
 
fi
2233
 
## -------------------- ##
2234
 
## Main body of script. ##
2235
 
## -------------------- ##
2236
 
 
2237
 
ac_ext=c
2238
 
ac_cpp='$CPP $CPPFLAGS'
2239
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2240
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2241
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2242
 
 
2243
 
 
2244
 
am__api_version='1.11'
2245
 
 
2246
 
ac_aux_dir=
2247
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
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
2255
 
done
2256
 
if test -z "$ac_aux_dir"; then
2257
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2258
 
fi
2259
 
 
2260
 
# These three variables are undocumented and unsupported,
2261
 
# and are intended to be withdrawn in a future Autoconf release.
2262
 
# They can cause serious problems if a builder's source tree is in a directory
2263
 
# whose full name contains unusual characters.
2264
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2265
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2266
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2267
 
 
2268
 
 
2269
 
# Find a good install program.  We prefer a C program (faster),
2270
 
# so one script is as good as another.  But avoid the broken or
2271
 
# incompatible versions:
2272
 
# SysV /etc/install, /usr/sbin/install
2273
 
# SunOS /usr/etc/install
2274
 
# IRIX /sbin/install
2275
 
# AIX /bin/install
2276
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2277
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2278
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2279
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2280
 
# OS/2's system install, which has a completely different semantic
2281
 
# ./install, which can be erroneously created by make from ./install.sh.
2282
 
# Reject install programs that cannot install multiple files.
2283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2284
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2285
 
if test -z "$INSTALL"; then
2286
 
if test "${ac_cv_path_install+set}" = set; then :
2287
 
  $as_echo_n "(cached) " >&6
2288
 
else
2289
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290
 
for as_dir in $PATH
2291
 
do
2292
 
  IFS=$as_save_IFS
2293
 
  test -z "$as_dir" && as_dir=.
2294
 
    # Account for people who put trailing slashes in PATH elements.
2295
 
case $as_dir/ in #((
2296
 
  ./ | .// | /[cC]/* | \
2297
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2298
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2299
 
  /usr/ucb/* ) ;;
2300
 
  *)
2301
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2302
 
    # Don't use installbsd from OSF since it installs stuff as root
2303
 
    # by default.
2304
 
    for ac_prog in ginstall scoinst install; do
2305
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2306
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2307
 
          if test $ac_prog = install &&
2308
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2309
 
            # AIX install.  It has an incompatible calling convention.
2310
 
            :
2311
 
          elif test $ac_prog = install &&
2312
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2313
 
            # program-specific install script used by HP pwplus--don't use.
2314
 
            :
2315
 
          else
2316
 
            rm -rf conftest.one conftest.two conftest.dir
2317
 
            echo one > conftest.one
2318
 
            echo two > conftest.two
2319
 
            mkdir conftest.dir
2320
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2321
 
              test -s conftest.one && test -s conftest.two &&
2322
 
              test -s conftest.dir/conftest.one &&
2323
 
              test -s conftest.dir/conftest.two
2324
 
            then
2325
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2326
 
              break 3
2327
 
            fi
2328
 
          fi
2329
 
        fi
2330
 
      done
2331
 
    done
2332
 
    ;;
2333
 
esac
2334
 
 
2335
 
  done
2336
 
IFS=$as_save_IFS
2337
 
 
2338
 
rm -rf conftest.one conftest.two conftest.dir
2339
 
 
2340
 
fi
2341
 
  if test "${ac_cv_path_install+set}" = set; then
2342
 
    INSTALL=$ac_cv_path_install
2343
 
  else
2344
 
    # As a last resort, use the slow shell script.  Don't cache a
2345
 
    # value for INSTALL within a source directory, because that will
2346
 
    # break other packages using the cache if that directory is
2347
 
    # removed, or if the value is a relative name.
2348
 
    INSTALL=$ac_install_sh
2349
 
  fi
2350
 
fi
2351
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2352
 
$as_echo "$INSTALL" >&6; }
2353
 
 
2354
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2355
 
# It thinks the first close brace ends the variable substitution.
2356
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2357
 
 
2358
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2359
 
 
2360
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2361
 
 
2362
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2363
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2364
 
# Just in case
2365
 
sleep 1
2366
 
echo timestamp > conftest.file
2367
 
# Reject unsafe characters in $srcdir or the absolute working directory
2368
 
# name.  Accept space and tab only in the latter.
2369
 
am_lf='
2370
 
'
2371
 
case `pwd` in
2372
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2373
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2374
 
esac
2375
 
case $srcdir in
2376
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2377
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2378
 
esac
2379
 
 
2380
 
# Do `set' in a subshell so we don't clobber the current shell's
2381
 
# arguments.  Must try -L first in case configure is actually a
2382
 
# symlink; some systems play weird games with the mod time of symlinks
2383
 
# (eg FreeBSD returns the mod time of the symlink's containing
2384
 
# directory).
2385
 
if (
2386
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2387
 
   if test "$*" = "X"; then
2388
 
      # -L didn't work.
2389
 
      set X `ls -t "$srcdir/configure" conftest.file`
2390
 
   fi
2391
 
   rm -f conftest.file
2392
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2393
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2394
 
 
2395
 
      # If neither matched, then we have a broken ls.  This can happen
2396
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2397
 
      # broken ls alias from the environment.  This has actually
2398
 
      # happened.  Such a system could not be considered "sane".
2399
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2400
 
alias in your environment" "$LINENO" 5
2401
 
   fi
2402
 
 
2403
 
   test "$2" = conftest.file
2404
 
   )
2405
 
then
2406
 
   # Ok.
2407
 
   :
2408
 
else
2409
 
   as_fn_error "newly created file is older than distributed files!
2410
 
Check your system clock" "$LINENO" 5
2411
 
fi
2412
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2413
 
$as_echo "yes" >&6; }
2414
 
test "$program_prefix" != NONE &&
2415
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2416
 
# Use a double $ so make ignores it.
2417
 
test "$program_suffix" != NONE &&
2418
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2419
 
# Double any \ or $.
2420
 
# By default was `s,x,x', remove it if useless.
2421
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2422
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2423
 
 
2424
 
# expand $ac_aux_dir to an absolute path
2425
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2426
 
 
2427
 
if test x"${MISSING+set}" != xset; then
2428
 
  case $am_aux_dir in
2429
 
  *\ * | *\     *)
2430
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2431
 
  *)
2432
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2433
 
  esac
2434
 
fi
2435
 
# Use eval to expand $SHELL
2436
 
if eval "$MISSING --run true"; then
2437
 
  am_missing_run="$MISSING --run "
2438
 
else
2439
 
  am_missing_run=
2440
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2441
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2442
 
fi
2443
 
 
2444
 
if test x"${install_sh}" != xset; then
2445
 
  case $am_aux_dir in
2446
 
  *\ * | *\     *)
2447
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2448
 
  *)
2449
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2450
 
  esac
2451
 
fi
2452
 
 
2453
 
# Installed binaries are usually stripped using `strip' when the user
2454
 
# run `make install-strip'.  However `strip' might not be the right
2455
 
# tool to use in cross-compilation environments, therefore Automake
2456
 
# will honor the `STRIP' environment variable to overrule this program.
2457
 
if test "$cross_compiling" != no; then
2458
 
  if test -n "$ac_tool_prefix"; then
2459
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2460
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2461
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462
 
$as_echo_n "checking for $ac_word... " >&6; }
2463
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2464
 
  $as_echo_n "(cached) " >&6
2465
 
else
2466
 
  if test -n "$STRIP"; then
2467
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2468
 
else
2469
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470
 
for as_dir in $PATH
2471
 
do
2472
 
  IFS=$as_save_IFS
2473
 
  test -z "$as_dir" && as_dir=.
2474
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2475
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2477
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478
 
    break 2
2479
 
  fi
2480
 
done
2481
 
  done
2482
 
IFS=$as_save_IFS
2483
 
 
2484
 
fi
2485
 
fi
2486
 
STRIP=$ac_cv_prog_STRIP
2487
 
if test -n "$STRIP"; then
2488
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2489
 
$as_echo "$STRIP" >&6; }
2490
 
else
2491
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492
 
$as_echo "no" >&6; }
2493
 
fi
2494
 
 
2495
 
 
2496
 
fi
2497
 
if test -z "$ac_cv_prog_STRIP"; then
2498
 
  ac_ct_STRIP=$STRIP
2499
 
  # Extract the first word of "strip", so it can be a program name with args.
2500
 
set dummy strip; ac_word=$2
2501
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502
 
$as_echo_n "checking for $ac_word... " >&6; }
2503
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2504
 
  $as_echo_n "(cached) " >&6
2505
 
else
2506
 
  if test -n "$ac_ct_STRIP"; then
2507
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2508
 
else
2509
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510
 
for as_dir in $PATH
2511
 
do
2512
 
  IFS=$as_save_IFS
2513
 
  test -z "$as_dir" && as_dir=.
2514
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2515
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516
 
    ac_cv_prog_ac_ct_STRIP="strip"
2517
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518
 
    break 2
2519
 
  fi
2520
 
done
2521
 
  done
2522
 
IFS=$as_save_IFS
2523
 
 
2524
 
fi
2525
 
fi
2526
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2527
 
if test -n "$ac_ct_STRIP"; then
2528
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2529
 
$as_echo "$ac_ct_STRIP" >&6; }
2530
 
else
2531
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532
 
$as_echo "no" >&6; }
2533
 
fi
2534
 
 
2535
 
  if test "x$ac_ct_STRIP" = x; then
2536
 
    STRIP=":"
2537
 
  else
2538
 
    case $cross_compiling:$ac_tool_warned in
2539
 
yes:)
2540
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2541
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2542
 
ac_tool_warned=yes ;;
2543
 
esac
2544
 
    STRIP=$ac_ct_STRIP
2545
 
  fi
2546
 
else
2547
 
  STRIP="$ac_cv_prog_STRIP"
2548
 
fi
2549
 
 
2550
 
fi
2551
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2552
 
 
2553
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2554
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2555
 
if test -z "$MKDIR_P"; then
2556
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2557
 
  $as_echo_n "(cached) " >&6
2558
 
else
2559
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2561
 
do
2562
 
  IFS=$as_save_IFS
2563
 
  test -z "$as_dir" && as_dir=.
2564
 
    for ac_prog in mkdir gmkdir; do
2565
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2566
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2567
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2568
 
             'mkdir (GNU coreutils) '* | \
2569
 
             'mkdir (coreutils) '* | \
2570
 
             'mkdir (fileutils) '4.1*)
2571
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2572
 
               break 3;;
2573
 
           esac
2574
 
         done
2575
 
       done
2576
 
  done
2577
 
IFS=$as_save_IFS
2578
 
 
2579
 
fi
2580
 
 
2581
 
  test -d ./--version && rmdir ./--version
2582
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2583
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2584
 
  else
2585
 
    # As a last resort, use the slow shell script.  Don't cache a
2586
 
    # value for MKDIR_P within a source directory, because that will
2587
 
    # break other packages using the cache if that directory is
2588
 
    # removed, or if the value is a relative name.
2589
 
    MKDIR_P="$ac_install_sh -d"
2590
 
  fi
2591
 
fi
2592
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2593
 
$as_echo "$MKDIR_P" >&6; }
2594
 
 
2595
 
mkdir_p="$MKDIR_P"
2596
 
case $mkdir_p in
2597
 
  [\\/$]* | ?:[\\/]*) ;;
2598
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2599
 
esac
2600
 
 
2601
 
for ac_prog in gawk mawk nawk awk
2602
 
do
2603
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2604
 
set dummy $ac_prog; ac_word=$2
2605
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
 
$as_echo_n "checking for $ac_word... " >&6; }
2607
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2608
 
  $as_echo_n "(cached) " >&6
2609
 
else
2610
 
  if test -n "$AWK"; then
2611
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2612
 
else
2613
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614
 
for as_dir in $PATH
2615
 
do
2616
 
  IFS=$as_save_IFS
2617
 
  test -z "$as_dir" && as_dir=.
2618
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2619
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620
 
    ac_cv_prog_AWK="$ac_prog"
2621
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622
 
    break 2
2623
 
  fi
2624
 
done
2625
 
  done
2626
 
IFS=$as_save_IFS
2627
 
 
2628
 
fi
2629
 
fi
2630
 
AWK=$ac_cv_prog_AWK
2631
 
if test -n "$AWK"; then
2632
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2633
 
$as_echo "$AWK" >&6; }
2634
 
else
2635
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636
 
$as_echo "no" >&6; }
2637
 
fi
2638
 
 
2639
 
 
2640
 
  test -n "$AWK" && break
2641
 
done
2642
 
 
2643
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2644
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2645
 
set x ${MAKE-make}
2646
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2647
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2648
 
  $as_echo_n "(cached) " >&6
2649
 
else
2650
 
  cat >conftest.make <<\_ACEOF
2651
 
SHELL = /bin/sh
2652
 
all:
2653
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2654
 
_ACEOF
2655
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2656
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2657
 
  *@@@%%%=?*=@@@%%%*)
2658
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2659
 
  *)
2660
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2661
 
esac
2662
 
rm -f conftest.make
2663
 
fi
2664
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2665
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2666
 
$as_echo "yes" >&6; }
2667
 
  SET_MAKE=
2668
 
else
2669
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2670
 
$as_echo "no" >&6; }
2671
 
  SET_MAKE="MAKE=${MAKE-make}"
2672
 
fi
2673
 
 
2674
 
rm -rf .tst 2>/dev/null
2675
 
mkdir .tst 2>/dev/null
2676
 
if test -d .tst; then
2677
 
  am__leading_dot=.
2678
 
else
2679
 
  am__leading_dot=_
2680
 
fi
2681
 
rmdir .tst 2>/dev/null
2682
 
 
2683
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2684
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2685
 
  # is not polluted with repeated "-I."
2686
 
  am__isrc=' -I$(srcdir)'
2687
 
  # test to see if srcdir already configured
2688
 
  if test -f $srcdir/config.status; then
2689
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2690
 
  fi
2691
 
fi
2692
 
 
2693
 
# test whether we have cygpath
2694
 
if test -z "$CYGPATH_W"; then
2695
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2696
 
    CYGPATH_W='cygpath -w'
2697
 
  else
2698
 
    CYGPATH_W=echo
2699
 
  fi
2700
 
fi
2701
 
 
2702
 
 
2703
 
# Define the identity of the package.
2704
 
 PACKAGE=gecko-mediaplayer
2705
 
 VERSION=1.0.0
2706
 
 
2707
 
 
2708
 
cat >>confdefs.h <<_ACEOF
2709
 
#define PACKAGE "$PACKAGE"
2710
 
_ACEOF
2711
 
 
2712
 
 
2713
 
cat >>confdefs.h <<_ACEOF
2714
 
#define VERSION "$VERSION"
2715
 
_ACEOF
2716
 
 
2717
 
# Some tools Automake needs.
2718
 
 
2719
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2720
 
 
2721
 
 
2722
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2723
 
 
2724
 
 
2725
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2726
 
 
2727
 
 
2728
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2729
 
 
2730
 
 
2731
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2732
 
 
2733
 
# We need awk for the "check" target.  The system "awk" is bad on
2734
 
# some platforms.
2735
 
# Always define AMTAR for backward compatibility.
2736
 
 
2737
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2738
 
 
2739
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2740
 
 
2741
 
 
2742
 
 
2743
 
 
2744
 
 
2745
 
ac_config_headers="$ac_config_headers config.h"
2746
 
 
2747
 
 
2748
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2749
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2750
 
    # Check whether --enable-maintainer-mode was given.
2751
 
if test "${enable_maintainer_mode+set}" = set; then :
2752
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2753
 
else
2754
 
  USE_MAINTAINER_MODE=no
2755
 
fi
2756
 
 
2757
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2758
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2759
 
   if test $USE_MAINTAINER_MODE = yes; then
2760
 
  MAINTAINER_MODE_TRUE=
2761
 
  MAINTAINER_MODE_FALSE='#'
2762
 
else
2763
 
  MAINTAINER_MODE_TRUE='#'
2764
 
  MAINTAINER_MODE_FALSE=
2765
 
fi
2766
 
 
2767
 
  MAINT=$MAINTAINER_MODE_TRUE
2768
 
 
2769
 
 
2770
 
 
2771
 
DEPDIR="${am__leading_dot}deps"
2772
 
 
2773
 
ac_config_commands="$ac_config_commands depfiles"
2774
 
 
2775
 
 
2776
 
am_make=${MAKE-make}
2777
 
cat > confinc << 'END'
2778
 
am__doit:
2779
 
        @echo this is the am__doit target
2780
 
.PHONY: am__doit
2781
 
END
2782
 
# If we don't find an include directive, just comment out the code.
2783
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2784
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2785
 
am__include="#"
2786
 
am__quote=
2787
 
_am_result=none
2788
 
# First try GNU make style include.
2789
 
echo "include confinc" > confmf
2790
 
# Ignore all kinds of additional output from `make'.
2791
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2792
 
*the\ am__doit\ target*)
2793
 
  am__include=include
2794
 
  am__quote=
2795
 
  _am_result=GNU
2796
 
  ;;
2797
 
esac
2798
 
# Now try BSD make style include.
2799
 
if test "$am__include" = "#"; then
2800
 
   echo '.include "confinc"' > confmf
2801
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
2802
 
   *the\ am__doit\ target*)
2803
 
     am__include=.include
2804
 
     am__quote="\""
2805
 
     _am_result=BSD
2806
 
     ;;
2807
 
   esac
2808
 
fi
2809
 
 
2810
 
 
2811
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2812
 
$as_echo "$_am_result" >&6; }
2813
 
rm -f confinc confmf
2814
 
 
2815
 
# Check whether --enable-dependency-tracking was given.
2816
 
if test "${enable_dependency_tracking+set}" = set; then :
2817
 
  enableval=$enable_dependency_tracking;
2818
 
fi
2819
 
 
2820
 
if test "x$enable_dependency_tracking" != xno; then
2821
 
  am_depcomp="$ac_aux_dir/depcomp"
2822
 
  AMDEPBACKSLASH='\'
2823
 
fi
2824
 
 if test "x$enable_dependency_tracking" != xno; then
2825
 
  AMDEP_TRUE=
2826
 
  AMDEP_FALSE='#'
2827
 
else
2828
 
  AMDEP_TRUE='#'
2829
 
  AMDEP_FALSE=
2830
 
fi
2831
 
 
2832
 
 
2833
 
ac_ext=c
2834
 
ac_cpp='$CPP $CPPFLAGS'
2835
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2836
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2837
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2838
 
if test -n "$ac_tool_prefix"; then
2839
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2840
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2841
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842
 
$as_echo_n "checking for $ac_word... " >&6; }
2843
 
if test "${ac_cv_prog_CC+set}" = set; then :
2844
 
  $as_echo_n "(cached) " >&6
2845
 
else
2846
 
  if test -n "$CC"; then
2847
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2848
 
else
2849
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850
 
for as_dir in $PATH
2851
 
do
2852
 
  IFS=$as_save_IFS
2853
 
  test -z "$as_dir" && as_dir=.
2854
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2855
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2857
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858
 
    break 2
2859
 
  fi
2860
 
done
2861
 
  done
2862
 
IFS=$as_save_IFS
2863
 
 
2864
 
fi
2865
 
fi
2866
 
CC=$ac_cv_prog_CC
2867
 
if test -n "$CC"; then
2868
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2869
 
$as_echo "$CC" >&6; }
2870
 
else
2871
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872
 
$as_echo "no" >&6; }
2873
 
fi
2874
 
 
2875
 
 
2876
 
fi
2877
 
if test -z "$ac_cv_prog_CC"; then
2878
 
  ac_ct_CC=$CC
2879
 
  # Extract the first word of "gcc", so it can be a program name with args.
2880
 
set dummy gcc; ac_word=$2
2881
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882
 
$as_echo_n "checking for $ac_word... " >&6; }
2883
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2884
 
  $as_echo_n "(cached) " >&6
2885
 
else
2886
 
  if test -n "$ac_ct_CC"; then
2887
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2888
 
else
2889
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890
 
for as_dir in $PATH
2891
 
do
2892
 
  IFS=$as_save_IFS
2893
 
  test -z "$as_dir" && as_dir=.
2894
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2895
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896
 
    ac_cv_prog_ac_ct_CC="gcc"
2897
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898
 
    break 2
2899
 
  fi
2900
 
done
2901
 
  done
2902
 
IFS=$as_save_IFS
2903
 
 
2904
 
fi
2905
 
fi
2906
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2907
 
if test -n "$ac_ct_CC"; then
2908
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2909
 
$as_echo "$ac_ct_CC" >&6; }
2910
 
else
2911
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912
 
$as_echo "no" >&6; }
2913
 
fi
2914
 
 
2915
 
  if test "x$ac_ct_CC" = x; then
2916
 
    CC=""
2917
 
  else
2918
 
    case $cross_compiling:$ac_tool_warned in
2919
 
yes:)
2920
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2921
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2922
 
ac_tool_warned=yes ;;
2923
 
esac
2924
 
    CC=$ac_ct_CC
2925
 
  fi
2926
 
else
2927
 
  CC="$ac_cv_prog_CC"
2928
 
fi
2929
 
 
2930
 
if test -z "$CC"; then
2931
 
          if test -n "$ac_tool_prefix"; then
2932
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2933
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2934
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935
 
$as_echo_n "checking for $ac_word... " >&6; }
2936
 
if test "${ac_cv_prog_CC+set}" = set; then :
2937
 
  $as_echo_n "(cached) " >&6
2938
 
else
2939
 
  if test -n "$CC"; then
2940
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2941
 
else
2942
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943
 
for as_dir in $PATH
2944
 
do
2945
 
  IFS=$as_save_IFS
2946
 
  test -z "$as_dir" && as_dir=.
2947
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2948
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2950
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951
 
    break 2
2952
 
  fi
2953
 
done
2954
 
  done
2955
 
IFS=$as_save_IFS
2956
 
 
2957
 
fi
2958
 
fi
2959
 
CC=$ac_cv_prog_CC
2960
 
if test -n "$CC"; then
2961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2962
 
$as_echo "$CC" >&6; }
2963
 
else
2964
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965
 
$as_echo "no" >&6; }
2966
 
fi
2967
 
 
2968
 
 
2969
 
  fi
2970
 
fi
2971
 
if test -z "$CC"; then
2972
 
  # Extract the first word of "cc", so it can be a program name with args.
2973
 
set dummy cc; ac_word=$2
2974
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975
 
$as_echo_n "checking for $ac_word... " >&6; }
2976
 
if test "${ac_cv_prog_CC+set}" = set; then :
2977
 
  $as_echo_n "(cached) " >&6
2978
 
else
2979
 
  if test -n "$CC"; then
2980
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2981
 
else
2982
 
  ac_prog_rejected=no
2983
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984
 
for as_dir in $PATH
2985
 
do
2986
 
  IFS=$as_save_IFS
2987
 
  test -z "$as_dir" && as_dir=.
2988
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2989
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2991
 
       ac_prog_rejected=yes
2992
 
       continue
2993
 
     fi
2994
 
    ac_cv_prog_CC="cc"
2995
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996
 
    break 2
2997
 
  fi
2998
 
done
2999
 
  done
3000
 
IFS=$as_save_IFS
3001
 
 
3002
 
if test $ac_prog_rejected = yes; then
3003
 
  # We found a bogon in the path, so make sure we never use it.
3004
 
  set dummy $ac_cv_prog_CC
3005
 
  shift
3006
 
  if test $# != 0; then
3007
 
    # We chose a different compiler from the bogus one.
3008
 
    # However, it has the same basename, so the bogon will be chosen
3009
 
    # first if we set CC to just the basename; use the full file name.
3010
 
    shift
3011
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3012
 
  fi
3013
 
fi
3014
 
fi
3015
 
fi
3016
 
CC=$ac_cv_prog_CC
3017
 
if test -n "$CC"; then
3018
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019
 
$as_echo "$CC" >&6; }
3020
 
else
3021
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022
 
$as_echo "no" >&6; }
3023
 
fi
3024
 
 
3025
 
 
3026
 
fi
3027
 
if test -z "$CC"; then
3028
 
  if test -n "$ac_tool_prefix"; then
3029
 
  for ac_prog in cl.exe
3030
 
  do
3031
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3032
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
 
$as_echo_n "checking for $ac_word... " >&6; }
3035
 
if test "${ac_cv_prog_CC+set}" = set; then :
3036
 
  $as_echo_n "(cached) " >&6
3037
 
else
3038
 
  if test -n "$CC"; then
3039
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3040
 
else
3041
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042
 
for as_dir in $PATH
3043
 
do
3044
 
  IFS=$as_save_IFS
3045
 
  test -z "$as_dir" && as_dir=.
3046
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3047
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3049
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050
 
    break 2
3051
 
  fi
3052
 
done
3053
 
  done
3054
 
IFS=$as_save_IFS
3055
 
 
3056
 
fi
3057
 
fi
3058
 
CC=$ac_cv_prog_CC
3059
 
if test -n "$CC"; then
3060
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3061
 
$as_echo "$CC" >&6; }
3062
 
else
3063
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064
 
$as_echo "no" >&6; }
3065
 
fi
3066
 
 
3067
 
 
3068
 
    test -n "$CC" && break
3069
 
  done
3070
 
fi
3071
 
if test -z "$CC"; then
3072
 
  ac_ct_CC=$CC
3073
 
  for ac_prog in cl.exe
3074
 
do
3075
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3076
 
set dummy $ac_prog; ac_word=$2
3077
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078
 
$as_echo_n "checking for $ac_word... " >&6; }
3079
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3080
 
  $as_echo_n "(cached) " >&6
3081
 
else
3082
 
  if test -n "$ac_ct_CC"; then
3083
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3084
 
else
3085
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086
 
for as_dir in $PATH
3087
 
do
3088
 
  IFS=$as_save_IFS
3089
 
  test -z "$as_dir" && as_dir=.
3090
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3091
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3093
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094
 
    break 2
3095
 
  fi
3096
 
done
3097
 
  done
3098
 
IFS=$as_save_IFS
3099
 
 
3100
 
fi
3101
 
fi
3102
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3103
 
if test -n "$ac_ct_CC"; then
3104
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3105
 
$as_echo "$ac_ct_CC" >&6; }
3106
 
else
3107
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108
 
$as_echo "no" >&6; }
3109
 
fi
3110
 
 
3111
 
 
3112
 
  test -n "$ac_ct_CC" && break
3113
 
done
3114
 
 
3115
 
  if test "x$ac_ct_CC" = x; then
3116
 
    CC=""
3117
 
  else
3118
 
    case $cross_compiling:$ac_tool_warned in
3119
 
yes:)
3120
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122
 
ac_tool_warned=yes ;;
3123
 
esac
3124
 
    CC=$ac_ct_CC
3125
 
  fi
3126
 
fi
3127
 
 
3128
 
fi
3129
 
 
3130
 
 
3131
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133
 
as_fn_error "no acceptable C compiler found in \$PATH
3134
 
See \`config.log' for more details." "$LINENO" 5; }
3135
 
 
3136
 
# Provide some information about the compiler.
3137
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3138
 
set X $ac_compile
3139
 
ac_compiler=$2
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
3160
 
 
3161
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162
 
/* end confdefs.h.  */
3163
 
 
3164
 
int
3165
 
main ()
3166
 
{
3167
 
 
3168
 
  ;
3169
 
  return 0;
3170
 
}
3171
 
_ACEOF
3172
 
ac_clean_files_save=$ac_clean_files
3173
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3174
 
# Try to create an executable without -o first, disregard a.out.
3175
 
# It will help us diagnose broken compilers, and finding out an intuition
3176
 
# of exeext.
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; }
3179
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3180
 
 
3181
 
# The possible output files:
3182
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3183
 
 
3184
 
ac_rmfiles=
3185
 
for ac_file in $ac_files
3186
 
do
3187
 
  case $ac_file in
3188
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3189
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3190
 
  esac
3191
 
done
3192
 
rm -f $ac_rmfiles
3193
 
 
3194
 
if { { ac_try="$ac_link_default"
3195
 
case "(($ac_try" in
3196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197
 
  *) ac_try_echo=$ac_try;;
3198
 
esac
3199
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200
 
$as_echo "$ac_try_echo"; } >&5
3201
 
  (eval "$ac_link_default") 2>&5
3202
 
  ac_status=$?
3203
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204
 
  test $ac_status = 0; }; then :
3205
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3206
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3207
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3208
 
# so that the user can short-circuit this test for compilers unknown to
3209
 
# Autoconf.
3210
 
for ac_file in $ac_files ''
3211
 
do
3212
 
  test -f "$ac_file" || continue
3213
 
  case $ac_file in
3214
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3215
 
        ;;
3216
 
    [ab].out )
3217
 
        # We found the default executable, but exeext='' is most
3218
 
        # certainly right.
3219
 
        break;;
3220
 
    *.* )
3221
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3222
 
        then :; else
3223
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3224
 
        fi
3225
 
        # We set ac_cv_exeext here because the later test for it is not
3226
 
        # safe: cross compilers may not add the suffix if given an `-o'
3227
 
        # argument, so we may need to know it at that point already.
3228
 
        # Even if this section looks crufty: it has the advantage of
3229
 
        # actually working.
3230
 
        break;;
3231
 
    * )
3232
 
        break;;
3233
 
  esac
3234
 
done
3235
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3236
 
 
3237
 
else
3238
 
  ac_file=''
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
3245
 
 
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
3258
 
$as_echo "$ac_file" >&6; }
3259
 
ac_exeext=$ac_cv_exeext
3260
 
 
3261
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3262
 
ac_clean_files=$ac_clean_files_save
3263
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3264
 
$as_echo_n "checking for suffix of executables... " >&6; }
3265
 
if { { ac_try="$ac_link"
3266
 
case "(($ac_try" in
3267
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268
 
  *) ac_try_echo=$ac_try;;
3269
 
esac
3270
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3271
 
$as_echo "$ac_try_echo"; } >&5
3272
 
  (eval "$ac_link") 2>&5
3273
 
  ac_status=$?
3274
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3275
 
  test $ac_status = 0; }; then :
3276
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3277
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3278
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3279
 
# `rm'.
3280
 
for ac_file in conftest.exe conftest conftest.*; do
3281
 
  test -f "$ac_file" || continue
3282
 
  case $ac_file in
3283
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3284
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3285
 
          break;;
3286
 
    * ) break;;
3287
 
  esac
3288
 
done
3289
 
else
3290
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3293
 
See \`config.log' for more details." "$LINENO" 5; }
3294
 
fi
3295
 
rm -f conftest conftest$ac_cv_exeext
3296
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3297
 
$as_echo "$ac_cv_exeext" >&6; }
3298
 
 
3299
 
rm -f conftest.$ac_ext
3300
 
EXEEXT=$ac_cv_exeext
3301
 
ac_exeext=$EXEEXT
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
3362
 
$as_echo_n "checking for suffix of object files... " >&6; }
3363
 
if test "${ac_cv_objext+set}" = set; then :
3364
 
  $as_echo_n "(cached) " >&6
3365
 
else
3366
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367
 
/* end confdefs.h.  */
3368
 
 
3369
 
int
3370
 
main ()
3371
 
{
3372
 
 
3373
 
  ;
3374
 
  return 0;
3375
 
}
3376
 
_ACEOF
3377
 
rm -f conftest.o conftest.obj
3378
 
if { { ac_try="$ac_compile"
3379
 
case "(($ac_try" in
3380
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381
 
  *) ac_try_echo=$ac_try;;
3382
 
esac
3383
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3384
 
$as_echo "$ac_try_echo"; } >&5
3385
 
  (eval "$ac_compile") 2>&5
3386
 
  ac_status=$?
3387
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3388
 
  test $ac_status = 0; }; then :
3389
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3390
 
  test -f "$ac_file" || continue;
3391
 
  case $ac_file in
3392
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3393
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3394
 
       break;;
3395
 
  esac
3396
 
done
3397
 
else
3398
 
  $as_echo "$as_me: failed program was:" >&5
3399
 
sed 's/^/| /' conftest.$ac_ext >&5
3400
 
 
3401
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403
 
as_fn_error "cannot compute suffix of object files: cannot compile
3404
 
See \`config.log' for more details." "$LINENO" 5; }
3405
 
fi
3406
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3407
 
fi
3408
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3409
 
$as_echo "$ac_cv_objext" >&6; }
3410
 
OBJEXT=$ac_cv_objext
3411
 
ac_objext=$OBJEXT
3412
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3413
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3414
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3415
 
  $as_echo_n "(cached) " >&6
3416
 
else
3417
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418
 
/* end confdefs.h.  */
3419
 
 
3420
 
int
3421
 
main ()
3422
 
{
3423
 
#ifndef __GNUC__
3424
 
       choke me
3425
 
#endif
3426
 
 
3427
 
  ;
3428
 
  return 0;
3429
 
}
3430
 
_ACEOF
3431
 
if ac_fn_c_try_compile "$LINENO"; then :
3432
 
  ac_compiler_gnu=yes
3433
 
else
3434
 
  ac_compiler_gnu=no
3435
 
fi
3436
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3438
 
 
3439
 
fi
3440
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3441
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3442
 
if test $ac_compiler_gnu = yes; then
3443
 
  GCC=yes
3444
 
else
3445
 
  GCC=
3446
 
fi
3447
 
ac_test_CFLAGS=${CFLAGS+set}
3448
 
ac_save_CFLAGS=$CFLAGS
3449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3450
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3451
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
3452
 
  $as_echo_n "(cached) " >&6
3453
 
else
3454
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3455
 
   ac_c_werror_flag=yes
3456
 
   ac_cv_prog_cc_g=no
3457
 
   CFLAGS="-g"
3458
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459
 
/* end confdefs.h.  */
3460
 
 
3461
 
int
3462
 
main ()
3463
 
{
3464
 
 
3465
 
  ;
3466
 
  return 0;
3467
 
}
3468
 
_ACEOF
3469
 
if ac_fn_c_try_compile "$LINENO"; then :
3470
 
  ac_cv_prog_cc_g=yes
3471
 
else
3472
 
  CFLAGS=""
3473
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474
 
/* end confdefs.h.  */
3475
 
 
3476
 
int
3477
 
main ()
3478
 
{
3479
 
 
3480
 
  ;
3481
 
  return 0;
3482
 
}
3483
 
_ACEOF
3484
 
if ac_fn_c_try_compile "$LINENO"; then :
3485
 
 
3486
 
else
3487
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3488
 
         CFLAGS="-g"
3489
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490
 
/* end confdefs.h.  */
3491
 
 
3492
 
int
3493
 
main ()
3494
 
{
3495
 
 
3496
 
  ;
3497
 
  return 0;
3498
 
}
3499
 
_ACEOF
3500
 
if ac_fn_c_try_compile "$LINENO"; then :
3501
 
  ac_cv_prog_cc_g=yes
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
3507
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3508
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3509
 
fi
3510
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3511
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3512
 
if test "$ac_test_CFLAGS" = set; then
3513
 
  CFLAGS=$ac_save_CFLAGS
3514
 
elif test $ac_cv_prog_cc_g = yes; then
3515
 
  if test "$GCC" = yes; then
3516
 
    CFLAGS="-g -O2"
3517
 
  else
3518
 
    CFLAGS="-g"
3519
 
  fi
3520
 
else
3521
 
  if test "$GCC" = yes; then
3522
 
    CFLAGS="-O2"
3523
 
  else
3524
 
    CFLAGS=
3525
 
  fi
3526
 
fi
3527
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3528
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3529
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3530
 
  $as_echo_n "(cached) " >&6
3531
 
else
3532
 
  ac_cv_prog_cc_c89=no
3533
 
ac_save_CC=$CC
3534
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535
 
/* end confdefs.h.  */
3536
 
#include <stdarg.h>
3537
 
#include <stdio.h>
3538
 
#include <sys/types.h>
3539
 
#include <sys/stat.h>
3540
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3541
 
struct buf { int x; };
3542
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3543
 
static char *e (p, i)
3544
 
     char **p;
3545
 
     int i;
3546
 
{
3547
 
  return p[i];
3548
 
}
3549
 
static char *f (char * (*g) (char **, int), char **p, ...)
3550
 
{
3551
 
  char *s;
3552
 
  va_list v;
3553
 
  va_start (v,p);
3554
 
  s = g (p, va_arg (v,int));
3555
 
  va_end (v);
3556
 
  return s;
3557
 
}
3558
 
 
3559
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3560
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3561
 
   These don't provoke an error unfortunately, instead are silently treated
3562
 
   as 'x'.  The following induces an error, until -std is added to get
3563
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3564
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3565
 
   that's true only with -std.  */
3566
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3567
 
 
3568
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3569
 
   inside strings and character constants.  */
3570
 
#define FOO(x) 'x'
3571
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3572
 
 
3573
 
int test (int i, double x);
3574
 
struct s1 {int (*f) (int a);};
3575
 
struct s2 {int (*f) (double a);};
3576
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3577
 
int argc;
3578
 
char **argv;
3579
 
int
3580
 
main ()
3581
 
{
3582
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3583
 
  ;
3584
 
  return 0;
3585
 
}
3586
 
_ACEOF
3587
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3588
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3589
 
do
3590
 
  CC="$ac_save_CC $ac_arg"
3591
 
  if ac_fn_c_try_compile "$LINENO"; then :
3592
 
  ac_cv_prog_cc_c89=$ac_arg
3593
 
fi
3594
 
rm -f core conftest.err conftest.$ac_objext
3595
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3596
 
done
3597
 
rm -f conftest.$ac_ext
3598
 
CC=$ac_save_CC
3599
 
 
3600
 
fi
3601
 
# AC_CACHE_VAL
3602
 
case "x$ac_cv_prog_cc_c89" in
3603
 
  x)
3604
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3605
 
$as_echo "none needed" >&6; } ;;
3606
 
  xno)
3607
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3608
 
$as_echo "unsupported" >&6; } ;;
3609
 
  *)
3610
 
    CC="$CC $ac_cv_prog_cc_c89"
3611
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3612
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3613
 
esac
3614
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3615
 
 
3616
 
fi
3617
 
 
3618
 
ac_ext=c
3619
 
ac_cpp='$CPP $CPPFLAGS'
3620
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3623
 
 
3624
 
depcc="$CC"   am_compiler_list=
3625
 
 
3626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3627
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3628
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3629
 
  $as_echo_n "(cached) " >&6
3630
 
else
3631
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3632
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3633
 
  # making bogus files that we don't know about and never remove.  For
3634
 
  # instance it was reported that on HP-UX the gcc test will end up
3635
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3636
 
  # in D'.
3637
 
  mkdir conftest.dir
3638
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3639
 
  # using a relative directory.
3640
 
  cp "$am_depcomp" conftest.dir
3641
 
  cd conftest.dir
3642
 
  # We will build objects and dependencies in a subdirectory because
3643
 
  # it helps to detect inapplicable dependency modes.  For instance
3644
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3645
 
  # side effect of compilation, but ICC will put the dependencies in
3646
 
  # the current directory while Tru64 will put them in the object
3647
 
  # directory.
3648
 
  mkdir sub
3649
 
 
3650
 
  am_cv_CC_dependencies_compiler_type=none
3651
 
  if test "$am_compiler_list" = ""; then
3652
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3653
 
  fi
3654
 
  am__universal=false
3655
 
  case " $depcc " in #(
3656
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3657
 
     esac
3658
 
 
3659
 
  for depmode in $am_compiler_list; do
3660
 
    # Setup a source with many dependencies, because some compilers
3661
 
    # like to wrap large dependency lists on column 80 (with \), and
3662
 
    # we should not choose a depcomp mode which is confused by this.
3663
 
    #
3664
 
    # We need to recreate these files for each test, as the compiler may
3665
 
    # overwrite some of them when testing with obscure command lines.
3666
 
    # This happens at least with the AIX C compiler.
3667
 
    : > sub/conftest.c
3668
 
    for i in 1 2 3 4 5 6; do
3669
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3670
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3671
 
      # Solaris 8's {/usr,}/bin/sh.
3672
 
      touch sub/conftst$i.h
3673
 
    done
3674
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3675
 
 
3676
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3677
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3678
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3679
 
    # versions had trouble with output in subdirs
3680
 
    am__obj=sub/conftest.${OBJEXT-o}
3681
 
    am__minus_obj="-o $am__obj"
3682
 
    case $depmode in
3683
 
    gcc)
3684
 
      # This depmode causes a compiler race in universal mode.
3685
 
      test "$am__universal" = false || continue
3686
 
      ;;
3687
 
    nosideeffect)
3688
 
      # after this tag, mechanisms are not by side-effect, so they'll
3689
 
      # only be used when explicitly requested
3690
 
      if test "x$enable_dependency_tracking" = xyes; then
3691
 
        continue
3692
 
      else
3693
 
        break
3694
 
      fi
3695
 
      ;;
3696
 
    msvisualcpp | msvcmsys)
3697
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3698
 
      # not run yet.  These depmodes are late enough in the game, and
3699
 
      # so weak that their functioning should not be impacted.
3700
 
      am__obj=conftest.${OBJEXT-o}
3701
 
      am__minus_obj=
3702
 
      ;;
3703
 
    none) break ;;
3704
 
    esac
3705
 
    if depmode=$depmode \
3706
 
       source=sub/conftest.c object=$am__obj \
3707
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3708
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3709
 
         >/dev/null 2>conftest.err &&
3710
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3711
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3712
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3713
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3714
 
      # icc doesn't choke on unknown options, it will just issue warnings
3715
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3716
 
      # that says an option was ignored or not supported.
3717
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3718
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3719
 
      # The diagnosis changed in icc 8.0:
3720
 
      #   icc: Command line remark: option '-MP' not supported
3721
 
      if (grep 'ignoring option' conftest.err ||
3722
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3723
 
        am_cv_CC_dependencies_compiler_type=$depmode
3724
 
        break
3725
 
      fi
3726
 
    fi
3727
 
  done
3728
 
 
3729
 
  cd ..
3730
 
  rm -rf conftest.dir
3731
 
else
3732
 
  am_cv_CC_dependencies_compiler_type=none
3733
 
fi
3734
 
 
3735
 
fi
3736
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3737
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3738
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3739
 
 
3740
 
 if
3741
 
  test "x$enable_dependency_tracking" != xno \
3742
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3743
 
  am__fastdepCC_TRUE=
3744
 
  am__fastdepCC_FALSE='#'
3745
 
else
3746
 
  am__fastdepCC_TRUE='#'
3747
 
  am__fastdepCC_FALSE=
3748
 
fi
3749
 
 
3750
 
 
3751
 
 
3752
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3753
 
$as_echo_n "checking for library containing strerror... " >&6; }
3754
 
if test "${ac_cv_search_strerror+set}" = set; then :
3755
 
  $as_echo_n "(cached) " >&6
3756
 
else
3757
 
  ac_func_search_save_LIBS=$LIBS
3758
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759
 
/* end confdefs.h.  */
3760
 
 
3761
 
/* Override any GCC internal prototype to avoid an error.
3762
 
   Use char because int might match the return type of a GCC
3763
 
   builtin and then its argument prototype would still apply.  */
3764
 
#ifdef __cplusplus
3765
 
extern "C"
3766
 
#endif
3767
 
char strerror ();
3768
 
int
3769
 
main ()
3770
 
{
3771
 
return strerror ();
3772
 
  ;
3773
 
  return 0;
3774
 
}
3775
 
_ACEOF
3776
 
for ac_lib in '' cposix; do
3777
 
  if test -z "$ac_lib"; then
3778
 
    ac_res="none required"
3779
 
  else
3780
 
    ac_res=-l$ac_lib
3781
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3782
 
  fi
3783
 
  if ac_fn_c_try_link "$LINENO"; then :
3784
 
  ac_cv_search_strerror=$ac_res
3785
 
fi
3786
 
rm -f core conftest.err conftest.$ac_objext \
3787
 
    conftest$ac_exeext
3788
 
  if test "${ac_cv_search_strerror+set}" = set; then :
3789
 
  break
3790
 
fi
3791
 
done
3792
 
if test "${ac_cv_search_strerror+set}" = set; then :
3793
 
 
3794
 
else
3795
 
  ac_cv_search_strerror=no
3796
 
fi
3797
 
rm conftest.$ac_ext
3798
 
LIBS=$ac_func_search_save_LIBS
3799
 
fi
3800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3801
 
$as_echo "$ac_cv_search_strerror" >&6; }
3802
 
ac_res=$ac_cv_search_strerror
3803
 
if test "$ac_res" != no; then :
3804
 
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3805
 
 
3806
 
fi
3807
 
 
3808
 
ac_ext=c
3809
 
ac_cpp='$CPP $CPPFLAGS'
3810
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3813
 
if test -n "$ac_tool_prefix"; then
3814
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3815
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3816
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817
 
$as_echo_n "checking for $ac_word... " >&6; }
3818
 
if test "${ac_cv_prog_CC+set}" = set; then :
3819
 
  $as_echo_n "(cached) " >&6
3820
 
else
3821
 
  if test -n "$CC"; then
3822
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3823
 
else
3824
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825
 
for as_dir in $PATH
3826
 
do
3827
 
  IFS=$as_save_IFS
3828
 
  test -z "$as_dir" && as_dir=.
3829
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3830
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3831
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3832
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3833
 
    break 2
3834
 
  fi
3835
 
done
3836
 
  done
3837
 
IFS=$as_save_IFS
3838
 
 
3839
 
fi
3840
 
fi
3841
 
CC=$ac_cv_prog_CC
3842
 
if test -n "$CC"; then
3843
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3844
 
$as_echo "$CC" >&6; }
3845
 
else
3846
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847
 
$as_echo "no" >&6; }
3848
 
fi
3849
 
 
3850
 
 
3851
 
fi
3852
 
if test -z "$ac_cv_prog_CC"; then
3853
 
  ac_ct_CC=$CC
3854
 
  # Extract the first word of "gcc", so it can be a program name with args.
3855
 
set dummy gcc; ac_word=$2
3856
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857
 
$as_echo_n "checking for $ac_word... " >&6; }
3858
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3859
 
  $as_echo_n "(cached) " >&6
3860
 
else
3861
 
  if test -n "$ac_ct_CC"; then
3862
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3863
 
else
3864
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865
 
for as_dir in $PATH
3866
 
do
3867
 
  IFS=$as_save_IFS
3868
 
  test -z "$as_dir" && as_dir=.
3869
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3870
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3871
 
    ac_cv_prog_ac_ct_CC="gcc"
3872
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873
 
    break 2
3874
 
  fi
3875
 
done
3876
 
  done
3877
 
IFS=$as_save_IFS
3878
 
 
3879
 
fi
3880
 
fi
3881
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3882
 
if test -n "$ac_ct_CC"; then
3883
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3884
 
$as_echo "$ac_ct_CC" >&6; }
3885
 
else
3886
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887
 
$as_echo "no" >&6; }
3888
 
fi
3889
 
 
3890
 
  if test "x$ac_ct_CC" = x; then
3891
 
    CC=""
3892
 
  else
3893
 
    case $cross_compiling:$ac_tool_warned in
3894
 
yes:)
3895
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3896
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3897
 
ac_tool_warned=yes ;;
3898
 
esac
3899
 
    CC=$ac_ct_CC
3900
 
  fi
3901
 
else
3902
 
  CC="$ac_cv_prog_CC"
3903
 
fi
3904
 
 
3905
 
if test -z "$CC"; then
3906
 
          if test -n "$ac_tool_prefix"; then
3907
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3908
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3909
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910
 
$as_echo_n "checking for $ac_word... " >&6; }
3911
 
if test "${ac_cv_prog_CC+set}" = set; then :
3912
 
  $as_echo_n "(cached) " >&6
3913
 
else
3914
 
  if test -n "$CC"; then
3915
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3916
 
else
3917
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918
 
for as_dir in $PATH
3919
 
do
3920
 
  IFS=$as_save_IFS
3921
 
  test -z "$as_dir" && as_dir=.
3922
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3923
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3924
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3925
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926
 
    break 2
3927
 
  fi
3928
 
done
3929
 
  done
3930
 
IFS=$as_save_IFS
3931
 
 
3932
 
fi
3933
 
fi
3934
 
CC=$ac_cv_prog_CC
3935
 
if test -n "$CC"; then
3936
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3937
 
$as_echo "$CC" >&6; }
3938
 
else
3939
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940
 
$as_echo "no" >&6; }
3941
 
fi
3942
 
 
3943
 
 
3944
 
  fi
3945
 
fi
3946
 
if test -z "$CC"; then
3947
 
  # Extract the first word of "cc", so it can be a program name with args.
3948
 
set dummy cc; ac_word=$2
3949
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950
 
$as_echo_n "checking for $ac_word... " >&6; }
3951
 
if test "${ac_cv_prog_CC+set}" = set; then :
3952
 
  $as_echo_n "(cached) " >&6
3953
 
else
3954
 
  if test -n "$CC"; then
3955
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3956
 
else
3957
 
  ac_prog_rejected=no
3958
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959
 
for as_dir in $PATH
3960
 
do
3961
 
  IFS=$as_save_IFS
3962
 
  test -z "$as_dir" && as_dir=.
3963
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3964
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3965
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3966
 
       ac_prog_rejected=yes
3967
 
       continue
3968
 
     fi
3969
 
    ac_cv_prog_CC="cc"
3970
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971
 
    break 2
3972
 
  fi
3973
 
done
3974
 
  done
3975
 
IFS=$as_save_IFS
3976
 
 
3977
 
if test $ac_prog_rejected = yes; then
3978
 
  # We found a bogon in the path, so make sure we never use it.
3979
 
  set dummy $ac_cv_prog_CC
3980
 
  shift
3981
 
  if test $# != 0; then
3982
 
    # We chose a different compiler from the bogus one.
3983
 
    # However, it has the same basename, so the bogon will be chosen
3984
 
    # first if we set CC to just the basename; use the full file name.
3985
 
    shift
3986
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3987
 
  fi
3988
 
fi
3989
 
fi
3990
 
fi
3991
 
CC=$ac_cv_prog_CC
3992
 
if test -n "$CC"; then
3993
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3994
 
$as_echo "$CC" >&6; }
3995
 
else
3996
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997
 
$as_echo "no" >&6; }
3998
 
fi
3999
 
 
4000
 
 
4001
 
fi
4002
 
if test -z "$CC"; then
4003
 
  if test -n "$ac_tool_prefix"; then
4004
 
  for ac_prog in cl.exe
4005
 
  do
4006
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4007
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4008
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009
 
$as_echo_n "checking for $ac_word... " >&6; }
4010
 
if test "${ac_cv_prog_CC+set}" = set; then :
4011
 
  $as_echo_n "(cached) " >&6
4012
 
else
4013
 
  if test -n "$CC"; then
4014
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4015
 
else
4016
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017
 
for as_dir in $PATH
4018
 
do
4019
 
  IFS=$as_save_IFS
4020
 
  test -z "$as_dir" && as_dir=.
4021
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4022
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4023
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4024
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4025
 
    break 2
4026
 
  fi
4027
 
done
4028
 
  done
4029
 
IFS=$as_save_IFS
4030
 
 
4031
 
fi
4032
 
fi
4033
 
CC=$ac_cv_prog_CC
4034
 
if test -n "$CC"; then
4035
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4036
 
$as_echo "$CC" >&6; }
4037
 
else
4038
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039
 
$as_echo "no" >&6; }
4040
 
fi
4041
 
 
4042
 
 
4043
 
    test -n "$CC" && break
4044
 
  done
4045
 
fi
4046
 
if test -z "$CC"; then
4047
 
  ac_ct_CC=$CC
4048
 
  for ac_prog in cl.exe
4049
 
do
4050
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4051
 
set dummy $ac_prog; ac_word=$2
4052
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4053
 
$as_echo_n "checking for $ac_word... " >&6; }
4054
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4055
 
  $as_echo_n "(cached) " >&6
4056
 
else
4057
 
  if test -n "$ac_ct_CC"; then
4058
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4059
 
else
4060
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061
 
for as_dir in $PATH
4062
 
do
4063
 
  IFS=$as_save_IFS
4064
 
  test -z "$as_dir" && as_dir=.
4065
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4066
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4067
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4068
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4069
 
    break 2
4070
 
  fi
4071
 
done
4072
 
  done
4073
 
IFS=$as_save_IFS
4074
 
 
4075
 
fi
4076
 
fi
4077
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4078
 
if test -n "$ac_ct_CC"; then
4079
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4080
 
$as_echo "$ac_ct_CC" >&6; }
4081
 
else
4082
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083
 
$as_echo "no" >&6; }
4084
 
fi
4085
 
 
4086
 
 
4087
 
  test -n "$ac_ct_CC" && break
4088
 
done
4089
 
 
4090
 
  if test "x$ac_ct_CC" = x; then
4091
 
    CC=""
4092
 
  else
4093
 
    case $cross_compiling:$ac_tool_warned in
4094
 
yes:)
4095
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4096
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4097
 
ac_tool_warned=yes ;;
4098
 
esac
4099
 
    CC=$ac_ct_CC
4100
 
  fi
4101
 
fi
4102
 
 
4103
 
fi
4104
 
 
4105
 
 
4106
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108
 
as_fn_error "no acceptable C compiler found in \$PATH
4109
 
See \`config.log' for more details." "$LINENO" 5; }
4110
 
 
4111
 
# Provide some information about the compiler.
4112
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4113
 
set X $ac_compile
4114
 
ac_compiler=$2
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
4135
 
 
4136
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4137
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4138
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4139
 
  $as_echo_n "(cached) " >&6
4140
 
else
4141
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142
 
/* end confdefs.h.  */
4143
 
 
4144
 
int
4145
 
main ()
4146
 
{
4147
 
#ifndef __GNUC__
4148
 
       choke me
4149
 
#endif
4150
 
 
4151
 
  ;
4152
 
  return 0;
4153
 
}
4154
 
_ACEOF
4155
 
if ac_fn_c_try_compile "$LINENO"; then :
4156
 
  ac_compiler_gnu=yes
4157
 
else
4158
 
  ac_compiler_gnu=no
4159
 
fi
4160
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4162
 
 
4163
 
fi
4164
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4165
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4166
 
if test $ac_compiler_gnu = yes; then
4167
 
  GCC=yes
4168
 
else
4169
 
  GCC=
4170
 
fi
4171
 
ac_test_CFLAGS=${CFLAGS+set}
4172
 
ac_save_CFLAGS=$CFLAGS
4173
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4174
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4175
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
4176
 
  $as_echo_n "(cached) " >&6
4177
 
else
4178
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4179
 
   ac_c_werror_flag=yes
4180
 
   ac_cv_prog_cc_g=no
4181
 
   CFLAGS="-g"
4182
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183
 
/* end confdefs.h.  */
4184
 
 
4185
 
int
4186
 
main ()
4187
 
{
4188
 
 
4189
 
  ;
4190
 
  return 0;
4191
 
}
4192
 
_ACEOF
4193
 
if ac_fn_c_try_compile "$LINENO"; then :
4194
 
  ac_cv_prog_cc_g=yes
4195
 
else
4196
 
  CFLAGS=""
4197
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198
 
/* end confdefs.h.  */
4199
 
 
4200
 
int
4201
 
main ()
4202
 
{
4203
 
 
4204
 
  ;
4205
 
  return 0;
4206
 
}
4207
 
_ACEOF
4208
 
if ac_fn_c_try_compile "$LINENO"; then :
4209
 
 
4210
 
else
4211
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4212
 
         CFLAGS="-g"
4213
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214
 
/* end confdefs.h.  */
4215
 
 
4216
 
int
4217
 
main ()
4218
 
{
4219
 
 
4220
 
  ;
4221
 
  return 0;
4222
 
}
4223
 
_ACEOF
4224
 
if ac_fn_c_try_compile "$LINENO"; then :
4225
 
  ac_cv_prog_cc_g=yes
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
4231
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4233
 
fi
4234
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4235
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4236
 
if test "$ac_test_CFLAGS" = set; then
4237
 
  CFLAGS=$ac_save_CFLAGS
4238
 
elif test $ac_cv_prog_cc_g = yes; then
4239
 
  if test "$GCC" = yes; then
4240
 
    CFLAGS="-g -O2"
4241
 
  else
4242
 
    CFLAGS="-g"
4243
 
  fi
4244
 
else
4245
 
  if test "$GCC" = yes; then
4246
 
    CFLAGS="-O2"
4247
 
  else
4248
 
    CFLAGS=
4249
 
  fi
4250
 
fi
4251
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4252
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4253
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4254
 
  $as_echo_n "(cached) " >&6
4255
 
else
4256
 
  ac_cv_prog_cc_c89=no
4257
 
ac_save_CC=$CC
4258
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259
 
/* end confdefs.h.  */
4260
 
#include <stdarg.h>
4261
 
#include <stdio.h>
4262
 
#include <sys/types.h>
4263
 
#include <sys/stat.h>
4264
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4265
 
struct buf { int x; };
4266
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4267
 
static char *e (p, i)
4268
 
     char **p;
4269
 
     int i;
4270
 
{
4271
 
  return p[i];
4272
 
}
4273
 
static char *f (char * (*g) (char **, int), char **p, ...)
4274
 
{
4275
 
  char *s;
4276
 
  va_list v;
4277
 
  va_start (v,p);
4278
 
  s = g (p, va_arg (v,int));
4279
 
  va_end (v);
4280
 
  return s;
4281
 
}
4282
 
 
4283
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4284
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4285
 
   These don't provoke an error unfortunately, instead are silently treated
4286
 
   as 'x'.  The following induces an error, until -std is added to get
4287
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4288
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4289
 
   that's true only with -std.  */
4290
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4291
 
 
4292
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4293
 
   inside strings and character constants.  */
4294
 
#define FOO(x) 'x'
4295
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4296
 
 
4297
 
int test (int i, double x);
4298
 
struct s1 {int (*f) (int a);};
4299
 
struct s2 {int (*f) (double a);};
4300
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4301
 
int argc;
4302
 
char **argv;
4303
 
int
4304
 
main ()
4305
 
{
4306
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4307
 
  ;
4308
 
  return 0;
4309
 
}
4310
 
_ACEOF
4311
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4312
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4313
 
do
4314
 
  CC="$ac_save_CC $ac_arg"
4315
 
  if ac_fn_c_try_compile "$LINENO"; then :
4316
 
  ac_cv_prog_cc_c89=$ac_arg
4317
 
fi
4318
 
rm -f core conftest.err conftest.$ac_objext
4319
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4320
 
done
4321
 
rm -f conftest.$ac_ext
4322
 
CC=$ac_save_CC
4323
 
 
4324
 
fi
4325
 
# AC_CACHE_VAL
4326
 
case "x$ac_cv_prog_cc_c89" in
4327
 
  x)
4328
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4329
 
$as_echo "none needed" >&6; } ;;
4330
 
  xno)
4331
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4332
 
$as_echo "unsupported" >&6; } ;;
4333
 
  *)
4334
 
    CC="$CC $ac_cv_prog_cc_c89"
4335
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4336
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4337
 
esac
4338
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4339
 
 
4340
 
fi
4341
 
 
4342
 
ac_ext=c
4343
 
ac_cpp='$CPP $CPPFLAGS'
4344
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347
 
 
4348
 
depcc="$CC"   am_compiler_list=
4349
 
 
4350
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4351
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4352
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4353
 
  $as_echo_n "(cached) " >&6
4354
 
else
4355
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4356
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4357
 
  # making bogus files that we don't know about and never remove.  For
4358
 
  # instance it was reported that on HP-UX the gcc test will end up
4359
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4360
 
  # in D'.
4361
 
  mkdir conftest.dir
4362
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4363
 
  # using a relative directory.
4364
 
  cp "$am_depcomp" conftest.dir
4365
 
  cd conftest.dir
4366
 
  # We will build objects and dependencies in a subdirectory because
4367
 
  # it helps to detect inapplicable dependency modes.  For instance
4368
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4369
 
  # side effect of compilation, but ICC will put the dependencies in
4370
 
  # the current directory while Tru64 will put them in the object
4371
 
  # directory.
4372
 
  mkdir sub
4373
 
 
4374
 
  am_cv_CC_dependencies_compiler_type=none
4375
 
  if test "$am_compiler_list" = ""; then
4376
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4377
 
  fi
4378
 
  am__universal=false
4379
 
  case " $depcc " in #(
4380
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4381
 
     esac
4382
 
 
4383
 
  for depmode in $am_compiler_list; do
4384
 
    # Setup a source with many dependencies, because some compilers
4385
 
    # like to wrap large dependency lists on column 80 (with \), and
4386
 
    # we should not choose a depcomp mode which is confused by this.
4387
 
    #
4388
 
    # We need to recreate these files for each test, as the compiler may
4389
 
    # overwrite some of them when testing with obscure command lines.
4390
 
    # This happens at least with the AIX C compiler.
4391
 
    : > sub/conftest.c
4392
 
    for i in 1 2 3 4 5 6; do
4393
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4394
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4395
 
      # Solaris 8's {/usr,}/bin/sh.
4396
 
      touch sub/conftst$i.h
4397
 
    done
4398
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4399
 
 
4400
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4401
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4402
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4403
 
    # versions had trouble with output in subdirs
4404
 
    am__obj=sub/conftest.${OBJEXT-o}
4405
 
    am__minus_obj="-o $am__obj"
4406
 
    case $depmode in
4407
 
    gcc)
4408
 
      # This depmode causes a compiler race in universal mode.
4409
 
      test "$am__universal" = false || continue
4410
 
      ;;
4411
 
    nosideeffect)
4412
 
      # after this tag, mechanisms are not by side-effect, so they'll
4413
 
      # only be used when explicitly requested
4414
 
      if test "x$enable_dependency_tracking" = xyes; then
4415
 
        continue
4416
 
      else
4417
 
        break
4418
 
      fi
4419
 
      ;;
4420
 
    msvisualcpp | msvcmsys)
4421
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4422
 
      # not run yet.  These depmodes are late enough in the game, and
4423
 
      # so weak that their functioning should not be impacted.
4424
 
      am__obj=conftest.${OBJEXT-o}
4425
 
      am__minus_obj=
4426
 
      ;;
4427
 
    none) break ;;
4428
 
    esac
4429
 
    if depmode=$depmode \
4430
 
       source=sub/conftest.c object=$am__obj \
4431
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4432
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4433
 
         >/dev/null 2>conftest.err &&
4434
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4435
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4436
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4437
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4438
 
      # icc doesn't choke on unknown options, it will just issue warnings
4439
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4440
 
      # that says an option was ignored or not supported.
4441
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4442
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4443
 
      # The diagnosis changed in icc 8.0:
4444
 
      #   icc: Command line remark: option '-MP' not supported
4445
 
      if (grep 'ignoring option' conftest.err ||
4446
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4447
 
        am_cv_CC_dependencies_compiler_type=$depmode
4448
 
        break
4449
 
      fi
4450
 
    fi
4451
 
  done
4452
 
 
4453
 
  cd ..
4454
 
  rm -rf conftest.dir
4455
 
else
4456
 
  am_cv_CC_dependencies_compiler_type=none
4457
 
fi
4458
 
 
4459
 
fi
4460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4461
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4462
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4463
 
 
4464
 
 if
4465
 
  test "x$enable_dependency_tracking" != xno \
4466
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4467
 
  am__fastdepCC_TRUE=
4468
 
  am__fastdepCC_FALSE='#'
4469
 
else
4470
 
  am__fastdepCC_TRUE='#'
4471
 
  am__fastdepCC_FALSE=
4472
 
fi
4473
 
 
4474
 
 
4475
 
ac_ext=c
4476
 
ac_cpp='$CPP $CPPFLAGS'
4477
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4480
 
if test -n "$ac_tool_prefix"; then
4481
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4482
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4483
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484
 
$as_echo_n "checking for $ac_word... " >&6; }
4485
 
if test "${ac_cv_prog_CC+set}" = set; then :
4486
 
  $as_echo_n "(cached) " >&6
4487
 
else
4488
 
  if test -n "$CC"; then
4489
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4490
 
else
4491
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492
 
for as_dir in $PATH
4493
 
do
4494
 
  IFS=$as_save_IFS
4495
 
  test -z "$as_dir" && as_dir=.
4496
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4497
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4498
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4499
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4500
 
    break 2
4501
 
  fi
4502
 
done
4503
 
  done
4504
 
IFS=$as_save_IFS
4505
 
 
4506
 
fi
4507
 
fi
4508
 
CC=$ac_cv_prog_CC
4509
 
if test -n "$CC"; then
4510
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4511
 
$as_echo "$CC" >&6; }
4512
 
else
4513
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514
 
$as_echo "no" >&6; }
4515
 
fi
4516
 
 
4517
 
 
4518
 
fi
4519
 
if test -z "$ac_cv_prog_CC"; then
4520
 
  ac_ct_CC=$CC
4521
 
  # Extract the first word of "gcc", so it can be a program name with args.
4522
 
set dummy gcc; ac_word=$2
4523
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524
 
$as_echo_n "checking for $ac_word... " >&6; }
4525
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4526
 
  $as_echo_n "(cached) " >&6
4527
 
else
4528
 
  if test -n "$ac_ct_CC"; then
4529
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4530
 
else
4531
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532
 
for as_dir in $PATH
4533
 
do
4534
 
  IFS=$as_save_IFS
4535
 
  test -z "$as_dir" && as_dir=.
4536
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4537
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4538
 
    ac_cv_prog_ac_ct_CC="gcc"
4539
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540
 
    break 2
4541
 
  fi
4542
 
done
4543
 
  done
4544
 
IFS=$as_save_IFS
4545
 
 
4546
 
fi
4547
 
fi
4548
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4549
 
if test -n "$ac_ct_CC"; then
4550
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4551
 
$as_echo "$ac_ct_CC" >&6; }
4552
 
else
4553
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554
 
$as_echo "no" >&6; }
4555
 
fi
4556
 
 
4557
 
  if test "x$ac_ct_CC" = x; then
4558
 
    CC=""
4559
 
  else
4560
 
    case $cross_compiling:$ac_tool_warned in
4561
 
yes:)
4562
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564
 
ac_tool_warned=yes ;;
4565
 
esac
4566
 
    CC=$ac_ct_CC
4567
 
  fi
4568
 
else
4569
 
  CC="$ac_cv_prog_CC"
4570
 
fi
4571
 
 
4572
 
if test -z "$CC"; then
4573
 
          if test -n "$ac_tool_prefix"; then
4574
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4575
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577
 
$as_echo_n "checking for $ac_word... " >&6; }
4578
 
if test "${ac_cv_prog_CC+set}" = set; then :
4579
 
  $as_echo_n "(cached) " >&6
4580
 
else
4581
 
  if test -n "$CC"; then
4582
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4583
 
else
4584
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585
 
for as_dir in $PATH
4586
 
do
4587
 
  IFS=$as_save_IFS
4588
 
  test -z "$as_dir" && as_dir=.
4589
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4590
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4592
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4593
 
    break 2
4594
 
  fi
4595
 
done
4596
 
  done
4597
 
IFS=$as_save_IFS
4598
 
 
4599
 
fi
4600
 
fi
4601
 
CC=$ac_cv_prog_CC
4602
 
if test -n "$CC"; then
4603
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4604
 
$as_echo "$CC" >&6; }
4605
 
else
4606
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607
 
$as_echo "no" >&6; }
4608
 
fi
4609
 
 
4610
 
 
4611
 
  fi
4612
 
fi
4613
 
if test -z "$CC"; then
4614
 
  # Extract the first word of "cc", so it can be a program name with args.
4615
 
set dummy cc; ac_word=$2
4616
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617
 
$as_echo_n "checking for $ac_word... " >&6; }
4618
 
if test "${ac_cv_prog_CC+set}" = set; then :
4619
 
  $as_echo_n "(cached) " >&6
4620
 
else
4621
 
  if test -n "$CC"; then
4622
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4623
 
else
4624
 
  ac_prog_rejected=no
4625
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626
 
for as_dir in $PATH
4627
 
do
4628
 
  IFS=$as_save_IFS
4629
 
  test -z "$as_dir" && as_dir=.
4630
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4631
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4632
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4633
 
       ac_prog_rejected=yes
4634
 
       continue
4635
 
     fi
4636
 
    ac_cv_prog_CC="cc"
4637
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638
 
    break 2
4639
 
  fi
4640
 
done
4641
 
  done
4642
 
IFS=$as_save_IFS
4643
 
 
4644
 
if test $ac_prog_rejected = yes; then
4645
 
  # We found a bogon in the path, so make sure we never use it.
4646
 
  set dummy $ac_cv_prog_CC
4647
 
  shift
4648
 
  if test $# != 0; then
4649
 
    # We chose a different compiler from the bogus one.
4650
 
    # However, it has the same basename, so the bogon will be chosen
4651
 
    # first if we set CC to just the basename; use the full file name.
4652
 
    shift
4653
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4654
 
  fi
4655
 
fi
4656
 
fi
4657
 
fi
4658
 
CC=$ac_cv_prog_CC
4659
 
if test -n "$CC"; then
4660
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4661
 
$as_echo "$CC" >&6; }
4662
 
else
4663
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664
 
$as_echo "no" >&6; }
4665
 
fi
4666
 
 
4667
 
 
4668
 
fi
4669
 
if test -z "$CC"; then
4670
 
  if test -n "$ac_tool_prefix"; then
4671
 
  for ac_prog in cl.exe
4672
 
  do
4673
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4674
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4675
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676
 
$as_echo_n "checking for $ac_word... " >&6; }
4677
 
if test "${ac_cv_prog_CC+set}" = set; then :
4678
 
  $as_echo_n "(cached) " >&6
4679
 
else
4680
 
  if test -n "$CC"; then
4681
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4682
 
else
4683
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684
 
for as_dir in $PATH
4685
 
do
4686
 
  IFS=$as_save_IFS
4687
 
  test -z "$as_dir" && as_dir=.
4688
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4689
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4690
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4691
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692
 
    break 2
4693
 
  fi
4694
 
done
4695
 
  done
4696
 
IFS=$as_save_IFS
4697
 
 
4698
 
fi
4699
 
fi
4700
 
CC=$ac_cv_prog_CC
4701
 
if test -n "$CC"; then
4702
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4703
 
$as_echo "$CC" >&6; }
4704
 
else
4705
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706
 
$as_echo "no" >&6; }
4707
 
fi
4708
 
 
4709
 
 
4710
 
    test -n "$CC" && break
4711
 
  done
4712
 
fi
4713
 
if test -z "$CC"; then
4714
 
  ac_ct_CC=$CC
4715
 
  for ac_prog in cl.exe
4716
 
do
4717
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4718
 
set dummy $ac_prog; ac_word=$2
4719
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720
 
$as_echo_n "checking for $ac_word... " >&6; }
4721
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4722
 
  $as_echo_n "(cached) " >&6
4723
 
else
4724
 
  if test -n "$ac_ct_CC"; then
4725
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4726
 
else
4727
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728
 
for as_dir in $PATH
4729
 
do
4730
 
  IFS=$as_save_IFS
4731
 
  test -z "$as_dir" && as_dir=.
4732
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4733
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4734
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4735
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736
 
    break 2
4737
 
  fi
4738
 
done
4739
 
  done
4740
 
IFS=$as_save_IFS
4741
 
 
4742
 
fi
4743
 
fi
4744
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4745
 
if test -n "$ac_ct_CC"; then
4746
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4747
 
$as_echo "$ac_ct_CC" >&6; }
4748
 
else
4749
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750
 
$as_echo "no" >&6; }
4751
 
fi
4752
 
 
4753
 
 
4754
 
  test -n "$ac_ct_CC" && break
4755
 
done
4756
 
 
4757
 
  if test "x$ac_ct_CC" = x; then
4758
 
    CC=""
4759
 
  else
4760
 
    case $cross_compiling:$ac_tool_warned in
4761
 
yes:)
4762
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4763
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4764
 
ac_tool_warned=yes ;;
4765
 
esac
4766
 
    CC=$ac_ct_CC
4767
 
  fi
4768
 
fi
4769
 
 
4770
 
fi
4771
 
 
4772
 
 
4773
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4774
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4775
 
as_fn_error "no acceptable C compiler found in \$PATH
4776
 
See \`config.log' for more details." "$LINENO" 5; }
4777
 
 
4778
 
# Provide some information about the compiler.
4779
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4780
 
set X $ac_compile
4781
 
ac_compiler=$2
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
4802
 
 
4803
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4804
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4805
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4806
 
  $as_echo_n "(cached) " >&6
4807
 
else
4808
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809
 
/* end confdefs.h.  */
4810
 
 
4811
 
int
4812
 
main ()
4813
 
{
4814
 
#ifndef __GNUC__
4815
 
       choke me
4816
 
#endif
4817
 
 
4818
 
  ;
4819
 
  return 0;
4820
 
}
4821
 
_ACEOF
4822
 
if ac_fn_c_try_compile "$LINENO"; then :
4823
 
  ac_compiler_gnu=yes
4824
 
else
4825
 
  ac_compiler_gnu=no
4826
 
fi
4827
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4828
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4829
 
 
4830
 
fi
4831
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4832
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4833
 
if test $ac_compiler_gnu = yes; then
4834
 
  GCC=yes
4835
 
else
4836
 
  GCC=
4837
 
fi
4838
 
ac_test_CFLAGS=${CFLAGS+set}
4839
 
ac_save_CFLAGS=$CFLAGS
4840
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4841
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4842
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
4843
 
  $as_echo_n "(cached) " >&6
4844
 
else
4845
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4846
 
   ac_c_werror_flag=yes
4847
 
   ac_cv_prog_cc_g=no
4848
 
   CFLAGS="-g"
4849
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850
 
/* end confdefs.h.  */
4851
 
 
4852
 
int
4853
 
main ()
4854
 
{
4855
 
 
4856
 
  ;
4857
 
  return 0;
4858
 
}
4859
 
_ACEOF
4860
 
if ac_fn_c_try_compile "$LINENO"; then :
4861
 
  ac_cv_prog_cc_g=yes
4862
 
else
4863
 
  CFLAGS=""
4864
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4865
 
/* end confdefs.h.  */
4866
 
 
4867
 
int
4868
 
main ()
4869
 
{
4870
 
 
4871
 
  ;
4872
 
  return 0;
4873
 
}
4874
 
_ACEOF
4875
 
if ac_fn_c_try_compile "$LINENO"; then :
4876
 
 
4877
 
else
4878
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4879
 
         CFLAGS="-g"
4880
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881
 
/* end confdefs.h.  */
4882
 
 
4883
 
int
4884
 
main ()
4885
 
{
4886
 
 
4887
 
  ;
4888
 
  return 0;
4889
 
}
4890
 
_ACEOF
4891
 
if ac_fn_c_try_compile "$LINENO"; then :
4892
 
  ac_cv_prog_cc_g=yes
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
4898
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4900
 
fi
4901
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4902
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4903
 
if test "$ac_test_CFLAGS" = set; then
4904
 
  CFLAGS=$ac_save_CFLAGS
4905
 
elif test $ac_cv_prog_cc_g = yes; then
4906
 
  if test "$GCC" = yes; then
4907
 
    CFLAGS="-g -O2"
4908
 
  else
4909
 
    CFLAGS="-g"
4910
 
  fi
4911
 
else
4912
 
  if test "$GCC" = yes; then
4913
 
    CFLAGS="-O2"
4914
 
  else
4915
 
    CFLAGS=
4916
 
  fi
4917
 
fi
4918
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4919
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4920
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4921
 
  $as_echo_n "(cached) " >&6
4922
 
else
4923
 
  ac_cv_prog_cc_c89=no
4924
 
ac_save_CC=$CC
4925
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926
 
/* end confdefs.h.  */
4927
 
#include <stdarg.h>
4928
 
#include <stdio.h>
4929
 
#include <sys/types.h>
4930
 
#include <sys/stat.h>
4931
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4932
 
struct buf { int x; };
4933
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4934
 
static char *e (p, i)
4935
 
     char **p;
4936
 
     int i;
4937
 
{
4938
 
  return p[i];
4939
 
}
4940
 
static char *f (char * (*g) (char **, int), char **p, ...)
4941
 
{
4942
 
  char *s;
4943
 
  va_list v;
4944
 
  va_start (v,p);
4945
 
  s = g (p, va_arg (v,int));
4946
 
  va_end (v);
4947
 
  return s;
4948
 
}
4949
 
 
4950
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4951
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4952
 
   These don't provoke an error unfortunately, instead are silently treated
4953
 
   as 'x'.  The following induces an error, until -std is added to get
4954
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4955
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4956
 
   that's true only with -std.  */
4957
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4958
 
 
4959
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4960
 
   inside strings and character constants.  */
4961
 
#define FOO(x) 'x'
4962
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4963
 
 
4964
 
int test (int i, double x);
4965
 
struct s1 {int (*f) (int a);};
4966
 
struct s2 {int (*f) (double a);};
4967
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4968
 
int argc;
4969
 
char **argv;
4970
 
int
4971
 
main ()
4972
 
{
4973
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4974
 
  ;
4975
 
  return 0;
4976
 
}
4977
 
_ACEOF
4978
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4979
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4980
 
do
4981
 
  CC="$ac_save_CC $ac_arg"
4982
 
  if ac_fn_c_try_compile "$LINENO"; then :
4983
 
  ac_cv_prog_cc_c89=$ac_arg
4984
 
fi
4985
 
rm -f core conftest.err conftest.$ac_objext
4986
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4987
 
done
4988
 
rm -f conftest.$ac_ext
4989
 
CC=$ac_save_CC
4990
 
 
4991
 
fi
4992
 
# AC_CACHE_VAL
4993
 
case "x$ac_cv_prog_cc_c89" in
4994
 
  x)
4995
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4996
 
$as_echo "none needed" >&6; } ;;
4997
 
  xno)
4998
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4999
 
$as_echo "unsupported" >&6; } ;;
5000
 
  *)
5001
 
    CC="$CC $ac_cv_prog_cc_c89"
5002
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5003
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5004
 
esac
5005
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
5006
 
 
5007
 
fi
5008
 
 
5009
 
ac_ext=c
5010
 
ac_cpp='$CPP $CPPFLAGS'
5011
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5012
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5013
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5014
 
 
5015
 
depcc="$CC"   am_compiler_list=
5016
 
 
5017
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5018
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5019
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5020
 
  $as_echo_n "(cached) " >&6
5021
 
else
5022
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5023
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5024
 
  # making bogus files that we don't know about and never remove.  For
5025
 
  # instance it was reported that on HP-UX the gcc test will end up
5026
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5027
 
  # in D'.
5028
 
  mkdir conftest.dir
5029
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5030
 
  # using a relative directory.
5031
 
  cp "$am_depcomp" conftest.dir
5032
 
  cd conftest.dir
5033
 
  # We will build objects and dependencies in a subdirectory because
5034
 
  # it helps to detect inapplicable dependency modes.  For instance
5035
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5036
 
  # side effect of compilation, but ICC will put the dependencies in
5037
 
  # the current directory while Tru64 will put them in the object
5038
 
  # directory.
5039
 
  mkdir sub
5040
 
 
5041
 
  am_cv_CC_dependencies_compiler_type=none
5042
 
  if test "$am_compiler_list" = ""; then
5043
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5044
 
  fi
5045
 
  am__universal=false
5046
 
  case " $depcc " in #(
5047
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5048
 
     esac
5049
 
 
5050
 
  for depmode in $am_compiler_list; do
5051
 
    # Setup a source with many dependencies, because some compilers
5052
 
    # like to wrap large dependency lists on column 80 (with \), and
5053
 
    # we should not choose a depcomp mode which is confused by this.
5054
 
    #
5055
 
    # We need to recreate these files for each test, as the compiler may
5056
 
    # overwrite some of them when testing with obscure command lines.
5057
 
    # This happens at least with the AIX C compiler.
5058
 
    : > sub/conftest.c
5059
 
    for i in 1 2 3 4 5 6; do
5060
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5061
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5062
 
      # Solaris 8's {/usr,}/bin/sh.
5063
 
      touch sub/conftst$i.h
5064
 
    done
5065
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5066
 
 
5067
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5068
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5069
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5070
 
    # versions had trouble with output in subdirs
5071
 
    am__obj=sub/conftest.${OBJEXT-o}
5072
 
    am__minus_obj="-o $am__obj"
5073
 
    case $depmode in
5074
 
    gcc)
5075
 
      # This depmode causes a compiler race in universal mode.
5076
 
      test "$am__universal" = false || continue
5077
 
      ;;
5078
 
    nosideeffect)
5079
 
      # after this tag, mechanisms are not by side-effect, so they'll
5080
 
      # only be used when explicitly requested
5081
 
      if test "x$enable_dependency_tracking" = xyes; then
5082
 
        continue
5083
 
      else
5084
 
        break
5085
 
      fi
5086
 
      ;;
5087
 
    msvisualcpp | msvcmsys)
5088
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5089
 
      # not run yet.  These depmodes are late enough in the game, and
5090
 
      # so weak that their functioning should not be impacted.
5091
 
      am__obj=conftest.${OBJEXT-o}
5092
 
      am__minus_obj=
5093
 
      ;;
5094
 
    none) break ;;
5095
 
    esac
5096
 
    if depmode=$depmode \
5097
 
       source=sub/conftest.c object=$am__obj \
5098
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5099
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5100
 
         >/dev/null 2>conftest.err &&
5101
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5102
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5103
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5104
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5105
 
      # icc doesn't choke on unknown options, it will just issue warnings
5106
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5107
 
      # that says an option was ignored or not supported.
5108
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5109
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5110
 
      # The diagnosis changed in icc 8.0:
5111
 
      #   icc: Command line remark: option '-MP' not supported
5112
 
      if (grep 'ignoring option' conftest.err ||
5113
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5114
 
        am_cv_CC_dependencies_compiler_type=$depmode
5115
 
        break
5116
 
      fi
5117
 
    fi
5118
 
  done
5119
 
 
5120
 
  cd ..
5121
 
  rm -rf conftest.dir
5122
 
else
5123
 
  am_cv_CC_dependencies_compiler_type=none
5124
 
fi
5125
 
 
5126
 
fi
5127
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5128
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5129
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5130
 
 
5131
 
 if
5132
 
  test "x$enable_dependency_tracking" != xno \
5133
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5134
 
  am__fastdepCC_TRUE=
5135
 
  am__fastdepCC_FALSE='#'
5136
 
else
5137
 
  am__fastdepCC_TRUE='#'
5138
 
  am__fastdepCC_FALSE=
5139
 
fi
5140
 
 
5141
 
 
5142
 
 
5143
 
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5144
 
 
5145
 
ac_ext=c
5146
 
ac_cpp='$CPP $CPPFLAGS'
5147
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5148
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5149
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5151
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5152
 
# On Suns, sometimes $CPP names a directory.
5153
 
if test -n "$CPP" && test -d "$CPP"; then
5154
 
  CPP=
5155
 
fi
5156
 
if test -z "$CPP"; then
5157
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
5158
 
  $as_echo_n "(cached) " >&6
5159
 
else
5160
 
      # Double quotes because CPP needs to be expanded
5161
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5162
 
    do
5163
 
      ac_preproc_ok=false
5164
 
for ac_c_preproc_warn_flag in '' yes
5165
 
do
5166
 
  # Use a header file that comes with gcc, so configuring glibc
5167
 
  # with a fresh cross-compiler works.
5168
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5169
 
  # <limits.h> exists even on freestanding compilers.
5170
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5171
 
  # not just through cpp. "Syntax error" is here to catch this case.
5172
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5173
 
/* end confdefs.h.  */
5174
 
#ifdef __STDC__
5175
 
# include <limits.h>
5176
 
#else
5177
 
# include <assert.h>
5178
 
#endif
5179
 
                     Syntax error
5180
 
_ACEOF
5181
 
if ac_fn_c_try_cpp "$LINENO"; then :
5182
 
 
5183
 
else
5184
 
  # Broken: fails on valid input.
5185
 
continue
5186
 
fi
5187
 
rm -f conftest.err conftest.$ac_ext
5188
 
 
5189
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5190
 
  # can be detected and how.
5191
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192
 
/* end confdefs.h.  */
5193
 
#include <ac_nonexistent.h>
5194
 
_ACEOF
5195
 
if ac_fn_c_try_cpp "$LINENO"; then :
5196
 
  # Broken: success on invalid input.
5197
 
continue
5198
 
else
5199
 
  # Passes both tests.
5200
 
ac_preproc_ok=:
5201
 
break
5202
 
fi
5203
 
rm -f conftest.err conftest.$ac_ext
5204
 
 
5205
 
done
5206
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5207
 
rm -f conftest.err conftest.$ac_ext
5208
 
if $ac_preproc_ok; then :
5209
 
  break
5210
 
fi
5211
 
 
5212
 
    done
5213
 
    ac_cv_prog_CPP=$CPP
5214
 
 
5215
 
fi
5216
 
  CPP=$ac_cv_prog_CPP
5217
 
else
5218
 
  ac_cv_prog_CPP=$CPP
5219
 
fi
5220
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5221
 
$as_echo "$CPP" >&6; }
5222
 
ac_preproc_ok=false
5223
 
for ac_c_preproc_warn_flag in '' yes
5224
 
do
5225
 
  # Use a header file that comes with gcc, so configuring glibc
5226
 
  # with a fresh cross-compiler works.
5227
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5228
 
  # <limits.h> exists even on freestanding compilers.
5229
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5230
 
  # not just through cpp. "Syntax error" is here to catch this case.
5231
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5232
 
/* end confdefs.h.  */
5233
 
#ifdef __STDC__
5234
 
# include <limits.h>
5235
 
#else
5236
 
# include <assert.h>
5237
 
#endif
5238
 
                     Syntax error
5239
 
_ACEOF
5240
 
if ac_fn_c_try_cpp "$LINENO"; then :
5241
 
 
5242
 
else
5243
 
  # Broken: fails on valid input.
5244
 
continue
5245
 
fi
5246
 
rm -f conftest.err conftest.$ac_ext
5247
 
 
5248
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5249
 
  # can be detected and how.
5250
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251
 
/* end confdefs.h.  */
5252
 
#include <ac_nonexistent.h>
5253
 
_ACEOF
5254
 
if ac_fn_c_try_cpp "$LINENO"; then :
5255
 
  # Broken: success on invalid input.
5256
 
continue
5257
 
else
5258
 
  # Passes both tests.
5259
 
ac_preproc_ok=:
5260
 
break
5261
 
fi
5262
 
rm -f conftest.err conftest.$ac_ext
5263
 
 
5264
 
done
5265
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5266
 
rm -f conftest.err conftest.$ac_ext
5267
 
if $ac_preproc_ok; then :
5268
 
 
5269
 
else
5270
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5271
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5272
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5273
 
See \`config.log' for more details." "$LINENO" 5; }
5274
 
fi
5275
 
 
5276
 
ac_ext=c
5277
 
ac_cpp='$CPP $CPPFLAGS'
5278
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5279
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5280
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5281
 
 
5282
 
 
5283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5284
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5285
 
if test "${ac_cv_path_GREP+set}" = set; then :
5286
 
  $as_echo_n "(cached) " >&6
5287
 
else
5288
 
  if test -z "$GREP"; then
5289
 
  ac_path_GREP_found=false
5290
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5291
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5293
 
do
5294
 
  IFS=$as_save_IFS
5295
 
  test -z "$as_dir" && as_dir=.
5296
 
    for ac_prog in grep ggrep; do
5297
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5298
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5299
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5300
 
# Check for GNU ac_path_GREP and select it if it is found.
5301
 
  # Check for GNU $ac_path_GREP
5302
 
case `"$ac_path_GREP" --version 2>&1` in
5303
 
*GNU*)
5304
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5305
 
*)
5306
 
  ac_count=0
5307
 
  $as_echo_n 0123456789 >"conftest.in"
5308
 
  while :
5309
 
  do
5310
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5311
 
    mv "conftest.tmp" "conftest.in"
5312
 
    cp "conftest.in" "conftest.nl"
5313
 
    $as_echo 'GREP' >> "conftest.nl"
5314
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5315
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5316
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5317
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5318
 
      # Best one so far, save it but keep looking for a better one
5319
 
      ac_cv_path_GREP="$ac_path_GREP"
5320
 
      ac_path_GREP_max=$ac_count
5321
 
    fi
5322
 
    # 10*(2^10) chars as input seems more than enough
5323
 
    test $ac_count -gt 10 && break
5324
 
  done
5325
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5326
 
esac
5327
 
 
5328
 
      $ac_path_GREP_found && break 3
5329
 
    done
5330
 
  done
5331
 
  done
5332
 
IFS=$as_save_IFS
5333
 
  if test -z "$ac_cv_path_GREP"; then
5334
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5335
 
  fi
5336
 
else
5337
 
  ac_cv_path_GREP=$GREP
5338
 
fi
5339
 
 
5340
 
fi
5341
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5342
 
$as_echo "$ac_cv_path_GREP" >&6; }
5343
 
 GREP="$ac_cv_path_GREP"
5344
 
 
5345
 
 
5346
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5347
 
$as_echo_n "checking for egrep... " >&6; }
5348
 
if test "${ac_cv_path_EGREP+set}" = set; then :
5349
 
  $as_echo_n "(cached) " >&6
5350
 
else
5351
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5352
 
   then ac_cv_path_EGREP="$GREP -E"
5353
 
   else
5354
 
     if test -z "$EGREP"; then
5355
 
  ac_path_EGREP_found=false
5356
 
  # Loop through the user's path and test for each of PROGNAME-LIST
5357
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5358
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5359
 
do
5360
 
  IFS=$as_save_IFS
5361
 
  test -z "$as_dir" && as_dir=.
5362
 
    for ac_prog in egrep; do
5363
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5364
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5365
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5366
 
# Check for GNU ac_path_EGREP and select it if it is found.
5367
 
  # Check for GNU $ac_path_EGREP
5368
 
case `"$ac_path_EGREP" --version 2>&1` in
5369
 
*GNU*)
5370
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5371
 
*)
5372
 
  ac_count=0
5373
 
  $as_echo_n 0123456789 >"conftest.in"
5374
 
  while :
5375
 
  do
5376
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5377
 
    mv "conftest.tmp" "conftest.in"
5378
 
    cp "conftest.in" "conftest.nl"
5379
 
    $as_echo 'EGREP' >> "conftest.nl"
5380
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5381
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5382
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5383
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5384
 
      # Best one so far, save it but keep looking for a better one
5385
 
      ac_cv_path_EGREP="$ac_path_EGREP"
5386
 
      ac_path_EGREP_max=$ac_count
5387
 
    fi
5388
 
    # 10*(2^10) chars as input seems more than enough
5389
 
    test $ac_count -gt 10 && break
5390
 
  done
5391
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5392
 
esac
5393
 
 
5394
 
      $ac_path_EGREP_found && break 3
5395
 
    done
5396
 
  done
5397
 
  done
5398
 
IFS=$as_save_IFS
5399
 
  if test -z "$ac_cv_path_EGREP"; then
5400
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5401
 
  fi
5402
 
else
5403
 
  ac_cv_path_EGREP=$EGREP
5404
 
fi
5405
 
 
5406
 
   fi
5407
 
fi
5408
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5409
 
$as_echo "$ac_cv_path_EGREP" >&6; }
5410
 
 EGREP="$ac_cv_path_EGREP"
5411
 
 
5412
 
 
5413
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5414
 
$as_echo_n "checking for ANSI C header files... " >&6; }
5415
 
if test "${ac_cv_header_stdc+set}" = set; then :
5416
 
  $as_echo_n "(cached) " >&6
5417
 
else
5418
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419
 
/* end confdefs.h.  */
5420
 
#include <stdlib.h>
5421
 
#include <stdarg.h>
5422
 
#include <string.h>
5423
 
#include <float.h>
5424
 
 
5425
 
int
5426
 
main ()
5427
 
{
5428
 
 
5429
 
  ;
5430
 
  return 0;
5431
 
}
5432
 
_ACEOF
5433
 
if ac_fn_c_try_compile "$LINENO"; then :
5434
 
  ac_cv_header_stdc=yes
5435
 
else
5436
 
  ac_cv_header_stdc=no
5437
 
fi
5438
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5439
 
 
5440
 
if test $ac_cv_header_stdc = yes; then
5441
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5442
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443
 
/* end confdefs.h.  */
5444
 
#include <string.h>
5445
 
 
5446
 
_ACEOF
5447
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5448
 
  $EGREP "memchr" >/dev/null 2>&1; then :
5449
 
 
5450
 
else
5451
 
  ac_cv_header_stdc=no
5452
 
fi
5453
 
rm -f conftest*
5454
 
 
5455
 
fi
5456
 
 
5457
 
if test $ac_cv_header_stdc = yes; then
5458
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5459
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5460
 
/* end confdefs.h.  */
5461
 
#include <stdlib.h>
5462
 
 
5463
 
_ACEOF
5464
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5465
 
  $EGREP "free" >/dev/null 2>&1; then :
5466
 
 
5467
 
else
5468
 
  ac_cv_header_stdc=no
5469
 
fi
5470
 
rm -f conftest*
5471
 
 
5472
 
fi
5473
 
 
5474
 
if test $ac_cv_header_stdc = yes; then
5475
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5476
 
  if test "$cross_compiling" = yes; then :
5477
 
  :
5478
 
else
5479
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480
 
/* end confdefs.h.  */
5481
 
#include <ctype.h>
5482
 
#include <stdlib.h>
5483
 
#if ((' ' & 0x0FF) == 0x020)
5484
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5485
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5486
 
#else
5487
 
# define ISLOWER(c) \
5488
 
                   (('a' <= (c) && (c) <= 'i') \
5489
 
                     || ('j' <= (c) && (c) <= 'r') \
5490
 
                     || ('s' <= (c) && (c) <= 'z'))
5491
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5492
 
#endif
5493
 
 
5494
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5495
 
int
5496
 
main ()
5497
 
{
5498
 
  int i;
5499
 
  for (i = 0; i < 256; i++)
5500
 
    if (XOR (islower (i), ISLOWER (i))
5501
 
        || toupper (i) != TOUPPER (i))
5502
 
      return 2;
5503
 
  return 0;
5504
 
}
5505
 
_ACEOF
5506
 
if ac_fn_c_try_run "$LINENO"; then :
5507
 
 
5508
 
else
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
5518
 
$as_echo "$ac_cv_header_stdc" >&6; }
5519
 
if test $ac_cv_header_stdc = yes; then
5520
 
 
5521
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5522
 
 
5523
 
fi
5524
 
 
5525
 
 
5526
 
 
5527
 
ac_ext=c
5528
 
ac_cpp='$CPP $CPPFLAGS'
5529
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5530
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5531
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5532
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5533
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5534
 
# On Suns, sometimes $CPP names a directory.
5535
 
if test -n "$CPP" && test -d "$CPP"; then
5536
 
  CPP=
5537
 
fi
5538
 
if test -z "$CPP"; then
5539
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
5540
 
  $as_echo_n "(cached) " >&6
5541
 
else
5542
 
      # Double quotes because CPP needs to be expanded
5543
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5544
 
    do
5545
 
      ac_preproc_ok=false
5546
 
for ac_c_preproc_warn_flag in '' yes
5547
 
do
5548
 
  # Use a header file that comes with gcc, so configuring glibc
5549
 
  # with a fresh cross-compiler works.
5550
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5551
 
  # <limits.h> exists even on freestanding compilers.
5552
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5553
 
  # not just through cpp. "Syntax error" is here to catch this case.
5554
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555
 
/* end confdefs.h.  */
5556
 
#ifdef __STDC__
5557
 
# include <limits.h>
5558
 
#else
5559
 
# include <assert.h>
5560
 
#endif
5561
 
                     Syntax error
5562
 
_ACEOF
5563
 
if ac_fn_c_try_cpp "$LINENO"; then :
5564
 
 
5565
 
else
5566
 
  # Broken: fails on valid input.
5567
 
continue
5568
 
fi
5569
 
rm -f conftest.err conftest.$ac_ext
5570
 
 
5571
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5572
 
  # can be detected and how.
5573
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574
 
/* end confdefs.h.  */
5575
 
#include <ac_nonexistent.h>
5576
 
_ACEOF
5577
 
if ac_fn_c_try_cpp "$LINENO"; then :
5578
 
  # Broken: success on invalid input.
5579
 
continue
5580
 
else
5581
 
  # Passes both tests.
5582
 
ac_preproc_ok=:
5583
 
break
5584
 
fi
5585
 
rm -f conftest.err conftest.$ac_ext
5586
 
 
5587
 
done
5588
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5589
 
rm -f conftest.err conftest.$ac_ext
5590
 
if $ac_preproc_ok; then :
5591
 
  break
5592
 
fi
5593
 
 
5594
 
    done
5595
 
    ac_cv_prog_CPP=$CPP
5596
 
 
5597
 
fi
5598
 
  CPP=$ac_cv_prog_CPP
5599
 
else
5600
 
  ac_cv_prog_CPP=$CPP
5601
 
fi
5602
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5603
 
$as_echo "$CPP" >&6; }
5604
 
ac_preproc_ok=false
5605
 
for ac_c_preproc_warn_flag in '' yes
5606
 
do
5607
 
  # Use a header file that comes with gcc, so configuring glibc
5608
 
  # with a fresh cross-compiler works.
5609
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5610
 
  # <limits.h> exists even on freestanding compilers.
5611
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5612
 
  # not just through cpp. "Syntax error" is here to catch this case.
5613
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614
 
/* end confdefs.h.  */
5615
 
#ifdef __STDC__
5616
 
# include <limits.h>
5617
 
#else
5618
 
# include <assert.h>
5619
 
#endif
5620
 
                     Syntax error
5621
 
_ACEOF
5622
 
if ac_fn_c_try_cpp "$LINENO"; then :
5623
 
 
5624
 
else
5625
 
  # Broken: fails on valid input.
5626
 
continue
5627
 
fi
5628
 
rm -f conftest.err conftest.$ac_ext
5629
 
 
5630
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5631
 
  # can be detected and how.
5632
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633
 
/* end confdefs.h.  */
5634
 
#include <ac_nonexistent.h>
5635
 
_ACEOF
5636
 
if ac_fn_c_try_cpp "$LINENO"; then :
5637
 
  # Broken: success on invalid input.
5638
 
continue
5639
 
else
5640
 
  # Passes both tests.
5641
 
ac_preproc_ok=:
5642
 
break
5643
 
fi
5644
 
rm -f conftest.err conftest.$ac_ext
5645
 
 
5646
 
done
5647
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5648
 
rm -f conftest.err conftest.$ac_ext
5649
 
if $ac_preproc_ok; then :
5650
 
 
5651
 
else
5652
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5653
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5654
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5655
 
See \`config.log' for more details." "$LINENO" 5; }
5656
 
fi
5657
 
 
5658
 
ac_ext=c
5659
 
ac_cpp='$CPP $CPPFLAGS'
5660
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5661
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5662
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5663
 
 
5664
 
ac_ext=cpp
5665
 
ac_cpp='$CXXCPP $CPPFLAGS'
5666
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5667
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5668
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5669
 
if test -z "$CXX"; then
5670
 
  if test -n "$CCC"; then
5671
 
    CXX=$CCC
5672
 
  else
5673
 
    if test -n "$ac_tool_prefix"; then
5674
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5675
 
  do
5676
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5677
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5678
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679
 
$as_echo_n "checking for $ac_word... " >&6; }
5680
 
if test "${ac_cv_prog_CXX+set}" = set; then :
5681
 
  $as_echo_n "(cached) " >&6
5682
 
else
5683
 
  if test -n "$CXX"; then
5684
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5685
 
else
5686
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687
 
for as_dir in $PATH
5688
 
do
5689
 
  IFS=$as_save_IFS
5690
 
  test -z "$as_dir" && as_dir=.
5691
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5692
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5693
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5694
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5695
 
    break 2
5696
 
  fi
5697
 
done
5698
 
  done
5699
 
IFS=$as_save_IFS
5700
 
 
5701
 
fi
5702
 
fi
5703
 
CXX=$ac_cv_prog_CXX
5704
 
if test -n "$CXX"; then
5705
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5706
 
$as_echo "$CXX" >&6; }
5707
 
else
5708
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709
 
$as_echo "no" >&6; }
5710
 
fi
5711
 
 
5712
 
 
5713
 
    test -n "$CXX" && break
5714
 
  done
5715
 
fi
5716
 
if test -z "$CXX"; then
5717
 
  ac_ct_CXX=$CXX
5718
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5719
 
do
5720
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5721
 
set dummy $ac_prog; ac_word=$2
5722
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723
 
$as_echo_n "checking for $ac_word... " >&6; }
5724
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5725
 
  $as_echo_n "(cached) " >&6
5726
 
else
5727
 
  if test -n "$ac_ct_CXX"; then
5728
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5729
 
else
5730
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731
 
for as_dir in $PATH
5732
 
do
5733
 
  IFS=$as_save_IFS
5734
 
  test -z "$as_dir" && as_dir=.
5735
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5736
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5737
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5738
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739
 
    break 2
5740
 
  fi
5741
 
done
5742
 
  done
5743
 
IFS=$as_save_IFS
5744
 
 
5745
 
fi
5746
 
fi
5747
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5748
 
if test -n "$ac_ct_CXX"; then
5749
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5750
 
$as_echo "$ac_ct_CXX" >&6; }
5751
 
else
5752
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753
 
$as_echo "no" >&6; }
5754
 
fi
5755
 
 
5756
 
 
5757
 
  test -n "$ac_ct_CXX" && break
5758
 
done
5759
 
 
5760
 
  if test "x$ac_ct_CXX" = x; then
5761
 
    CXX="g++"
5762
 
  else
5763
 
    case $cross_compiling:$ac_tool_warned in
5764
 
yes:)
5765
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5766
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5767
 
ac_tool_warned=yes ;;
5768
 
esac
5769
 
    CXX=$ac_ct_CXX
5770
 
  fi
5771
 
fi
5772
 
 
5773
 
  fi
5774
 
fi
5775
 
# Provide some information about the compiler.
5776
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5777
 
set X $ac_compile
5778
 
ac_compiler=$2
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
5799
 
 
5800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5801
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5802
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5803
 
  $as_echo_n "(cached) " >&6
5804
 
else
5805
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806
 
/* end confdefs.h.  */
5807
 
 
5808
 
int
5809
 
main ()
5810
 
{
5811
 
#ifndef __GNUC__
5812
 
       choke me
5813
 
#endif
5814
 
 
5815
 
  ;
5816
 
  return 0;
5817
 
}
5818
 
_ACEOF
5819
 
if ac_fn_cxx_try_compile "$LINENO"; then :
5820
 
  ac_compiler_gnu=yes
5821
 
else
5822
 
  ac_compiler_gnu=no
5823
 
fi
5824
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5825
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5826
 
 
5827
 
fi
5828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5829
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5830
 
if test $ac_compiler_gnu = yes; then
5831
 
  GXX=yes
5832
 
else
5833
 
  GXX=
5834
 
fi
5835
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5836
 
ac_save_CXXFLAGS=$CXXFLAGS
5837
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5838
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5839
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
5840
 
  $as_echo_n "(cached) " >&6
5841
 
else
5842
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5843
 
   ac_cxx_werror_flag=yes
5844
 
   ac_cv_prog_cxx_g=no
5845
 
   CXXFLAGS="-g"
5846
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847
 
/* end confdefs.h.  */
5848
 
 
5849
 
int
5850
 
main ()
5851
 
{
5852
 
 
5853
 
  ;
5854
 
  return 0;
5855
 
}
5856
 
_ACEOF
5857
 
if ac_fn_cxx_try_compile "$LINENO"; then :
5858
 
  ac_cv_prog_cxx_g=yes
5859
 
else
5860
 
  CXXFLAGS=""
5861
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5862
 
/* end confdefs.h.  */
5863
 
 
5864
 
int
5865
 
main ()
5866
 
{
5867
 
 
5868
 
  ;
5869
 
  return 0;
5870
 
}
5871
 
_ACEOF
5872
 
if ac_fn_cxx_try_compile "$LINENO"; then :
5873
 
 
5874
 
else
5875
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5876
 
         CXXFLAGS="-g"
5877
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5878
 
/* end confdefs.h.  */
5879
 
 
5880
 
int
5881
 
main ()
5882
 
{
5883
 
 
5884
 
  ;
5885
 
  return 0;
5886
 
}
5887
 
_ACEOF
5888
 
if ac_fn_cxx_try_compile "$LINENO"; then :
5889
 
  ac_cv_prog_cxx_g=yes
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
5895
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5896
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5897
 
fi
5898
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5899
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5900
 
if test "$ac_test_CXXFLAGS" = set; then
5901
 
  CXXFLAGS=$ac_save_CXXFLAGS
5902
 
elif test $ac_cv_prog_cxx_g = yes; then
5903
 
  if test "$GXX" = yes; then
5904
 
    CXXFLAGS="-g -O2"
5905
 
  else
5906
 
    CXXFLAGS="-g"
5907
 
  fi
5908
 
else
5909
 
  if test "$GXX" = yes; then
5910
 
    CXXFLAGS="-O2"
5911
 
  else
5912
 
    CXXFLAGS=
5913
 
  fi
5914
 
fi
5915
 
ac_ext=c
5916
 
ac_cpp='$CPP $CPPFLAGS'
5917
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5918
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5919
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5920
 
 
5921
 
depcc="$CXX"  am_compiler_list=
5922
 
 
5923
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5924
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
5925
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5926
 
  $as_echo_n "(cached) " >&6
5927
 
else
5928
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5929
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5930
 
  # making bogus files that we don't know about and never remove.  For
5931
 
  # instance it was reported that on HP-UX the gcc test will end up
5932
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5933
 
  # in D'.
5934
 
  mkdir conftest.dir
5935
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5936
 
  # using a relative directory.
5937
 
  cp "$am_depcomp" conftest.dir
5938
 
  cd conftest.dir
5939
 
  # We will build objects and dependencies in a subdirectory because
5940
 
  # it helps to detect inapplicable dependency modes.  For instance
5941
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5942
 
  # side effect of compilation, but ICC will put the dependencies in
5943
 
  # the current directory while Tru64 will put them in the object
5944
 
  # directory.
5945
 
  mkdir sub
5946
 
 
5947
 
  am_cv_CXX_dependencies_compiler_type=none
5948
 
  if test "$am_compiler_list" = ""; then
5949
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5950
 
  fi
5951
 
  am__universal=false
5952
 
  case " $depcc " in #(
5953
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5954
 
     esac
5955
 
 
5956
 
  for depmode in $am_compiler_list; do
5957
 
    # Setup a source with many dependencies, because some compilers
5958
 
    # like to wrap large dependency lists on column 80 (with \), and
5959
 
    # we should not choose a depcomp mode which is confused by this.
5960
 
    #
5961
 
    # We need to recreate these files for each test, as the compiler may
5962
 
    # overwrite some of them when testing with obscure command lines.
5963
 
    # This happens at least with the AIX C compiler.
5964
 
    : > sub/conftest.c
5965
 
    for i in 1 2 3 4 5 6; do
5966
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5967
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5968
 
      # Solaris 8's {/usr,}/bin/sh.
5969
 
      touch sub/conftst$i.h
5970
 
    done
5971
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5972
 
 
5973
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5974
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5975
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
5976
 
    # versions had trouble with output in subdirs
5977
 
    am__obj=sub/conftest.${OBJEXT-o}
5978
 
    am__minus_obj="-o $am__obj"
5979
 
    case $depmode in
5980
 
    gcc)
5981
 
      # This depmode causes a compiler race in universal mode.
5982
 
      test "$am__universal" = false || continue
5983
 
      ;;
5984
 
    nosideeffect)
5985
 
      # after this tag, mechanisms are not by side-effect, so they'll
5986
 
      # only be used when explicitly requested
5987
 
      if test "x$enable_dependency_tracking" = xyes; then
5988
 
        continue
5989
 
      else
5990
 
        break
5991
 
      fi
5992
 
      ;;
5993
 
    msvisualcpp | msvcmsys)
5994
 
      # This compiler won't grok `-c -o', but also, the minuso test has
5995
 
      # not run yet.  These depmodes are late enough in the game, and
5996
 
      # so weak that their functioning should not be impacted.
5997
 
      am__obj=conftest.${OBJEXT-o}
5998
 
      am__minus_obj=
5999
 
      ;;
6000
 
    none) break ;;
6001
 
    esac
6002
 
    if depmode=$depmode \
6003
 
       source=sub/conftest.c object=$am__obj \
6004
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6005
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6006
 
         >/dev/null 2>conftest.err &&
6007
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6008
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6009
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6010
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6011
 
      # icc doesn't choke on unknown options, it will just issue warnings
6012
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6013
 
      # that says an option was ignored or not supported.
6014
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6015
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6016
 
      # The diagnosis changed in icc 8.0:
6017
 
      #   icc: Command line remark: option '-MP' not supported
6018
 
      if (grep 'ignoring option' conftest.err ||
6019
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6020
 
        am_cv_CXX_dependencies_compiler_type=$depmode
6021
 
        break
6022
 
      fi
6023
 
    fi
6024
 
  done
6025
 
 
6026
 
  cd ..
6027
 
  rm -rf conftest.dir
6028
 
else
6029
 
  am_cv_CXX_dependencies_compiler_type=none
6030
 
fi
6031
 
 
6032
 
fi
6033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6034
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6035
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6036
 
 
6037
 
 if
6038
 
  test "x$enable_dependency_tracking" != xno \
6039
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6040
 
  am__fastdepCXX_TRUE=
6041
 
  am__fastdepCXX_FALSE='#'
6042
 
else
6043
 
  am__fastdepCXX_TRUE='#'
6044
 
  am__fastdepCXX_FALSE=
6045
 
fi
6046
 
 
6047
 
 
6048
 
if test "x$CC" != xcc; then
6049
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6050
 
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6051
 
else
6052
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6053
 
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6054
 
fi
6055
 
set dummy $CC; ac_cc=`$as_echo "$2" |
6056
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6057
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
6058
 
  $as_echo_n "(cached) " >&6
6059
 
else
6060
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061
 
/* end confdefs.h.  */
6062
 
 
6063
 
int
6064
 
main ()
6065
 
{
6066
 
 
6067
 
  ;
6068
 
  return 0;
6069
 
}
6070
 
_ACEOF
6071
 
# Make sure it works both with $CC and with simple cc.
6072
 
# We do the test twice because some compilers refuse to overwrite an
6073
 
# existing .o file with -o, though they will create one.
6074
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6075
 
rm -f conftest2.*
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; };
6096
 
then
6097
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
6098
 
  if test "x$CC" != xcc; then
6099
 
    # Test first that cc exists at all.
6100
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
6101
 
  { { case "(($ac_try" in
6102
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6103
 
  *) ac_try_echo=$ac_try;;
6104
 
esac
6105
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6106
 
$as_echo "$ac_try_echo"; } >&5
6107
 
  (eval "$ac_try") 2>&5
6108
 
  ac_status=$?
6109
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6110
 
  test $ac_status = 0; }; }; then
6111
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6112
 
      rm -f conftest2.*
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; };
6133
 
      then
6134
 
        # cc works too.
6135
 
        :
6136
 
      else
6137
 
        # cc exists but doesn't like -o.
6138
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
6139
 
      fi
6140
 
    fi
6141
 
  fi
6142
 
else
6143
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
6144
 
fi
6145
 
rm -f core conftest*
6146
 
 
6147
 
fi
6148
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6149
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6150
 
$as_echo "yes" >&6; }
6151
 
else
6152
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153
 
$as_echo "no" >&6; }
6154
 
 
6155
 
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6156
 
 
6157
 
fi
6158
 
 
6159
 
# FIXME: we rely on the cache variable name because
6160
 
# there is no other way.
6161
 
set dummy $CC
6162
 
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6163
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6164
 
if test "$am_t" != yes; then
6165
 
   # Losing compiler, so override with the script.
6166
 
   # FIXME: It is wrong to rewrite CC.
6167
 
   # But if we don't then we get into trouble of one sort or another.
6168
 
   # A longer-term fix would be to have automake use am__CC in this case,
6169
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6170
 
   CC="$am_aux_dir/compile $CC"
6171
 
fi
6172
 
 
6173
 
 
6174
 
if test -n "$ac_tool_prefix"; then
6175
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6176
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6177
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178
 
$as_echo_n "checking for $ac_word... " >&6; }
6179
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6180
 
  $as_echo_n "(cached) " >&6
6181
 
else
6182
 
  if test -n "$RANLIB"; then
6183
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6184
 
else
6185
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186
 
for as_dir in $PATH
6187
 
do
6188
 
  IFS=$as_save_IFS
6189
 
  test -z "$as_dir" && as_dir=.
6190
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6191
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6192
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6193
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6194
 
    break 2
6195
 
  fi
6196
 
done
6197
 
  done
6198
 
IFS=$as_save_IFS
6199
 
 
6200
 
fi
6201
 
fi
6202
 
RANLIB=$ac_cv_prog_RANLIB
6203
 
if test -n "$RANLIB"; then
6204
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6205
 
$as_echo "$RANLIB" >&6; }
6206
 
else
6207
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208
 
$as_echo "no" >&6; }
6209
 
fi
6210
 
 
6211
 
 
6212
 
fi
6213
 
if test -z "$ac_cv_prog_RANLIB"; then
6214
 
  ac_ct_RANLIB=$RANLIB
6215
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6216
 
set dummy ranlib; ac_word=$2
6217
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218
 
$as_echo_n "checking for $ac_word... " >&6; }
6219
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6220
 
  $as_echo_n "(cached) " >&6
6221
 
else
6222
 
  if test -n "$ac_ct_RANLIB"; then
6223
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6224
 
else
6225
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226
 
for as_dir in $PATH
6227
 
do
6228
 
  IFS=$as_save_IFS
6229
 
  test -z "$as_dir" && as_dir=.
6230
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6231
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6232
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6233
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6234
 
    break 2
6235
 
  fi
6236
 
done
6237
 
  done
6238
 
IFS=$as_save_IFS
6239
 
 
6240
 
fi
6241
 
fi
6242
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6243
 
if test -n "$ac_ct_RANLIB"; then
6244
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6245
 
$as_echo "$ac_ct_RANLIB" >&6; }
6246
 
else
6247
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248
 
$as_echo "no" >&6; }
6249
 
fi
6250
 
 
6251
 
  if test "x$ac_ct_RANLIB" = x; then
6252
 
    RANLIB=":"
6253
 
  else
6254
 
    case $cross_compiling:$ac_tool_warned in
6255
 
yes:)
6256
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6257
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6258
 
ac_tool_warned=yes ;;
6259
 
esac
6260
 
    RANLIB=$ac_ct_RANLIB
6261
 
  fi
6262
 
else
6263
 
  RANLIB="$ac_cv_prog_RANLIB"
6264
 
fi
6265
 
 
6266
 
 
6267
 
GETTEXT_PACKAGE=gecko-mediaplayer
6268
 
 
6269
 
 
6270
 
cat >>confdefs.h <<_ACEOF
6271
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6272
 
_ACEOF
6273
 
 
6274
 
 
6275
 
ALL_LINGUAS="cs de es fr ja it nl pl pt_BR tr"
6276
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6277
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6278
 
                  inttypes.h stdint.h unistd.h
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 :
6285
 
  cat >>confdefs.h <<_ACEOF
6286
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6287
 
_ACEOF
6288
 
 
6289
 
fi
6290
 
 
6291
 
done
6292
 
 
6293
 
 
6294
 
 
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 :
6299
 
  cat >>confdefs.h <<_ACEOF
6300
 
#define HAVE_LOCALE_H 1
6301
 
_ACEOF
6302
 
 
6303
 
fi
6304
 
 
6305
 
done
6306
 
 
6307
 
    if test $ac_cv_header_locale_h = yes; then
6308
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
6309
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
6310
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
6311
 
  $as_echo_n "(cached) " >&6
6312
 
else
6313
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314
 
/* end confdefs.h.  */
6315
 
#include <locale.h>
6316
 
int
6317
 
main ()
6318
 
{
6319
 
return LC_MESSAGES
6320
 
  ;
6321
 
  return 0;
6322
 
}
6323
 
_ACEOF
6324
 
if ac_fn_c_try_link "$LINENO"; then :
6325
 
  am_cv_val_LC_MESSAGES=yes
6326
 
else
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
6333
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6334
 
    if test $am_cv_val_LC_MESSAGES = yes; then
6335
 
 
6336
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
6337
 
 
6338
 
    fi
6339
 
  fi
6340
 
     USE_NLS=yes
6341
 
 
6342
 
 
6343
 
    gt_cv_have_gettext=no
6344
 
 
6345
 
    CATOBJEXT=NONE
6346
 
    XGETTEXT=:
6347
 
    INTLLIBS=
6348
 
 
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 :
6351
 
  gt_cv_func_dgettext_libintl="no"
6352
 
      libintl_extra_libs=""
6353
 
 
6354
 
      #
6355
 
      # First check in libc
6356
 
      #
6357
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
6358
 
$as_echo_n "checking for ngettext in libc... " >&6; }
6359
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
6360
 
  $as_echo_n "(cached) " >&6
6361
 
else
6362
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363
 
/* end confdefs.h.  */
6364
 
 
6365
 
#include <libintl.h>
6366
 
 
6367
 
int
6368
 
main ()
6369
 
{
6370
 
return !ngettext ("","", 1)
6371
 
  ;
6372
 
  return 0;
6373
 
}
6374
 
_ACEOF
6375
 
if ac_fn_c_try_link "$LINENO"; then :
6376
 
  gt_cv_func_ngettext_libc=yes
6377
 
else
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
6385
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
6386
 
 
6387
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6388
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
6389
 
$as_echo_n "checking for dgettext in libc... " >&6; }
6390
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
6391
 
  $as_echo_n "(cached) " >&6
6392
 
else
6393
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394
 
/* end confdefs.h.  */
6395
 
 
6396
 
#include <libintl.h>
6397
 
 
6398
 
int
6399
 
main ()
6400
 
{
6401
 
return !dgettext ("","")
6402
 
  ;
6403
 
  return 0;
6404
 
}
6405
 
_ACEOF
6406
 
if ac_fn_c_try_link "$LINENO"; then :
6407
 
  gt_cv_func_dgettext_libc=yes
6408
 
else
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
6416
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
6417
 
      fi
6418
 
 
6419
 
      if test "$gt_cv_func_ngettext_libc" = "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 :
6424
 
  cat >>confdefs.h <<_ACEOF
6425
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6426
 
_ACEOF
6427
 
 
6428
 
fi
6429
 
done
6430
 
 
6431
 
      fi
6432
 
 
6433
 
      #
6434
 
      # If we don't have everything we want, check in libintl
6435
 
      #
6436
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
6437
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
6438
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6439
 
 
6440
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
6441
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6442
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
6443
 
  $as_echo_n "(cached) " >&6
6444
 
else
6445
 
  ac_check_lib_save_LIBS=$LIBS
6446
 
LIBS="-lintl  $LIBS"
6447
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448
 
/* end confdefs.h.  */
6449
 
 
6450
 
/* Override any GCC internal prototype to avoid an error.
6451
 
   Use char because int might match the return type of a GCC
6452
 
   builtin and then its argument prototype would still apply.  */
6453
 
#ifdef __cplusplus
6454
 
extern "C"
6455
 
#endif
6456
 
char bindtextdomain ();
6457
 
int
6458
 
main ()
6459
 
{
6460
 
return bindtextdomain ();
6461
 
  ;
6462
 
  return 0;
6463
 
}
6464
 
_ACEOF
6465
 
if ac_fn_c_try_link "$LINENO"; then :
6466
 
  ac_cv_lib_intl_bindtextdomain=yes
6467
 
else
6468
 
  ac_cv_lib_intl_bindtextdomain=no
6469
 
fi
6470
 
rm -f core conftest.err conftest.$ac_objext \
6471
 
    conftest$ac_exeext conftest.$ac_ext
6472
 
LIBS=$ac_check_lib_save_LIBS
6473
 
fi
6474
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
6475
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
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
6478
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6479
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
6480
 
  $as_echo_n "(cached) " >&6
6481
 
else
6482
 
  ac_check_lib_save_LIBS=$LIBS
6483
 
LIBS="-lintl  $LIBS"
6484
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6485
 
/* end confdefs.h.  */
6486
 
 
6487
 
/* Override any GCC internal prototype to avoid an error.
6488
 
   Use char because int might match the return type of a GCC
6489
 
   builtin and then its argument prototype would still apply.  */
6490
 
#ifdef __cplusplus
6491
 
extern "C"
6492
 
#endif
6493
 
char ngettext ();
6494
 
int
6495
 
main ()
6496
 
{
6497
 
return ngettext ();
6498
 
  ;
6499
 
  return 0;
6500
 
}
6501
 
_ACEOF
6502
 
if ac_fn_c_try_link "$LINENO"; then :
6503
 
  ac_cv_lib_intl_ngettext=yes
6504
 
else
6505
 
  ac_cv_lib_intl_ngettext=no
6506
 
fi
6507
 
rm -f core conftest.err conftest.$ac_objext \
6508
 
    conftest$ac_exeext conftest.$ac_ext
6509
 
LIBS=$ac_check_lib_save_LIBS
6510
 
fi
6511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6512
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
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
6515
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
6516
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
6517
 
  $as_echo_n "(cached) " >&6
6518
 
else
6519
 
  ac_check_lib_save_LIBS=$LIBS
6520
 
LIBS="-lintl  $LIBS"
6521
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522
 
/* end confdefs.h.  */
6523
 
 
6524
 
/* Override any GCC internal prototype to avoid an error.
6525
 
   Use char because int might match the return type of a GCC
6526
 
   builtin and then its argument prototype would still apply.  */
6527
 
#ifdef __cplusplus
6528
 
extern "C"
6529
 
#endif
6530
 
char dgettext ();
6531
 
int
6532
 
main ()
6533
 
{
6534
 
return dgettext ();
6535
 
  ;
6536
 
  return 0;
6537
 
}
6538
 
_ACEOF
6539
 
if ac_fn_c_try_link "$LINENO"; then :
6540
 
  ac_cv_lib_intl_dgettext=yes
6541
 
else
6542
 
  ac_cv_lib_intl_dgettext=no
6543
 
fi
6544
 
rm -f core conftest.err conftest.$ac_objext \
6545
 
    conftest$ac_exeext conftest.$ac_ext
6546
 
LIBS=$ac_check_lib_save_LIBS
6547
 
fi
6548
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
6549
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6550
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
6551
 
  gt_cv_func_dgettext_libintl=yes
6552
 
fi
6553
 
 
6554
 
fi
6555
 
 
6556
 
fi
6557
 
 
6558
 
 
6559
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6560
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
6561
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6562
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
6563
 
$as_echo "" >&6; }
6564
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6565
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6566
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
6567
 
  $as_echo_n "(cached) " >&6
6568
 
else
6569
 
  ac_check_lib_save_LIBS=$LIBS
6570
 
LIBS="-lintl -liconv $LIBS"
6571
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572
 
/* end confdefs.h.  */
6573
 
 
6574
 
/* Override any GCC internal prototype to avoid an error.
6575
 
   Use char because int might match the return type of a GCC
6576
 
   builtin and then its argument prototype would still apply.  */
6577
 
#ifdef __cplusplus
6578
 
extern "C"
6579
 
#endif
6580
 
char ngettext ();
6581
 
int
6582
 
main ()
6583
 
{
6584
 
return ngettext ();
6585
 
  ;
6586
 
  return 0;
6587
 
}
6588
 
_ACEOF
6589
 
if ac_fn_c_try_link "$LINENO"; then :
6590
 
  ac_cv_lib_intl_ngettext=yes
6591
 
else
6592
 
  ac_cv_lib_intl_ngettext=no
6593
 
fi
6594
 
rm -f core conftest.err conftest.$ac_objext \
6595
 
    conftest$ac_exeext conftest.$ac_ext
6596
 
LIBS=$ac_check_lib_save_LIBS
6597
 
fi
6598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6599
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
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
6602
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
6603
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
6604
 
  $as_echo_n "(cached) " >&6
6605
 
else
6606
 
  ac_check_lib_save_LIBS=$LIBS
6607
 
LIBS="-lintl -liconv $LIBS"
6608
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609
 
/* end confdefs.h.  */
6610
 
 
6611
 
/* Override any GCC internal prototype to avoid an error.
6612
 
   Use char because int might match the return type of a GCC
6613
 
   builtin and then its argument prototype would still apply.  */
6614
 
#ifdef __cplusplus
6615
 
extern "C"
6616
 
#endif
6617
 
char dcgettext ();
6618
 
int
6619
 
main ()
6620
 
{
6621
 
return dcgettext ();
6622
 
  ;
6623
 
  return 0;
6624
 
}
6625
 
_ACEOF
6626
 
if ac_fn_c_try_link "$LINENO"; then :
6627
 
  ac_cv_lib_intl_dcgettext=yes
6628
 
else
6629
 
  ac_cv_lib_intl_dcgettext=no
6630
 
fi
6631
 
rm -f core conftest.err conftest.$ac_objext \
6632
 
    conftest$ac_exeext conftest.$ac_ext
6633
 
LIBS=$ac_check_lib_save_LIBS
6634
 
fi
6635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6636
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6637
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
6638
 
  gt_cv_func_dgettext_libintl=yes
6639
 
                        libintl_extra_libs=-liconv
6640
 
else
6641
 
  :
6642
 
fi
6643
 
 
6644
 
else
6645
 
  :
6646
 
fi
6647
 
 
6648
 
        fi
6649
 
 
6650
 
        #
6651
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
6652
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
6653
 
        # and both have dgettext and ngettext
6654
 
        #
6655
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6656
 
          glib_save_LIBS="$LIBS"
6657
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
6658
 
          unset ac_cv_func_bind_textdomain_codeset
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 :
6663
 
  cat >>confdefs.h <<_ACEOF
6664
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6665
 
_ACEOF
6666
 
 
6667
 
fi
6668
 
done
6669
 
 
6670
 
          LIBS="$glib_save_LIBS"
6671
 
 
6672
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6673
 
            gt_cv_func_dgettext_libc=no
6674
 
          else
6675
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
6676
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
6677
 
              gt_cv_func_dgettext_libintl=no
6678
 
            fi
6679
 
          fi
6680
 
        fi
6681
 
      fi
6682
 
 
6683
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
6684
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
6685
 
        gt_cv_have_gettext=yes
6686
 
      fi
6687
 
 
6688
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6689
 
        INTLLIBS="-lintl $libintl_extra_libs"
6690
 
      fi
6691
 
 
6692
 
      if test "$gt_cv_have_gettext" = "yes"; then
6693
 
 
6694
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6695
 
 
6696
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
6697
 
set dummy msgfmt; ac_word=$2
6698
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699
 
$as_echo_n "checking for $ac_word... " >&6; }
6700
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
6701
 
  $as_echo_n "(cached) " >&6
6702
 
else
6703
 
  case "$MSGFMT" in
6704
 
  /*)
6705
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6706
 
  ;;
6707
 
  *)
6708
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6709
 
  for ac_dir in $PATH; do
6710
 
    test -z "$ac_dir" && ac_dir=.
6711
 
    if test -f $ac_dir/$ac_word; then
6712
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6713
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6714
 
        break
6715
 
      fi
6716
 
    fi
6717
 
  done
6718
 
  IFS="$ac_save_ifs"
6719
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6720
 
  ;;
6721
 
esac
6722
 
fi
6723
 
MSGFMT="$ac_cv_path_MSGFMT"
6724
 
if test "$MSGFMT" != "no"; then
6725
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6726
 
$as_echo "$MSGFMT" >&6; }
6727
 
else
6728
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729
 
$as_echo "no" >&6; }
6730
 
fi
6731
 
        if test "$MSGFMT" != "no"; then
6732
 
          glib_save_LIBS="$LIBS"
6733
 
          LIBS="$LIBS $INTLLIBS"
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 :
6738
 
  cat >>confdefs.h <<_ACEOF
6739
 
#define HAVE_DCGETTEXT 1
6740
 
_ACEOF
6741
 
 
6742
 
fi
6743
 
done
6744
 
 
6745
 
          MSGFMT_OPTS=
6746
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6747
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6748
 
          cat >conftest.foo <<_ACEOF
6749
 
 
6750
 
msgid ""
6751
 
msgstr ""
6752
 
"Content-Type: text/plain; charset=UTF-8\n"
6753
 
"Project-Id-Version: test 1.0\n"
6754
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6755
 
"Last-Translator: test <foo@bar.xx>\n"
6756
 
"Language-Team: C <LL@li.org>\n"
6757
 
"MIME-Version: 1.0\n"
6758
 
"Content-Transfer-Encoding: 8bit\n"
6759
 
 
6760
 
_ACEOF
6761
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6762
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6763
 
  ac_status=$?
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
6767
 
$as_echo "yes" >&6; }
6768
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769
 
$as_echo "no" >&6; }
6770
 
echo "$as_me: failed input was:" >&5
6771
 
sed 's/^/| /' conftest.foo >&5
6772
 
fi
6773
 
 
6774
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
6775
 
set dummy gmsgfmt; ac_word=$2
6776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777
 
$as_echo_n "checking for $ac_word... " >&6; }
6778
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6779
 
  $as_echo_n "(cached) " >&6
6780
 
else
6781
 
  case $GMSGFMT in
6782
 
  [\\/]* | ?:[\\/]*)
6783
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6784
 
  ;;
6785
 
  *)
6786
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787
 
for as_dir in $PATH
6788
 
do
6789
 
  IFS=$as_save_IFS
6790
 
  test -z "$as_dir" && as_dir=.
6791
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6792
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6794
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795
 
    break 2
6796
 
  fi
6797
 
done
6798
 
  done
6799
 
IFS=$as_save_IFS
6800
 
 
6801
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6802
 
  ;;
6803
 
esac
6804
 
fi
6805
 
GMSGFMT=$ac_cv_path_GMSGFMT
6806
 
if test -n "$GMSGFMT"; then
6807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6808
 
$as_echo "$GMSGFMT" >&6; }
6809
 
else
6810
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811
 
$as_echo "no" >&6; }
6812
 
fi
6813
 
 
6814
 
 
6815
 
          # Extract the first word of "xgettext", so it can be a program name with args.
6816
 
set dummy xgettext; ac_word=$2
6817
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818
 
$as_echo_n "checking for $ac_word... " >&6; }
6819
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6820
 
  $as_echo_n "(cached) " >&6
6821
 
else
6822
 
  case "$XGETTEXT" in
6823
 
  /*)
6824
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6825
 
  ;;
6826
 
  *)
6827
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6828
 
  for ac_dir in $PATH; do
6829
 
    test -z "$ac_dir" && ac_dir=.
6830
 
    if test -f $ac_dir/$ac_word; then
6831
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6832
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6833
 
        break
6834
 
      fi
6835
 
    fi
6836
 
  done
6837
 
  IFS="$ac_save_ifs"
6838
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6839
 
  ;;
6840
 
esac
6841
 
fi
6842
 
XGETTEXT="$ac_cv_path_XGETTEXT"
6843
 
if test "$XGETTEXT" != ":"; then
6844
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6845
 
$as_echo "$XGETTEXT" >&6; }
6846
 
else
6847
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848
 
$as_echo "no" >&6; }
6849
 
fi
6850
 
 
6851
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852
 
/* end confdefs.h.  */
6853
 
 
6854
 
int
6855
 
main ()
6856
 
{
6857
 
extern int _nl_msg_cat_cntr;
6858
 
                         return _nl_msg_cat_cntr
6859
 
  ;
6860
 
  return 0;
6861
 
}
6862
 
_ACEOF
6863
 
if ac_fn_c_try_link "$LINENO"; then :
6864
 
  CATOBJEXT=.gmo
6865
 
             DATADIRNAME=share
6866
 
else
6867
 
  case $host in
6868
 
            *-*-solaris*)
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 :
6871
 
  CATOBJEXT=.gmo
6872
 
               DATADIRNAME=share
6873
 
else
6874
 
  CATOBJEXT=.mo
6875
 
               DATADIRNAME=lib
6876
 
fi
6877
 
 
6878
 
            ;;
6879
 
            *)
6880
 
            CATOBJEXT=.mo
6881
 
            DATADIRNAME=lib
6882
 
            ;;
6883
 
            esac
6884
 
fi
6885
 
rm -f core conftest.err conftest.$ac_objext \
6886
 
    conftest$ac_exeext conftest.$ac_ext
6887
 
          LIBS="$glib_save_LIBS"
6888
 
          INSTOBJEXT=.mo
6889
 
        else
6890
 
          gt_cv_have_gettext=no
6891
 
        fi
6892
 
      fi
6893
 
 
6894
 
fi
6895
 
 
6896
 
 
6897
 
 
6898
 
    if test "$gt_cv_have_gettext" = "yes" ; then
6899
 
 
6900
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6901
 
 
6902
 
    fi
6903
 
 
6904
 
        if test "$XGETTEXT" != ":"; then
6905
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6906
 
        : ;
6907
 
      else
6908
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6909
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6910
 
        XGETTEXT=":"
6911
 
      fi
6912
 
    fi
6913
 
 
6914
 
    # We need to process the po/ directory.
6915
 
    POSUB=po
6916
 
 
6917
 
    ac_config_commands="$ac_config_commands default-1"
6918
 
 
6919
 
 
6920
 
                for lang in $ALL_LINGUAS; do
6921
 
      GMOFILES="$GMOFILES $lang.gmo"
6922
 
      POFILES="$POFILES $lang.po"
6923
 
    done
6924
 
 
6925
 
 
6926
 
 
6927
 
 
6928
 
 
6929
 
 
6930
 
 
6931
 
 
6932
 
 
6933
 
 
6934
 
 
6935
 
 
6936
 
 
6937
 
   if test "$gt_cv_have_gettext" = "yes"; then
6938
 
     if test "x$ALL_LINGUAS" = "x"; then
6939
 
       LINGUAS=
6940
 
     else
6941
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6942
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
6943
 
       NEW_LINGUAS=
6944
 
       for presentlang in $ALL_LINGUAS; do
6945
 
         useit=no
6946
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6947
 
           desiredlanguages="$LINGUAS"
6948
 
         else
6949
 
           desiredlanguages="$ALL_LINGUAS"
6950
 
         fi
6951
 
         for desiredlang in $desiredlanguages; do
6952
 
           # Use the presentlang catalog if desiredlang is
6953
 
           #   a. equal to presentlang, or
6954
 
           #   b. a variant of presentlang (because in this case,
6955
 
           #      presentlang can be used as a fallback for messages
6956
 
           #      which are not translated in the desiredlang catalog).
6957
 
           case "$desiredlang" in
6958
 
             "$presentlang"*) useit=yes;;
6959
 
           esac
6960
 
         done
6961
 
         if test $useit = yes; then
6962
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6963
 
         fi
6964
 
       done
6965
 
       LINGUAS=$NEW_LINGUAS
6966
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6967
 
$as_echo "$LINGUAS" >&6; }
6968
 
     fi
6969
 
 
6970
 
          if test -n "$LINGUAS"; then
6971
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6972
 
     fi
6973
 
   fi
6974
 
 
6975
 
            MKINSTALLDIRS=
6976
 
   if test -n "$ac_aux_dir"; then
6977
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6978
 
   fi
6979
 
   if test -z "$MKINSTALLDIRS"; then
6980
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6981
 
   fi
6982
 
 
6983
 
 
6984
 
         test -d po || mkdir po
6985
 
   if test "x$srcdir" != "x."; then
6986
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6987
 
       posrcprefix="$srcdir/"
6988
 
     else
6989
 
       posrcprefix="../$srcdir/"
6990
 
     fi
6991
 
   else
6992
 
     posrcprefix="../"
6993
 
   fi
6994
 
   rm -f po/POTFILES
6995
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6996
 
        < $srcdir/po/POTFILES.in > po/POTFILES
6997
 
 
6998
 
 
6999
 
 
7000
 
 
7001
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7002
 
        if test -n "$ac_tool_prefix"; then
7003
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7004
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7005
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006
 
$as_echo_n "checking for $ac_word... " >&6; }
7007
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7008
 
  $as_echo_n "(cached) " >&6
7009
 
else
7010
 
  case $PKG_CONFIG in
7011
 
  [\\/]* | ?:[\\/]*)
7012
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7013
 
  ;;
7014
 
  *)
7015
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7016
 
for as_dir in $PATH
7017
 
do
7018
 
  IFS=$as_save_IFS
7019
 
  test -z "$as_dir" && as_dir=.
7020
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7021
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7022
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7023
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7024
 
    break 2
7025
 
  fi
7026
 
done
7027
 
  done
7028
 
IFS=$as_save_IFS
7029
 
 
7030
 
  ;;
7031
 
esac
7032
 
fi
7033
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7034
 
if test -n "$PKG_CONFIG"; then
7035
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7036
 
$as_echo "$PKG_CONFIG" >&6; }
7037
 
else
7038
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7039
 
$as_echo "no" >&6; }
7040
 
fi
7041
 
 
7042
 
 
7043
 
fi
7044
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
7045
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
7046
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
7047
 
set dummy pkg-config; ac_word=$2
7048
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7049
 
$as_echo_n "checking for $ac_word... " >&6; }
7050
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
7051
 
  $as_echo_n "(cached) " >&6
7052
 
else
7053
 
  case $ac_pt_PKG_CONFIG in
7054
 
  [\\/]* | ?:[\\/]*)
7055
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7056
 
  ;;
7057
 
  *)
7058
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059
 
for as_dir in $PATH
7060
 
do
7061
 
  IFS=$as_save_IFS
7062
 
  test -z "$as_dir" && as_dir=.
7063
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7064
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7065
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7066
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067
 
    break 2
7068
 
  fi
7069
 
done
7070
 
  done
7071
 
IFS=$as_save_IFS
7072
 
 
7073
 
  ;;
7074
 
esac
7075
 
fi
7076
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7077
 
if test -n "$ac_pt_PKG_CONFIG"; then
7078
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7079
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
7080
 
else
7081
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082
 
$as_echo "no" >&6; }
7083
 
fi
7084
 
 
7085
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
7086
 
    PKG_CONFIG=""
7087
 
  else
7088
 
    case $cross_compiling:$ac_tool_warned in
7089
 
yes:)
7090
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7091
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7092
 
ac_tool_warned=yes ;;
7093
 
esac
7094
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
7095
 
  fi
7096
 
else
7097
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7098
 
fi
7099
 
 
7100
 
fi
7101
 
if test -n "$PKG_CONFIG"; then
7102
 
        _pkg_min_version=0.9.0
7103
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7104
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7105
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7106
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7107
 
$as_echo "yes" >&6; }
7108
 
        else
7109
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110
 
$as_echo "no" >&6; }
7111
 
                PKG_CONFIG=""
7112
 
        fi
7113
 
 
7114
 
fi
7115
 
 
7116
 
pkg_failed=no
7117
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
7118
 
$as_echo_n "checking for GLIB... " >&6; }
7119
 
 
7120
 
if test -n "$GLIB_CFLAGS"; then
7121
 
    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
7122
 
 elif test -n "$PKG_CONFIG"; then
7123
 
    if test -n "$PKG_CONFIG" && \
7124
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \""; } >&5
7125
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 ") 2>&5
7126
 
  ac_status=$?
7127
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7128
 
  test $ac_status = 0; }; then
7129
 
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 " 2>/dev/null`
7130
 
else
7131
 
  pkg_failed=yes
7132
 
fi
7133
 
 else
7134
 
    pkg_failed=untried
7135
 
fi
7136
 
if test -n "$GLIB_LIBS"; then
7137
 
    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
7138
 
 elif test -n "$PKG_CONFIG"; then
7139
 
    if test -n "$PKG_CONFIG" && \
7140
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 \""; } >&5
7141
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 ") 2>&5
7142
 
  ac_status=$?
7143
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7144
 
  test $ac_status = 0; }; then
7145
 
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 " 2>/dev/null`
7146
 
else
7147
 
  pkg_failed=yes
7148
 
fi
7149
 
 else
7150
 
    pkg_failed=untried
7151
 
fi
7152
 
 
7153
 
 
7154
 
 
7155
 
if test $pkg_failed = yes; then
7156
 
 
7157
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7158
 
        _pkg_short_errors_supported=yes
7159
 
else
7160
 
        _pkg_short_errors_supported=no
7161
 
fi
7162
 
        if test $_pkg_short_errors_supported = yes; then
7163
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 " 2>&1`
7164
 
        else
7165
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 " 2>&1`
7166
 
        fi
7167
 
        # Put the nasty error message in config.log where it belongs
7168
 
        echo "$GLIB_PKG_ERRORS" >&5
7169
 
 
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
7181
 
elif test $pkg_failed = untried; then
7182
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7183
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
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; }
7194
 
else
7195
 
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
7196
 
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
7197
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7198
 
$as_echo "yes" >&6; }
7199
 
        :
7200
 
fi
7201
 
 
7202
 
 
7203
 
 
7204
 
 
7205
 
# Check whether --with-xulrunner-sdk was given.
7206
 
if test "${with_xulrunner_sdk+set}" = set; then :
7207
 
  withval=$with_xulrunner_sdk;
7208
 
        XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
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"
7210
 
        GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
7211
 
        # Check whether --enable-new-libxul was given.
7212
 
if test "${enable_new_libxul+set}" = set; then :
7213
 
  enableval=$enable_new_libxul; usenewlibxul=$enableval
7214
 
else
7215
 
  usenewlibxul=no
7216
 
fi
7217
 
 
7218
 
 
7219
 
        if test $usenewlibxul == yes; then
7220
 
                GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
7221
 
 
7222
 
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7223
 
 
7224
 
        fi
7225
 
 
7226
 
 
7227
 
fi
7228
 
 
7229
 
 
7230
 
if test "$GECKO_CFLAGS" = ""; then
7231
 
 
7232
 
pkg_failed=no
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
7317
 
  ($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7318
 
  ac_status=$?
7319
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7320
 
  test $ac_status = 0; }; then
7321
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul < 1.9.2" 2>/dev/null`
7322
 
else
7323
 
  pkg_failed=yes
7324
 
fi
7325
 
 else
7326
 
    pkg_failed=untried
7327
 
fi
7328
 
if test -n "$GECKO_LIBS"; then
7329
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7330
 
 elif test -n "$PKG_CONFIG"; then
7331
 
    if test -n "$PKG_CONFIG" && \
7332
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
7333
 
  ($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7334
 
  ac_status=$?
7335
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7336
 
  test $ac_status = 0; }; then
7337
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul < 1.9.2" 2>/dev/null`
7338
 
else
7339
 
  pkg_failed=yes
7340
 
fi
7341
 
 else
7342
 
    pkg_failed=untried
7343
 
fi
7344
 
 
7345
 
 
7346
 
 
7347
 
if test $pkg_failed = yes; then
7348
 
 
7349
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7350
 
        _pkg_short_errors_supported=yes
7351
 
else
7352
 
        _pkg_short_errors_supported=no
7353
 
fi
7354
 
        if test $_pkg_short_errors_supported = yes; then
7355
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul < 1.9.2" 2>&1`
7356
 
        else
7357
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul < 1.9.2" 2>&1`
7358
 
        fi
7359
 
        # Put the nasty error message in config.log where it belongs
7360
 
        echo "$GECKO_PKG_ERRORS" >&5
7361
 
 
7362
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363
 
$as_echo "no" >&6; }
7364
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7365
 
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7366
 
elif test $pkg_failed = untried; then
7367
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7368
 
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7369
 
else
7370
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7371
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7372
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7373
 
$as_echo "yes" >&6; }
7374
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul < 1.9.2" >&5
7375
 
$as_echo "$as_me: Using libxul < 1.9.2" >&6;}
7376
 
 
7377
 
fi
7378
 
fi
7379
 
if test "$GECKO_CFLAGS" = ""; then
7380
 
 
7381
 
pkg_failed=no
7382
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7383
 
$as_echo_n "checking for GECKO... " >&6; }
7384
 
 
7385
 
if test -n "$GECKO_CFLAGS"; then
7386
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7387
 
 elif test -n "$PKG_CONFIG"; then
7388
 
    if test -n "$PKG_CONFIG" && \
7389
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7390
 
  ($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7391
 
  ac_status=$?
7392
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7393
 
  test $ac_status = 0; }; then
7394
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 1.9.2" 2>/dev/null`
7395
 
else
7396
 
  pkg_failed=yes
7397
 
fi
7398
 
 else
7399
 
    pkg_failed=untried
7400
 
fi
7401
 
if test -n "$GECKO_LIBS"; then
7402
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7403
 
 elif test -n "$PKG_CONFIG"; then
7404
 
    if test -n "$PKG_CONFIG" && \
7405
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7406
 
  ($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7407
 
  ac_status=$?
7408
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7409
 
  test $ac_status = 0; }; then
7410
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 1.9.2" 2>/dev/null`
7411
 
else
7412
 
  pkg_failed=yes
7413
 
fi
7414
 
 else
7415
 
    pkg_failed=untried
7416
 
fi
7417
 
 
7418
 
 
7419
 
 
7420
 
if test $pkg_failed = yes; then
7421
 
 
7422
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7423
 
        _pkg_short_errors_supported=yes
7424
 
else
7425
 
        _pkg_short_errors_supported=no
7426
 
fi
7427
 
        if test $_pkg_short_errors_supported = yes; then
7428
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 1.9.2" 2>&1`
7429
 
        else
7430
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 1.9.2" 2>&1`
7431
 
        fi
7432
 
        # Put the nasty error message in config.log where it belongs
7433
 
        echo "$GECKO_PKG_ERRORS" >&5
7434
 
 
7435
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7436
 
$as_echo "no" >&6; }
7437
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7438
 
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7439
 
elif test $pkg_failed = untried; then
7440
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7441
 
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7442
 
else
7443
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7444
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7445
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7446
 
$as_echo "yes" >&6; }
7447
 
 
7448
 
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7449
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 1.9.2" >&5
7450
 
$as_echo "$as_me: Using libxul >= 1.9.2" >&6;}
7451
 
 
7452
 
fi
7453
 
fi
7454
 
 
7455
 
if test "$GECKO_CFLAGS" = ""; then
7456
 
 
7457
 
pkg_failed=no
7458
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7459
 
$as_echo_n "checking for GECKO... " >&6; }
7460
 
 
7461
 
if test -n "$GECKO_CFLAGS"; then
7462
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7463
 
 elif test -n "$PKG_CONFIG"; then
7464
 
    if test -n "$PKG_CONFIG" && \
7465
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7466
 
  ($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7467
 
  ac_status=$?
7468
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7469
 
  test $ac_status = 0; }; then
7470
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul-unstable" 2>/dev/null`
7471
 
else
7472
 
  pkg_failed=yes
7473
 
fi
7474
 
 else
7475
 
    pkg_failed=untried
7476
 
fi
7477
 
if test -n "$GECKO_LIBS"; then
7478
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7479
 
 elif test -n "$PKG_CONFIG"; then
7480
 
    if test -n "$PKG_CONFIG" && \
7481
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7482
 
  ($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7483
 
  ac_status=$?
7484
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7485
 
  test $ac_status = 0; }; then
7486
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul-unstable" 2>/dev/null`
7487
 
else
7488
 
  pkg_failed=yes
7489
 
fi
7490
 
 else
7491
 
    pkg_failed=untried
7492
 
fi
7493
 
 
7494
 
 
7495
 
 
7496
 
if test $pkg_failed = yes; then
7497
 
 
7498
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7499
 
        _pkg_short_errors_supported=yes
7500
 
else
7501
 
        _pkg_short_errors_supported=no
7502
 
fi
7503
 
        if test $_pkg_short_errors_supported = yes; then
7504
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul-unstable" 2>&1`
7505
 
        else
7506
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul-unstable" 2>&1`
7507
 
        fi
7508
 
        # Put the nasty error message in config.log where it belongs
7509
 
        echo "$GECKO_PKG_ERRORS" >&5
7510
 
 
7511
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512
 
$as_echo "no" >&6; }
7513
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7514
 
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7515
 
elif test $pkg_failed = untried; then
7516
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7517
 
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7518
 
else
7519
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7520
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7521
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7522
 
$as_echo "yes" >&6; }
7523
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul-unstable" >&5
7524
 
$as_echo "$as_me: Using libxul-unstable" >&6;}
7525
 
 
7526
 
fi
7527
 
fi
7528
 
 
7529
 
if test "$GECKO_CFLAGS" = ""; then
7530
 
 
7531
 
pkg_failed=no
7532
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7533
 
$as_echo_n "checking for GECKO... " >&6; }
7534
 
 
7535
 
if test -n "$GECKO_CFLAGS"; then
7536
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7537
 
 elif test -n "$PKG_CONFIG"; then
7538
 
    if test -n "$PKG_CONFIG" && \
7539
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7540
 
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7541
 
  ac_status=$?
7542
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7543
 
  test $ac_status = 0; }; then
7544
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7545
 
else
7546
 
  pkg_failed=yes
7547
 
fi
7548
 
 else
7549
 
    pkg_failed=untried
7550
 
fi
7551
 
if test -n "$GECKO_LIBS"; then
7552
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7553
 
 elif test -n "$PKG_CONFIG"; then
7554
 
    if test -n "$PKG_CONFIG" && \
7555
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7556
 
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7557
 
  ac_status=$?
7558
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7559
 
  test $ac_status = 0; }; then
7560
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7561
 
else
7562
 
  pkg_failed=yes
7563
 
fi
7564
 
 else
7565
 
    pkg_failed=untried
7566
 
fi
7567
 
 
7568
 
 
7569
 
 
7570
 
if test $pkg_failed = yes; then
7571
 
 
7572
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7573
 
        _pkg_short_errors_supported=yes
7574
 
else
7575
 
        _pkg_short_errors_supported=no
7576
 
fi
7577
 
        if test $_pkg_short_errors_supported = yes; then
7578
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7579
 
        else
7580
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7581
 
        fi
7582
 
        # Put the nasty error message in config.log where it belongs
7583
 
        echo "$GECKO_PKG_ERRORS" >&5
7584
 
 
7585
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586
 
$as_echo "no" >&6; }
7587
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7588
 
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
7589
 
elif test $pkg_failed = untried; then
7590
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7591
 
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
7592
 
else
7593
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7594
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7595
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7596
 
$as_echo "yes" >&6; }
7597
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using mozilla" >&5
7598
 
$as_echo "$as_me: Using mozilla" >&6;}
7599
 
 
7600
 
fi
7601
 
fi
7602
 
 
7603
 
if test "$GECKO_CFLAGS" = ""; then
7604
 
 
7605
 
pkg_failed=no
7606
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7607
 
$as_echo_n "checking for GECKO... " >&6; }
7608
 
 
7609
 
if test -n "$GECKO_CFLAGS"; then
7610
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7611
 
 elif test -n "$PKG_CONFIG"; then
7612
 
    if test -n "$PKG_CONFIG" && \
7613
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7614
 
  ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7615
 
  ac_status=$?
7616
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7617
 
  test $ac_status = 0; }; then
7618
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom" 2>/dev/null`
7619
 
else
7620
 
  pkg_failed=yes
7621
 
fi
7622
 
 else
7623
 
    pkg_failed=untried
7624
 
fi
7625
 
if test -n "$GECKO_LIBS"; then
7626
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7627
 
 elif test -n "$PKG_CONFIG"; then
7628
 
    if test -n "$PKG_CONFIG" && \
7629
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7630
 
  ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7631
 
  ac_status=$?
7632
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7633
 
  test $ac_status = 0; }; then
7634
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom" 2>/dev/null`
7635
 
else
7636
 
  pkg_failed=yes
7637
 
fi
7638
 
 else
7639
 
    pkg_failed=untried
7640
 
fi
7641
 
 
7642
 
 
7643
 
 
7644
 
if test $pkg_failed = yes; then
7645
 
 
7646
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7647
 
        _pkg_short_errors_supported=yes
7648
 
else
7649
 
        _pkg_short_errors_supported=no
7650
 
fi
7651
 
        if test $_pkg_short_errors_supported = yes; then
7652
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7653
 
        else
7654
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7655
 
        fi
7656
 
        # Put the nasty error message in config.log where it belongs
7657
 
        echo "$GECKO_PKG_ERRORS" >&5
7658
 
 
7659
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660
 
$as_echo "no" >&6; }
7661
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7662
 
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7663
 
elif test $pkg_failed = untried; then
7664
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7665
 
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7666
 
else
7667
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7668
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7669
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7670
 
$as_echo "yes" >&6; }
7671
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using firefox" >&5
7672
 
$as_echo "$as_me: Using firefox" >&6;}
7673
 
 
7674
 
fi
7675
 
fi
7676
 
 
7677
 
if test "$GECKO_CFLAGS" = ""; then
7678
 
 
7679
 
pkg_failed=no
7680
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7681
 
$as_echo_n "checking for GECKO... " >&6; }
7682
 
 
7683
 
if test -n "$GECKO_CFLAGS"; then
7684
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7685
 
 elif test -n "$PKG_CONFIG"; then
7686
 
    if test -n "$PKG_CONFIG" && \
7687
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7688
 
  ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7689
 
  ac_status=$?
7690
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7691
 
  test $ac_status = 0; }; then
7692
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7693
 
else
7694
 
  pkg_failed=yes
7695
 
fi
7696
 
 else
7697
 
    pkg_failed=untried
7698
 
fi
7699
 
if test -n "$GECKO_LIBS"; then
7700
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7701
 
 elif test -n "$PKG_CONFIG"; then
7702
 
    if test -n "$PKG_CONFIG" && \
7703
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7704
 
  ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7705
 
  ac_status=$?
7706
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7707
 
  test $ac_status = 0; }; then
7708
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7709
 
else
7710
 
  pkg_failed=yes
7711
 
fi
7712
 
 else
7713
 
    pkg_failed=untried
7714
 
fi
7715
 
 
7716
 
 
7717
 
 
7718
 
if test $pkg_failed = yes; then
7719
 
 
7720
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7721
 
        _pkg_short_errors_supported=yes
7722
 
else
7723
 
        _pkg_short_errors_supported=no
7724
 
fi
7725
 
        if test $_pkg_short_errors_supported = yes; then
7726
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7727
 
        else
7728
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7729
 
        fi
7730
 
        # Put the nasty error message in config.log where it belongs
7731
 
        echo "$GECKO_PKG_ERRORS" >&5
7732
 
 
7733
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734
 
$as_echo "no" >&6; }
7735
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7736
 
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7737
 
elif test $pkg_failed = untried; then
7738
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7739
 
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7740
 
else
7741
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7742
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7743
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7744
 
$as_echo "yes" >&6; }
7745
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using seamonkey" >&5
7746
 
$as_echo "$as_me: Using seamonkey" >&6;}
7747
 
 
7748
 
fi
7749
 
fi
7750
 
 
7751
 
if test "$GECKO_CFLAGS" = ""; then
7752
 
 
7753
 
pkg_failed=no
7754
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7755
 
$as_echo_n "checking for GECKO... " >&6; }
7756
 
 
7757
 
if test -n "$GECKO_CFLAGS"; then
7758
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7759
 
 elif test -n "$PKG_CONFIG"; then
7760
 
    if test -n "$PKG_CONFIG" && \
7761
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7762
 
  ($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7763
 
  ac_status=$?
7764
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7765
 
  test $ac_status = 0; }; then
7766
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7767
 
else
7768
 
  pkg_failed=yes
7769
 
fi
7770
 
 else
7771
 
    pkg_failed=untried
7772
 
fi
7773
 
if test -n "$GECKO_LIBS"; then
7774
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7775
 
 elif test -n "$PKG_CONFIG"; then
7776
 
    if test -n "$PKG_CONFIG" && \
7777
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7778
 
  ($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7779
 
  ac_status=$?
7780
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7781
 
  test $ac_status = 0; }; then
7782
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7783
 
else
7784
 
  pkg_failed=yes
7785
 
fi
7786
 
 else
7787
 
    pkg_failed=untried
7788
 
fi
7789
 
 
7790
 
 
7791
 
 
7792
 
if test $pkg_failed = yes; then
7793
 
 
7794
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7795
 
        _pkg_short_errors_supported=yes
7796
 
else
7797
 
        _pkg_short_errors_supported=no
7798
 
fi
7799
 
        if test $_pkg_short_errors_supported = yes; then
7800
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7801
 
        else
7802
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7803
 
        fi
7804
 
        # Put the nasty error message in config.log where it belongs
7805
 
        echo "$GECKO_PKG_ERRORS" >&5
7806
 
 
7807
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808
 
$as_echo "no" >&6; }
7809
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7810
 
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7811
 
elif test $pkg_failed = untried; then
7812
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7813
 
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7814
 
else
7815
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7816
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7817
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7818
 
$as_echo "yes" >&6; }
7819
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using xulrunner" >&5
7820
 
$as_echo "$as_me: Using xulrunner" >&6;}
7821
 
 
7822
 
fi
7823
 
fi
7824
 
 
7825
 
if test "$GECKO_CFLAGS" = ""; then
7826
 
 
7827
 
pkg_failed=no
7828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7829
 
$as_echo_n "checking for GECKO... " >&6; }
7830
 
 
7831
 
if test -n "$GECKO_CFLAGS"; then
7832
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7833
 
 elif test -n "$PKG_CONFIG"; then
7834
 
    if test -n "$PKG_CONFIG" && \
7835
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
7836
 
  ($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
7837
 
  ac_status=$?
7838
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7839
 
  test $ac_status = 0; }; then
7840
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom" 2>/dev/null`
7841
 
else
7842
 
  pkg_failed=yes
7843
 
fi
7844
 
 else
7845
 
    pkg_failed=untried
7846
 
fi
7847
 
if test -n "$GECKO_LIBS"; then
7848
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7849
 
 elif test -n "$PKG_CONFIG"; then
7850
 
    if test -n "$PKG_CONFIG" && \
7851
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
7852
 
  ($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
7853
 
  ac_status=$?
7854
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7855
 
  test $ac_status = 0; }; then
7856
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom" 2>/dev/null`
7857
 
else
7858
 
  pkg_failed=yes
7859
 
fi
7860
 
 else
7861
 
    pkg_failed=untried
7862
 
fi
7863
 
 
7864
 
 
7865
 
 
7866
 
if test $pkg_failed = yes; then
7867
 
 
7868
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7869
 
        _pkg_short_errors_supported=yes
7870
 
else
7871
 
        _pkg_short_errors_supported=no
7872
 
fi
7873
 
        if test $_pkg_short_errors_supported = yes; then
7874
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "iceape-plugin iceape-xpcom" 2>&1`
7875
 
        else
7876
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "iceape-plugin iceape-xpcom" 2>&1`
7877
 
        fi
7878
 
        # Put the nasty error message in config.log where it belongs
7879
 
        echo "$GECKO_PKG_ERRORS" >&5
7880
 
 
7881
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882
 
$as_echo "no" >&6; }
7883
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
7884
 
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
7885
 
elif test $pkg_failed = untried; then
7886
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
7887
 
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
7888
 
else
7889
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7890
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7891
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7892
 
$as_echo "yes" >&6; }
7893
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using iceape" >&5
7894
 
$as_echo "$as_me: Using iceape" >&6;}
7895
 
 
7896
 
fi
7897
 
fi
7898
 
 
7899
 
 
7900
 
pkg_failed=no
7901
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5
7902
 
$as_echo_n "checking for NSPR... " >&6; }
7903
 
 
7904
 
if test -n "$NSPR_CFLAGS"; then
7905
 
    pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS"
7906
 
 elif test -n "$PKG_CONFIG"; then
7907
 
    if test -n "$PKG_CONFIG" && \
7908
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr\""; } >&5
7909
 
  ($PKG_CONFIG --exists --print-errors "nspr") 2>&5
7910
 
  ac_status=$?
7911
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7912
 
  test $ac_status = 0; }; then
7913
 
  pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr" 2>/dev/null`
7914
 
else
7915
 
  pkg_failed=yes
7916
 
fi
7917
 
 else
7918
 
    pkg_failed=untried
7919
 
fi
7920
 
if test -n "$NSPR_LIBS"; then
7921
 
    pkg_cv_NSPR_LIBS="$NSPR_LIBS"
7922
 
 elif test -n "$PKG_CONFIG"; then
7923
 
    if test -n "$PKG_CONFIG" && \
7924
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr\""; } >&5
7925
 
  ($PKG_CONFIG --exists --print-errors "nspr") 2>&5
7926
 
  ac_status=$?
7927
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7928
 
  test $ac_status = 0; }; then
7929
 
  pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr" 2>/dev/null`
7930
 
else
7931
 
  pkg_failed=yes
7932
 
fi
7933
 
 else
7934
 
    pkg_failed=untried
7935
 
fi
7936
 
 
7937
 
 
7938
 
 
7939
 
if test $pkg_failed = yes; then
7940
 
 
7941
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7942
 
        _pkg_short_errors_supported=yes
7943
 
else
7944
 
        _pkg_short_errors_supported=no
7945
 
fi
7946
 
        if test $_pkg_short_errors_supported = yes; then
7947
 
                NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nspr" 2>&1`
7948
 
        else
7949
 
                NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors "nspr" 2>&1`
7950
 
        fi
7951
 
        # Put the nasty error message in config.log where it belongs
7952
 
        echo "$NSPR_PKG_ERRORS" >&5
7953
 
 
7954
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955
 
$as_echo "no" >&6; }
7956
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
7957
 
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
7958
 
elif test $pkg_failed = untried; then
7959
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
7960
 
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
7961
 
else
7962
 
        NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS
7963
 
        NSPR_LIBS=$pkg_cv_NSPR_LIBS
7964
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7965
 
$as_echo "yes" >&6; }
7966
 
 
7967
 
    libdir=`$PKG_CONFIG --variable=libdir nspr`
7968
 
 
7969
 
 
7970
 
fi
7971
 
 
7972
 
 
7973
 
 
7974
 
 
7975
 
 
7976
 
 
7977
 
pkg_failed=no
7978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
7979
 
$as_echo_n "checking for DBUS... " >&6; }
7980
 
 
7981
 
if test -n "$DBUS_CFLAGS"; then
7982
 
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
7983
 
 elif test -n "$PKG_CONFIG"; then
7984
 
    if test -n "$PKG_CONFIG" && \
7985
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\""; } >&5
7986
 
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70") 2>&5
7987
 
  ac_status=$?
7988
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7989
 
  test $ac_status = 0; }; then
7990
 
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
7991
 
else
7992
 
  pkg_failed=yes
7993
 
fi
7994
 
 else
7995
 
    pkg_failed=untried
7996
 
fi
7997
 
if test -n "$DBUS_LIBS"; then
7998
 
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
7999
 
 elif test -n "$PKG_CONFIG"; then
8000
 
    if test -n "$PKG_CONFIG" && \
8001
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.95 dbus-glib-1 >= 0.70\""; } >&5
8002
 
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70") 2>&5
8003
 
  ac_status=$?
8004
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8005
 
  test $ac_status = 0; }; then
8006
 
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
8007
 
else
8008
 
  pkg_failed=yes
8009
 
fi
8010
 
 else
8011
 
    pkg_failed=untried
8012
 
fi
8013
 
 
8014
 
 
8015
 
 
8016
 
if test $pkg_failed = yes; then
8017
 
 
8018
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8019
 
        _pkg_short_errors_supported=yes
8020
 
else
8021
 
        _pkg_short_errors_supported=no
8022
 
fi
8023
 
        if test $_pkg_short_errors_supported = yes; then
8024
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
8025
 
        else
8026
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
8027
 
        fi
8028
 
        # Put the nasty error message in config.log where it belongs
8029
 
        echo "$DBUS_PKG_ERRORS" >&5
8030
 
 
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
8042
 
elif test $pkg_failed = untried; then
8043
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8044
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
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; }
8055
 
else
8056
 
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
8057
 
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
8058
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8059
 
$as_echo "yes" >&6; }
8060
 
        :
8061
 
fi
8062
 
 
8063
 
 
8064
 
 
8065
 
 
8066
 
# Check whether --with-gconf was given.
8067
 
if test "${with_gconf+set}" = set; then :
8068
 
  withval=$with_gconf;  if false; then
8069
 
  GCONF_SCHEMAS_INSTALL_TRUE=
8070
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
8071
 
else
8072
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
8073
 
  GCONF_SCHEMAS_INSTALL_FALSE=
8074
 
fi
8075
 
 
8076
 
else
8077
 
  with_gconf=check
8078
 
fi
8079
 
 
8080
 
if test "x$with_gconf" != xno; then :
8081
 
 
8082
 
pkg_failed=no
8083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
8084
 
$as_echo_n "checking for GCONF... " >&6; }
8085
 
 
8086
 
if test -n "$GCONF_CFLAGS"; then
8087
 
    pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
8088
 
 elif test -n "$PKG_CONFIG"; then
8089
 
    if test -n "$PKG_CONFIG" && \
8090
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
8091
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8092
 
  ac_status=$?
8093
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8094
 
  test $ac_status = 0; }; then
8095
 
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
8096
 
else
8097
 
  pkg_failed=yes
8098
 
fi
8099
 
 else
8100
 
    pkg_failed=untried
8101
 
fi
8102
 
if test -n "$GCONF_LIBS"; then
8103
 
    pkg_cv_GCONF_LIBS="$GCONF_LIBS"
8104
 
 elif test -n "$PKG_CONFIG"; then
8105
 
    if test -n "$PKG_CONFIG" && \
8106
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
8107
 
  ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8108
 
  ac_status=$?
8109
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8110
 
  test $ac_status = 0; }; then
8111
 
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
8112
 
else
8113
 
  pkg_failed=yes
8114
 
fi
8115
 
 else
8116
 
    pkg_failed=untried
8117
 
fi
8118
 
 
8119
 
 
8120
 
 
8121
 
if test $pkg_failed = yes; then
8122
 
 
8123
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8124
 
        _pkg_short_errors_supported=yes
8125
 
else
8126
 
        _pkg_short_errors_supported=no
8127
 
fi
8128
 
        if test $_pkg_short_errors_supported = yes; then
8129
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
8130
 
        else
8131
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
8132
 
        fi
8133
 
        # Put the nasty error message in config.log where it belongs
8134
 
        echo "$GCONF_PKG_ERRORS" >&5
8135
 
 
8136
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137
 
$as_echo "no" >&6; }
8138
 
                 if false; then
8139
 
  GCONF_SCHEMAS_INSTALL_TRUE=
8140
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
8141
 
else
8142
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
8143
 
  GCONF_SCHEMAS_INSTALL_FALSE=
8144
 
fi
8145
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
8146
 
$as_echo "$as_me: Using keystore for preferences" >&6;}
8147
 
elif test $pkg_failed = untried; then
8148
 
         if false; then
8149
 
  GCONF_SCHEMAS_INSTALL_TRUE=
8150
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
8151
 
else
8152
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
8153
 
  GCONF_SCHEMAS_INSTALL_FALSE=
8154
 
fi
8155
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
8156
 
$as_echo "$as_me: Using keystore for preferences" >&6;}
8157
 
else
8158
 
        GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
8159
 
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
8160
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8161
 
$as_echo "yes" >&6; }
8162
 
 
8163
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
8164
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
8165
 
  else
8166
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
8167
 
  fi
8168
 
 
8169
 
 
8170
 
# Check whether --with-gconf-source was given.
8171
 
if test "${with_gconf_source+set}" = set; then :
8172
 
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
8173
 
fi
8174
 
 
8175
 
 
8176
 
 
8177
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
8178
 
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
8179
 
 
8180
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
8181
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
8182
 
  fi
8183
 
 
8184
 
 
8185
 
# Check whether --with-gconf-schema-file-dir was given.
8186
 
if test "${with_gconf_schema_file_dir+set}" = set; then :
8187
 
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
8188
 
fi
8189
 
 
8190
 
 
8191
 
 
8192
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
8193
 
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
8194
 
 
8195
 
  # Check whether --enable-schemas-install was given.
8196
 
if test "${enable_schemas_install+set}" = set; then :
8197
 
  enableval=$enable_schemas_install; case ${enableval} in
8198
 
       yes|no) ;;
8199
 
       *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
8200
 
      esac
8201
 
fi
8202
 
 
8203
 
   if test "$enable_schemas_install" != no; then
8204
 
  GCONF_SCHEMAS_INSTALL_TRUE=
8205
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
8206
 
else
8207
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
8208
 
  GCONF_SCHEMAS_INSTALL_FALSE=
8209
 
fi
8210
 
 
8211
 
 
8212
 
 GCONF_DEFINES="-DHAVE_GCONF"
8213
 
$as_echo "#define HAVE_GCONF 1" >>confdefs.h
8214
 
 
8215
 
fi
8216
 
 
8217
 
 
8218
 
 
8219
 
 
8220
 
fi
8221
 
 
8222
 
 
8223
 
# Check whether --with-gio was given.
8224
 
if test "${with_gio+set}" = set; then :
8225
 
  withval=$with_gio;
8226
 
else
8227
 
  with_gio=check
8228
 
fi
8229
 
 
8230
 
if test "x$with_gio" != xno; then :
8231
 
 
8232
 
pkg_failed=no
8233
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
8234
 
$as_echo_n "checking for GIO... " >&6; }
8235
 
 
8236
 
if test -n "$GIO_CFLAGS"; then
8237
 
    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
8238
 
 elif test -n "$PKG_CONFIG"; then
8239
 
    if test -n "$PKG_CONFIG" && \
8240
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
8241
 
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
8242
 
  ac_status=$?
8243
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8244
 
  test $ac_status = 0; }; then
8245
 
  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
8246
 
else
8247
 
  pkg_failed=yes
8248
 
fi
8249
 
 else
8250
 
    pkg_failed=untried
8251
 
fi
8252
 
if test -n "$GIO_LIBS"; then
8253
 
    pkg_cv_GIO_LIBS="$GIO_LIBS"
8254
 
 elif test -n "$PKG_CONFIG"; then
8255
 
    if test -n "$PKG_CONFIG" && \
8256
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
8257
 
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
8258
 
  ac_status=$?
8259
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8260
 
  test $ac_status = 0; }; then
8261
 
  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
8262
 
else
8263
 
  pkg_failed=yes
8264
 
fi
8265
 
 else
8266
 
    pkg_failed=untried
8267
 
fi
8268
 
 
8269
 
 
8270
 
 
8271
 
if test $pkg_failed = yes; then
8272
 
 
8273
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8274
 
        _pkg_short_errors_supported=yes
8275
 
else
8276
 
        _pkg_short_errors_supported=no
8277
 
fi
8278
 
        if test $_pkg_short_errors_supported = yes; then
8279
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0" 2>&1`
8280
 
        else
8281
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0" 2>&1`
8282
 
        fi
8283
 
        # Put the nasty error message in config.log where it belongs
8284
 
        echo "$GIO_PKG_ERRORS" >&5
8285
 
 
8286
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287
 
$as_echo "no" >&6; }
8288
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
8289
 
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
8290
 
elif test $pkg_failed = untried; then
8291
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
8292
 
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
8293
 
else
8294
 
        GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
8295
 
        GIO_LIBS=$pkg_cv_GIO_LIBS
8296
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8297
 
$as_echo "yes" >&6; }
8298
 
        GIO_DEFINES="-DGIO_ENABLED"
8299
 
$as_echo "#define GIO_ENABLED 1" >>confdefs.h
8300
 
 
8301
 
fi
8302
 
 
8303
 
 
8304
 
 
8305
 
 
8306
 
fi
8307
 
 
8308
 
 
8309
 
# Check whether --with-plugin_dir was given.
8310
 
if test "${with_plugin_dir+set}" = set; then :
8311
 
  withval=$with_plugin_dir; plugindir=$withval
8312
 
else
8313
 
  plugindir='$(libdir)/mozilla/plugins'
8314
 
fi
8315
 
 
8316
 
 
8317
 
 
8318
 
# Check whether --enable-caching was given.
8319
 
if test "${enable_caching+set}" = set; then :
8320
 
  enableval=$enable_caching; usecache=$enableval
8321
 
else
8322
 
  usecache=yes
8323
 
fi
8324
 
 
8325
 
 
8326
 
if test $usecache != yes; then
8327
 
        GECKO_CFLAGS="$GECKO_CFLAGS -DDISABLE_CACHE"
8328
 
fi
8329
 
 
8330
 
 
8331
 
 
8332
 
ac_config_files="$ac_config_files Makefile gecko-mediaplayer.spec src/Makefile src/libgmlib/Makefile po/Makefile.in"
8333
 
 
8334
 
cat >confcache <<\_ACEOF
8335
 
# This file is a shell script that caches the results of configure
8336
 
# tests run on this system so they can be shared between configure
8337
 
# scripts and configure runs, see configure's option --config-cache.
8338
 
# It is not useful on other systems.  If it contains results you don't
8339
 
# want to keep, you may remove or edit it.
8340
 
#
8341
 
# config.status only pays attention to the cache file if you give it
8342
 
# the --recheck option to rerun configure.
8343
 
#
8344
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8345
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8346
 
# following values.
8347
 
 
8348
 
_ACEOF
8349
 
 
8350
 
# The following way of writing the cache mishandles newlines in values,
8351
 
# but we know of no workaround that is simple, portable, and efficient.
8352
 
# So, we kill variables containing newlines.
8353
 
# Ultrix sh set writes to stderr and can't be redirected directly,
8354
 
# and sets the high bit in the cache file unless we assign to the vars.
8355
 
(
8356
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8357
 
    eval ac_val=\$$ac_var
8358
 
    case $ac_val in #(
8359
 
    *${as_nl}*)
8360
 
      case $ac_var in #(
8361
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8362
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8363
 
      esac
8364
 
      case $ac_var in #(
8365
 
      _ | IFS | as_nl) ;; #(
8366
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8367
 
      *) { eval $ac_var=; unset $ac_var;} ;;
8368
 
      esac ;;
8369
 
    esac
8370
 
  done
8371
 
 
8372
 
  (set) 2>&1 |
8373
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
8374
 
    *${as_nl}ac_space=\ *)
8375
 
      # `set' does not quote correctly, so add quotes: double-quote
8376
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
8377
 
      sed -n \
8378
 
        "s/'/'\\\\''/g;
8379
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8380
 
      ;; #(
8381
 
    *)
8382
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8383
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8384
 
      ;;
8385
 
    esac |
8386
 
    sort
8387
 
) |
8388
 
  sed '
8389
 
     /^ac_cv_env_/b end
8390
 
     t clear
8391
 
     :clear
8392
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8393
 
     t end
8394
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8395
 
     :end' >>confcache
8396
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8397
 
  if test -w "$cache_file"; then
8398
 
    test "x$cache_file" != "x/dev/null" &&
8399
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8400
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
8401
 
    cat confcache >$cache_file
8402
 
  else
8403
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8404
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8405
 
  fi
8406
 
fi
8407
 
rm -f confcache
8408
 
 
8409
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8410
 
# Let make expand exec_prefix.
8411
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8412
 
 
8413
 
DEFS=-DHAVE_CONFIG_H
8414
 
 
8415
 
ac_libobjs=
8416
 
ac_ltlibobjs=
8417
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8418
 
  # 1. Remove the extension, and $U if already installed.
8419
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8420
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8421
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8422
 
  #    will be set to the directory where LIBOBJS objects are built.
8423
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8424
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8425
 
done
8426
 
LIBOBJS=$ac_libobjs
8427
 
 
8428
 
LTLIBOBJS=$ac_ltlibobjs
8429
 
 
8430
 
 
8431
 
 if test -n "$EXEEXT"; then
8432
 
  am__EXEEXT_TRUE=
8433
 
  am__EXEEXT_FALSE='#'
8434
 
else
8435
 
  am__EXEEXT_TRUE='#'
8436
 
  am__EXEEXT_FALSE=
8437
 
fi
8438
 
 
8439
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8440
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
8441
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8442
 
fi
8443
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
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
8458
 
fi
8459
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
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
8478
 
fi
8479
 
 
8480
 
: ${CONFIG_STATUS=./config.status}
8481
 
ac_write_fail=0
8482
 
ac_clean_files_save=$ac_clean_files
8483
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8484
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8485
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8486
 
as_write_fail=0
8487
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8488
 
#! $SHELL
8489
 
# Generated by $as_me.
8490
 
# Run this file to recreate the current configuration.
8491
 
# Compiler output produced by configure, useful for debugging
8492
 
# configure, is in config.log if it exists.
8493
 
 
8494
 
debug=false
8495
 
ac_cs_recheck=false
8496
 
ac_cs_silent=false
8497
 
 
8498
 
SHELL=\${CONFIG_SHELL-$SHELL}
8499
 
export SHELL
8500
 
_ASEOF
8501
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8502
 
## -------------------- ##
8503
 
## M4sh Initialization. ##
8504
 
## -------------------- ##
8505
 
 
8506
 
# Be more Bourne compatible
8507
 
DUALCASE=1; export DUALCASE # for MKS sh
8508
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8509
 
  emulate sh
8510
 
  NULLCMD=:
8511
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8512
 
  # is contrary to our usage.  Disable this feature.
8513
 
  alias -g '${1+"$@"}'='"$@"'
8514
 
  setopt NO_GLOB_SUBST
8515
 
else
8516
 
  case `(set -o) 2>/dev/null` in #(
8517
 
  *posix*) :
8518
 
    set -o posix ;; #(
8519
 
  *) :
8520
 
     ;;
8521
 
esac
8522
 
fi
8523
 
 
8524
 
 
8525
 
as_nl='
8526
 
'
8527
 
export as_nl
8528
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
8529
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8530
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8531
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
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
8539
 
  as_echo='printf %s\n'
8540
 
  as_echo_n='printf %s'
8541
 
else
8542
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8543
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8544
 
    as_echo_n='/usr/ucb/echo -n'
8545
 
  else
8546
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8547
 
    as_echo_n_body='eval
8548
 
      arg=$1;
8549
 
      case $arg in #(
8550
 
      *"$as_nl"*)
8551
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
8552
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8553
 
      esac;
8554
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8555
 
    '
8556
 
    export as_echo_n_body
8557
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
8558
 
  fi
8559
 
  export as_echo_body
8560
 
  as_echo='sh -c $as_echo_body as_echo'
8561
 
fi
8562
 
 
8563
 
# The user is always right.
8564
 
if test "${PATH_SEPARATOR+set}" != set; then
8565
 
  PATH_SEPARATOR=:
8566
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8567
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8568
 
      PATH_SEPARATOR=';'
8569
 
  }
8570
 
fi
8571
 
 
8572
 
 
8573
 
# IFS
8574
 
# We need space, tab and new line, in precisely that order.  Quoting is
8575
 
# there to prevent editors from complaining about space-tab.
8576
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8577
 
# splitting by setting IFS to empty value.)
8578
 
IFS=" ""        $as_nl"
8579
 
 
8580
 
# Find who we are.  Look in the path if we contain no directory separator.
8581
 
case $0 in #((
8582
 
  *[\\/]* ) as_myself=$0 ;;
8583
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8584
 
for as_dir in $PATH
8585
 
do
8586
 
  IFS=$as_save_IFS
8587
 
  test -z "$as_dir" && as_dir=.
8588
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8589
 
  done
8590
 
IFS=$as_save_IFS
8591
 
 
8592
 
     ;;
8593
 
esac
8594
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
8595
 
# in which case we are not to be found in the path.
8596
 
if test "x$as_myself" = x; then
8597
 
  as_myself=$0
8598
 
fi
8599
 
if test ! -f "$as_myself"; then
8600
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8601
 
  exit 1
8602
 
fi
8603
 
 
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 || :
8611
 
done
8612
 
PS1='$ '
8613
 
PS2='> '
8614
 
PS4='+ '
8615
 
 
8616
 
# NLS nuisances.
8617
 
LC_ALL=C
8618
 
export LC_ALL
8619
 
LANGUAGE=C
8620
 
export LANGUAGE
8621
 
 
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
 
 
8705
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
8706
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8707
 
  as_expr=expr
8708
 
else
8709
 
  as_expr=false
8710
 
fi
8711
 
 
8712
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8713
 
  as_basename=basename
8714
 
else
8715
 
  as_basename=false
8716
 
fi
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
8723
 
 
8724
 
as_me=`$as_basename -- "$0" ||
8725
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8726
 
         X"$0" : 'X\(//\)$' \| \
8727
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8728
 
$as_echo X/"$0" |
8729
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
8730
 
            s//\1/
8731
 
            q
8732
 
          }
8733
 
          /^X\/\(\/\/\)$/{
8734
 
            s//\1/
8735
 
            q
8736
 
          }
8737
 
          /^X\/\(\/\).*/{
8738
 
            s//\1/
8739
 
            q
8740
 
          }
8741
 
          s/.*/./; q'`
8742
 
 
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
8749
 
 
8750
 
ECHO_C= ECHO_N= ECHO_T=
8751
 
case `echo -n x` in #(((((
8752
 
-n*)
8753
 
  case `echo 'xy\c'` in
8754
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
8755
 
  xy)  ECHO_C='\c';;
8756
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
8757
 
       ECHO_T=' ';;
8758
 
  esac;;
8759
 
*)
8760
 
  ECHO_N='-n';;
8761
 
esac
8762
 
 
8763
 
rm -f conf$$ conf$$.exe conf$$.file
8764
 
if test -d conf$$.dir; then
8765
 
  rm -f conf$$.dir/conf$$.file
8766
 
else
8767
 
  rm -f conf$$.dir
8768
 
  mkdir conf$$.dir 2>/dev/null
8769
 
fi
8770
 
if (echo >conf$$.file) 2>/dev/null; then
8771
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
8772
 
    as_ln_s='ln -s'
8773
 
    # ... but there are two gotchas:
8774
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8775
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8776
 
    # In both cases, we have to default to `cp -p'.
8777
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8778
 
      as_ln_s='cp -p'
8779
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
8780
 
    as_ln_s=ln
8781
 
  else
8782
 
    as_ln_s='cp -p'
8783
 
  fi
8784
 
else
8785
 
  as_ln_s='cp -p'
8786
 
fi
8787
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8788
 
rmdir conf$$.dir 2>/dev/null
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
8838
 
if mkdir -p . 2>/dev/null; then
8839
 
  as_mkdir_p='mkdir -p "$as_dir"'
8840
 
else
8841
 
  test -d ./-p && rmdir ./-p
8842
 
  as_mkdir_p=false
8843
 
fi
8844
 
 
8845
 
if test -x / >/dev/null 2>&1; then
8846
 
  as_test_x='test -x'
8847
 
else
8848
 
  if ls -dL / >/dev/null 2>&1; then
8849
 
    as_ls_L_option=L
8850
 
  else
8851
 
    as_ls_L_option=
8852
 
  fi
8853
 
  as_test_x='
8854
 
    eval sh -c '\''
8855
 
      if test -d "$1"; then
8856
 
        test -d "$1/.";
8857
 
      else
8858
 
        case $1 in #(
8859
 
        -*)set "./$1";;
8860
 
        esac;
8861
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8862
 
        ???[sx]*):;;*)false;;esac;fi
8863
 
    '\'' sh
8864
 
  '
8865
 
fi
8866
 
as_executable_p=$as_test_x
8867
 
 
8868
 
# Sed expression to map a string onto a valid CPP name.
8869
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8870
 
 
8871
 
# Sed expression to map a string onto a valid variable name.
8872
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8873
 
 
8874
 
 
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
8881
 
 
8882
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8883
 
# Save the log message, to keep $0 and so on meaningful, and to
8884
 
# report actual input values of CONFIG_FILES etc. instead of their
8885
 
# values after options handling.
8886
 
ac_log="
8887
 
This file was extended by $as_me, which was
8888
 
generated by GNU Autoconf 2.65.  Invocation command line was
8889
 
 
8890
 
  CONFIG_FILES    = $CONFIG_FILES
8891
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
8892
 
  CONFIG_LINKS    = $CONFIG_LINKS
8893
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8894
 
  $ $0 $@
8895
 
 
8896
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8897
 
"
8898
 
 
8899
 
_ACEOF
8900
 
 
8901
 
case $ac_config_files in *"
8902
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
8903
 
esac
8904
 
 
8905
 
case $ac_config_headers in *"
8906
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8907
 
esac
8908
 
 
8909
 
 
8910
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8911
 
# Files that config.status was made for.
8912
 
config_files="$ac_config_files"
8913
 
config_headers="$ac_config_headers"
8914
 
config_commands="$ac_config_commands"
8915
 
 
8916
 
_ACEOF
8917
 
 
8918
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8919
 
ac_cs_usage="\
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.
8923
 
 
8924
 
Usage: $0 [OPTION]... [TAG]...
8925
 
 
8926
 
  -h, --help       print this help, then exit
8927
 
  -V, --version    print version number and configuration settings, then exit
8928
 
      --config     print configuration, then exit
8929
 
  -q, --quiet, --silent
8930
 
                   do not print progress messages
8931
 
  -d, --debug      don't remove temporary files
8932
 
      --recheck    update $as_me by reconfiguring in the same conditions
8933
 
      --file=FILE[:TEMPLATE]
8934
 
                   instantiate the configuration file FILE
8935
 
      --header=FILE[:TEMPLATE]
8936
 
                   instantiate the configuration header FILE
8937
 
 
8938
 
Configuration files:
8939
 
$config_files
8940
 
 
8941
 
Configuration headers:
8942
 
$config_headers
8943
 
 
8944
 
Configuration commands:
8945
 
$config_commands
8946
 
 
8947
 
Report bugs to the package provider."
8948
 
 
8949
 
_ACEOF
8950
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8951
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8952
 
ac_cs_version="\\
8953
 
config.status
8954
 
configured by $0, generated by GNU Autoconf 2.65,
8955
 
  with options \\"\$ac_cs_config\\"
8956
 
 
8957
 
Copyright (C) 2009 Free Software Foundation, Inc.
8958
 
This config.status script is free software; the Free Software Foundation
8959
 
gives unlimited permission to copy, distribute and modify it."
8960
 
 
8961
 
ac_pwd='$ac_pwd'
8962
 
srcdir='$srcdir'
8963
 
INSTALL='$INSTALL'
8964
 
MKDIR_P='$MKDIR_P'
8965
 
AWK='$AWK'
8966
 
test -n "\$AWK" || AWK=awk
8967
 
_ACEOF
8968
 
 
8969
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8970
 
# The default lists apply if the user does not specify any file.
8971
 
ac_need_defaults=:
8972
 
while test $# != 0
8973
 
do
8974
 
  case $1 in
8975
 
  --*=*)
8976
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8977
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8978
 
    ac_shift=:
8979
 
    ;;
8980
 
  *)
8981
 
    ac_option=$1
8982
 
    ac_optarg=$2
8983
 
    ac_shift=shift
8984
 
    ;;
8985
 
  esac
8986
 
 
8987
 
  case $ac_option in
8988
 
  # Handling of the options.
8989
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8990
 
    ac_cs_recheck=: ;;
8991
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8992
 
    $as_echo "$ac_cs_version"; exit ;;
8993
 
  --config | --confi | --conf | --con | --co | --c )
8994
 
    $as_echo "$ac_cs_config"; exit ;;
8995
 
  --debug | --debu | --deb | --de | --d | -d )
8996
 
    debug=: ;;
8997
 
  --file | --fil | --fi | --f )
8998
 
    $ac_shift
8999
 
    case $ac_optarg in
9000
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9001
 
    esac
9002
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
9003
 
    ac_need_defaults=false;;
9004
 
  --header | --heade | --head | --hea )
9005
 
    $ac_shift
9006
 
    case $ac_optarg in
9007
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9008
 
    esac
9009
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9010
 
    ac_need_defaults=false;;
9011
 
  --he | --h)
9012
 
    # Conflict between --help and --header
9013
 
    as_fn_error "ambiguous option: \`$1'
9014
 
Try \`$0 --help' for more information.";;
9015
 
  --help | --hel | -h )
9016
 
    $as_echo "$ac_cs_usage"; exit ;;
9017
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9018
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9019
 
    ac_cs_silent=: ;;
9020
 
 
9021
 
  # This is an error.
9022
 
  -*) as_fn_error "unrecognized option: \`$1'
9023
 
Try \`$0 --help' for more information." ;;
9024
 
 
9025
 
  *) as_fn_append ac_config_targets " $1"
9026
 
     ac_need_defaults=false ;;
9027
 
 
9028
 
  esac
9029
 
  shift
9030
 
done
9031
 
 
9032
 
ac_configure_extra_args=
9033
 
 
9034
 
if $ac_cs_silent; then
9035
 
  exec 6>/dev/null
9036
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
9037
 
fi
9038
 
 
9039
 
_ACEOF
9040
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9041
 
if \$ac_cs_recheck; then
9042
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9043
 
  shift
9044
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9045
 
  CONFIG_SHELL='$SHELL'
9046
 
  export CONFIG_SHELL
9047
 
  exec "\$@"
9048
 
fi
9049
 
 
9050
 
_ACEOF
9051
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9052
 
exec 5>>config.log
9053
 
{
9054
 
  echo
9055
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9056
 
## Running $as_me. ##
9057
 
_ASBOX
9058
 
  $as_echo "$ac_log"
9059
 
} >&5
9060
 
 
9061
 
_ACEOF
9062
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9063
 
#
9064
 
# INIT-COMMANDS
9065
 
#
9066
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9067
 
 
9068
 
 
9069
 
_ACEOF
9070
 
 
9071
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9072
 
 
9073
 
# Handling of arguments.
9074
 
for ac_config_target in $ac_config_targets
9075
 
do
9076
 
  case $ac_config_target in
9077
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9078
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9079
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
9080
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9081
 
    "gecko-mediaplayer.spec") CONFIG_FILES="$CONFIG_FILES gecko-mediaplayer.spec" ;;
9082
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9083
 
    "src/libgmlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/libgmlib/Makefile" ;;
9084
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9085
 
 
9086
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9087
 
  esac
9088
 
done
9089
 
 
9090
 
 
9091
 
# If the user did not use the arguments to specify the items to instantiate,
9092
 
# then the envvar interface is used.  Set only those that are not.
9093
 
# We use the long form for the default assignment because of an extremely
9094
 
# bizarre bug on SunOS 4.1.3.
9095
 
if $ac_need_defaults; then
9096
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9097
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9098
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9099
 
fi
9100
 
 
9101
 
# Have a temporary directory for convenience.  Make it in the build tree
9102
 
# simply because there is no reason against having it here, and in addition,
9103
 
# creating and moving files from /tmp can sometimes cause problems.
9104
 
# Hook for its removal unless debugging.
9105
 
# Note that there is a small window in which the directory will not be cleaned:
9106
 
# after its creation but before its name has been assigned to `$tmp'.
9107
 
$debug ||
9108
 
{
9109
 
  tmp=
9110
 
  trap 'exit_status=$?
9111
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9112
 
' 0
9113
 
  trap 'as_fn_exit 1' 1 2 13 15
9114
 
}
9115
 
# Create a (secure) tmp directory for tmp files.
9116
 
 
9117
 
{
9118
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9119
 
  test -n "$tmp" && test -d "$tmp"
9120
 
}  ||
9121
 
{
9122
 
  tmp=./conf$$-$RANDOM
9123
 
  (umask 077 && mkdir "$tmp")
9124
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
9125
 
 
9126
 
# Set up the scripts for CONFIG_FILES section.
9127
 
# No need to generate them if there are no CONFIG_FILES.
9128
 
# This happens for instance with `./config.status config.h'.
9129
 
if test -n "$CONFIG_FILES"; then
9130
 
 
9131
 
 
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
9139
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9140
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9141
 
  ac_cs_awk_cr='\r'
9142
 
else
9143
 
  ac_cs_awk_cr=$ac_cr
9144
 
fi
9145
 
 
9146
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
9147
 
_ACEOF
9148
 
 
9149
 
 
9150
 
{
9151
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
9152
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9153
 
  echo "_ACEOF"
9154
 
} >conf$$subs.sh ||
9155
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9156
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9157
 
ac_delim='%!_!# '
9158
 
for ac_last_try in false false false false false :; do
9159
 
  . ./conf$$subs.sh ||
9160
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9161
 
 
9162
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9163
 
  if test $ac_delim_n = $ac_delim_num; then
9164
 
    break
9165
 
  elif $ac_last_try; then
9166
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9167
 
  else
9168
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9169
 
  fi
9170
 
done
9171
 
rm -f conf$$subs.sh
9172
 
 
9173
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9174
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9175
 
_ACEOF
9176
 
sed -n '
9177
 
h
9178
 
s/^/S["/; s/!.*/"]=/
9179
 
p
9180
 
g
9181
 
s/^[^!]*!//
9182
 
:repl
9183
 
t repl
9184
 
s/'"$ac_delim"'$//
9185
 
t delim
9186
 
:nl
9187
 
h
9188
 
s/\(.\{148\}\)..*/\1/
9189
 
t more1
9190
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9191
 
p
9192
 
n
9193
 
b repl
9194
 
:more1
9195
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9196
 
p
9197
 
g
9198
 
s/.\{148\}//
9199
 
t nl
9200
 
:delim
9201
 
h
9202
 
s/\(.\{148\}\)..*/\1/
9203
 
t more2
9204
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
9205
 
p
9206
 
b
9207
 
:more2
9208
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9209
 
p
9210
 
g
9211
 
s/.\{148\}//
9212
 
t delim
9213
 
' <conf$$subs.awk | sed '
9214
 
/^[^""]/{
9215
 
  N
9216
 
  s/\n//
9217
 
}
9218
 
' >>$CONFIG_STATUS || ac_write_fail=1
9219
 
rm -f conf$$subs.awk
9220
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9221
 
_ACAWK
9222
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9223
 
  for (key in S) S_is_set[key] = 1
9224
 
  FS = ""
9225
 
 
9226
 
}
9227
 
{
9228
 
  line = $ 0
9229
 
  nfields = split(line, field, "@")
9230
 
  substed = 0
9231
 
  len = length(field[1])
9232
 
  for (i = 2; i < nfields; i++) {
9233
 
    key = field[i]
9234
 
    keylen = length(key)
9235
 
    if (S_is_set[key]) {
9236
 
      value = S[key]
9237
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9238
 
      len += length(value) + length(field[++i])
9239
 
      substed = 1
9240
 
    } else
9241
 
      len += 1 + keylen
9242
 
  }
9243
 
 
9244
 
  print line
9245
 
}
9246
 
 
9247
 
_ACAWK
9248
 
_ACEOF
9249
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9250
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9251
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9252
 
else
9253
 
  cat
9254
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9255
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
9256
 
_ACEOF
9257
 
 
9258
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9259
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9260
 
# trailing colons and then remove the whole line if VPATH becomes empty
9261
 
# (actually we leave an empty line to preserve line numbers).
9262
 
if test "x$srcdir" = x.; then
9263
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
9264
 
s/:*\$(srcdir):*/:/
9265
 
s/:*\${srcdir}:*/:/
9266
 
s/:*@srcdir@:*/:/
9267
 
s/^\([^=]*=[     ]*\):*/\1/
9268
 
s/:*$//
9269
 
s/^[^=]*=[       ]*$//
9270
 
}'
9271
 
fi
9272
 
 
9273
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9274
 
fi # test -n "$CONFIG_FILES"
9275
 
 
9276
 
# Set up the scripts for CONFIG_HEADERS section.
9277
 
# No need to generate them if there are no CONFIG_HEADERS.
9278
 
# This happens for instance with `./config.status Makefile'.
9279
 
if test -n "$CONFIG_HEADERS"; then
9280
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
9281
 
BEGIN {
9282
 
_ACEOF
9283
 
 
9284
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
9285
 
# here-document in config.status, that substitutes the proper values into
9286
 
# config.h.in to produce config.h.
9287
 
 
9288
 
# Create a delimiter string that does not exist in confdefs.h, to ease
9289
 
# handling of long lines.
9290
 
ac_delim='%!_!# '
9291
 
for ac_last_try in false false :; do
9292
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9293
 
  if test -z "$ac_t"; then
9294
 
    break
9295
 
  elif $ac_last_try; then
9296
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
9297
 
  else
9298
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9299
 
  fi
9300
 
done
9301
 
 
9302
 
# For the awk script, D is an array of macro values keyed by name,
9303
 
# likewise P contains macro parameters if any.  Preserve backslash
9304
 
# newline sequences.
9305
 
 
9306
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9307
 
sed -n '
9308
 
s/.\{148\}/&'"$ac_delim"'/g
9309
 
t rset
9310
 
:rset
9311
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
9312
 
t def
9313
 
d
9314
 
:def
9315
 
s/\\$//
9316
 
t bsnl
9317
 
s/["\\]/\\&/g
9318
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
9319
 
D["\1"]=" \3"/p
9320
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
9321
 
d
9322
 
:bsnl
9323
 
s/["\\]/\\&/g
9324
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
9325
 
D["\1"]=" \3\\\\\\n"\\/p
9326
 
t cont
9327
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9328
 
t cont
9329
 
d
9330
 
:cont
9331
 
n
9332
 
s/.\{148\}/&'"$ac_delim"'/g
9333
 
t clear
9334
 
:clear
9335
 
s/\\$//
9336
 
t bsnlc
9337
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
9338
 
d
9339
 
:bsnlc
9340
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9341
 
b cont
9342
 
' <confdefs.h | sed '
9343
 
s/'"$ac_delim"'/"\\\
9344
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
9345
 
 
9346
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9347
 
  for (key in D) D_is_set[key] = 1
9348
 
  FS = ""
9349
 
}
9350
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9351
 
  line = \$ 0
9352
 
  split(line, arg, " ")
9353
 
  if (arg[1] == "#") {
9354
 
    defundef = arg[2]
9355
 
    mac1 = arg[3]
9356
 
  } else {
9357
 
    defundef = substr(arg[1], 2)
9358
 
    mac1 = arg[2]
9359
 
  }
9360
 
  split(mac1, mac2, "(") #)
9361
 
  macro = mac2[1]
9362
 
  prefix = substr(line, 1, index(line, defundef) - 1)
9363
 
  if (D_is_set[macro]) {
9364
 
    # Preserve the white space surrounding the "#".
9365
 
    print prefix "define", macro P[macro] D[macro]
9366
 
    next
9367
 
  } else {
9368
 
    # Replace #undef with comments.  This is necessary, for example,
9369
 
    # in the case of _POSIX_SOURCE, which is predefined and required
9370
 
    # on some systems where configure will not decide to define it.
9371
 
    if (defundef == "undef") {
9372
 
      print "/*", prefix defundef, macro, "*/"
9373
 
      next
9374
 
    }
9375
 
  }
9376
 
}
9377
 
{ print }
9378
 
_ACAWK
9379
 
_ACEOF
9380
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9381
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
9382
 
fi # test -n "$CONFIG_HEADERS"
9383
 
 
9384
 
 
9385
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
9386
 
shift
9387
 
for ac_tag
9388
 
do
9389
 
  case $ac_tag in
9390
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
9391
 
  esac
9392
 
  case $ac_mode$ac_tag in
9393
 
  :[FHL]*:*);;
9394
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
9395
 
  :[FH]-) ac_tag=-:-;;
9396
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9397
 
  esac
9398
 
  ac_save_IFS=$IFS
9399
 
  IFS=:
9400
 
  set x $ac_tag
9401
 
  IFS=$ac_save_IFS
9402
 
  shift
9403
 
  ac_file=$1
9404
 
  shift
9405
 
 
9406
 
  case $ac_mode in
9407
 
  :L) ac_source=$1;;
9408
 
  :[FH])
9409
 
    ac_file_inputs=
9410
 
    for ac_f
9411
 
    do
9412
 
      case $ac_f in
9413
 
      -) ac_f="$tmp/stdin";;
9414
 
      *) # Look for the file first in the build tree, then in the source tree
9415
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
9416
 
         # because $ac_f cannot contain `:'.
9417
 
         test -f "$ac_f" ||
9418
 
           case $ac_f in
9419
 
           [\\/$]*) false;;
9420
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9421
 
           esac ||
9422
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9423
 
      esac
9424
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9425
 
      as_fn_append ac_file_inputs " '$ac_f'"
9426
 
    done
9427
 
 
9428
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
9429
 
    # use $as_me), people would be surprised to read:
9430
 
    #    /* config.h.  Generated by config.status.  */
9431
 
    configure_input='Generated from '`
9432
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9433
 
        `' by configure.'
9434
 
    if test x"$ac_file" != x-; then
9435
 
      configure_input="$ac_file.  $configure_input"
9436
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9437
 
$as_echo "$as_me: creating $ac_file" >&6;}
9438
 
    fi
9439
 
    # Neutralize special characters interpreted by sed in replacement strings.
9440
 
    case $configure_input in #(
9441
 
    *\&* | *\|* | *\\* )
9442
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
9443
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
9444
 
    *) ac_sed_conf_input=$configure_input;;
9445
 
    esac
9446
 
 
9447
 
    case $ac_tag in
9448
 
    *:-:* | *:-) cat >"$tmp/stdin" \
9449
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
9450
 
    esac
9451
 
    ;;
9452
 
  esac
9453
 
 
9454
 
  ac_dir=`$as_dirname -- "$ac_file" ||
9455
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9456
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
9457
 
         X"$ac_file" : 'X\(//\)$' \| \
9458
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9459
 
$as_echo X"$ac_file" |
9460
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9461
 
            s//\1/
9462
 
            q
9463
 
          }
9464
 
          /^X\(\/\/\)[^/].*/{
9465
 
            s//\1/
9466
 
            q
9467
 
          }
9468
 
          /^X\(\/\/\)$/{
9469
 
            s//\1/
9470
 
            q
9471
 
          }
9472
 
          /^X\(\/\).*/{
9473
 
            s//\1/
9474
 
            q
9475
 
          }
9476
 
          s/.*/./; q'`
9477
 
  as_dir="$ac_dir"; as_fn_mkdir_p
9478
 
  ac_builddir=.
9479
 
 
9480
 
case "$ac_dir" in
9481
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9482
 
*)
9483
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9484
 
  # A ".." for each directory in $ac_dir_suffix.
9485
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9486
 
  case $ac_top_builddir_sub in
9487
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9488
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9489
 
  esac ;;
9490
 
esac
9491
 
ac_abs_top_builddir=$ac_pwd
9492
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
9493
 
# for backward compatibility:
9494
 
ac_top_builddir=$ac_top_build_prefix
9495
 
 
9496
 
case $srcdir in
9497
 
  .)  # We are building in place.
9498
 
    ac_srcdir=.
9499
 
    ac_top_srcdir=$ac_top_builddir_sub
9500
 
    ac_abs_top_srcdir=$ac_pwd ;;
9501
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
9502
 
    ac_srcdir=$srcdir$ac_dir_suffix;
9503
 
    ac_top_srcdir=$srcdir
9504
 
    ac_abs_top_srcdir=$srcdir ;;
9505
 
  *) # Relative name.
9506
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9507
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
9508
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9509
 
esac
9510
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9511
 
 
9512
 
 
9513
 
  case $ac_mode in
9514
 
  :F)
9515
 
  #
9516
 
  # CONFIG_FILE
9517
 
  #
9518
 
 
9519
 
  case $INSTALL in
9520
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9521
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9522
 
  esac
9523
 
  ac_MKDIR_P=$MKDIR_P
9524
 
  case $MKDIR_P in
9525
 
  [\\/$]* | ?:[\\/]* ) ;;
9526
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9527
 
  esac
9528
 
_ACEOF
9529
 
 
9530
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9531
 
# If the template does not know about datarootdir, expand it.
9532
 
# FIXME: This hack should be removed a few years after 2.60.
9533
 
ac_datarootdir_hack=; ac_datarootdir_seen=
9534
 
ac_sed_dataroot='
9535
 
/datarootdir/ {
9536
 
  p
9537
 
  q
9538
 
}
9539
 
/@datadir@/p
9540
 
/@docdir@/p
9541
 
/@infodir@/p
9542
 
/@localedir@/p
9543
 
/@mandir@/p'
9544
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9545
 
*datarootdir*) ac_datarootdir_seen=yes;;
9546
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9547
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9548
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9549
 
_ACEOF
9550
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9551
 
  ac_datarootdir_hack='
9552
 
  s&@datadir@&$datadir&g
9553
 
  s&@docdir@&$docdir&g
9554
 
  s&@infodir@&$infodir&g
9555
 
  s&@localedir@&$localedir&g
9556
 
  s&@mandir@&$mandir&g
9557
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
9558
 
esac
9559
 
_ACEOF
9560
 
 
9561
 
# Neutralize VPATH when `$srcdir' = `.'.
9562
 
# Shell code in configure.ac might set extrasub.
9563
 
# FIXME: do we really want to maintain this feature?
9564
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9565
 
ac_sed_extra="$ac_vpsub
9566
 
$extrasub
9567
 
_ACEOF
9568
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9569
 
:t
9570
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9571
 
s|@configure_input@|$ac_sed_conf_input|;t t
9572
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
9573
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
9574
 
s&@srcdir@&$ac_srcdir&;t t
9575
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9576
 
s&@top_srcdir@&$ac_top_srcdir&;t t
9577
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9578
 
s&@builddir@&$ac_builddir&;t t
9579
 
s&@abs_builddir@&$ac_abs_builddir&;t t
9580
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9581
 
s&@INSTALL@&$ac_INSTALL&;t t
9582
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9583
 
$ac_datarootdir_hack
9584
 
"
9585
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9586
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
9587
 
 
9588
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9589
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9590
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9591
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9592
 
which seems to be undefined.  Please make sure it is defined." >&5
9593
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9594
 
which seems to be undefined.  Please make sure it is defined." >&2;}
9595
 
 
9596
 
  rm -f "$tmp/stdin"
9597
 
  case $ac_file in
9598
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
9599
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9600
 
  esac \
9601
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
9602
 
 ;;
9603
 
  :H)
9604
 
  #
9605
 
  # CONFIG_HEADER
9606
 
  #
9607
 
  if test x"$ac_file" != x-; then
9608
 
    {
9609
 
      $as_echo "/* $configure_input  */" \
9610
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9611
 
    } >"$tmp/config.h" \
9612
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
9613
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9614
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9615
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9616
 
    else
9617
 
      rm -f "$ac_file"
9618
 
      mv "$tmp/config.h" "$ac_file" \
9619
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
9620
 
    fi
9621
 
  else
9622
 
    $as_echo "/* $configure_input  */" \
9623
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9624
 
      || as_fn_error "could not create -" "$LINENO" 5
9625
 
  fi
9626
 
# Compute "$ac_file"'s index in $config_headers.
9627
 
_am_arg="$ac_file"
9628
 
_am_stamp_count=1
9629
 
for _am_header in $config_headers :; do
9630
 
  case $_am_header in
9631
 
    $_am_arg | $_am_arg:* )
9632
 
      break ;;
9633
 
    * )
9634
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9635
 
  esac
9636
 
done
9637
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9638
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9639
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
9640
 
         X"$_am_arg" : 'X\(//\)$' \| \
9641
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9642
 
$as_echo X"$_am_arg" |
9643
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9644
 
            s//\1/
9645
 
            q
9646
 
          }
9647
 
          /^X\(\/\/\)[^/].*/{
9648
 
            s//\1/
9649
 
            q
9650
 
          }
9651
 
          /^X\(\/\/\)$/{
9652
 
            s//\1/
9653
 
            q
9654
 
          }
9655
 
          /^X\(\/\).*/{
9656
 
            s//\1/
9657
 
            q
9658
 
          }
9659
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
9660
 
 ;;
9661
 
 
9662
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9663
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
9664
 
 ;;
9665
 
  esac
9666
 
 
9667
 
 
9668
 
  case $ac_file$ac_mode in
9669
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9670
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
9671
 
  # are listed without --file.  Let's play safe and only enable the eval
9672
 
  # if we detect the quoting.
9673
 
  case $CONFIG_FILES in
9674
 
  *\'*) eval set x "$CONFIG_FILES" ;;
9675
 
  *)   set x $CONFIG_FILES ;;
9676
 
  esac
9677
 
  shift
9678
 
  for mf
9679
 
  do
9680
 
    # Strip MF so we end up with the name of the file.
9681
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
9682
 
    # Check whether this is an Automake generated Makefile or not.
9683
 
    # We used to match only the files named `Makefile.in', but
9684
 
    # some people rename them; so instead we look at the file content.
9685
 
    # Grep'ing the first line is not enough: some people post-process
9686
 
    # each Makefile.in and add a new line on top of each file to say so.
9687
 
    # Grep'ing the whole file is not good either: AIX grep has a line
9688
 
    # limit of 2048, but all sed's we know have understand at least 4000.
9689
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9690
 
      dirpart=`$as_dirname -- "$mf" ||
9691
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9692
 
         X"$mf" : 'X\(//\)[^/]' \| \
9693
 
         X"$mf" : 'X\(//\)$' \| \
9694
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9695
 
$as_echo X"$mf" |
9696
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9697
 
            s//\1/
9698
 
            q
9699
 
          }
9700
 
          /^X\(\/\/\)[^/].*/{
9701
 
            s//\1/
9702
 
            q
9703
 
          }
9704
 
          /^X\(\/\/\)$/{
9705
 
            s//\1/
9706
 
            q
9707
 
          }
9708
 
          /^X\(\/\).*/{
9709
 
            s//\1/
9710
 
            q
9711
 
          }
9712
 
          s/.*/./; q'`
9713
 
    else
9714
 
      continue
9715
 
    fi
9716
 
    # Extract the definition of DEPDIR, am__include, and am__quote
9717
 
    # from the Makefile without running `make'.
9718
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9719
 
    test -z "$DEPDIR" && continue
9720
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
9721
 
    test -z "am__include" && continue
9722
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9723
 
    # When using ansi2knr, U may be empty or an underscore; expand it
9724
 
    U=`sed -n 's/^U = //p' < "$mf"`
9725
 
    # Find all dependency output files, they are included files with
9726
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
9727
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
9728
 
    # expansion.
9729
 
    for file in `sed -n "
9730
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9731
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9732
 
      # Make sure the directory exists.
9733
 
      test -f "$dirpart/$file" && continue
9734
 
      fdir=`$as_dirname -- "$file" ||
9735
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9736
 
         X"$file" : 'X\(//\)[^/]' \| \
9737
 
         X"$file" : 'X\(//\)$' \| \
9738
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9739
 
$as_echo X"$file" |
9740
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9741
 
            s//\1/
9742
 
            q
9743
 
          }
9744
 
          /^X\(\/\/\)[^/].*/{
9745
 
            s//\1/
9746
 
            q
9747
 
          }
9748
 
          /^X\(\/\/\)$/{
9749
 
            s//\1/
9750
 
            q
9751
 
          }
9752
 
          /^X\(\/\).*/{
9753
 
            s//\1/
9754
 
            q
9755
 
          }
9756
 
          s/.*/./; q'`
9757
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
9758
 
      # echo "creating $dirpart/$file"
9759
 
      echo '# dummy' > "$dirpart/$file"
9760
 
    done
9761
 
  done
9762
 
}
9763
 
 ;;
9764
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
9765
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9766
 
      esac ;;
9767
 
 
9768
 
  esac
9769
 
done # for ac_tag
9770
 
 
9771
 
 
9772
 
as_fn_exit 0
9773
 
_ACEOF
9774
 
ac_clean_files=$ac_clean_files_save
9775
 
 
9776
 
test $ac_write_fail = 0 ||
9777
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
9778
 
 
9779
 
 
9780
 
# configure is writing to config.log, and then calls config.status.
9781
 
# config.status does its own redirection, appending to config.log.
9782
 
# Unfortunately, on DOS this fails, as config.log is still kept open
9783
 
# by configure, so config.status won't be able to write to it; its
9784
 
# output is simply discarded.  So we exec the FD to /dev/null,
9785
 
# effectively closing config.log, so it can be properly (re)opened and
9786
 
# appended to by config.status.  When coming back to configure, we
9787
 
# need to make the FD available again.
9788
 
if test "$no_create" != yes; then
9789
 
  ac_cs_success=:
9790
 
  ac_config_status_args=
9791
 
  test "$silent" = yes &&
9792
 
    ac_config_status_args="$ac_config_status_args --quiet"
9793
 
  exec 5>/dev/null
9794
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9795
 
  exec 5>>config.log
9796
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9797
 
  # would make configure fail if this is the last instruction.
9798
 
  $ac_cs_success || as_fn_exit $?
9799
 
fi
9800
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9801
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9802
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9803
 
fi
9804
 
 
9805