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

« back to all changes in this revision

Viewing changes to .pc/0001-nomozalloc.patch/configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2011-08-20 15:53:32 UTC
  • mfrom: (0.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20110820155332-yv31mm5eutw0jv31
Tags: 1.0.4-2ubuntu1
* Sync with Debian unstable.
* debian/patches
 - force-no-gsettings.patch: Remove, since gnome-mplayer provide the
   gsettings schemas.

Show diffs side-by-side

added added

removed removed

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