~ubuntu-branches/ubuntu/saucy/gfan/saucy-proposed

« back to all changes in this revision

Viewing changes to gfanlib/configure

  • Committer: Package Import Robot
  • Author(s): Cédric Boutillier
  • Date: 2013-07-09 10:44:01 UTC
  • mfrom: (2.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130709104401-5q66ozz5j5af0dak
Tags: 0.5+dfsg-3
* Upload to unstable.
* modify remove_failing_tests_on_32bits.patch to replace command of
  0009RenderStairCase test with an empty one instead of deleting it.
* remove lintian override about spelling error

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.63 for FULL-PACKAGE-NAME VERSION.
 
4
#
 
5
# Report bugs to <BUG-REPORT-ADDRESS>.
 
6
#
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# This configure script is free software; the Free Software Foundation
 
10
# gives unlimited permission to copy, distribute and modify it.
 
11
## --------------------- ##
 
12
## M4sh Initialization.  ##
 
13
## --------------------- ##
 
14
 
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
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
# Support unset when possible.
 
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
85
  as_unset=unset
 
86
else
 
87
  as_unset=false
 
88
fi
 
89
 
 
90
 
 
91
# IFS
 
92
# We need space, tab and new line, in precisely that order.  Quoting is
 
93
# there to prevent editors from complaining about space-tab.
 
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
95
# splitting by setting IFS to empty value.)
 
96
IFS=" ""        $as_nl"
 
97
 
 
98
# Find who we are.  Look in the path if we contain no directory separator.
 
99
case $0 in
 
100
  *[\\/]* ) as_myself=$0 ;;
 
101
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
102
for as_dir in $PATH
 
103
do
 
104
  IFS=$as_save_IFS
 
105
  test -z "$as_dir" && as_dir=.
 
106
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
107
done
 
108
IFS=$as_save_IFS
 
109
 
 
110
     ;;
 
111
esac
 
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
113
# in which case we are not to be found in the path.
 
114
if test "x$as_myself" = x; then
 
115
  as_myself=$0
 
116
fi
 
117
if test ! -f "$as_myself"; then
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
119
  { (exit 1); exit 1; }
 
120
fi
 
121
 
 
122
# Work around bugs in pre-3.0 UWIN ksh.
 
123
for as_var in ENV MAIL MAILPATH
 
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
125
done
 
126
PS1='$ '
 
127
PS2='> '
 
128
PS4='+ '
 
129
 
 
130
# NLS nuisances.
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
 
135
 
 
136
# Required to use basename.
 
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
138
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
139
  as_expr=expr
 
140
else
 
141
  as_expr=false
 
142
fi
 
143
 
 
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
145
  as_basename=basename
 
146
else
 
147
  as_basename=false
 
148
fi
 
149
 
 
150
 
 
151
# Name of the executable.
 
152
as_me=`$as_basename -- "$0" ||
 
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
154
         X"$0" : 'X\(//\)$' \| \
 
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
156
$as_echo X/"$0" |
 
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
158
            s//\1/
 
159
            q
 
160
          }
 
161
          /^X\/\(\/\/\)$/{
 
162
            s//\1/
 
163
            q
 
164
          }
 
165
          /^X\/\(\/\).*/{
 
166
            s//\1/
 
167
            q
 
168
          }
 
169
          s/.*/./; q'`
 
170
 
 
171
# CDPATH.
 
172
$as_unset CDPATH
 
173
 
 
174
 
 
175
if test "x$CONFIG_SHELL" = x; then
 
176
  if (eval ":") 2>/dev/null; then
 
177
  as_have_required=yes
 
178
else
 
179
  as_have_required=no
 
180
fi
 
181
 
 
182
  if test $as_have_required = yes &&     (eval ":
 
183
(as_func_return () {
 
184
  (exit \$1)
 
185
}
 
186
as_func_success () {
 
187
  as_func_return 0
 
188
}
 
189
as_func_failure () {
 
190
  as_func_return 1
 
191
}
 
192
as_func_ret_success () {
 
193
  return 0
 
194
}
 
195
as_func_ret_failure () {
 
196
  return 1
 
197
}
 
198
 
 
199
exitcode=0
 
200
if as_func_success; then
 
201
  :
 
202
else
 
203
  exitcode=1
 
204
  echo as_func_success failed.
 
205
fi
 
206
 
 
207
if as_func_failure; then
 
208
  exitcode=1
 
209
  echo as_func_failure succeeded.
 
210
fi
 
211
 
 
212
if as_func_ret_success; then
 
213
  :
 
214
else
 
215
  exitcode=1
 
216
  echo as_func_ret_success failed.
 
217
fi
 
218
 
 
219
if as_func_ret_failure; then
 
220
  exitcode=1
 
221
  echo as_func_ret_failure succeeded.
 
222
fi
 
223
 
 
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
225
  :
 
226
else
 
227
  exitcode=1
 
228
  echo positional parameters were not saved.
 
229
fi
 
230
 
 
231
test \$exitcode = 0) || { (exit 1); exit 1; }
 
232
 
 
233
(
 
234
  as_lineno_1=\$LINENO
 
235
  as_lineno_2=\$LINENO
 
236
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
237
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
238
") 2> /dev/null; then
 
239
  :
 
240
else
 
241
  as_candidate_shells=
 
242
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
244
do
 
245
  IFS=$as_save_IFS
 
246
  test -z "$as_dir" && as_dir=.
 
247
  case $as_dir in
 
248
         /*)
 
249
           for as_base in sh bash ksh sh5; do
 
250
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
251
           done;;
 
252
       esac
 
253
done
 
254
IFS=$as_save_IFS
 
255
 
 
256
 
 
257
      for as_shell in $as_candidate_shells $SHELL; do
 
258
         # Try only shells that exist, to save several forks.
 
259
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
260
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
_ASEOF
 
278
}; then
 
279
  CONFIG_SHELL=$as_shell
 
280
               as_have_required=yes
 
281
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
283
  emulate sh
 
284
  NULLCMD=:
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
286
  # is contrary to our usage.  Disable this feature.
 
287
  alias -g '${1+"$@"}'='"$@"'
 
288
  setopt NO_GLOB_SUBST
 
289
else
 
290
  case `(set -o) 2>/dev/null` in
 
291
  *posix*) set -o posix ;;
 
292
esac
 
293
 
 
294
fi
 
295
 
 
296
 
 
297
:
 
298
(as_func_return () {
 
299
  (exit $1)
 
300
}
 
301
as_func_success () {
 
302
  as_func_return 0
 
303
}
 
304
as_func_failure () {
 
305
  as_func_return 1
 
306
}
 
307
as_func_ret_success () {
 
308
  return 0
 
309
}
 
310
as_func_ret_failure () {
 
311
  return 1
 
312
}
 
313
 
 
314
exitcode=0
 
315
if as_func_success; then
 
316
  :
 
317
else
 
318
  exitcode=1
 
319
  echo as_func_success failed.
 
320
fi
 
321
 
 
322
if as_func_failure; then
 
323
  exitcode=1
 
324
  echo as_func_failure succeeded.
 
325
fi
 
326
 
 
327
if as_func_ret_success; then
 
328
  :
 
329
else
 
330
  exitcode=1
 
331
  echo as_func_ret_success failed.
 
332
fi
 
333
 
 
334
if as_func_ret_failure; then
 
335
  exitcode=1
 
336
  echo as_func_ret_failure succeeded.
 
337
fi
 
338
 
 
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
340
  :
 
341
else
 
342
  exitcode=1
 
343
  echo positional parameters were not saved.
 
344
fi
 
345
 
 
346
test $exitcode = 0) || { (exit 1); exit 1; }
 
347
 
 
348
(
 
349
  as_lineno_1=$LINENO
 
350
  as_lineno_2=$LINENO
 
351
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
352
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
353
 
 
354
_ASEOF
 
355
}; then
 
356
  break
 
357
fi
 
358
 
 
359
fi
 
360
 
 
361
      done
 
362
 
 
363
      if test "x$CONFIG_SHELL" != x; then
 
364
  for as_var in BASH_ENV ENV
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
369
fi
 
370
 
 
371
 
 
372
    if test $as_have_required = no; then
 
373
  echo This script requires a shell more modern than all the
 
374
      echo shells that I found on your system.  Please install a
 
375
      echo modern shell, or manually run the script under such a
 
376
      echo shell if you do have one.
 
377
      { (exit 1); exit 1; }
 
378
fi
 
379
 
 
380
 
 
381
fi
 
382
 
 
383
fi
 
384
 
 
385
 
 
386
 
 
387
(eval "as_func_return () {
 
388
  (exit \$1)
 
389
}
 
390
as_func_success () {
 
391
  as_func_return 0
 
392
}
 
393
as_func_failure () {
 
394
  as_func_return 1
 
395
}
 
396
as_func_ret_success () {
 
397
  return 0
 
398
}
 
399
as_func_ret_failure () {
 
400
  return 1
 
401
}
 
402
 
 
403
exitcode=0
 
404
if as_func_success; then
 
405
  :
 
406
else
 
407
  exitcode=1
 
408
  echo as_func_success failed.
 
409
fi
 
410
 
 
411
if as_func_failure; then
 
412
  exitcode=1
 
413
  echo as_func_failure succeeded.
 
414
fi
 
415
 
 
416
if as_func_ret_success; then
 
417
  :
 
418
else
 
419
  exitcode=1
 
420
  echo as_func_ret_success failed.
 
421
fi
 
422
 
 
423
if as_func_ret_failure; then
 
424
  exitcode=1
 
425
  echo as_func_ret_failure succeeded.
 
426
fi
 
427
 
 
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
429
  :
 
430
else
 
431
  exitcode=1
 
432
  echo positional parameters were not saved.
 
433
fi
 
434
 
 
435
test \$exitcode = 0") || {
 
436
  echo No shell found that supports shell functions.
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
 
441
}
 
442
 
 
443
 
 
444
 
 
445
  as_lineno_1=$LINENO
 
446
  as_lineno_2=$LINENO
 
447
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
448
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
449
 
 
450
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
451
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
452
  # line-number line after each line using $LINENO; the second 'sed'
 
453
  # does the real work.  The second script uses 'N' to pair each
 
454
  # line-number line with the line containing $LINENO, and appends
 
455
  # trailing '-' during substitution so that $LINENO is not a special
 
456
  # case at line end.
 
457
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
458
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
459
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
460
  sed -n '
 
461
    p
 
462
    /[$]LINENO/=
 
463
  ' <$as_myself |
 
464
    sed '
 
465
      s/[$]LINENO.*/&-/
 
466
      t lineno
 
467
      b
 
468
      :lineno
 
469
      N
 
470
      :loop
 
471
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
472
      t loop
 
473
      s/-\n.*//
 
474
    ' >$as_me.lineno &&
 
475
  chmod +x "$as_me.lineno" ||
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
477
   { (exit 1); exit 1; }; }
 
478
 
 
479
  # Don't try to exec as it changes $[0], causing all sort of problems
 
480
  # (the dirname of $[0] is not the place where we might find the
 
481
  # original and so on.  Autoconf is especially sensitive to this).
 
482
  . "./$as_me.lineno"
 
483
  # Exit status is that of the last command.
 
484
  exit
 
485
}
 
486
 
 
487
 
 
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
489
  as_dirname=dirname
 
490
else
 
491
  as_dirname=false
 
492
fi
 
493
 
 
494
ECHO_C= ECHO_N= ECHO_T=
 
495
case `echo -n x` in
 
496
-n*)
 
497
  case `echo 'x\c'` in
 
498
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
499
  *)   ECHO_C='\c';;
 
500
  esac;;
 
501
*)
 
502
  ECHO_N='-n';;
 
503
esac
 
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
506
  as_expr=expr
 
507
else
 
508
  as_expr=false
 
509
fi
 
510
 
 
511
rm -f conf$$ conf$$.exe conf$$.file
 
512
if test -d conf$$.dir; then
 
513
  rm -f conf$$.dir/conf$$.file
 
514
else
 
515
  rm -f conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
 
517
fi
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
 
530
    as_ln_s='cp -p'
 
531
  fi
 
532
else
 
533
  as_ln_s='cp -p'
 
534
fi
 
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
536
rmdir conf$$.dir 2>/dev/null
 
537
 
 
538
if mkdir -p . 2>/dev/null; then
 
539
  as_mkdir_p=:
 
540
else
 
541
  test -d ./-p && rmdir ./-p
 
542
  as_mkdir_p=false
 
543
fi
 
544
 
 
545
if test -x / >/dev/null 2>&1; then
 
546
  as_test_x='test -x'
 
547
else
 
548
  if ls -dL / >/dev/null 2>&1; then
 
549
    as_ls_L_option=L
 
550
  else
 
551
    as_ls_L_option=
 
552
  fi
 
553
  as_test_x='
 
554
    eval sh -c '\''
 
555
      if test -d "$1"; then
 
556
        test -d "$1/.";
 
557
      else
 
558
        case $1 in
 
559
        -*)set "./$1";;
 
560
        esac;
 
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
562
        ???[sx]*):;;*)false;;esac;fi
 
563
    '\'' sh
 
564
  '
 
565
fi
 
566
as_executable_p=$as_test_x
 
567
 
 
568
# Sed expression to map a string onto a valid CPP name.
 
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
570
 
 
571
# Sed expression to map a string onto a valid variable name.
 
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
573
 
 
574
 
 
575
 
 
576
exec 7<&0 </dev/null 6>&1
 
577
 
 
578
# Name of the host.
 
579
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
580
# so uname gets run too.
 
581
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
582
 
 
583
#
 
584
# Initializations.
 
585
#
 
586
ac_default_prefix=/usr/local
 
587
ac_clean_files=
 
588
ac_config_libobj_dir=.
 
589
LIBOBJS=
 
590
cross_compiling=no
 
591
subdirs=
 
592
MFLAGS=
 
593
MAKEFLAGS=
 
594
SHELL=${CONFIG_SHELL-/bin/sh}
 
595
 
 
596
# Identity of this package.
 
597
PACKAGE_NAME='FULL-PACKAGE-NAME'
 
598
PACKAGE_TARNAME='full-package-name'
 
599
PACKAGE_VERSION='VERSION'
 
600
PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
 
601
PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
 
602
 
 
603
ac_unique_file="gfanlib.h"
 
604
# Factoring default headers for most tests.
 
605
ac_includes_default="\
 
606
#include <stdio.h>
 
607
#ifdef HAVE_SYS_TYPES_H
 
608
# include <sys/types.h>
 
609
#endif
 
610
#ifdef HAVE_SYS_STAT_H
 
611
# include <sys/stat.h>
 
612
#endif
 
613
#ifdef STDC_HEADERS
 
614
# include <stdlib.h>
 
615
# include <stddef.h>
 
616
#else
 
617
# ifdef HAVE_STDLIB_H
 
618
#  include <stdlib.h>
 
619
# endif
 
620
#endif
 
621
#ifdef HAVE_STRING_H
 
622
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
623
#  include <memory.h>
 
624
# endif
 
625
# include <string.h>
 
626
#endif
 
627
#ifdef HAVE_STRINGS_H
 
628
# include <strings.h>
 
629
#endif
 
630
#ifdef HAVE_INTTYPES_H
 
631
# include <inttypes.h>
 
632
#endif
 
633
#ifdef HAVE_STDINT_H
 
634
# include <stdint.h>
 
635
#endif
 
636
#ifdef HAVE_UNISTD_H
 
637
# include <unistd.h>
 
638
#endif"
 
639
 
 
640
ac_subst_vars='LTLIBOBJS
 
641
LIBOBJS
 
642
EGREP
 
643
GREP
 
644
CPP
 
645
RANLIB
 
646
LN_S
 
647
ac_ct_CXX
 
648
CXXFLAGS
 
649
CXX
 
650
OBJEXT
 
651
EXEEXT
 
652
ac_ct_CC
 
653
CPPFLAGS
 
654
LDFLAGS
 
655
CFLAGS
 
656
CC
 
657
target_alias
 
658
host_alias
 
659
build_alias
 
660
LIBS
 
661
ECHO_T
 
662
ECHO_N
 
663
ECHO_C
 
664
DEFS
 
665
mandir
 
666
localedir
 
667
libdir
 
668
psdir
 
669
pdfdir
 
670
dvidir
 
671
htmldir
 
672
infodir
 
673
docdir
 
674
oldincludedir
 
675
includedir
 
676
localstatedir
 
677
sharedstatedir
 
678
sysconfdir
 
679
datadir
 
680
datarootdir
 
681
libexecdir
 
682
sbindir
 
683
bindir
 
684
program_transform_name
 
685
prefix
 
686
exec_prefix
 
687
PACKAGE_BUGREPORT
 
688
PACKAGE_STRING
 
689
PACKAGE_VERSION
 
690
PACKAGE_TARNAME
 
691
PACKAGE_NAME
 
692
PATH_SEPARATOR
 
693
SHELL'
 
694
ac_subst_files=''
 
695
ac_user_opts='
 
696
enable_option_checking
 
697
'
 
698
      ac_precious_vars='build_alias
 
699
host_alias
 
700
target_alias
 
701
CC
 
702
CFLAGS
 
703
LDFLAGS
 
704
LIBS
 
705
CPPFLAGS
 
706
CXX
 
707
CXXFLAGS
 
708
CCC
 
709
CPP'
 
710
 
 
711
 
 
712
# Initialize some variables set by options.
 
713
ac_init_help=
 
714
ac_init_version=false
 
715
ac_unrecognized_opts=
 
716
ac_unrecognized_sep=
 
717
# The variables have the same names as the options, with
 
718
# dashes changed to underlines.
 
719
cache_file=/dev/null
 
720
exec_prefix=NONE
 
721
no_create=
 
722
no_recursion=
 
723
prefix=NONE
 
724
program_prefix=NONE
 
725
program_suffix=NONE
 
726
program_transform_name=s,x,x,
 
727
silent=
 
728
site=
 
729
srcdir=
 
730
verbose=
 
731
x_includes=NONE
 
732
x_libraries=NONE
 
733
 
 
734
# Installation directory options.
 
735
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
736
# and all the variables that are supposed to be based on exec_prefix
 
737
# by default will actually change.
 
738
# Use braces instead of parens because sh, perl, etc. also accept them.
 
739
# (The list follows the same order as the GNU Coding Standards.)
 
740
bindir='${exec_prefix}/bin'
 
741
sbindir='${exec_prefix}/sbin'
 
742
libexecdir='${exec_prefix}/libexec'
 
743
datarootdir='${prefix}/share'
 
744
datadir='${datarootdir}'
 
745
sysconfdir='${prefix}/etc'
 
746
sharedstatedir='${prefix}/com'
 
747
localstatedir='${prefix}/var'
 
748
includedir='${prefix}/include'
 
749
oldincludedir='/usr/include'
 
750
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
751
infodir='${datarootdir}/info'
 
752
htmldir='${docdir}'
 
753
dvidir='${docdir}'
 
754
pdfdir='${docdir}'
 
755
psdir='${docdir}'
 
756
libdir='${exec_prefix}/lib'
 
757
localedir='${datarootdir}/locale'
 
758
mandir='${datarootdir}/man'
 
759
 
 
760
ac_prev=
 
761
ac_dashdash=
 
762
for ac_option
 
763
do
 
764
  # If the previous option needs an argument, assign it.
 
765
  if test -n "$ac_prev"; then
 
766
    eval $ac_prev=\$ac_option
 
767
    ac_prev=
 
768
    continue
 
769
  fi
 
770
 
 
771
  case $ac_option in
 
772
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
773
  *)    ac_optarg=yes ;;
 
774
  esac
 
775
 
 
776
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
777
 
 
778
  case $ac_dashdash$ac_option in
 
779
  --)
 
780
    ac_dashdash=yes ;;
 
781
 
 
782
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
783
    ac_prev=bindir ;;
 
784
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
785
    bindir=$ac_optarg ;;
 
786
 
 
787
  -build | --build | --buil | --bui | --bu)
 
788
    ac_prev=build_alias ;;
 
789
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
790
    build_alias=$ac_optarg ;;
 
791
 
 
792
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
793
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
794
    ac_prev=cache_file ;;
 
795
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
796
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
797
    cache_file=$ac_optarg ;;
 
798
 
 
799
  --config-cache | -C)
 
800
    cache_file=config.cache ;;
 
801
 
 
802
  -datadir | --datadir | --datadi | --datad)
 
803
    ac_prev=datadir ;;
 
804
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
805
    datadir=$ac_optarg ;;
 
806
 
 
807
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
808
  | --dataroo | --dataro | --datar)
 
809
    ac_prev=datarootdir ;;
 
810
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
811
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
812
    datarootdir=$ac_optarg ;;
 
813
 
 
814
  -disable-* | --disable-*)
 
815
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
816
    # Reject names that are not valid shell variable names.
 
817
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
818
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
819
   { (exit 1); exit 1; }; }
 
820
    ac_useropt_orig=$ac_useropt
 
821
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
822
    case $ac_user_opts in
 
823
      *"
 
824
"enable_$ac_useropt"
 
825
"*) ;;
 
826
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
827
         ac_unrecognized_sep=', ';;
 
828
    esac
 
829
    eval enable_$ac_useropt=no ;;
 
830
 
 
831
  -docdir | --docdir | --docdi | --doc | --do)
 
832
    ac_prev=docdir ;;
 
833
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
834
    docdir=$ac_optarg ;;
 
835
 
 
836
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
837
    ac_prev=dvidir ;;
 
838
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
839
    dvidir=$ac_optarg ;;
 
840
 
 
841
  -enable-* | --enable-*)
 
842
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
843
    # Reject names that are not valid shell variable names.
 
844
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
845
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
846
   { (exit 1); exit 1; }; }
 
847
    ac_useropt_orig=$ac_useropt
 
848
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
849
    case $ac_user_opts in
 
850
      *"
 
851
"enable_$ac_useropt"
 
852
"*) ;;
 
853
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
854
         ac_unrecognized_sep=', ';;
 
855
    esac
 
856
    eval enable_$ac_useropt=\$ac_optarg ;;
 
857
 
 
858
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
859
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
860
  | --exec | --exe | --ex)
 
861
    ac_prev=exec_prefix ;;
 
862
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
863
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
864
  | --exec=* | --exe=* | --ex=*)
 
865
    exec_prefix=$ac_optarg ;;
 
866
 
 
867
  -gas | --gas | --ga | --g)
 
868
    # Obsolete; use --with-gas.
 
869
    with_gas=yes ;;
 
870
 
 
871
  -help | --help | --hel | --he | -h)
 
872
    ac_init_help=long ;;
 
873
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
874
    ac_init_help=recursive ;;
 
875
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
876
    ac_init_help=short ;;
 
877
 
 
878
  -host | --host | --hos | --ho)
 
879
    ac_prev=host_alias ;;
 
880
  -host=* | --host=* | --hos=* | --ho=*)
 
881
    host_alias=$ac_optarg ;;
 
882
 
 
883
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
884
    ac_prev=htmldir ;;
 
885
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
886
  | --ht=*)
 
887
    htmldir=$ac_optarg ;;
 
888
 
 
889
  -includedir | --includedir | --includedi | --included | --include \
 
890
  | --includ | --inclu | --incl | --inc)
 
891
    ac_prev=includedir ;;
 
892
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
893
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
894
    includedir=$ac_optarg ;;
 
895
 
 
896
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
897
    ac_prev=infodir ;;
 
898
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
899
    infodir=$ac_optarg ;;
 
900
 
 
901
  -libdir | --libdir | --libdi | --libd)
 
902
    ac_prev=libdir ;;
 
903
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
904
    libdir=$ac_optarg ;;
 
905
 
 
906
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
907
  | --libexe | --libex | --libe)
 
908
    ac_prev=libexecdir ;;
 
909
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
910
  | --libexe=* | --libex=* | --libe=*)
 
911
    libexecdir=$ac_optarg ;;
 
912
 
 
913
  -localedir | --localedir | --localedi | --localed | --locale)
 
914
    ac_prev=localedir ;;
 
915
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
916
    localedir=$ac_optarg ;;
 
917
 
 
918
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
919
  | --localstate | --localstat | --localsta | --localst | --locals)
 
920
    ac_prev=localstatedir ;;
 
921
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
922
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
923
    localstatedir=$ac_optarg ;;
 
924
 
 
925
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
926
    ac_prev=mandir ;;
 
927
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
928
    mandir=$ac_optarg ;;
 
929
 
 
930
  -nfp | --nfp | --nf)
 
931
    # Obsolete; use --without-fp.
 
932
    with_fp=no ;;
 
933
 
 
934
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
935
  | --no-cr | --no-c | -n)
 
936
    no_create=yes ;;
 
937
 
 
938
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
939
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
940
    no_recursion=yes ;;
 
941
 
 
942
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
943
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
944
  | --oldin | --oldi | --old | --ol | --o)
 
945
    ac_prev=oldincludedir ;;
 
946
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
947
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
948
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
949
    oldincludedir=$ac_optarg ;;
 
950
 
 
951
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
952
    ac_prev=prefix ;;
 
953
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
954
    prefix=$ac_optarg ;;
 
955
 
 
956
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
957
  | --program-pre | --program-pr | --program-p)
 
958
    ac_prev=program_prefix ;;
 
959
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
960
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
961
    program_prefix=$ac_optarg ;;
 
962
 
 
963
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
964
  | --program-suf | --program-su | --program-s)
 
965
    ac_prev=program_suffix ;;
 
966
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
967
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
968
    program_suffix=$ac_optarg ;;
 
969
 
 
970
  -program-transform-name | --program-transform-name \
 
971
  | --program-transform-nam | --program-transform-na \
 
972
  | --program-transform-n | --program-transform- \
 
973
  | --program-transform | --program-transfor \
 
974
  | --program-transfo | --program-transf \
 
975
  | --program-trans | --program-tran \
 
976
  | --progr-tra | --program-tr | --program-t)
 
977
    ac_prev=program_transform_name ;;
 
978
  -program-transform-name=* | --program-transform-name=* \
 
979
  | --program-transform-nam=* | --program-transform-na=* \
 
980
  | --program-transform-n=* | --program-transform-=* \
 
981
  | --program-transform=* | --program-transfor=* \
 
982
  | --program-transfo=* | --program-transf=* \
 
983
  | --program-trans=* | --program-tran=* \
 
984
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
985
    program_transform_name=$ac_optarg ;;
 
986
 
 
987
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
988
    ac_prev=pdfdir ;;
 
989
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
990
    pdfdir=$ac_optarg ;;
 
991
 
 
992
  -psdir | --psdir | --psdi | --psd | --ps)
 
993
    ac_prev=psdir ;;
 
994
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
995
    psdir=$ac_optarg ;;
 
996
 
 
997
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
998
  | -silent | --silent | --silen | --sile | --sil)
 
999
    silent=yes ;;
 
1000
 
 
1001
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1002
    ac_prev=sbindir ;;
 
1003
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1004
  | --sbi=* | --sb=*)
 
1005
    sbindir=$ac_optarg ;;
 
1006
 
 
1007
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1008
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1009
  | --sharedst | --shareds | --shared | --share | --shar \
 
1010
  | --sha | --sh)
 
1011
    ac_prev=sharedstatedir ;;
 
1012
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1013
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1014
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1015
  | --sha=* | --sh=*)
 
1016
    sharedstatedir=$ac_optarg ;;
 
1017
 
 
1018
  -site | --site | --sit)
 
1019
    ac_prev=site ;;
 
1020
  -site=* | --site=* | --sit=*)
 
1021
    site=$ac_optarg ;;
 
1022
 
 
1023
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1024
    ac_prev=srcdir ;;
 
1025
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1026
    srcdir=$ac_optarg ;;
 
1027
 
 
1028
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1029
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1030
    ac_prev=sysconfdir ;;
 
1031
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1032
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1033
    sysconfdir=$ac_optarg ;;
 
1034
 
 
1035
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1036
    ac_prev=target_alias ;;
 
1037
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1038
    target_alias=$ac_optarg ;;
 
1039
 
 
1040
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1041
    verbose=yes ;;
 
1042
 
 
1043
  -version | --version | --versio | --versi | --vers | -V)
 
1044
    ac_init_version=: ;;
 
1045
 
 
1046
  -with-* | --with-*)
 
1047
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1048
    # Reject names that are not valid shell variable names.
 
1049
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1050
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1051
   { (exit 1); exit 1; }; }
 
1052
    ac_useropt_orig=$ac_useropt
 
1053
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1054
    case $ac_user_opts in
 
1055
      *"
 
1056
"with_$ac_useropt"
 
1057
"*) ;;
 
1058
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1059
         ac_unrecognized_sep=', ';;
 
1060
    esac
 
1061
    eval with_$ac_useropt=\$ac_optarg ;;
 
1062
 
 
1063
  -without-* | --without-*)
 
1064
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1065
    # Reject names that are not valid shell variable names.
 
1066
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1067
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1068
   { (exit 1); exit 1; }; }
 
1069
    ac_useropt_orig=$ac_useropt
 
1070
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1071
    case $ac_user_opts in
 
1072
      *"
 
1073
"with_$ac_useropt"
 
1074
"*) ;;
 
1075
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1076
         ac_unrecognized_sep=', ';;
 
1077
    esac
 
1078
    eval with_$ac_useropt=no ;;
 
1079
 
 
1080
  --x)
 
1081
    # Obsolete; use --with-x.
 
1082
    with_x=yes ;;
 
1083
 
 
1084
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1085
  | --x-incl | --x-inc | --x-in | --x-i)
 
1086
    ac_prev=x_includes ;;
 
1087
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1088
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1089
    x_includes=$ac_optarg ;;
 
1090
 
 
1091
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1092
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1093
    ac_prev=x_libraries ;;
 
1094
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1095
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1096
    x_libraries=$ac_optarg ;;
 
1097
 
 
1098
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
 
1099
Try \`$0 --help' for more information." >&2
 
1100
   { (exit 1); exit 1; }; }
 
1101
    ;;
 
1102
 
 
1103
  *=*)
 
1104
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1105
    # Reject names that are not valid shell variable names.
 
1106
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1107
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1108
   { (exit 1); exit 1; }; }
 
1109
    eval $ac_envvar=\$ac_optarg
 
1110
    export $ac_envvar ;;
 
1111
 
 
1112
  *)
 
1113
    # FIXME: should be removed in autoconf 3.0.
 
1114
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1115
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1116
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1117
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1118
    ;;
 
1119
 
 
1120
  esac
 
1121
done
 
1122
 
 
1123
if test -n "$ac_prev"; then
 
1124
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1125
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1126
   { (exit 1); exit 1; }; }
 
1127
fi
 
1128
 
 
1129
if test -n "$ac_unrecognized_opts"; then
 
1130
  case $enable_option_checking in
 
1131
    no) ;;
 
1132
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1133
   { (exit 1); exit 1; }; } ;;
 
1134
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1135
  esac
 
1136
fi
 
1137
 
 
1138
# Check all directory arguments for consistency.
 
1139
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1140
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1141
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1142
                libdir localedir mandir
 
1143
do
 
1144
  eval ac_val=\$$ac_var
 
1145
  # Remove trailing slashes.
 
1146
  case $ac_val in
 
1147
    */ )
 
1148
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1149
      eval $ac_var=\$ac_val;;
 
1150
  esac
 
1151
  # Be sure to have absolute directory names.
 
1152
  case $ac_val in
 
1153
    [\\/$]* | ?:[\\/]* )  continue;;
 
1154
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1155
  esac
 
1156
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1157
   { (exit 1); exit 1; }; }
 
1158
done
 
1159
 
 
1160
# There might be people who depend on the old broken behavior: `$host'
 
1161
# used to hold the argument of --host etc.
 
1162
# FIXME: To remove some day.
 
1163
build=$build_alias
 
1164
host=$host_alias
 
1165
target=$target_alias
 
1166
 
 
1167
# FIXME: To remove some day.
 
1168
if test "x$host_alias" != x; then
 
1169
  if test "x$build_alias" = x; then
 
1170
    cross_compiling=maybe
 
1171
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1172
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1173
  elif test "x$build_alias" != "x$host_alias"; then
 
1174
    cross_compiling=yes
 
1175
  fi
 
1176
fi
 
1177
 
 
1178
ac_tool_prefix=
 
1179
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1180
 
 
1181
test "$silent" = yes && exec 6>/dev/null
 
1182
 
 
1183
 
 
1184
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1185
ac_ls_di=`ls -di .` &&
 
1186
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1187
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1188
   { (exit 1); exit 1; }; }
 
1189
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1190
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1191
   { (exit 1); exit 1; }; }
 
1192
 
 
1193
 
 
1194
# Find the source files, if location was not specified.
 
1195
if test -z "$srcdir"; then
 
1196
  ac_srcdir_defaulted=yes
 
1197
  # Try the directory containing this script, then the parent directory.
 
1198
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1199
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1200
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1201
         X"$as_myself" : 'X\(//\)$' \| \
 
1202
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1203
$as_echo X"$as_myself" |
 
1204
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1205
            s//\1/
 
1206
            q
 
1207
          }
 
1208
          /^X\(\/\/\)[^/].*/{
 
1209
            s//\1/
 
1210
            q
 
1211
          }
 
1212
          /^X\(\/\/\)$/{
 
1213
            s//\1/
 
1214
            q
 
1215
          }
 
1216
          /^X\(\/\).*/{
 
1217
            s//\1/
 
1218
            q
 
1219
          }
 
1220
          s/.*/./; q'`
 
1221
  srcdir=$ac_confdir
 
1222
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1223
    srcdir=..
 
1224
  fi
 
1225
else
 
1226
  ac_srcdir_defaulted=no
 
1227
fi
 
1228
if test ! -r "$srcdir/$ac_unique_file"; then
 
1229
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1230
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1231
   { (exit 1); exit 1; }; }
 
1232
fi
 
1233
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1234
ac_abs_confdir=`(
 
1235
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1236
   { (exit 1); exit 1; }; }
 
1237
        pwd)`
 
1238
# When building in place, set srcdir=.
 
1239
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1240
  srcdir=.
 
1241
fi
 
1242
# Remove unnecessary trailing slashes from srcdir.
 
1243
# Double slashes in file names in object file debugging info
 
1244
# mess up M-x gdb in Emacs.
 
1245
case $srcdir in
 
1246
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1247
esac
 
1248
for ac_var in $ac_precious_vars; do
 
1249
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1250
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1251
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1252
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1253
done
 
1254
 
 
1255
#
 
1256
# Report the --help message.
 
1257
#
 
1258
if test "$ac_init_help" = "long"; then
 
1259
  # Omit some internal or obsolete options to make the list less imposing.
 
1260
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1261
  cat <<_ACEOF
 
1262
\`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
 
1263
 
 
1264
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1265
 
 
1266
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1267
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1268
 
 
1269
Defaults for the options are specified in brackets.
 
1270
 
 
1271
Configuration:
 
1272
  -h, --help              display this help and exit
 
1273
      --help=short        display options specific to this package
 
1274
      --help=recursive    display the short help of all the included packages
 
1275
  -V, --version           display version information and exit
 
1276
  -q, --quiet, --silent   do not print \`checking...' messages
 
1277
      --cache-file=FILE   cache test results in FILE [disabled]
 
1278
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1279
  -n, --no-create         do not create output files
 
1280
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1281
 
 
1282
Installation directories:
 
1283
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1284
                          [$ac_default_prefix]
 
1285
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1286
                          [PREFIX]
 
1287
 
 
1288
By default, \`make install' will install all the files in
 
1289
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1290
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1291
for instance \`--prefix=\$HOME'.
 
1292
 
 
1293
For better control, use the options below.
 
1294
 
 
1295
Fine tuning of the installation directories:
 
1296
  --bindir=DIR            user executables [EPREFIX/bin]
 
1297
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1298
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1299
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1300
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1301
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1302
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1303
  --includedir=DIR        C header files [PREFIX/include]
 
1304
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1305
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1306
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1307
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1308
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1309
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1310
  --docdir=DIR            documentation root
 
1311
                          [DATAROOTDIR/doc/full-package-name]
 
1312
  --htmldir=DIR           html documentation [DOCDIR]
 
1313
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1314
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1315
  --psdir=DIR             ps documentation [DOCDIR]
 
1316
_ACEOF
 
1317
 
 
1318
  cat <<\_ACEOF
 
1319
_ACEOF
 
1320
fi
 
1321
 
 
1322
if test -n "$ac_init_help"; then
 
1323
  case $ac_init_help in
 
1324
     short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
 
1325
   esac
 
1326
  cat <<\_ACEOF
 
1327
 
 
1328
Some influential environment variables:
 
1329
  CC          C compiler command
 
1330
  CFLAGS      C compiler flags
 
1331
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1332
              nonstandard directory <lib dir>
 
1333
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1334
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1335
              you have headers in a nonstandard directory <include dir>
 
1336
  CXX         C++ compiler command
 
1337
  CXXFLAGS    C++ compiler flags
 
1338
  CPP         C preprocessor
 
1339
 
 
1340
Use these variables to override the choices made by `configure' or to help
 
1341
it to find libraries and programs with nonstandard names/locations.
 
1342
 
 
1343
Report bugs to <BUG-REPORT-ADDRESS>.
 
1344
_ACEOF
 
1345
ac_status=$?
 
1346
fi
 
1347
 
 
1348
if test "$ac_init_help" = "recursive"; then
 
1349
  # If there are subdirs, report their specific --help.
 
1350
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1351
    test -d "$ac_dir" ||
 
1352
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1353
      continue
 
1354
    ac_builddir=.
 
1355
 
 
1356
case "$ac_dir" in
 
1357
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1358
*)
 
1359
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1360
  # A ".." for each directory in $ac_dir_suffix.
 
1361
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1362
  case $ac_top_builddir_sub in
 
1363
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1364
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1365
  esac ;;
 
1366
esac
 
1367
ac_abs_top_builddir=$ac_pwd
 
1368
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1369
# for backward compatibility:
 
1370
ac_top_builddir=$ac_top_build_prefix
 
1371
 
 
1372
case $srcdir in
 
1373
  .)  # We are building in place.
 
1374
    ac_srcdir=.
 
1375
    ac_top_srcdir=$ac_top_builddir_sub
 
1376
    ac_abs_top_srcdir=$ac_pwd ;;
 
1377
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1378
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1379
    ac_top_srcdir=$srcdir
 
1380
    ac_abs_top_srcdir=$srcdir ;;
 
1381
  *) # Relative name.
 
1382
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1383
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1384
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1385
esac
 
1386
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1387
 
 
1388
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1389
    # Check for guested configure.
 
1390
    if test -f "$ac_srcdir/configure.gnu"; then
 
1391
      echo &&
 
1392
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1393
    elif test -f "$ac_srcdir/configure"; then
 
1394
      echo &&
 
1395
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1396
    else
 
1397
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1398
    fi || ac_status=$?
 
1399
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1400
  done
 
1401
fi
 
1402
 
 
1403
test -n "$ac_init_help" && exit $ac_status
 
1404
if $ac_init_version; then
 
1405
  cat <<\_ACEOF
 
1406
FULL-PACKAGE-NAME configure VERSION
 
1407
generated by GNU Autoconf 2.63
 
1408
 
 
1409
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1410
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1411
This configure script is free software; the Free Software Foundation
 
1412
gives unlimited permission to copy, distribute and modify it.
 
1413
_ACEOF
 
1414
  exit
 
1415
fi
 
1416
cat >config.log <<_ACEOF
 
1417
This file contains any messages produced by compilers while
 
1418
running configure, to aid debugging if configure makes a mistake.
 
1419
 
 
1420
It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
 
1421
generated by GNU Autoconf 2.63.  Invocation command line was
 
1422
 
 
1423
  $ $0 $@
 
1424
 
 
1425
_ACEOF
 
1426
exec 5>>config.log
 
1427
{
 
1428
cat <<_ASUNAME
 
1429
## --------- ##
 
1430
## Platform. ##
 
1431
## --------- ##
 
1432
 
 
1433
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1434
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1435
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1436
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1437
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1438
 
 
1439
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1440
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1441
 
 
1442
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1443
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1444
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1445
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1446
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1447
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1448
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1449
 
 
1450
_ASUNAME
 
1451
 
 
1452
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1453
for as_dir in $PATH
 
1454
do
 
1455
  IFS=$as_save_IFS
 
1456
  test -z "$as_dir" && as_dir=.
 
1457
  $as_echo "PATH: $as_dir"
 
1458
done
 
1459
IFS=$as_save_IFS
 
1460
 
 
1461
} >&5
 
1462
 
 
1463
cat >&5 <<_ACEOF
 
1464
 
 
1465
 
 
1466
## ----------- ##
 
1467
## Core tests. ##
 
1468
## ----------- ##
 
1469
 
 
1470
_ACEOF
 
1471
 
 
1472
 
 
1473
# Keep a trace of the command line.
 
1474
# Strip out --no-create and --no-recursion so they do not pile up.
 
1475
# Strip out --silent because we don't want to record it for future runs.
 
1476
# Also quote any args containing shell meta-characters.
 
1477
# Make two passes to allow for proper duplicate-argument suppression.
 
1478
ac_configure_args=
 
1479
ac_configure_args0=
 
1480
ac_configure_args1=
 
1481
ac_must_keep_next=false
 
1482
for ac_pass in 1 2
 
1483
do
 
1484
  for ac_arg
 
1485
  do
 
1486
    case $ac_arg in
 
1487
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1488
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1489
    | -silent | --silent | --silen | --sile | --sil)
 
1490
      continue ;;
 
1491
    *\'*)
 
1492
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1493
    esac
 
1494
    case $ac_pass in
 
1495
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1496
    2)
 
1497
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1498
      if test $ac_must_keep_next = true; then
 
1499
        ac_must_keep_next=false # Got value, back to normal.
 
1500
      else
 
1501
        case $ac_arg in
 
1502
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1503
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1504
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1505
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1506
            case "$ac_configure_args0 " in
 
1507
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1508
            esac
 
1509
            ;;
 
1510
          -* ) ac_must_keep_next=true ;;
 
1511
        esac
 
1512
      fi
 
1513
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1514
      ;;
 
1515
    esac
 
1516
  done
 
1517
done
 
1518
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1519
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1520
 
 
1521
# When interrupted or exit'd, cleanup temporary files, and complete
 
1522
# config.log.  We remove comments because anyway the quotes in there
 
1523
# would cause problems or look ugly.
 
1524
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1525
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1526
trap 'exit_status=$?
 
1527
  # Save into config.log some information that might help in debugging.
 
1528
  {
 
1529
    echo
 
1530
 
 
1531
    cat <<\_ASBOX
 
1532
## ---------------- ##
 
1533
## Cache variables. ##
 
1534
## ---------------- ##
 
1535
_ASBOX
 
1536
    echo
 
1537
    # The following way of writing the cache mishandles newlines in values,
 
1538
(
 
1539
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1540
    eval ac_val=\$$ac_var
 
1541
    case $ac_val in #(
 
1542
    *${as_nl}*)
 
1543
      case $ac_var in #(
 
1544
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1545
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1546
      esac
 
1547
      case $ac_var in #(
 
1548
      _ | IFS | as_nl) ;; #(
 
1549
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1550
      *) $as_unset $ac_var ;;
 
1551
      esac ;;
 
1552
    esac
 
1553
  done
 
1554
  (set) 2>&1 |
 
1555
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1556
    *${as_nl}ac_space=\ *)
 
1557
      sed -n \
 
1558
        "s/'\''/'\''\\\\'\'''\''/g;
 
1559
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1560
      ;; #(
 
1561
    *)
 
1562
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1563
      ;;
 
1564
    esac |
 
1565
    sort
 
1566
)
 
1567
    echo
 
1568
 
 
1569
    cat <<\_ASBOX
 
1570
## ----------------- ##
 
1571
## Output variables. ##
 
1572
## ----------------- ##
 
1573
_ASBOX
 
1574
    echo
 
1575
    for ac_var in $ac_subst_vars
 
1576
    do
 
1577
      eval ac_val=\$$ac_var
 
1578
      case $ac_val in
 
1579
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1580
      esac
 
1581
      $as_echo "$ac_var='\''$ac_val'\''"
 
1582
    done | sort
 
1583
    echo
 
1584
 
 
1585
    if test -n "$ac_subst_files"; then
 
1586
      cat <<\_ASBOX
 
1587
## ------------------- ##
 
1588
## File substitutions. ##
 
1589
## ------------------- ##
 
1590
_ASBOX
 
1591
      echo
 
1592
      for ac_var in $ac_subst_files
 
1593
      do
 
1594
        eval ac_val=\$$ac_var
 
1595
        case $ac_val in
 
1596
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1597
        esac
 
1598
        $as_echo "$ac_var='\''$ac_val'\''"
 
1599
      done | sort
 
1600
      echo
 
1601
    fi
 
1602
 
 
1603
    if test -s confdefs.h; then
 
1604
      cat <<\_ASBOX
 
1605
## ----------- ##
 
1606
## confdefs.h. ##
 
1607
## ----------- ##
 
1608
_ASBOX
 
1609
      echo
 
1610
      cat confdefs.h
 
1611
      echo
 
1612
    fi
 
1613
    test "$ac_signal" != 0 &&
 
1614
      $as_echo "$as_me: caught signal $ac_signal"
 
1615
    $as_echo "$as_me: exit $exit_status"
 
1616
  } >&5
 
1617
  rm -f core *.core core.conftest.* &&
 
1618
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1619
    exit $exit_status
 
1620
' 0
 
1621
for ac_signal in 1 2 13 15; do
 
1622
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1623
done
 
1624
ac_signal=0
 
1625
 
 
1626
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1627
rm -f -r conftest* confdefs.h
 
1628
 
 
1629
# Predefined preprocessor variables.
 
1630
 
 
1631
cat >>confdefs.h <<_ACEOF
 
1632
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1633
_ACEOF
 
1634
 
 
1635
 
 
1636
cat >>confdefs.h <<_ACEOF
 
1637
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1638
_ACEOF
 
1639
 
 
1640
 
 
1641
cat >>confdefs.h <<_ACEOF
 
1642
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1643
_ACEOF
 
1644
 
 
1645
 
 
1646
cat >>confdefs.h <<_ACEOF
 
1647
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1648
_ACEOF
 
1649
 
 
1650
 
 
1651
cat >>confdefs.h <<_ACEOF
 
1652
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1653
_ACEOF
 
1654
 
 
1655
 
 
1656
# Let the site file select an alternate cache file if it wants to.
 
1657
# Prefer an explicitly selected file to automatically selected ones.
 
1658
ac_site_file1=NONE
 
1659
ac_site_file2=NONE
 
1660
if test -n "$CONFIG_SITE"; then
 
1661
  ac_site_file1=$CONFIG_SITE
 
1662
elif test "x$prefix" != xNONE; then
 
1663
  ac_site_file1=$prefix/share/config.site
 
1664
  ac_site_file2=$prefix/etc/config.site
 
1665
else
 
1666
  ac_site_file1=$ac_default_prefix/share/config.site
 
1667
  ac_site_file2=$ac_default_prefix/etc/config.site
 
1668
fi
 
1669
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
1670
do
 
1671
  test "x$ac_site_file" = xNONE && continue
 
1672
  if test -r "$ac_site_file"; then
 
1673
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1674
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
1675
    sed 's/^/| /' "$ac_site_file" >&5
 
1676
    . "$ac_site_file"
 
1677
  fi
 
1678
done
 
1679
 
 
1680
if test -r "$cache_file"; then
 
1681
  # Some versions of bash will fail to source /dev/null (special
 
1682
  # files actually), so we avoid doing that.
 
1683
  if test -f "$cache_file"; then
 
1684
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1685
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
1686
    case $cache_file in
 
1687
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1688
      *)                      . "./$cache_file";;
 
1689
    esac
 
1690
  fi
 
1691
else
 
1692
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1693
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
1694
  >$cache_file
 
1695
fi
 
1696
 
 
1697
# Check that the precious variables saved in the cache have kept the same
 
1698
# value.
 
1699
ac_cache_corrupted=false
 
1700
for ac_var in $ac_precious_vars; do
 
1701
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1702
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1703
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1704
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1705
  case $ac_old_set,$ac_new_set in
 
1706
    set,)
 
1707
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1708
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1709
      ac_cache_corrupted=: ;;
 
1710
    ,set)
 
1711
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1712
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1713
      ac_cache_corrupted=: ;;
 
1714
    ,);;
 
1715
    *)
 
1716
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1717
        # differences in whitespace do not lead to failure.
 
1718
        ac_old_val_w=`echo x $ac_old_val`
 
1719
        ac_new_val_w=`echo x $ac_new_val`
 
1720
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1721
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1722
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1723
          ac_cache_corrupted=:
 
1724
        else
 
1725
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1726
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1727
          eval $ac_var=\$ac_old_val
 
1728
        fi
 
1729
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1730
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1731
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1732
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
1733
      fi;;
 
1734
  esac
 
1735
  # Pass precious variables to config.status.
 
1736
  if test "$ac_new_set" = set; then
 
1737
    case $ac_new_val in
 
1738
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1739
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1740
    esac
 
1741
    case " $ac_configure_args " in
 
1742
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1743
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1744
    esac
 
1745
  fi
 
1746
done
 
1747
if $ac_cache_corrupted; then
 
1748
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1749
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1750
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1751
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1752
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1753
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1754
   { (exit 1); exit 1; }; }
 
1755
fi
 
1756
 
 
1757
 
 
1758
 
 
1759
 
 
1760
 
 
1761
 
 
1762
 
 
1763
 
 
1764
 
 
1765
 
 
1766
 
 
1767
 
 
1768
 
 
1769
 
 
1770
 
 
1771
 
 
1772
 
 
1773
 
 
1774
 
 
1775
 
 
1776
 
 
1777
 
 
1778
 
 
1779
 
 
1780
 
 
1781
ac_ext=c
 
1782
ac_cpp='$CPP $CPPFLAGS'
 
1783
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1784
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1785
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1786
 
 
1787
 
 
1788
 
 
1789
#AC_CONFIG_HEADERS([config.h])
 
1790
 
 
1791
# Checks for programs.
 
1792
ac_ext=c
 
1793
ac_cpp='$CPP $CPPFLAGS'
 
1794
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1795
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1796
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1797
if test -n "$ac_tool_prefix"; then
 
1798
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
1799
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
1800
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1801
$as_echo_n "checking for $ac_word... " >&6; }
 
1802
if test "${ac_cv_prog_CC+set}" = set; then
 
1803
  $as_echo_n "(cached) " >&6
 
1804
else
 
1805
  if test -n "$CC"; then
 
1806
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1807
else
 
1808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1809
for as_dir in $PATH
 
1810
do
 
1811
  IFS=$as_save_IFS
 
1812
  test -z "$as_dir" && as_dir=.
 
1813
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1814
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1815
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
1816
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1817
    break 2
 
1818
  fi
 
1819
done
 
1820
done
 
1821
IFS=$as_save_IFS
 
1822
 
 
1823
fi
 
1824
fi
 
1825
CC=$ac_cv_prog_CC
 
1826
if test -n "$CC"; then
 
1827
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
1828
$as_echo "$CC" >&6; }
 
1829
else
 
1830
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
1831
$as_echo "no" >&6; }
 
1832
fi
 
1833
 
 
1834
 
 
1835
fi
 
1836
if test -z "$ac_cv_prog_CC"; then
 
1837
  ac_ct_CC=$CC
 
1838
  # Extract the first word of "gcc", so it can be a program name with args.
 
1839
set dummy gcc; ac_word=$2
 
1840
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1841
$as_echo_n "checking for $ac_word... " >&6; }
 
1842
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1843
  $as_echo_n "(cached) " >&6
 
1844
else
 
1845
  if test -n "$ac_ct_CC"; then
 
1846
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1847
else
 
1848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1849
for as_dir in $PATH
 
1850
do
 
1851
  IFS=$as_save_IFS
 
1852
  test -z "$as_dir" && as_dir=.
 
1853
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1855
    ac_cv_prog_ac_ct_CC="gcc"
 
1856
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1857
    break 2
 
1858
  fi
 
1859
done
 
1860
done
 
1861
IFS=$as_save_IFS
 
1862
 
 
1863
fi
 
1864
fi
 
1865
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1866
if test -n "$ac_ct_CC"; then
 
1867
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1868
$as_echo "$ac_ct_CC" >&6; }
 
1869
else
 
1870
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
1871
$as_echo "no" >&6; }
 
1872
fi
 
1873
 
 
1874
  if test "x$ac_ct_CC" = x; then
 
1875
    CC=""
 
1876
  else
 
1877
    case $cross_compiling:$ac_tool_warned in
 
1878
yes:)
 
1879
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
1880
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
1881
ac_tool_warned=yes ;;
 
1882
esac
 
1883
    CC=$ac_ct_CC
 
1884
  fi
 
1885
else
 
1886
  CC="$ac_cv_prog_CC"
 
1887
fi
 
1888
 
 
1889
if test -z "$CC"; then
 
1890
          if test -n "$ac_tool_prefix"; then
 
1891
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
1892
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
1893
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1894
$as_echo_n "checking for $ac_word... " >&6; }
 
1895
if test "${ac_cv_prog_CC+set}" = set; then
 
1896
  $as_echo_n "(cached) " >&6
 
1897
else
 
1898
  if test -n "$CC"; then
 
1899
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1900
else
 
1901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1902
for as_dir in $PATH
 
1903
do
 
1904
  IFS=$as_save_IFS
 
1905
  test -z "$as_dir" && as_dir=.
 
1906
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1907
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1908
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
1909
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1910
    break 2
 
1911
  fi
 
1912
done
 
1913
done
 
1914
IFS=$as_save_IFS
 
1915
 
 
1916
fi
 
1917
fi
 
1918
CC=$ac_cv_prog_CC
 
1919
if test -n "$CC"; then
 
1920
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
1921
$as_echo "$CC" >&6; }
 
1922
else
 
1923
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
1924
$as_echo "no" >&6; }
 
1925
fi
 
1926
 
 
1927
 
 
1928
  fi
 
1929
fi
 
1930
if test -z "$CC"; then
 
1931
  # Extract the first word of "cc", so it can be a program name with args.
 
1932
set dummy cc; ac_word=$2
 
1933
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1934
$as_echo_n "checking for $ac_word... " >&6; }
 
1935
if test "${ac_cv_prog_CC+set}" = set; then
 
1936
  $as_echo_n "(cached) " >&6
 
1937
else
 
1938
  if test -n "$CC"; then
 
1939
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1940
else
 
1941
  ac_prog_rejected=no
 
1942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1943
for as_dir in $PATH
 
1944
do
 
1945
  IFS=$as_save_IFS
 
1946
  test -z "$as_dir" && as_dir=.
 
1947
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1948
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1949
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
1950
       ac_prog_rejected=yes
 
1951
       continue
 
1952
     fi
 
1953
    ac_cv_prog_CC="cc"
 
1954
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1955
    break 2
 
1956
  fi
 
1957
done
 
1958
done
 
1959
IFS=$as_save_IFS
 
1960
 
 
1961
if test $ac_prog_rejected = yes; then
 
1962
  # We found a bogon in the path, so make sure we never use it.
 
1963
  set dummy $ac_cv_prog_CC
 
1964
  shift
 
1965
  if test $# != 0; then
 
1966
    # We chose a different compiler from the bogus one.
 
1967
    # However, it has the same basename, so the bogon will be chosen
 
1968
    # first if we set CC to just the basename; use the full file name.
 
1969
    shift
 
1970
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
1971
  fi
 
1972
fi
 
1973
fi
 
1974
fi
 
1975
CC=$ac_cv_prog_CC
 
1976
if test -n "$CC"; then
 
1977
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
1978
$as_echo "$CC" >&6; }
 
1979
else
 
1980
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
1981
$as_echo "no" >&6; }
 
1982
fi
 
1983
 
 
1984
 
 
1985
fi
 
1986
if test -z "$CC"; then
 
1987
  if test -n "$ac_tool_prefix"; then
 
1988
  for ac_prog in cl.exe
 
1989
  do
 
1990
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
1991
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
1992
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1993
$as_echo_n "checking for $ac_word... " >&6; }
 
1994
if test "${ac_cv_prog_CC+set}" = set; then
 
1995
  $as_echo_n "(cached) " >&6
 
1996
else
 
1997
  if test -n "$CC"; then
 
1998
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1999
else
 
2000
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2001
for as_dir in $PATH
 
2002
do
 
2003
  IFS=$as_save_IFS
 
2004
  test -z "$as_dir" && as_dir=.
 
2005
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2006
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2007
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2008
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2009
    break 2
 
2010
  fi
 
2011
done
 
2012
done
 
2013
IFS=$as_save_IFS
 
2014
 
 
2015
fi
 
2016
fi
 
2017
CC=$ac_cv_prog_CC
 
2018
if test -n "$CC"; then
 
2019
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2020
$as_echo "$CC" >&6; }
 
2021
else
 
2022
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2023
$as_echo "no" >&6; }
 
2024
fi
 
2025
 
 
2026
 
 
2027
    test -n "$CC" && break
 
2028
  done
 
2029
fi
 
2030
if test -z "$CC"; then
 
2031
  ac_ct_CC=$CC
 
2032
  for ac_prog in cl.exe
 
2033
do
 
2034
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2035
set dummy $ac_prog; ac_word=$2
 
2036
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2037
$as_echo_n "checking for $ac_word... " >&6; }
 
2038
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2039
  $as_echo_n "(cached) " >&6
 
2040
else
 
2041
  if test -n "$ac_ct_CC"; then
 
2042
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2043
else
 
2044
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2045
for as_dir in $PATH
 
2046
do
 
2047
  IFS=$as_save_IFS
 
2048
  test -z "$as_dir" && as_dir=.
 
2049
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2050
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2051
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2052
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2053
    break 2
 
2054
  fi
 
2055
done
 
2056
done
 
2057
IFS=$as_save_IFS
 
2058
 
 
2059
fi
 
2060
fi
 
2061
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2062
if test -n "$ac_ct_CC"; then
 
2063
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2064
$as_echo "$ac_ct_CC" >&6; }
 
2065
else
 
2066
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2067
$as_echo "no" >&6; }
 
2068
fi
 
2069
 
 
2070
 
 
2071
  test -n "$ac_ct_CC" && break
 
2072
done
 
2073
 
 
2074
  if test "x$ac_ct_CC" = x; then
 
2075
    CC=""
 
2076
  else
 
2077
    case $cross_compiling:$ac_tool_warned in
 
2078
yes:)
 
2079
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2080
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2081
ac_tool_warned=yes ;;
 
2082
esac
 
2083
    CC=$ac_ct_CC
 
2084
  fi
 
2085
fi
 
2086
 
 
2087
fi
 
2088
 
 
2089
 
 
2090
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2091
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2092
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2093
See \`config.log' for more details." >&5
 
2094
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2095
See \`config.log' for more details." >&2;}
 
2096
   { (exit 1); exit 1; }; }; }
 
2097
 
 
2098
# Provide some information about the compiler.
 
2099
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2100
set X $ac_compile
 
2101
ac_compiler=$2
 
2102
{ (ac_try="$ac_compiler --version >&5"
 
2103
case "(($ac_try" in
 
2104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2105
  *) ac_try_echo=$ac_try;;
 
2106
esac
 
2107
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2108
$as_echo "$ac_try_echo") >&5
 
2109
  (eval "$ac_compiler --version >&5") 2>&5
 
2110
  ac_status=$?
 
2111
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2112
  (exit $ac_status); }
 
2113
{ (ac_try="$ac_compiler -v >&5"
 
2114
case "(($ac_try" in
 
2115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2116
  *) ac_try_echo=$ac_try;;
 
2117
esac
 
2118
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2119
$as_echo "$ac_try_echo") >&5
 
2120
  (eval "$ac_compiler -v >&5") 2>&5
 
2121
  ac_status=$?
 
2122
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2123
  (exit $ac_status); }
 
2124
{ (ac_try="$ac_compiler -V >&5"
 
2125
case "(($ac_try" in
 
2126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2127
  *) ac_try_echo=$ac_try;;
 
2128
esac
 
2129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2130
$as_echo "$ac_try_echo") >&5
 
2131
  (eval "$ac_compiler -V >&5") 2>&5
 
2132
  ac_status=$?
 
2133
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2134
  (exit $ac_status); }
 
2135
 
 
2136
cat >conftest.$ac_ext <<_ACEOF
 
2137
/* confdefs.h.  */
 
2138
_ACEOF
 
2139
cat confdefs.h >>conftest.$ac_ext
 
2140
cat >>conftest.$ac_ext <<_ACEOF
 
2141
/* end confdefs.h.  */
 
2142
 
 
2143
int
 
2144
main ()
 
2145
{
 
2146
 
 
2147
  ;
 
2148
  return 0;
 
2149
}
 
2150
_ACEOF
 
2151
ac_clean_files_save=$ac_clean_files
 
2152
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
2153
# Try to create an executable without -o first, disregard a.out.
 
2154
# It will help us diagnose broken compilers, and finding out an intuition
 
2155
# of exeext.
 
2156
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2157
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2158
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2159
 
 
2160
# The possible output files:
 
2161
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2162
 
 
2163
ac_rmfiles=
 
2164
for ac_file in $ac_files
 
2165
do
 
2166
  case $ac_file in
 
2167
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2168
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2169
  esac
 
2170
done
 
2171
rm -f $ac_rmfiles
 
2172
 
 
2173
if { (ac_try="$ac_link_default"
 
2174
case "(($ac_try" in
 
2175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2176
  *) ac_try_echo=$ac_try;;
 
2177
esac
 
2178
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2179
$as_echo "$ac_try_echo") >&5
 
2180
  (eval "$ac_link_default") 2>&5
 
2181
  ac_status=$?
 
2182
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2183
  (exit $ac_status); }; then
 
2184
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2185
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2186
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2187
# so that the user can short-circuit this test for compilers unknown to
 
2188
# Autoconf.
 
2189
for ac_file in $ac_files ''
 
2190
do
 
2191
  test -f "$ac_file" || continue
 
2192
  case $ac_file in
 
2193
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
2194
        ;;
 
2195
    [ab].out )
 
2196
        # We found the default executable, but exeext='' is most
 
2197
        # certainly right.
 
2198
        break;;
 
2199
    *.* )
 
2200
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2201
        then :; else
 
2202
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2203
        fi
 
2204
        # We set ac_cv_exeext here because the later test for it is not
 
2205
        # safe: cross compilers may not add the suffix if given an `-o'
 
2206
        # argument, so we may need to know it at that point already.
 
2207
        # Even if this section looks crufty: it has the advantage of
 
2208
        # actually working.
 
2209
        break;;
 
2210
    * )
 
2211
        break;;
 
2212
  esac
 
2213
done
 
2214
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2215
 
 
2216
else
 
2217
  ac_file=''
 
2218
fi
 
2219
 
 
2220
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2221
$as_echo "$ac_file" >&6; }
 
2222
if test -z "$ac_file"; then
 
2223
  $as_echo "$as_me: failed program was:" >&5
 
2224
sed 's/^/| /' conftest.$ac_ext >&5
 
2225
 
 
2226
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2227
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2228
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2229
See \`config.log' for more details." >&5
 
2230
$as_echo "$as_me: error: C compiler cannot create executables
 
2231
See \`config.log' for more details." >&2;}
 
2232
   { (exit 77); exit 77; }; }; }
 
2233
fi
 
2234
 
 
2235
ac_exeext=$ac_cv_exeext
 
2236
 
 
2237
# Check that the compiler produces executables we can run.  If not, either
 
2238
# the compiler is broken, or we cross compile.
 
2239
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2240
$as_echo_n "checking whether the C compiler works... " >&6; }
 
2241
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2242
# If not cross compiling, check that we can run a simple program.
 
2243
if test "$cross_compiling" != yes; then
 
2244
  if { ac_try='./$ac_file'
 
2245
  { (case "(($ac_try" in
 
2246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2247
  *) ac_try_echo=$ac_try;;
 
2248
esac
 
2249
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2250
$as_echo "$ac_try_echo") >&5
 
2251
  (eval "$ac_try") 2>&5
 
2252
  ac_status=$?
 
2253
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2254
  (exit $ac_status); }; }; then
 
2255
    cross_compiling=no
 
2256
  else
 
2257
    if test "$cross_compiling" = maybe; then
 
2258
        cross_compiling=yes
 
2259
    else
 
2260
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2261
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2262
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2263
If you meant to cross compile, use \`--host'.
 
2264
See \`config.log' for more details." >&5
 
2265
$as_echo "$as_me: error: cannot run C compiled programs.
 
2266
If you meant to cross compile, use \`--host'.
 
2267
See \`config.log' for more details." >&2;}
 
2268
   { (exit 1); exit 1; }; }; }
 
2269
    fi
 
2270
  fi
 
2271
fi
 
2272
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2273
$as_echo "yes" >&6; }
 
2274
 
 
2275
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
2276
ac_clean_files=$ac_clean_files_save
 
2277
# Check that the compiler produces executables we can run.  If not, either
 
2278
# the compiler is broken, or we cross compile.
 
2279
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2280
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2281
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2282
$as_echo "$cross_compiling" >&6; }
 
2283
 
 
2284
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2285
$as_echo_n "checking for suffix of executables... " >&6; }
 
2286
if { (ac_try="$ac_link"
 
2287
case "(($ac_try" in
 
2288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2289
  *) ac_try_echo=$ac_try;;
 
2290
esac
 
2291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2292
$as_echo "$ac_try_echo") >&5
 
2293
  (eval "$ac_link") 2>&5
 
2294
  ac_status=$?
 
2295
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2296
  (exit $ac_status); }; then
 
2297
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2298
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2299
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2300
# `rm'.
 
2301
for ac_file in conftest.exe conftest conftest.*; do
 
2302
  test -f "$ac_file" || continue
 
2303
  case $ac_file in
 
2304
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2305
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2306
          break;;
 
2307
    * ) break;;
 
2308
  esac
 
2309
done
 
2310
else
 
2311
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2312
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2313
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2314
See \`config.log' for more details." >&5
 
2315
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2316
See \`config.log' for more details." >&2;}
 
2317
   { (exit 1); exit 1; }; }; }
 
2318
fi
 
2319
 
 
2320
rm -f conftest$ac_cv_exeext
 
2321
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2322
$as_echo "$ac_cv_exeext" >&6; }
 
2323
 
 
2324
rm -f conftest.$ac_ext
 
2325
EXEEXT=$ac_cv_exeext
 
2326
ac_exeext=$EXEEXT
 
2327
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2328
$as_echo_n "checking for suffix of object files... " >&6; }
 
2329
if test "${ac_cv_objext+set}" = set; then
 
2330
  $as_echo_n "(cached) " >&6
 
2331
else
 
2332
  cat >conftest.$ac_ext <<_ACEOF
 
2333
/* confdefs.h.  */
 
2334
_ACEOF
 
2335
cat confdefs.h >>conftest.$ac_ext
 
2336
cat >>conftest.$ac_ext <<_ACEOF
 
2337
/* end confdefs.h.  */
 
2338
 
 
2339
int
 
2340
main ()
 
2341
{
 
2342
 
 
2343
  ;
 
2344
  return 0;
 
2345
}
 
2346
_ACEOF
 
2347
rm -f conftest.o conftest.obj
 
2348
if { (ac_try="$ac_compile"
 
2349
case "(($ac_try" in
 
2350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2351
  *) ac_try_echo=$ac_try;;
 
2352
esac
 
2353
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2354
$as_echo "$ac_try_echo") >&5
 
2355
  (eval "$ac_compile") 2>&5
 
2356
  ac_status=$?
 
2357
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2358
  (exit $ac_status); }; then
 
2359
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2360
  test -f "$ac_file" || continue;
 
2361
  case $ac_file in
 
2362
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
2363
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2364
       break;;
 
2365
  esac
 
2366
done
 
2367
else
 
2368
  $as_echo "$as_me: failed program was:" >&5
 
2369
sed 's/^/| /' conftest.$ac_ext >&5
 
2370
 
 
2371
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2372
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2373
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2374
See \`config.log' for more details." >&5
 
2375
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2376
See \`config.log' for more details." >&2;}
 
2377
   { (exit 1); exit 1; }; }; }
 
2378
fi
 
2379
 
 
2380
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2381
fi
 
2382
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2383
$as_echo "$ac_cv_objext" >&6; }
 
2384
OBJEXT=$ac_cv_objext
 
2385
ac_objext=$OBJEXT
 
2386
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2387
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
2388
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2389
  $as_echo_n "(cached) " >&6
 
2390
else
 
2391
  cat >conftest.$ac_ext <<_ACEOF
 
2392
/* confdefs.h.  */
 
2393
_ACEOF
 
2394
cat confdefs.h >>conftest.$ac_ext
 
2395
cat >>conftest.$ac_ext <<_ACEOF
 
2396
/* end confdefs.h.  */
 
2397
 
 
2398
int
 
2399
main ()
 
2400
{
 
2401
#ifndef __GNUC__
 
2402
       choke me
 
2403
#endif
 
2404
 
 
2405
  ;
 
2406
  return 0;
 
2407
}
 
2408
_ACEOF
 
2409
rm -f conftest.$ac_objext
 
2410
if { (ac_try="$ac_compile"
 
2411
case "(($ac_try" in
 
2412
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2413
  *) ac_try_echo=$ac_try;;
 
2414
esac
 
2415
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2416
$as_echo "$ac_try_echo") >&5
 
2417
  (eval "$ac_compile") 2>conftest.er1
 
2418
  ac_status=$?
 
2419
  grep -v '^ *+' conftest.er1 >conftest.err
 
2420
  rm -f conftest.er1
 
2421
  cat conftest.err >&5
 
2422
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2423
  (exit $ac_status); } && {
 
2424
         test -z "$ac_c_werror_flag" ||
 
2425
         test ! -s conftest.err
 
2426
       } && test -s conftest.$ac_objext; then
 
2427
  ac_compiler_gnu=yes
 
2428
else
 
2429
  $as_echo "$as_me: failed program was:" >&5
 
2430
sed 's/^/| /' conftest.$ac_ext >&5
 
2431
 
 
2432
        ac_compiler_gnu=no
 
2433
fi
 
2434
 
 
2435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2436
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2437
 
 
2438
fi
 
2439
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2440
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
2441
if test $ac_compiler_gnu = yes; then
 
2442
  GCC=yes
 
2443
else
 
2444
  GCC=
 
2445
fi
 
2446
ac_test_CFLAGS=${CFLAGS+set}
 
2447
ac_save_CFLAGS=$CFLAGS
 
2448
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2449
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
2450
if test "${ac_cv_prog_cc_g+set}" = set; then
 
2451
  $as_echo_n "(cached) " >&6
 
2452
else
 
2453
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2454
   ac_c_werror_flag=yes
 
2455
   ac_cv_prog_cc_g=no
 
2456
   CFLAGS="-g"
 
2457
   cat >conftest.$ac_ext <<_ACEOF
 
2458
/* confdefs.h.  */
 
2459
_ACEOF
 
2460
cat confdefs.h >>conftest.$ac_ext
 
2461
cat >>conftest.$ac_ext <<_ACEOF
 
2462
/* end confdefs.h.  */
 
2463
 
 
2464
int
 
2465
main ()
 
2466
{
 
2467
 
 
2468
  ;
 
2469
  return 0;
 
2470
}
 
2471
_ACEOF
 
2472
rm -f conftest.$ac_objext
 
2473
if { (ac_try="$ac_compile"
 
2474
case "(($ac_try" in
 
2475
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2476
  *) ac_try_echo=$ac_try;;
 
2477
esac
 
2478
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2479
$as_echo "$ac_try_echo") >&5
 
2480
  (eval "$ac_compile") 2>conftest.er1
 
2481
  ac_status=$?
 
2482
  grep -v '^ *+' conftest.er1 >conftest.err
 
2483
  rm -f conftest.er1
 
2484
  cat conftest.err >&5
 
2485
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2486
  (exit $ac_status); } && {
 
2487
         test -z "$ac_c_werror_flag" ||
 
2488
         test ! -s conftest.err
 
2489
       } && test -s conftest.$ac_objext; then
 
2490
  ac_cv_prog_cc_g=yes
 
2491
else
 
2492
  $as_echo "$as_me: failed program was:" >&5
 
2493
sed 's/^/| /' conftest.$ac_ext >&5
 
2494
 
 
2495
        CFLAGS=""
 
2496
      cat >conftest.$ac_ext <<_ACEOF
 
2497
/* confdefs.h.  */
 
2498
_ACEOF
 
2499
cat confdefs.h >>conftest.$ac_ext
 
2500
cat >>conftest.$ac_ext <<_ACEOF
 
2501
/* end confdefs.h.  */
 
2502
 
 
2503
int
 
2504
main ()
 
2505
{
 
2506
 
 
2507
  ;
 
2508
  return 0;
 
2509
}
 
2510
_ACEOF
 
2511
rm -f conftest.$ac_objext
 
2512
if { (ac_try="$ac_compile"
 
2513
case "(($ac_try" in
 
2514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2515
  *) ac_try_echo=$ac_try;;
 
2516
esac
 
2517
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2518
$as_echo "$ac_try_echo") >&5
 
2519
  (eval "$ac_compile") 2>conftest.er1
 
2520
  ac_status=$?
 
2521
  grep -v '^ *+' conftest.er1 >conftest.err
 
2522
  rm -f conftest.er1
 
2523
  cat conftest.err >&5
 
2524
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2525
  (exit $ac_status); } && {
 
2526
         test -z "$ac_c_werror_flag" ||
 
2527
         test ! -s conftest.err
 
2528
       } && test -s conftest.$ac_objext; then
 
2529
  :
 
2530
else
 
2531
  $as_echo "$as_me: failed program was:" >&5
 
2532
sed 's/^/| /' conftest.$ac_ext >&5
 
2533
 
 
2534
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2535
         CFLAGS="-g"
 
2536
         cat >conftest.$ac_ext <<_ACEOF
 
2537
/* confdefs.h.  */
 
2538
_ACEOF
 
2539
cat confdefs.h >>conftest.$ac_ext
 
2540
cat >>conftest.$ac_ext <<_ACEOF
 
2541
/* end confdefs.h.  */
 
2542
 
 
2543
int
 
2544
main ()
 
2545
{
 
2546
 
 
2547
  ;
 
2548
  return 0;
 
2549
}
 
2550
_ACEOF
 
2551
rm -f conftest.$ac_objext
 
2552
if { (ac_try="$ac_compile"
 
2553
case "(($ac_try" in
 
2554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2555
  *) ac_try_echo=$ac_try;;
 
2556
esac
 
2557
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2558
$as_echo "$ac_try_echo") >&5
 
2559
  (eval "$ac_compile") 2>conftest.er1
 
2560
  ac_status=$?
 
2561
  grep -v '^ *+' conftest.er1 >conftest.err
 
2562
  rm -f conftest.er1
 
2563
  cat conftest.err >&5
 
2564
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2565
  (exit $ac_status); } && {
 
2566
         test -z "$ac_c_werror_flag" ||
 
2567
         test ! -s conftest.err
 
2568
       } && test -s conftest.$ac_objext; then
 
2569
  ac_cv_prog_cc_g=yes
 
2570
else
 
2571
  $as_echo "$as_me: failed program was:" >&5
 
2572
sed 's/^/| /' conftest.$ac_ext >&5
 
2573
 
 
2574
 
 
2575
fi
 
2576
 
 
2577
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2578
fi
 
2579
 
 
2580
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2581
fi
 
2582
 
 
2583
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2584
   ac_c_werror_flag=$ac_save_c_werror_flag
 
2585
fi
 
2586
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2587
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
2588
if test "$ac_test_CFLAGS" = set; then
 
2589
  CFLAGS=$ac_save_CFLAGS
 
2590
elif test $ac_cv_prog_cc_g = yes; then
 
2591
  if test "$GCC" = yes; then
 
2592
    CFLAGS="-g -O2"
 
2593
  else
 
2594
    CFLAGS="-g"
 
2595
  fi
 
2596
else
 
2597
  if test "$GCC" = yes; then
 
2598
    CFLAGS="-O2"
 
2599
  else
 
2600
    CFLAGS=
 
2601
  fi
 
2602
fi
 
2603
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2604
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
2605
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
2606
  $as_echo_n "(cached) " >&6
 
2607
else
 
2608
  ac_cv_prog_cc_c89=no
 
2609
ac_save_CC=$CC
 
2610
cat >conftest.$ac_ext <<_ACEOF
 
2611
/* confdefs.h.  */
 
2612
_ACEOF
 
2613
cat confdefs.h >>conftest.$ac_ext
 
2614
cat >>conftest.$ac_ext <<_ACEOF
 
2615
/* end confdefs.h.  */
 
2616
#include <stdarg.h>
 
2617
#include <stdio.h>
 
2618
#include <sys/types.h>
 
2619
#include <sys/stat.h>
 
2620
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
2621
struct buf { int x; };
 
2622
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
2623
static char *e (p, i)
 
2624
     char **p;
 
2625
     int i;
 
2626
{
 
2627
  return p[i];
 
2628
}
 
2629
static char *f (char * (*g) (char **, int), char **p, ...)
 
2630
{
 
2631
  char *s;
 
2632
  va_list v;
 
2633
  va_start (v,p);
 
2634
  s = g (p, va_arg (v,int));
 
2635
  va_end (v);
 
2636
  return s;
 
2637
}
 
2638
 
 
2639
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2640
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2641
   These don't provoke an error unfortunately, instead are silently treated
 
2642
   as 'x'.  The following induces an error, until -std is added to get
 
2643
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2644
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2645
   that's true only with -std.  */
 
2646
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2647
 
 
2648
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
2649
   inside strings and character constants.  */
 
2650
#define FOO(x) 'x'
 
2651
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
2652
 
 
2653
int test (int i, double x);
 
2654
struct s1 {int (*f) (int a);};
 
2655
struct s2 {int (*f) (double a);};
 
2656
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
2657
int argc;
 
2658
char **argv;
 
2659
int
 
2660
main ()
 
2661
{
 
2662
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2663
  ;
 
2664
  return 0;
 
2665
}
 
2666
_ACEOF
 
2667
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
2668
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2669
do
 
2670
  CC="$ac_save_CC $ac_arg"
 
2671
  rm -f conftest.$ac_objext
 
2672
if { (ac_try="$ac_compile"
 
2673
case "(($ac_try" in
 
2674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2675
  *) ac_try_echo=$ac_try;;
 
2676
esac
 
2677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2678
$as_echo "$ac_try_echo") >&5
 
2679
  (eval "$ac_compile") 2>conftest.er1
 
2680
  ac_status=$?
 
2681
  grep -v '^ *+' conftest.er1 >conftest.err
 
2682
  rm -f conftest.er1
 
2683
  cat conftest.err >&5
 
2684
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2685
  (exit $ac_status); } && {
 
2686
         test -z "$ac_c_werror_flag" ||
 
2687
         test ! -s conftest.err
 
2688
       } && test -s conftest.$ac_objext; then
 
2689
  ac_cv_prog_cc_c89=$ac_arg
 
2690
else
 
2691
  $as_echo "$as_me: failed program was:" >&5
 
2692
sed 's/^/| /' conftest.$ac_ext >&5
 
2693
 
 
2694
 
 
2695
fi
 
2696
 
 
2697
rm -f core conftest.err conftest.$ac_objext
 
2698
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
2699
done
 
2700
rm -f conftest.$ac_ext
 
2701
CC=$ac_save_CC
 
2702
 
 
2703
fi
 
2704
# AC_CACHE_VAL
 
2705
case "x$ac_cv_prog_cc_c89" in
 
2706
  x)
 
2707
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
2708
$as_echo "none needed" >&6; } ;;
 
2709
  xno)
 
2710
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
2711
$as_echo "unsupported" >&6; } ;;
 
2712
  *)
 
2713
    CC="$CC $ac_cv_prog_cc_c89"
 
2714
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
2715
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
2716
esac
 
2717
 
 
2718
 
 
2719
ac_ext=c
 
2720
ac_cpp='$CPP $CPPFLAGS'
 
2721
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2722
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2723
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2724
 
 
2725
ac_ext=cpp
 
2726
ac_cpp='$CXXCPP $CPPFLAGS'
 
2727
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2728
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2729
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
2730
if test -z "$CXX"; then
 
2731
  if test -n "$CCC"; then
 
2732
    CXX=$CCC
 
2733
  else
 
2734
    if test -n "$ac_tool_prefix"; then
 
2735
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
2736
  do
 
2737
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2738
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2739
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2740
$as_echo_n "checking for $ac_word... " >&6; }
 
2741
if test "${ac_cv_prog_CXX+set}" = set; then
 
2742
  $as_echo_n "(cached) " >&6
 
2743
else
 
2744
  if test -n "$CXX"; then
 
2745
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
2746
else
 
2747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2748
for as_dir in $PATH
 
2749
do
 
2750
  IFS=$as_save_IFS
 
2751
  test -z "$as_dir" && as_dir=.
 
2752
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2754
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
2755
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2756
    break 2
 
2757
  fi
 
2758
done
 
2759
done
 
2760
IFS=$as_save_IFS
 
2761
 
 
2762
fi
 
2763
fi
 
2764
CXX=$ac_cv_prog_CXX
 
2765
if test -n "$CXX"; then
 
2766
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
2767
$as_echo "$CXX" >&6; }
 
2768
else
 
2769
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2770
$as_echo "no" >&6; }
 
2771
fi
 
2772
 
 
2773
 
 
2774
    test -n "$CXX" && break
 
2775
  done
 
2776
fi
 
2777
if test -z "$CXX"; then
 
2778
  ac_ct_CXX=$CXX
 
2779
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
2780
do
 
2781
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2782
set dummy $ac_prog; ac_word=$2
 
2783
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2784
$as_echo_n "checking for $ac_word... " >&6; }
 
2785
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
2786
  $as_echo_n "(cached) " >&6
 
2787
else
 
2788
  if test -n "$ac_ct_CXX"; then
 
2789
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
2790
else
 
2791
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2792
for as_dir in $PATH
 
2793
do
 
2794
  IFS=$as_save_IFS
 
2795
  test -z "$as_dir" && as_dir=.
 
2796
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2797
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2798
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
2799
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2800
    break 2
 
2801
  fi
 
2802
done
 
2803
done
 
2804
IFS=$as_save_IFS
 
2805
 
 
2806
fi
 
2807
fi
 
2808
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
2809
if test -n "$ac_ct_CXX"; then
 
2810
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
2811
$as_echo "$ac_ct_CXX" >&6; }
 
2812
else
 
2813
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2814
$as_echo "no" >&6; }
 
2815
fi
 
2816
 
 
2817
 
 
2818
  test -n "$ac_ct_CXX" && break
 
2819
done
 
2820
 
 
2821
  if test "x$ac_ct_CXX" = x; then
 
2822
    CXX="g++"
 
2823
  else
 
2824
    case $cross_compiling:$ac_tool_warned in
 
2825
yes:)
 
2826
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2827
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2828
ac_tool_warned=yes ;;
 
2829
esac
 
2830
    CXX=$ac_ct_CXX
 
2831
  fi
 
2832
fi
 
2833
 
 
2834
  fi
 
2835
fi
 
2836
# Provide some information about the compiler.
 
2837
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
2838
set X $ac_compile
 
2839
ac_compiler=$2
 
2840
{ (ac_try="$ac_compiler --version >&5"
 
2841
case "(($ac_try" in
 
2842
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2843
  *) ac_try_echo=$ac_try;;
 
2844
esac
 
2845
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2846
$as_echo "$ac_try_echo") >&5
 
2847
  (eval "$ac_compiler --version >&5") 2>&5
 
2848
  ac_status=$?
 
2849
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2850
  (exit $ac_status); }
 
2851
{ (ac_try="$ac_compiler -v >&5"
 
2852
case "(($ac_try" in
 
2853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2854
  *) ac_try_echo=$ac_try;;
 
2855
esac
 
2856
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2857
$as_echo "$ac_try_echo") >&5
 
2858
  (eval "$ac_compiler -v >&5") 2>&5
 
2859
  ac_status=$?
 
2860
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2861
  (exit $ac_status); }
 
2862
{ (ac_try="$ac_compiler -V >&5"
 
2863
case "(($ac_try" in
 
2864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2865
  *) ac_try_echo=$ac_try;;
 
2866
esac
 
2867
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2868
$as_echo "$ac_try_echo") >&5
 
2869
  (eval "$ac_compiler -V >&5") 2>&5
 
2870
  ac_status=$?
 
2871
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2872
  (exit $ac_status); }
 
2873
 
 
2874
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
2875
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
2876
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
2877
  $as_echo_n "(cached) " >&6
 
2878
else
 
2879
  cat >conftest.$ac_ext <<_ACEOF
 
2880
/* confdefs.h.  */
 
2881
_ACEOF
 
2882
cat confdefs.h >>conftest.$ac_ext
 
2883
cat >>conftest.$ac_ext <<_ACEOF
 
2884
/* end confdefs.h.  */
 
2885
 
 
2886
int
 
2887
main ()
 
2888
{
 
2889
#ifndef __GNUC__
 
2890
       choke me
 
2891
#endif
 
2892
 
 
2893
  ;
 
2894
  return 0;
 
2895
}
 
2896
_ACEOF
 
2897
rm -f conftest.$ac_objext
 
2898
if { (ac_try="$ac_compile"
 
2899
case "(($ac_try" in
 
2900
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2901
  *) ac_try_echo=$ac_try;;
 
2902
esac
 
2903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2904
$as_echo "$ac_try_echo") >&5
 
2905
  (eval "$ac_compile") 2>conftest.er1
 
2906
  ac_status=$?
 
2907
  grep -v '^ *+' conftest.er1 >conftest.err
 
2908
  rm -f conftest.er1
 
2909
  cat conftest.err >&5
 
2910
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2911
  (exit $ac_status); } && {
 
2912
         test -z "$ac_cxx_werror_flag" ||
 
2913
         test ! -s conftest.err
 
2914
       } && test -s conftest.$ac_objext; then
 
2915
  ac_compiler_gnu=yes
 
2916
else
 
2917
  $as_echo "$as_me: failed program was:" >&5
 
2918
sed 's/^/| /' conftest.$ac_ext >&5
 
2919
 
 
2920
        ac_compiler_gnu=no
 
2921
fi
 
2922
 
 
2923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2924
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
2925
 
 
2926
fi
 
2927
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
2928
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
2929
if test $ac_compiler_gnu = yes; then
 
2930
  GXX=yes
 
2931
else
 
2932
  GXX=
 
2933
fi
 
2934
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
2935
ac_save_CXXFLAGS=$CXXFLAGS
 
2936
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
2937
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
2938
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
2939
  $as_echo_n "(cached) " >&6
 
2940
else
 
2941
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
2942
   ac_cxx_werror_flag=yes
 
2943
   ac_cv_prog_cxx_g=no
 
2944
   CXXFLAGS="-g"
 
2945
   cat >conftest.$ac_ext <<_ACEOF
 
2946
/* confdefs.h.  */
 
2947
_ACEOF
 
2948
cat confdefs.h >>conftest.$ac_ext
 
2949
cat >>conftest.$ac_ext <<_ACEOF
 
2950
/* end confdefs.h.  */
 
2951
 
 
2952
int
 
2953
main ()
 
2954
{
 
2955
 
 
2956
  ;
 
2957
  return 0;
 
2958
}
 
2959
_ACEOF
 
2960
rm -f conftest.$ac_objext
 
2961
if { (ac_try="$ac_compile"
 
2962
case "(($ac_try" in
 
2963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2964
  *) ac_try_echo=$ac_try;;
 
2965
esac
 
2966
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2967
$as_echo "$ac_try_echo") >&5
 
2968
  (eval "$ac_compile") 2>conftest.er1
 
2969
  ac_status=$?
 
2970
  grep -v '^ *+' conftest.er1 >conftest.err
 
2971
  rm -f conftest.er1
 
2972
  cat conftest.err >&5
 
2973
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2974
  (exit $ac_status); } && {
 
2975
         test -z "$ac_cxx_werror_flag" ||
 
2976
         test ! -s conftest.err
 
2977
       } && test -s conftest.$ac_objext; then
 
2978
  ac_cv_prog_cxx_g=yes
 
2979
else
 
2980
  $as_echo "$as_me: failed program was:" >&5
 
2981
sed 's/^/| /' conftest.$ac_ext >&5
 
2982
 
 
2983
        CXXFLAGS=""
 
2984
      cat >conftest.$ac_ext <<_ACEOF
 
2985
/* confdefs.h.  */
 
2986
_ACEOF
 
2987
cat confdefs.h >>conftest.$ac_ext
 
2988
cat >>conftest.$ac_ext <<_ACEOF
 
2989
/* end confdefs.h.  */
 
2990
 
 
2991
int
 
2992
main ()
 
2993
{
 
2994
 
 
2995
  ;
 
2996
  return 0;
 
2997
}
 
2998
_ACEOF
 
2999
rm -f conftest.$ac_objext
 
3000
if { (ac_try="$ac_compile"
 
3001
case "(($ac_try" in
 
3002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3003
  *) ac_try_echo=$ac_try;;
 
3004
esac
 
3005
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3006
$as_echo "$ac_try_echo") >&5
 
3007
  (eval "$ac_compile") 2>conftest.er1
 
3008
  ac_status=$?
 
3009
  grep -v '^ *+' conftest.er1 >conftest.err
 
3010
  rm -f conftest.er1
 
3011
  cat conftest.err >&5
 
3012
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3013
  (exit $ac_status); } && {
 
3014
         test -z "$ac_cxx_werror_flag" ||
 
3015
         test ! -s conftest.err
 
3016
       } && test -s conftest.$ac_objext; then
 
3017
  :
 
3018
else
 
3019
  $as_echo "$as_me: failed program was:" >&5
 
3020
sed 's/^/| /' conftest.$ac_ext >&5
 
3021
 
 
3022
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3023
         CXXFLAGS="-g"
 
3024
         cat >conftest.$ac_ext <<_ACEOF
 
3025
/* confdefs.h.  */
 
3026
_ACEOF
 
3027
cat confdefs.h >>conftest.$ac_ext
 
3028
cat >>conftest.$ac_ext <<_ACEOF
 
3029
/* end confdefs.h.  */
 
3030
 
 
3031
int
 
3032
main ()
 
3033
{
 
3034
 
 
3035
  ;
 
3036
  return 0;
 
3037
}
 
3038
_ACEOF
 
3039
rm -f conftest.$ac_objext
 
3040
if { (ac_try="$ac_compile"
 
3041
case "(($ac_try" in
 
3042
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3043
  *) ac_try_echo=$ac_try;;
 
3044
esac
 
3045
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3046
$as_echo "$ac_try_echo") >&5
 
3047
  (eval "$ac_compile") 2>conftest.er1
 
3048
  ac_status=$?
 
3049
  grep -v '^ *+' conftest.er1 >conftest.err
 
3050
  rm -f conftest.er1
 
3051
  cat conftest.err >&5
 
3052
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3053
  (exit $ac_status); } && {
 
3054
         test -z "$ac_cxx_werror_flag" ||
 
3055
         test ! -s conftest.err
 
3056
       } && test -s conftest.$ac_objext; then
 
3057
  ac_cv_prog_cxx_g=yes
 
3058
else
 
3059
  $as_echo "$as_me: failed program was:" >&5
 
3060
sed 's/^/| /' conftest.$ac_ext >&5
 
3061
 
 
3062
 
 
3063
fi
 
3064
 
 
3065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3066
fi
 
3067
 
 
3068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3069
fi
 
3070
 
 
3071
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3072
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3073
fi
 
3074
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
3075
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
3076
if test "$ac_test_CXXFLAGS" = set; then
 
3077
  CXXFLAGS=$ac_save_CXXFLAGS
 
3078
elif test $ac_cv_prog_cxx_g = yes; then
 
3079
  if test "$GXX" = yes; then
 
3080
    CXXFLAGS="-g -O2"
 
3081
  else
 
3082
    CXXFLAGS="-g"
 
3083
  fi
 
3084
else
 
3085
  if test "$GXX" = yes; then
 
3086
    CXXFLAGS="-O2"
 
3087
  else
 
3088
    CXXFLAGS=
 
3089
  fi
 
3090
fi
 
3091
ac_ext=c
 
3092
ac_cpp='$CPP $CPPFLAGS'
 
3093
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3094
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3095
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3096
 
 
3097
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
3098
$as_echo_n "checking whether ln -s works... " >&6; }
 
3099
LN_S=$as_ln_s
 
3100
if test "$LN_S" = "ln -s"; then
 
3101
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3102
$as_echo "yes" >&6; }
 
3103
else
 
3104
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
3105
$as_echo "no, using $LN_S" >&6; }
 
3106
fi
 
3107
 
 
3108
#AC_PROG_INSTALL
 
3109
if test -n "$ac_tool_prefix"; then
 
3110
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
3111
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
3112
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3113
$as_echo_n "checking for $ac_word... " >&6; }
 
3114
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
3115
  $as_echo_n "(cached) " >&6
 
3116
else
 
3117
  if test -n "$RANLIB"; then
 
3118
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
3119
else
 
3120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3121
for as_dir in $PATH
 
3122
do
 
3123
  IFS=$as_save_IFS
 
3124
  test -z "$as_dir" && as_dir=.
 
3125
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3126
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3127
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
3128
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3129
    break 2
 
3130
  fi
 
3131
done
 
3132
done
 
3133
IFS=$as_save_IFS
 
3134
 
 
3135
fi
 
3136
fi
 
3137
RANLIB=$ac_cv_prog_RANLIB
 
3138
if test -n "$RANLIB"; then
 
3139
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
3140
$as_echo "$RANLIB" >&6; }
 
3141
else
 
3142
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3143
$as_echo "no" >&6; }
 
3144
fi
 
3145
 
 
3146
 
 
3147
fi
 
3148
if test -z "$ac_cv_prog_RANLIB"; then
 
3149
  ac_ct_RANLIB=$RANLIB
 
3150
  # Extract the first word of "ranlib", so it can be a program name with args.
 
3151
set dummy ranlib; ac_word=$2
 
3152
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3153
$as_echo_n "checking for $ac_word... " >&6; }
 
3154
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
3155
  $as_echo_n "(cached) " >&6
 
3156
else
 
3157
  if test -n "$ac_ct_RANLIB"; then
 
3158
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
3159
else
 
3160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3161
for as_dir in $PATH
 
3162
do
 
3163
  IFS=$as_save_IFS
 
3164
  test -z "$as_dir" && as_dir=.
 
3165
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3167
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
3168
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3169
    break 2
 
3170
  fi
 
3171
done
 
3172
done
 
3173
IFS=$as_save_IFS
 
3174
 
 
3175
fi
 
3176
fi
 
3177
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
3178
if test -n "$ac_ct_RANLIB"; then
 
3179
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
3180
$as_echo "$ac_ct_RANLIB" >&6; }
 
3181
else
 
3182
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3183
$as_echo "no" >&6; }
 
3184
fi
 
3185
 
 
3186
  if test "x$ac_ct_RANLIB" = x; then
 
3187
    RANLIB=":"
 
3188
  else
 
3189
    case $cross_compiling:$ac_tool_warned in
 
3190
yes:)
 
3191
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3192
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3193
ac_tool_warned=yes ;;
 
3194
esac
 
3195
    RANLIB=$ac_ct_RANLIB
 
3196
  fi
 
3197
else
 
3198
  RANLIB="$ac_cv_prog_RANLIB"
 
3199
fi
 
3200
 
 
3201
 
 
3202
# Checks for libraries.
 
3203
 
 
3204
# Checks for header files.
 
3205
 
 
3206
ac_ext=c
 
3207
ac_cpp='$CPP $CPPFLAGS'
 
3208
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3209
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3210
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3211
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3212
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3213
# On Suns, sometimes $CPP names a directory.
 
3214
if test -n "$CPP" && test -d "$CPP"; then
 
3215
  CPP=
 
3216
fi
 
3217
if test -z "$CPP"; then
 
3218
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3219
  $as_echo_n "(cached) " >&6
 
3220
else
 
3221
      # Double quotes because CPP needs to be expanded
 
3222
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3223
    do
 
3224
      ac_preproc_ok=false
 
3225
for ac_c_preproc_warn_flag in '' yes
 
3226
do
 
3227
  # Use a header file that comes with gcc, so configuring glibc
 
3228
  # with a fresh cross-compiler works.
 
3229
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3230
  # <limits.h> exists even on freestanding compilers.
 
3231
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3232
  # not just through cpp. "Syntax error" is here to catch this case.
 
3233
  cat >conftest.$ac_ext <<_ACEOF
 
3234
/* confdefs.h.  */
 
3235
_ACEOF
 
3236
cat confdefs.h >>conftest.$ac_ext
 
3237
cat >>conftest.$ac_ext <<_ACEOF
 
3238
/* end confdefs.h.  */
 
3239
#ifdef __STDC__
 
3240
# include <limits.h>
 
3241
#else
 
3242
# include <assert.h>
 
3243
#endif
 
3244
                     Syntax error
 
3245
_ACEOF
 
3246
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3247
case "(($ac_try" in
 
3248
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3249
  *) ac_try_echo=$ac_try;;
 
3250
esac
 
3251
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3252
$as_echo "$ac_try_echo") >&5
 
3253
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3254
  ac_status=$?
 
3255
  grep -v '^ *+' conftest.er1 >conftest.err
 
3256
  rm -f conftest.er1
 
3257
  cat conftest.err >&5
 
3258
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3259
  (exit $ac_status); } >/dev/null && {
 
3260
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3261
         test ! -s conftest.err
 
3262
       }; then
 
3263
  :
 
3264
else
 
3265
  $as_echo "$as_me: failed program was:" >&5
 
3266
sed 's/^/| /' conftest.$ac_ext >&5
 
3267
 
 
3268
  # Broken: fails on valid input.
 
3269
continue
 
3270
fi
 
3271
 
 
3272
rm -f conftest.err conftest.$ac_ext
 
3273
 
 
3274
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3275
  # can be detected and how.
 
3276
  cat >conftest.$ac_ext <<_ACEOF
 
3277
/* confdefs.h.  */
 
3278
_ACEOF
 
3279
cat confdefs.h >>conftest.$ac_ext
 
3280
cat >>conftest.$ac_ext <<_ACEOF
 
3281
/* end confdefs.h.  */
 
3282
#include <ac_nonexistent.h>
 
3283
_ACEOF
 
3284
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3285
case "(($ac_try" in
 
3286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3287
  *) ac_try_echo=$ac_try;;
 
3288
esac
 
3289
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3290
$as_echo "$ac_try_echo") >&5
 
3291
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3292
  ac_status=$?
 
3293
  grep -v '^ *+' conftest.er1 >conftest.err
 
3294
  rm -f conftest.er1
 
3295
  cat conftest.err >&5
 
3296
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3297
  (exit $ac_status); } >/dev/null && {
 
3298
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3299
         test ! -s conftest.err
 
3300
       }; then
 
3301
  # Broken: success on invalid input.
 
3302
continue
 
3303
else
 
3304
  $as_echo "$as_me: failed program was:" >&5
 
3305
sed 's/^/| /' conftest.$ac_ext >&5
 
3306
 
 
3307
  # Passes both tests.
 
3308
ac_preproc_ok=:
 
3309
break
 
3310
fi
 
3311
 
 
3312
rm -f conftest.err conftest.$ac_ext
 
3313
 
 
3314
done
 
3315
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3316
rm -f conftest.err conftest.$ac_ext
 
3317
if $ac_preproc_ok; then
 
3318
  break
 
3319
fi
 
3320
 
 
3321
    done
 
3322
    ac_cv_prog_CPP=$CPP
 
3323
 
 
3324
fi
 
3325
  CPP=$ac_cv_prog_CPP
 
3326
else
 
3327
  ac_cv_prog_CPP=$CPP
 
3328
fi
 
3329
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3330
$as_echo "$CPP" >&6; }
 
3331
ac_preproc_ok=false
 
3332
for ac_c_preproc_warn_flag in '' yes
 
3333
do
 
3334
  # Use a header file that comes with gcc, so configuring glibc
 
3335
  # with a fresh cross-compiler works.
 
3336
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3337
  # <limits.h> exists even on freestanding compilers.
 
3338
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3339
  # not just through cpp. "Syntax error" is here to catch this case.
 
3340
  cat >conftest.$ac_ext <<_ACEOF
 
3341
/* confdefs.h.  */
 
3342
_ACEOF
 
3343
cat confdefs.h >>conftest.$ac_ext
 
3344
cat >>conftest.$ac_ext <<_ACEOF
 
3345
/* end confdefs.h.  */
 
3346
#ifdef __STDC__
 
3347
# include <limits.h>
 
3348
#else
 
3349
# include <assert.h>
 
3350
#endif
 
3351
                     Syntax error
 
3352
_ACEOF
 
3353
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3354
case "(($ac_try" in
 
3355
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3356
  *) ac_try_echo=$ac_try;;
 
3357
esac
 
3358
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3359
$as_echo "$ac_try_echo") >&5
 
3360
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3361
  ac_status=$?
 
3362
  grep -v '^ *+' conftest.er1 >conftest.err
 
3363
  rm -f conftest.er1
 
3364
  cat conftest.err >&5
 
3365
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3366
  (exit $ac_status); } >/dev/null && {
 
3367
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3368
         test ! -s conftest.err
 
3369
       }; then
 
3370
  :
 
3371
else
 
3372
  $as_echo "$as_me: failed program was:" >&5
 
3373
sed 's/^/| /' conftest.$ac_ext >&5
 
3374
 
 
3375
  # Broken: fails on valid input.
 
3376
continue
 
3377
fi
 
3378
 
 
3379
rm -f conftest.err conftest.$ac_ext
 
3380
 
 
3381
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3382
  # can be detected and how.
 
3383
  cat >conftest.$ac_ext <<_ACEOF
 
3384
/* confdefs.h.  */
 
3385
_ACEOF
 
3386
cat confdefs.h >>conftest.$ac_ext
 
3387
cat >>conftest.$ac_ext <<_ACEOF
 
3388
/* end confdefs.h.  */
 
3389
#include <ac_nonexistent.h>
 
3390
_ACEOF
 
3391
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3392
case "(($ac_try" in
 
3393
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3394
  *) ac_try_echo=$ac_try;;
 
3395
esac
 
3396
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3397
$as_echo "$ac_try_echo") >&5
 
3398
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3399
  ac_status=$?
 
3400
  grep -v '^ *+' conftest.er1 >conftest.err
 
3401
  rm -f conftest.er1
 
3402
  cat conftest.err >&5
 
3403
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3404
  (exit $ac_status); } >/dev/null && {
 
3405
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3406
         test ! -s conftest.err
 
3407
       }; then
 
3408
  # Broken: success on invalid input.
 
3409
continue
 
3410
else
 
3411
  $as_echo "$as_me: failed program was:" >&5
 
3412
sed 's/^/| /' conftest.$ac_ext >&5
 
3413
 
 
3414
  # Passes both tests.
 
3415
ac_preproc_ok=:
 
3416
break
 
3417
fi
 
3418
 
 
3419
rm -f conftest.err conftest.$ac_ext
 
3420
 
 
3421
done
 
3422
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3423
rm -f conftest.err conftest.$ac_ext
 
3424
if $ac_preproc_ok; then
 
3425
  :
 
3426
else
 
3427
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3428
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3429
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3430
See \`config.log' for more details." >&5
 
3431
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3432
See \`config.log' for more details." >&2;}
 
3433
   { (exit 1); exit 1; }; }; }
 
3434
fi
 
3435
 
 
3436
ac_ext=c
 
3437
ac_cpp='$CPP $CPPFLAGS'
 
3438
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3439
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3440
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3441
 
 
3442
 
 
3443
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3444
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3445
if test "${ac_cv_path_GREP+set}" = set; then
 
3446
  $as_echo_n "(cached) " >&6
 
3447
else
 
3448
  if test -z "$GREP"; then
 
3449
  ac_path_GREP_found=false
 
3450
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3451
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3452
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3453
do
 
3454
  IFS=$as_save_IFS
 
3455
  test -z "$as_dir" && as_dir=.
 
3456
  for ac_prog in grep ggrep; do
 
3457
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3458
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3459
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3460
# Check for GNU ac_path_GREP and select it if it is found.
 
3461
  # Check for GNU $ac_path_GREP
 
3462
case `"$ac_path_GREP" --version 2>&1` in
 
3463
*GNU*)
 
3464
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3465
*)
 
3466
  ac_count=0
 
3467
  $as_echo_n 0123456789 >"conftest.in"
 
3468
  while :
 
3469
  do
 
3470
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3471
    mv "conftest.tmp" "conftest.in"
 
3472
    cp "conftest.in" "conftest.nl"
 
3473
    $as_echo 'GREP' >> "conftest.nl"
 
3474
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3475
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3476
    ac_count=`expr $ac_count + 1`
 
3477
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3478
      # Best one so far, save it but keep looking for a better one
 
3479
      ac_cv_path_GREP="$ac_path_GREP"
 
3480
      ac_path_GREP_max=$ac_count
 
3481
    fi
 
3482
    # 10*(2^10) chars as input seems more than enough
 
3483
    test $ac_count -gt 10 && break
 
3484
  done
 
3485
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3486
esac
 
3487
 
 
3488
      $ac_path_GREP_found && break 3
 
3489
    done
 
3490
  done
 
3491
done
 
3492
IFS=$as_save_IFS
 
3493
  if test -z "$ac_cv_path_GREP"; then
 
3494
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3495
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3496
   { (exit 1); exit 1; }; }
 
3497
  fi
 
3498
else
 
3499
  ac_cv_path_GREP=$GREP
 
3500
fi
 
3501
 
 
3502
fi
 
3503
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3504
$as_echo "$ac_cv_path_GREP" >&6; }
 
3505
 GREP="$ac_cv_path_GREP"
 
3506
 
 
3507
 
 
3508
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3509
$as_echo_n "checking for egrep... " >&6; }
 
3510
if test "${ac_cv_path_EGREP+set}" = set; then
 
3511
  $as_echo_n "(cached) " >&6
 
3512
else
 
3513
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3514
   then ac_cv_path_EGREP="$GREP -E"
 
3515
   else
 
3516
     if test -z "$EGREP"; then
 
3517
  ac_path_EGREP_found=false
 
3518
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3519
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3520
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3521
do
 
3522
  IFS=$as_save_IFS
 
3523
  test -z "$as_dir" && as_dir=.
 
3524
  for ac_prog in egrep; do
 
3525
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3526
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3527
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3528
# Check for GNU ac_path_EGREP and select it if it is found.
 
3529
  # Check for GNU $ac_path_EGREP
 
3530
case `"$ac_path_EGREP" --version 2>&1` in
 
3531
*GNU*)
 
3532
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3533
*)
 
3534
  ac_count=0
 
3535
  $as_echo_n 0123456789 >"conftest.in"
 
3536
  while :
 
3537
  do
 
3538
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3539
    mv "conftest.tmp" "conftest.in"
 
3540
    cp "conftest.in" "conftest.nl"
 
3541
    $as_echo 'EGREP' >> "conftest.nl"
 
3542
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3543
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3544
    ac_count=`expr $ac_count + 1`
 
3545
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3546
      # Best one so far, save it but keep looking for a better one
 
3547
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3548
      ac_path_EGREP_max=$ac_count
 
3549
    fi
 
3550
    # 10*(2^10) chars as input seems more than enough
 
3551
    test $ac_count -gt 10 && break
 
3552
  done
 
3553
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3554
esac
 
3555
 
 
3556
      $ac_path_EGREP_found && break 3
 
3557
    done
 
3558
  done
 
3559
done
 
3560
IFS=$as_save_IFS
 
3561
  if test -z "$ac_cv_path_EGREP"; then
 
3562
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3563
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3564
   { (exit 1); exit 1; }; }
 
3565
  fi
 
3566
else
 
3567
  ac_cv_path_EGREP=$EGREP
 
3568
fi
 
3569
 
 
3570
   fi
 
3571
fi
 
3572
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3573
$as_echo "$ac_cv_path_EGREP" >&6; }
 
3574
 EGREP="$ac_cv_path_EGREP"
 
3575
 
 
3576
 
 
3577
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3578
$as_echo_n "checking for ANSI C header files... " >&6; }
 
3579
if test "${ac_cv_header_stdc+set}" = set; then
 
3580
  $as_echo_n "(cached) " >&6
 
3581
else
 
3582
  cat >conftest.$ac_ext <<_ACEOF
 
3583
/* confdefs.h.  */
 
3584
_ACEOF
 
3585
cat confdefs.h >>conftest.$ac_ext
 
3586
cat >>conftest.$ac_ext <<_ACEOF
 
3587
/* end confdefs.h.  */
 
3588
#include <stdlib.h>
 
3589
#include <stdarg.h>
 
3590
#include <string.h>
 
3591
#include <float.h>
 
3592
 
 
3593
int
 
3594
main ()
 
3595
{
 
3596
 
 
3597
  ;
 
3598
  return 0;
 
3599
}
 
3600
_ACEOF
 
3601
rm -f conftest.$ac_objext
 
3602
if { (ac_try="$ac_compile"
 
3603
case "(($ac_try" in
 
3604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3605
  *) ac_try_echo=$ac_try;;
 
3606
esac
 
3607
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3608
$as_echo "$ac_try_echo") >&5
 
3609
  (eval "$ac_compile") 2>conftest.er1
 
3610
  ac_status=$?
 
3611
  grep -v '^ *+' conftest.er1 >conftest.err
 
3612
  rm -f conftest.er1
 
3613
  cat conftest.err >&5
 
3614
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3615
  (exit $ac_status); } && {
 
3616
         test -z "$ac_c_werror_flag" ||
 
3617
         test ! -s conftest.err
 
3618
       } && test -s conftest.$ac_objext; then
 
3619
  ac_cv_header_stdc=yes
 
3620
else
 
3621
  $as_echo "$as_me: failed program was:" >&5
 
3622
sed 's/^/| /' conftest.$ac_ext >&5
 
3623
 
 
3624
        ac_cv_header_stdc=no
 
3625
fi
 
3626
 
 
3627
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3628
 
 
3629
if test $ac_cv_header_stdc = yes; then
 
3630
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
3631
  cat >conftest.$ac_ext <<_ACEOF
 
3632
/* confdefs.h.  */
 
3633
_ACEOF
 
3634
cat confdefs.h >>conftest.$ac_ext
 
3635
cat >>conftest.$ac_ext <<_ACEOF
 
3636
/* end confdefs.h.  */
 
3637
#include <string.h>
 
3638
 
 
3639
_ACEOF
 
3640
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3641
  $EGREP "memchr" >/dev/null 2>&1; then
 
3642
  :
 
3643
else
 
3644
  ac_cv_header_stdc=no
 
3645
fi
 
3646
rm -f conftest*
 
3647
 
 
3648
fi
 
3649
 
 
3650
if test $ac_cv_header_stdc = yes; then
 
3651
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
3652
  cat >conftest.$ac_ext <<_ACEOF
 
3653
/* confdefs.h.  */
 
3654
_ACEOF
 
3655
cat confdefs.h >>conftest.$ac_ext
 
3656
cat >>conftest.$ac_ext <<_ACEOF
 
3657
/* end confdefs.h.  */
 
3658
#include <stdlib.h>
 
3659
 
 
3660
_ACEOF
 
3661
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3662
  $EGREP "free" >/dev/null 2>&1; then
 
3663
  :
 
3664
else
 
3665
  ac_cv_header_stdc=no
 
3666
fi
 
3667
rm -f conftest*
 
3668
 
 
3669
fi
 
3670
 
 
3671
if test $ac_cv_header_stdc = yes; then
 
3672
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
3673
  if test "$cross_compiling" = yes; then
 
3674
  :
 
3675
else
 
3676
  cat >conftest.$ac_ext <<_ACEOF
 
3677
/* confdefs.h.  */
 
3678
_ACEOF
 
3679
cat confdefs.h >>conftest.$ac_ext
 
3680
cat >>conftest.$ac_ext <<_ACEOF
 
3681
/* end confdefs.h.  */
 
3682
#include <ctype.h>
 
3683
#include <stdlib.h>
 
3684
#if ((' ' & 0x0FF) == 0x020)
 
3685
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
3686
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
3687
#else
 
3688
# define ISLOWER(c) \
 
3689
                   (('a' <= (c) && (c) <= 'i') \
 
3690
                     || ('j' <= (c) && (c) <= 'r') \
 
3691
                     || ('s' <= (c) && (c) <= 'z'))
 
3692
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
3693
#endif
 
3694
 
 
3695
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
3696
int
 
3697
main ()
 
3698
{
 
3699
  int i;
 
3700
  for (i = 0; i < 256; i++)
 
3701
    if (XOR (islower (i), ISLOWER (i))
 
3702
        || toupper (i) != TOUPPER (i))
 
3703
      return 2;
 
3704
  return 0;
 
3705
}
 
3706
_ACEOF
 
3707
rm -f conftest$ac_exeext
 
3708
if { (ac_try="$ac_link"
 
3709
case "(($ac_try" in
 
3710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3711
  *) ac_try_echo=$ac_try;;
 
3712
esac
 
3713
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3714
$as_echo "$ac_try_echo") >&5
 
3715
  (eval "$ac_link") 2>&5
 
3716
  ac_status=$?
 
3717
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3718
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
3719
  { (case "(($ac_try" in
 
3720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3721
  *) ac_try_echo=$ac_try;;
 
3722
esac
 
3723
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3724
$as_echo "$ac_try_echo") >&5
 
3725
  (eval "$ac_try") 2>&5
 
3726
  ac_status=$?
 
3727
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3728
  (exit $ac_status); }; }; then
 
3729
  :
 
3730
else
 
3731
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
3732
$as_echo "$as_me: failed program was:" >&5
 
3733
sed 's/^/| /' conftest.$ac_ext >&5
 
3734
 
 
3735
( exit $ac_status )
 
3736
ac_cv_header_stdc=no
 
3737
fi
 
3738
rm -rf conftest.dSYM
 
3739
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3740
fi
 
3741
 
 
3742
 
 
3743
fi
 
3744
fi
 
3745
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3746
$as_echo "$ac_cv_header_stdc" >&6; }
 
3747
if test $ac_cv_header_stdc = yes; then
 
3748
 
 
3749
cat >>confdefs.h <<\_ACEOF
 
3750
#define STDC_HEADERS 1
 
3751
_ACEOF
 
3752
 
 
3753
fi
 
3754
 
 
3755
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
3756
 
 
3757
 
 
3758
 
 
3759
 
 
3760
 
 
3761
 
 
3762
 
 
3763
 
 
3764
 
 
3765
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
3766
                  inttypes.h stdint.h unistd.h
 
3767
do
 
3768
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3769
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3770
$as_echo_n "checking for $ac_header... " >&6; }
 
3771
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
3772
  $as_echo_n "(cached) " >&6
 
3773
else
 
3774
  cat >conftest.$ac_ext <<_ACEOF
 
3775
/* confdefs.h.  */
 
3776
_ACEOF
 
3777
cat confdefs.h >>conftest.$ac_ext
 
3778
cat >>conftest.$ac_ext <<_ACEOF
 
3779
/* end confdefs.h.  */
 
3780
$ac_includes_default
 
3781
 
 
3782
#include <$ac_header>
 
3783
_ACEOF
 
3784
rm -f conftest.$ac_objext
 
3785
if { (ac_try="$ac_compile"
 
3786
case "(($ac_try" in
 
3787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3788
  *) ac_try_echo=$ac_try;;
 
3789
esac
 
3790
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3791
$as_echo "$ac_try_echo") >&5
 
3792
  (eval "$ac_compile") 2>conftest.er1
 
3793
  ac_status=$?
 
3794
  grep -v '^ *+' conftest.er1 >conftest.err
 
3795
  rm -f conftest.er1
 
3796
  cat conftest.err >&5
 
3797
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3798
  (exit $ac_status); } && {
 
3799
         test -z "$ac_c_werror_flag" ||
 
3800
         test ! -s conftest.err
 
3801
       } && test -s conftest.$ac_objext; then
 
3802
  eval "$as_ac_Header=yes"
 
3803
else
 
3804
  $as_echo "$as_me: failed program was:" >&5
 
3805
sed 's/^/| /' conftest.$ac_ext >&5
 
3806
 
 
3807
        eval "$as_ac_Header=no"
 
3808
fi
 
3809
 
 
3810
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3811
fi
 
3812
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
3813
                 $as_echo "$as_val"'`
 
3814
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
3815
$as_echo "$ac_res" >&6; }
 
3816
as_val=`eval 'as_val=${'$as_ac_Header'}
 
3817
                 $as_echo "$as_val"'`
 
3818
   if test "x$as_val" = x""yes; then
 
3819
  cat >>confdefs.h <<_ACEOF
 
3820
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3821
_ACEOF
 
3822
 
 
3823
fi
 
3824
 
 
3825
done
 
3826
 
 
3827
 
 
3828
 
 
3829
for ac_header in gmp.h
 
3830
do
 
3831
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3832
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
3833
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3834
$as_echo_n "checking for $ac_header... " >&6; }
 
3835
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
3836
  $as_echo_n "(cached) " >&6
 
3837
fi
 
3838
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
3839
                 $as_echo "$as_val"'`
 
3840
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
3841
$as_echo "$ac_res" >&6; }
 
3842
else
 
3843
  # Is the header compilable?
 
3844
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
3845
$as_echo_n "checking $ac_header usability... " >&6; }
 
3846
cat >conftest.$ac_ext <<_ACEOF
 
3847
/* confdefs.h.  */
 
3848
_ACEOF
 
3849
cat confdefs.h >>conftest.$ac_ext
 
3850
cat >>conftest.$ac_ext <<_ACEOF
 
3851
/* end confdefs.h.  */
 
3852
$ac_includes_default
 
3853
#include <$ac_header>
 
3854
_ACEOF
 
3855
rm -f conftest.$ac_objext
 
3856
if { (ac_try="$ac_compile"
 
3857
case "(($ac_try" in
 
3858
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3859
  *) ac_try_echo=$ac_try;;
 
3860
esac
 
3861
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3862
$as_echo "$ac_try_echo") >&5
 
3863
  (eval "$ac_compile") 2>conftest.er1
 
3864
  ac_status=$?
 
3865
  grep -v '^ *+' conftest.er1 >conftest.err
 
3866
  rm -f conftest.er1
 
3867
  cat conftest.err >&5
 
3868
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3869
  (exit $ac_status); } && {
 
3870
         test -z "$ac_c_werror_flag" ||
 
3871
         test ! -s conftest.err
 
3872
       } && test -s conftest.$ac_objext; then
 
3873
  ac_header_compiler=yes
 
3874
else
 
3875
  $as_echo "$as_me: failed program was:" >&5
 
3876
sed 's/^/| /' conftest.$ac_ext >&5
 
3877
 
 
3878
        ac_header_compiler=no
 
3879
fi
 
3880
 
 
3881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3882
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
3883
$as_echo "$ac_header_compiler" >&6; }
 
3884
 
 
3885
# Is the header present?
 
3886
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
3887
$as_echo_n "checking $ac_header presence... " >&6; }
 
3888
cat >conftest.$ac_ext <<_ACEOF
 
3889
/* confdefs.h.  */
 
3890
_ACEOF
 
3891
cat confdefs.h >>conftest.$ac_ext
 
3892
cat >>conftest.$ac_ext <<_ACEOF
 
3893
/* end confdefs.h.  */
 
3894
#include <$ac_header>
 
3895
_ACEOF
 
3896
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3897
case "(($ac_try" in
 
3898
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3899
  *) ac_try_echo=$ac_try;;
 
3900
esac
 
3901
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3902
$as_echo "$ac_try_echo") >&5
 
3903
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3904
  ac_status=$?
 
3905
  grep -v '^ *+' conftest.er1 >conftest.err
 
3906
  rm -f conftest.er1
 
3907
  cat conftest.err >&5
 
3908
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3909
  (exit $ac_status); } >/dev/null && {
 
3910
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3911
         test ! -s conftest.err
 
3912
       }; then
 
3913
  ac_header_preproc=yes
 
3914
else
 
3915
  $as_echo "$as_me: failed program was:" >&5
 
3916
sed 's/^/| /' conftest.$ac_ext >&5
 
3917
 
 
3918
  ac_header_preproc=no
 
3919
fi
 
3920
 
 
3921
rm -f conftest.err conftest.$ac_ext
 
3922
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
3923
$as_echo "$ac_header_preproc" >&6; }
 
3924
 
 
3925
# So?  What about this header?
 
3926
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3927
  yes:no: )
 
3928
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
3929
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
3930
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3931
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3932
    ac_header_preproc=yes
 
3933
    ;;
 
3934
  no:yes:* )
 
3935
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
3936
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
3937
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3938
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3939
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3940
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3941
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3942
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
3943
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
3944
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3945
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3946
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
3947
    ( cat <<\_ASBOX
 
3948
## --------------------------------- ##
 
3949
## Report this to BUG-REPORT-ADDRESS ##
 
3950
## --------------------------------- ##
 
3951
_ASBOX
 
3952
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
3953
    ;;
 
3954
esac
 
3955
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3956
$as_echo_n "checking for $ac_header... " >&6; }
 
3957
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
3958
  $as_echo_n "(cached) " >&6
 
3959
else
 
3960
  eval "$as_ac_Header=\$ac_header_preproc"
 
3961
fi
 
3962
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
3963
                 $as_echo "$as_val"'`
 
3964
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
3965
$as_echo "$ac_res" >&6; }
 
3966
 
 
3967
fi
 
3968
as_val=`eval 'as_val=${'$as_ac_Header'}
 
3969
                 $as_echo "$as_val"'`
 
3970
   if test "x$as_val" = x""yes; then
 
3971
  cat >>confdefs.h <<_ACEOF
 
3972
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3973
_ACEOF
 
3974
 
 
3975
fi
 
3976
 
 
3977
done
 
3978
 
 
3979
 
 
3980
for ac_header in cdd.h
 
3981
do
 
3982
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3983
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
3984
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3985
$as_echo_n "checking for $ac_header... " >&6; }
 
3986
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
3987
  $as_echo_n "(cached) " >&6
 
3988
fi
 
3989
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
3990
                 $as_echo "$as_val"'`
 
3991
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
3992
$as_echo "$ac_res" >&6; }
 
3993
else
 
3994
  # Is the header compilable?
 
3995
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
3996
$as_echo_n "checking $ac_header usability... " >&6; }
 
3997
cat >conftest.$ac_ext <<_ACEOF
 
3998
/* confdefs.h.  */
 
3999
_ACEOF
 
4000
cat confdefs.h >>conftest.$ac_ext
 
4001
cat >>conftest.$ac_ext <<_ACEOF
 
4002
/* end confdefs.h.  */
 
4003
$ac_includes_default
 
4004
#include <$ac_header>
 
4005
_ACEOF
 
4006
rm -f conftest.$ac_objext
 
4007
if { (ac_try="$ac_compile"
 
4008
case "(($ac_try" in
 
4009
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4010
  *) ac_try_echo=$ac_try;;
 
4011
esac
 
4012
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4013
$as_echo "$ac_try_echo") >&5
 
4014
  (eval "$ac_compile") 2>conftest.er1
 
4015
  ac_status=$?
 
4016
  grep -v '^ *+' conftest.er1 >conftest.err
 
4017
  rm -f conftest.er1
 
4018
  cat conftest.err >&5
 
4019
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4020
  (exit $ac_status); } && {
 
4021
         test -z "$ac_c_werror_flag" ||
 
4022
         test ! -s conftest.err
 
4023
       } && test -s conftest.$ac_objext; then
 
4024
  ac_header_compiler=yes
 
4025
else
 
4026
  $as_echo "$as_me: failed program was:" >&5
 
4027
sed 's/^/| /' conftest.$ac_ext >&5
 
4028
 
 
4029
        ac_header_compiler=no
 
4030
fi
 
4031
 
 
4032
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4033
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4034
$as_echo "$ac_header_compiler" >&6; }
 
4035
 
 
4036
# Is the header present?
 
4037
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4038
$as_echo_n "checking $ac_header presence... " >&6; }
 
4039
cat >conftest.$ac_ext <<_ACEOF
 
4040
/* confdefs.h.  */
 
4041
_ACEOF
 
4042
cat confdefs.h >>conftest.$ac_ext
 
4043
cat >>conftest.$ac_ext <<_ACEOF
 
4044
/* end confdefs.h.  */
 
4045
#include <$ac_header>
 
4046
_ACEOF
 
4047
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4048
case "(($ac_try" in
 
4049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4050
  *) ac_try_echo=$ac_try;;
 
4051
esac
 
4052
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4053
$as_echo "$ac_try_echo") >&5
 
4054
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4055
  ac_status=$?
 
4056
  grep -v '^ *+' conftest.er1 >conftest.err
 
4057
  rm -f conftest.er1
 
4058
  cat conftest.err >&5
 
4059
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4060
  (exit $ac_status); } >/dev/null && {
 
4061
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4062
         test ! -s conftest.err
 
4063
       }; then
 
4064
  ac_header_preproc=yes
 
4065
else
 
4066
  $as_echo "$as_me: failed program was:" >&5
 
4067
sed 's/^/| /' conftest.$ac_ext >&5
 
4068
 
 
4069
  ac_header_preproc=no
 
4070
fi
 
4071
 
 
4072
rm -f conftest.err conftest.$ac_ext
 
4073
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4074
$as_echo "$ac_header_preproc" >&6; }
 
4075
 
 
4076
# So?  What about this header?
 
4077
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4078
  yes:no: )
 
4079
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4080
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4081
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4082
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4083
    ac_header_preproc=yes
 
4084
    ;;
 
4085
  no:yes:* )
 
4086
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4087
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4088
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4089
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4090
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4091
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4092
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4093
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4094
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4095
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4096
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4097
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4098
    ( cat <<\_ASBOX
 
4099
## --------------------------------- ##
 
4100
## Report this to BUG-REPORT-ADDRESS ##
 
4101
## --------------------------------- ##
 
4102
_ASBOX
 
4103
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
4104
    ;;
 
4105
esac
 
4106
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4107
$as_echo_n "checking for $ac_header... " >&6; }
 
4108
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4109
  $as_echo_n "(cached) " >&6
 
4110
else
 
4111
  eval "$as_ac_Header=\$ac_header_preproc"
 
4112
fi
 
4113
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4114
                 $as_echo "$as_val"'`
 
4115
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4116
$as_echo "$ac_res" >&6; }
 
4117
 
 
4118
fi
 
4119
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4120
                 $as_echo "$as_val"'`
 
4121
   if test "x$as_val" = x""yes; then
 
4122
  cat >>confdefs.h <<_ACEOF
 
4123
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4124
_ACEOF
 
4125
 
 
4126
fi
 
4127
 
 
4128
done
 
4129
 
 
4130
 
 
4131
for ac_header in setoper.h
 
4132
do
 
4133
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4134
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4135
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4136
$as_echo_n "checking for $ac_header... " >&6; }
 
4137
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4138
  $as_echo_n "(cached) " >&6
 
4139
fi
 
4140
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4141
                 $as_echo "$as_val"'`
 
4142
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4143
$as_echo "$ac_res" >&6; }
 
4144
else
 
4145
  # Is the header compilable?
 
4146
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4147
$as_echo_n "checking $ac_header usability... " >&6; }
 
4148
cat >conftest.$ac_ext <<_ACEOF
 
4149
/* confdefs.h.  */
 
4150
_ACEOF
 
4151
cat confdefs.h >>conftest.$ac_ext
 
4152
cat >>conftest.$ac_ext <<_ACEOF
 
4153
/* end confdefs.h.  */
 
4154
$ac_includes_default
 
4155
#include <$ac_header>
 
4156
_ACEOF
 
4157
rm -f conftest.$ac_objext
 
4158
if { (ac_try="$ac_compile"
 
4159
case "(($ac_try" in
 
4160
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4161
  *) ac_try_echo=$ac_try;;
 
4162
esac
 
4163
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4164
$as_echo "$ac_try_echo") >&5
 
4165
  (eval "$ac_compile") 2>conftest.er1
 
4166
  ac_status=$?
 
4167
  grep -v '^ *+' conftest.er1 >conftest.err
 
4168
  rm -f conftest.er1
 
4169
  cat conftest.err >&5
 
4170
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4171
  (exit $ac_status); } && {
 
4172
         test -z "$ac_c_werror_flag" ||
 
4173
         test ! -s conftest.err
 
4174
       } && test -s conftest.$ac_objext; then
 
4175
  ac_header_compiler=yes
 
4176
else
 
4177
  $as_echo "$as_me: failed program was:" >&5
 
4178
sed 's/^/| /' conftest.$ac_ext >&5
 
4179
 
 
4180
        ac_header_compiler=no
 
4181
fi
 
4182
 
 
4183
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4184
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4185
$as_echo "$ac_header_compiler" >&6; }
 
4186
 
 
4187
# Is the header present?
 
4188
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4189
$as_echo_n "checking $ac_header presence... " >&6; }
 
4190
cat >conftest.$ac_ext <<_ACEOF
 
4191
/* confdefs.h.  */
 
4192
_ACEOF
 
4193
cat confdefs.h >>conftest.$ac_ext
 
4194
cat >>conftest.$ac_ext <<_ACEOF
 
4195
/* end confdefs.h.  */
 
4196
#include <$ac_header>
 
4197
_ACEOF
 
4198
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4199
case "(($ac_try" in
 
4200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4201
  *) ac_try_echo=$ac_try;;
 
4202
esac
 
4203
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4204
$as_echo "$ac_try_echo") >&5
 
4205
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4206
  ac_status=$?
 
4207
  grep -v '^ *+' conftest.er1 >conftest.err
 
4208
  rm -f conftest.er1
 
4209
  cat conftest.err >&5
 
4210
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4211
  (exit $ac_status); } >/dev/null && {
 
4212
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4213
         test ! -s conftest.err
 
4214
       }; then
 
4215
  ac_header_preproc=yes
 
4216
else
 
4217
  $as_echo "$as_me: failed program was:" >&5
 
4218
sed 's/^/| /' conftest.$ac_ext >&5
 
4219
 
 
4220
  ac_header_preproc=no
 
4221
fi
 
4222
 
 
4223
rm -f conftest.err conftest.$ac_ext
 
4224
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4225
$as_echo "$ac_header_preproc" >&6; }
 
4226
 
 
4227
# So?  What about this header?
 
4228
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4229
  yes:no: )
 
4230
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4231
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4232
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4233
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4234
    ac_header_preproc=yes
 
4235
    ;;
 
4236
  no:yes:* )
 
4237
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4238
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4239
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4240
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4241
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4242
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4243
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4244
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4245
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4246
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4247
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4248
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4249
    ( cat <<\_ASBOX
 
4250
## --------------------------------- ##
 
4251
## Report this to BUG-REPORT-ADDRESS ##
 
4252
## --------------------------------- ##
 
4253
_ASBOX
 
4254
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
4255
    ;;
 
4256
esac
 
4257
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4258
$as_echo_n "checking for $ac_header... " >&6; }
 
4259
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4260
  $as_echo_n "(cached) " >&6
 
4261
else
 
4262
  eval "$as_ac_Header=\$ac_header_preproc"
 
4263
fi
 
4264
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4265
                 $as_echo "$as_val"'`
 
4266
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4267
$as_echo "$ac_res" >&6; }
 
4268
 
 
4269
fi
 
4270
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4271
                 $as_echo "$as_val"'`
 
4272
   if test "x$as_val" = x""yes; then
 
4273
  cat >>confdefs.h <<_ACEOF
 
4274
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4275
_ACEOF
 
4276
 
 
4277
fi
 
4278
 
 
4279
done
 
4280
 
 
4281
 
 
4282
if test "$ac_cv_header_gmp_h" == no
 
4283
then
 
4284
        { $as_echo "$as_me:$LINENO: WARNING: Error, gmp.h is missing!" >&5
 
4285
$as_echo "$as_me: WARNING: Error, gmp.h is missing!" >&2;}
 
4286
        exit 1
 
4287
fi
 
4288
 
 
4289
if test "$ac_cv_header_cdd_h" == no
 
4290
then
 
4291
        { $as_echo "$as_me:$LINENO: WARNING: Error, cdd.h is missing!" >&5
 
4292
$as_echo "$as_me: WARNING: Error, cdd.h is missing!" >&2;}
 
4293
        exit 1
 
4294
fi
 
4295
 
 
4296
if test "$ac_cv_header_setoper_h" == no
 
4297
then
 
4298
        { $as_echo "$as_me:$LINENO: WARNING: Error, setoper.h is missing!" >&5
 
4299
$as_echo "$as_me: WARNING: Error, setoper.h is missing!" >&2;}
 
4300
        exit 1
 
4301
fi
 
4302
 
 
4303
# Checks for typedefs, structures, and compiler characteristics.
 
4304
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
 
4305
$as_echo_n "checking for inline... " >&6; }
 
4306
if test "${ac_cv_c_inline+set}" = set; then
 
4307
  $as_echo_n "(cached) " >&6
 
4308
else
 
4309
  ac_cv_c_inline=no
 
4310
for ac_kw in inline __inline__ __inline; do
 
4311
  cat >conftest.$ac_ext <<_ACEOF
 
4312
/* confdefs.h.  */
 
4313
_ACEOF
 
4314
cat confdefs.h >>conftest.$ac_ext
 
4315
cat >>conftest.$ac_ext <<_ACEOF
 
4316
/* end confdefs.h.  */
 
4317
#ifndef __cplusplus
 
4318
typedef int foo_t;
 
4319
static $ac_kw foo_t static_foo () {return 0; }
 
4320
$ac_kw foo_t foo () {return 0; }
 
4321
#endif
 
4322
 
 
4323
_ACEOF
 
4324
rm -f conftest.$ac_objext
 
4325
if { (ac_try="$ac_compile"
 
4326
case "(($ac_try" in
 
4327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4328
  *) ac_try_echo=$ac_try;;
 
4329
esac
 
4330
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4331
$as_echo "$ac_try_echo") >&5
 
4332
  (eval "$ac_compile") 2>conftest.er1
 
4333
  ac_status=$?
 
4334
  grep -v '^ *+' conftest.er1 >conftest.err
 
4335
  rm -f conftest.er1
 
4336
  cat conftest.err >&5
 
4337
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4338
  (exit $ac_status); } && {
 
4339
         test -z "$ac_c_werror_flag" ||
 
4340
         test ! -s conftest.err
 
4341
       } && test -s conftest.$ac_objext; then
 
4342
  ac_cv_c_inline=$ac_kw
 
4343
else
 
4344
  $as_echo "$as_me: failed program was:" >&5
 
4345
sed 's/^/| /' conftest.$ac_ext >&5
 
4346
 
 
4347
 
 
4348
fi
 
4349
 
 
4350
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4351
  test "$ac_cv_c_inline" != no && break
 
4352
done
 
4353
 
 
4354
fi
 
4355
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
4356
$as_echo "$ac_cv_c_inline" >&6; }
 
4357
 
 
4358
 
 
4359
case $ac_cv_c_inline in
 
4360
  inline | yes) ;;
 
4361
  *)
 
4362
    case $ac_cv_c_inline in
 
4363
      no) ac_val=;;
 
4364
      *) ac_val=$ac_cv_c_inline;;
 
4365
    esac
 
4366
    cat >>confdefs.h <<_ACEOF
 
4367
#ifndef __cplusplus
 
4368
#define inline $ac_val
 
4369
#endif
 
4370
_ACEOF
 
4371
    ;;
 
4372
esac
 
4373
 
 
4374
 
 
4375
#AC_MSG_RESULT($ac_cv_singuname)
 
4376
#if test "$ac_cv_singuname" = unknown; then
 
4377
#  AC_MSG_WARN(Unknown architecture: Check singuname.sh)
 
4378
#  ac_cv_singuname="unknown"
 
4379
#fi
 
4380
#AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname")
 
4381
#SINGUNAME=$ac_cv_singuname
 
4382
#AC_SUBST(SINGUNAME)
 
4383
 
 
4384
ac_config_files="$ac_config_files Makefile"
 
4385
 
 
4386
cat >confcache <<\_ACEOF
 
4387
# This file is a shell script that caches the results of configure
 
4388
# tests run on this system so they can be shared between configure
 
4389
# scripts and configure runs, see configure's option --config-cache.
 
4390
# It is not useful on other systems.  If it contains results you don't
 
4391
# want to keep, you may remove or edit it.
 
4392
#
 
4393
# config.status only pays attention to the cache file if you give it
 
4394
# the --recheck option to rerun configure.
 
4395
#
 
4396
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
4397
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
4398
# following values.
 
4399
 
 
4400
_ACEOF
 
4401
 
 
4402
# The following way of writing the cache mishandles newlines in values,
 
4403
# but we know of no workaround that is simple, portable, and efficient.
 
4404
# So, we kill variables containing newlines.
 
4405
# Ultrix sh set writes to stderr and can't be redirected directly,
 
4406
# and sets the high bit in the cache file unless we assign to the vars.
 
4407
(
 
4408
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
4409
    eval ac_val=\$$ac_var
 
4410
    case $ac_val in #(
 
4411
    *${as_nl}*)
 
4412
      case $ac_var in #(
 
4413
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
4414
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
4415
      esac
 
4416
      case $ac_var in #(
 
4417
      _ | IFS | as_nl) ;; #(
 
4418
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
4419
      *) $as_unset $ac_var ;;
 
4420
      esac ;;
 
4421
    esac
 
4422
  done
 
4423
 
 
4424
  (set) 2>&1 |
 
4425
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
4426
    *${as_nl}ac_space=\ *)
 
4427
      # `set' does not quote correctly, so add quotes (double-quote
 
4428
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4429
      sed -n \
 
4430
        "s/'/'\\\\''/g;
 
4431
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
4432
      ;; #(
 
4433
    *)
 
4434
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
4435
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
4436
      ;;
 
4437
    esac |
 
4438
    sort
 
4439
) |
 
4440
  sed '
 
4441
     /^ac_cv_env_/b end
 
4442
     t clear
 
4443
     :clear
 
4444
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
4445
     t end
 
4446
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
4447
     :end' >>confcache
 
4448
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
4449
  if test -w "$cache_file"; then
 
4450
    test "x$cache_file" != "x/dev/null" &&
 
4451
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
4452
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
4453
    cat confcache >$cache_file
 
4454
  else
 
4455
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
4456
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
4457
  fi
 
4458
fi
 
4459
rm -f confcache
 
4460
 
 
4461
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
4462
# Let make expand exec_prefix.
 
4463
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
4464
 
 
4465
# Transform confdefs.h into DEFS.
 
4466
# Protect against shell expansion while executing Makefile rules.
 
4467
# Protect against Makefile macro expansion.
 
4468
#
 
4469
# If the first sed substitution is executed (which looks for macros that
 
4470
# take arguments), then branch to the quote section.  Otherwise,
 
4471
# look for a macro that doesn't take arguments.
 
4472
ac_script='
 
4473
:mline
 
4474
/\\$/{
 
4475
 N
 
4476
 s,\\\n,,
 
4477
 b mline
 
4478
}
 
4479
t clear
 
4480
:clear
 
4481
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
4482
t quote
 
4483
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
4484
t quote
 
4485
b any
 
4486
:quote
 
4487
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
4488
s/\[/\\&/g
 
4489
s/\]/\\&/g
 
4490
s/\$/$$/g
 
4491
H
 
4492
:any
 
4493
${
 
4494
        g
 
4495
        s/^\n//
 
4496
        s/\n/ /g
 
4497
        p
 
4498
}
 
4499
'
 
4500
DEFS=`sed -n "$ac_script" confdefs.h`
 
4501
 
 
4502
 
 
4503
ac_libobjs=
 
4504
ac_ltlibobjs=
 
4505
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
4506
  # 1. Remove the extension, and $U if already installed.
 
4507
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
4508
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
4509
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
4510
  #    will be set to the directory where LIBOBJS objects are built.
 
4511
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4512
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
4513
done
 
4514
LIBOBJS=$ac_libobjs
 
4515
 
 
4516
LTLIBOBJS=$ac_ltlibobjs
 
4517
 
 
4518
 
 
4519
 
 
4520
: ${CONFIG_STATUS=./config.status}
 
4521
ac_write_fail=0
 
4522
ac_clean_files_save=$ac_clean_files
 
4523
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
4524
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
4525
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
4526
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4527
#! $SHELL
 
4528
# Generated by $as_me.
 
4529
# Run this file to recreate the current configuration.
 
4530
# Compiler output produced by configure, useful for debugging
 
4531
# configure, is in config.log if it exists.
 
4532
 
 
4533
debug=false
 
4534
ac_cs_recheck=false
 
4535
ac_cs_silent=false
 
4536
SHELL=\${CONFIG_SHELL-$SHELL}
 
4537
_ACEOF
 
4538
 
 
4539
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
4540
## --------------------- ##
 
4541
## M4sh Initialization.  ##
 
4542
## --------------------- ##
 
4543
 
 
4544
# Be more Bourne compatible
 
4545
DUALCASE=1; export DUALCASE # for MKS sh
 
4546
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4547
  emulate sh
 
4548
  NULLCMD=:
 
4549
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
4550
  # is contrary to our usage.  Disable this feature.
 
4551
  alias -g '${1+"$@"}'='"$@"'
 
4552
  setopt NO_GLOB_SUBST
 
4553
else
 
4554
  case `(set -o) 2>/dev/null` in
 
4555
  *posix*) set -o posix ;;
 
4556
esac
 
4557
 
 
4558
fi
 
4559
 
 
4560
 
 
4561
 
 
4562
 
 
4563
# PATH needs CR
 
4564
# Avoid depending upon Character Ranges.
 
4565
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
4566
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
4567
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
4568
as_cr_digits='0123456789'
 
4569
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
4570
 
 
4571
as_nl='
 
4572
'
 
4573
export as_nl
 
4574
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
4575
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4576
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
4577
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
4578
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4579
  as_echo='printf %s\n'
 
4580
  as_echo_n='printf %s'
 
4581
else
 
4582
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
4583
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
4584
    as_echo_n='/usr/ucb/echo -n'
 
4585
  else
 
4586
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
4587
    as_echo_n_body='eval
 
4588
      arg=$1;
 
4589
      case $arg in
 
4590
      *"$as_nl"*)
 
4591
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
4592
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
4593
      esac;
 
4594
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
4595
    '
 
4596
    export as_echo_n_body
 
4597
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
4598
  fi
 
4599
  export as_echo_body
 
4600
  as_echo='sh -c $as_echo_body as_echo'
 
4601
fi
 
4602
 
 
4603
# The user is always right.
 
4604
if test "${PATH_SEPARATOR+set}" != set; then
 
4605
  PATH_SEPARATOR=:
 
4606
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
4607
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
4608
      PATH_SEPARATOR=';'
 
4609
  }
 
4610
fi
 
4611
 
 
4612
# Support unset when possible.
 
4613
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4614
  as_unset=unset
 
4615
else
 
4616
  as_unset=false
 
4617
fi
 
4618
 
 
4619
 
 
4620
# IFS
 
4621
# We need space, tab and new line, in precisely that order.  Quoting is
 
4622
# there to prevent editors from complaining about space-tab.
 
4623
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
4624
# splitting by setting IFS to empty value.)
 
4625
IFS=" ""        $as_nl"
 
4626
 
 
4627
# Find who we are.  Look in the path if we contain no directory separator.
 
4628
case $0 in
 
4629
  *[\\/]* ) as_myself=$0 ;;
 
4630
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4631
for as_dir in $PATH
 
4632
do
 
4633
  IFS=$as_save_IFS
 
4634
  test -z "$as_dir" && as_dir=.
 
4635
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4636
done
 
4637
IFS=$as_save_IFS
 
4638
 
 
4639
     ;;
 
4640
esac
 
4641
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
4642
# in which case we are not to be found in the path.
 
4643
if test "x$as_myself" = x; then
 
4644
  as_myself=$0
 
4645
fi
 
4646
if test ! -f "$as_myself"; then
 
4647
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
4648
  { (exit 1); exit 1; }
 
4649
fi
 
4650
 
 
4651
# Work around bugs in pre-3.0 UWIN ksh.
 
4652
for as_var in ENV MAIL MAILPATH
 
4653
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4654
done
 
4655
PS1='$ '
 
4656
PS2='> '
 
4657
PS4='+ '
 
4658
 
 
4659
# NLS nuisances.
 
4660
LC_ALL=C
 
4661
export LC_ALL
 
4662
LANGUAGE=C
 
4663
export LANGUAGE
 
4664
 
 
4665
# Required to use basename.
 
4666
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4667
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
4668
  as_expr=expr
 
4669
else
 
4670
  as_expr=false
 
4671
fi
 
4672
 
 
4673
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
4674
  as_basename=basename
 
4675
else
 
4676
  as_basename=false
 
4677
fi
 
4678
 
 
4679
 
 
4680
# Name of the executable.
 
4681
as_me=`$as_basename -- "$0" ||
 
4682
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
4683
         X"$0" : 'X\(//\)$' \| \
 
4684
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
4685
$as_echo X/"$0" |
 
4686
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
4687
            s//\1/
 
4688
            q
 
4689
          }
 
4690
          /^X\/\(\/\/\)$/{
 
4691
            s//\1/
 
4692
            q
 
4693
          }
 
4694
          /^X\/\(\/\).*/{
 
4695
            s//\1/
 
4696
            q
 
4697
          }
 
4698
          s/.*/./; q'`
 
4699
 
 
4700
# CDPATH.
 
4701
$as_unset CDPATH
 
4702
 
 
4703
 
 
4704
 
 
4705
  as_lineno_1=$LINENO
 
4706
  as_lineno_2=$LINENO
 
4707
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
4708
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
4709
 
 
4710
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
4711
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
4712
  # line-number line after each line using $LINENO; the second 'sed'
 
4713
  # does the real work.  The second script uses 'N' to pair each
 
4714
  # line-number line with the line containing $LINENO, and appends
 
4715
  # trailing '-' during substitution so that $LINENO is not a special
 
4716
  # case at line end.
 
4717
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
4718
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
4719
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
4720
  sed -n '
 
4721
    p
 
4722
    /[$]LINENO/=
 
4723
  ' <$as_myself |
 
4724
    sed '
 
4725
      s/[$]LINENO.*/&-/
 
4726
      t lineno
 
4727
      b
 
4728
      :lineno
 
4729
      N
 
4730
      :loop
 
4731
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
4732
      t loop
 
4733
      s/-\n.*//
 
4734
    ' >$as_me.lineno &&
 
4735
  chmod +x "$as_me.lineno" ||
 
4736
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
4737
   { (exit 1); exit 1; }; }
 
4738
 
 
4739
  # Don't try to exec as it changes $[0], causing all sort of problems
 
4740
  # (the dirname of $[0] is not the place where we might find the
 
4741
  # original and so on.  Autoconf is especially sensitive to this).
 
4742
  . "./$as_me.lineno"
 
4743
  # Exit status is that of the last command.
 
4744
  exit
 
4745
}
 
4746
 
 
4747
 
 
4748
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
4749
  as_dirname=dirname
 
4750
else
 
4751
  as_dirname=false
 
4752
fi
 
4753
 
 
4754
ECHO_C= ECHO_N= ECHO_T=
 
4755
case `echo -n x` in
 
4756
-n*)
 
4757
  case `echo 'x\c'` in
 
4758
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
4759
  *)   ECHO_C='\c';;
 
4760
  esac;;
 
4761
*)
 
4762
  ECHO_N='-n';;
 
4763
esac
 
4764
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4765
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
4766
  as_expr=expr
 
4767
else
 
4768
  as_expr=false
 
4769
fi
 
4770
 
 
4771
rm -f conf$$ conf$$.exe conf$$.file
 
4772
if test -d conf$$.dir; then
 
4773
  rm -f conf$$.dir/conf$$.file
 
4774
else
 
4775
  rm -f conf$$.dir
 
4776
  mkdir conf$$.dir 2>/dev/null
 
4777
fi
 
4778
if (echo >conf$$.file) 2>/dev/null; then
 
4779
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
4780
    as_ln_s='ln -s'
 
4781
    # ... but there are two gotchas:
 
4782
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
4783
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
4784
    # In both cases, we have to default to `cp -p'.
 
4785
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
4786
      as_ln_s='cp -p'
 
4787
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
4788
    as_ln_s=ln
 
4789
  else
 
4790
    as_ln_s='cp -p'
 
4791
  fi
 
4792
else
 
4793
  as_ln_s='cp -p'
 
4794
fi
 
4795
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
4796
rmdir conf$$.dir 2>/dev/null
 
4797
 
 
4798
if mkdir -p . 2>/dev/null; then
 
4799
  as_mkdir_p=:
 
4800
else
 
4801
  test -d ./-p && rmdir ./-p
 
4802
  as_mkdir_p=false
 
4803
fi
 
4804
 
 
4805
if test -x / >/dev/null 2>&1; then
 
4806
  as_test_x='test -x'
 
4807
else
 
4808
  if ls -dL / >/dev/null 2>&1; then
 
4809
    as_ls_L_option=L
 
4810
  else
 
4811
    as_ls_L_option=
 
4812
  fi
 
4813
  as_test_x='
 
4814
    eval sh -c '\''
 
4815
      if test -d "$1"; then
 
4816
        test -d "$1/.";
 
4817
      else
 
4818
        case $1 in
 
4819
        -*)set "./$1";;
 
4820
        esac;
 
4821
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
4822
        ???[sx]*):;;*)false;;esac;fi
 
4823
    '\'' sh
 
4824
  '
 
4825
fi
 
4826
as_executable_p=$as_test_x
 
4827
 
 
4828
# Sed expression to map a string onto a valid CPP name.
 
4829
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
4830
 
 
4831
# Sed expression to map a string onto a valid variable name.
 
4832
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
4833
 
 
4834
 
 
4835
exec 6>&1
 
4836
 
 
4837
# Save the log message, to keep $[0] and so on meaningful, and to
 
4838
# report actual input values of CONFIG_FILES etc. instead of their
 
4839
# values after options handling.
 
4840
ac_log="
 
4841
This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
 
4842
generated by GNU Autoconf 2.63.  Invocation command line was
 
4843
 
 
4844
  CONFIG_FILES    = $CONFIG_FILES
 
4845
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
4846
  CONFIG_LINKS    = $CONFIG_LINKS
 
4847
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
4848
  $ $0 $@
 
4849
 
 
4850
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
4851
"
 
4852
 
 
4853
_ACEOF
 
4854
 
 
4855
case $ac_config_files in *"
 
4856
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
4857
esac
 
4858
 
 
4859
 
 
4860
 
 
4861
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4862
# Files that config.status was made for.
 
4863
config_files="$ac_config_files"
 
4864
 
 
4865
_ACEOF
 
4866
 
 
4867
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
4868
ac_cs_usage="\
 
4869
\`$as_me' instantiates files from templates according to the
 
4870
current configuration.
 
4871
 
 
4872
Usage: $0 [OPTION]... [FILE]...
 
4873
 
 
4874
  -h, --help       print this help, then exit
 
4875
  -V, --version    print version number and configuration settings, then exit
 
4876
  -q, --quiet, --silent
 
4877
                   do not print progress messages
 
4878
  -d, --debug      don't remove temporary files
 
4879
      --recheck    update $as_me by reconfiguring in the same conditions
 
4880
      --file=FILE[:TEMPLATE]
 
4881
                   instantiate the configuration file FILE
 
4882
 
 
4883
Configuration files:
 
4884
$config_files
 
4885
 
 
4886
Report bugs to <bug-autoconf@gnu.org>."
 
4887
 
 
4888
_ACEOF
 
4889
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4890
ac_cs_version="\\
 
4891
FULL-PACKAGE-NAME config.status VERSION
 
4892
configured by $0, generated by GNU Autoconf 2.63,
 
4893
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
4894
 
 
4895
Copyright (C) 2008 Free Software Foundation, Inc.
 
4896
This config.status script is free software; the Free Software Foundation
 
4897
gives unlimited permission to copy, distribute and modify it."
 
4898
 
 
4899
ac_pwd='$ac_pwd'
 
4900
srcdir='$srcdir'
 
4901
test -n "\$AWK" || AWK=awk
 
4902
_ACEOF
 
4903
 
 
4904
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
4905
# The default lists apply if the user does not specify any file.
 
4906
ac_need_defaults=:
 
4907
while test $# != 0
 
4908
do
 
4909
  case $1 in
 
4910
  --*=*)
 
4911
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
4912
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
4913
    ac_shift=:
 
4914
    ;;
 
4915
  *)
 
4916
    ac_option=$1
 
4917
    ac_optarg=$2
 
4918
    ac_shift=shift
 
4919
    ;;
 
4920
  esac
 
4921
 
 
4922
  case $ac_option in
 
4923
  # Handling of the options.
 
4924
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
4925
    ac_cs_recheck=: ;;
 
4926
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
4927
    $as_echo "$ac_cs_version"; exit ;;
 
4928
  --debug | --debu | --deb | --de | --d | -d )
 
4929
    debug=: ;;
 
4930
  --file | --fil | --fi | --f )
 
4931
    $ac_shift
 
4932
    case $ac_optarg in
 
4933
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
4934
    esac
 
4935
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
4936
    ac_need_defaults=false;;
 
4937
  --he | --h |  --help | --hel | -h )
 
4938
    $as_echo "$ac_cs_usage"; exit ;;
 
4939
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
4940
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
4941
    ac_cs_silent=: ;;
 
4942
 
 
4943
  # This is an error.
 
4944
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
4945
Try \`$0 --help' for more information." >&2
 
4946
   { (exit 1); exit 1; }; } ;;
 
4947
 
 
4948
  *) ac_config_targets="$ac_config_targets $1"
 
4949
     ac_need_defaults=false ;;
 
4950
 
 
4951
  esac
 
4952
  shift
 
4953
done
 
4954
 
 
4955
ac_configure_extra_args=
 
4956
 
 
4957
if $ac_cs_silent; then
 
4958
  exec 6>/dev/null
 
4959
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
4960
fi
 
4961
 
 
4962
_ACEOF
 
4963
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4964
if \$ac_cs_recheck; then
 
4965
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
4966
  shift
 
4967
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
4968
  CONFIG_SHELL='$SHELL'
 
4969
  export CONFIG_SHELL
 
4970
  exec "\$@"
 
4971
fi
 
4972
 
 
4973
_ACEOF
 
4974
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
4975
exec 5>>config.log
 
4976
{
 
4977
  echo
 
4978
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
4979
## Running $as_me. ##
 
4980
_ASBOX
 
4981
  $as_echo "$ac_log"
 
4982
} >&5
 
4983
 
 
4984
_ACEOF
 
4985
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4986
_ACEOF
 
4987
 
 
4988
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
4989
 
 
4990
# Handling of arguments.
 
4991
for ac_config_target in $ac_config_targets
 
4992
do
 
4993
  case $ac_config_target in
 
4994
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
4995
 
 
4996
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
4997
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
4998
   { (exit 1); exit 1; }; };;
 
4999
  esac
 
5000
done
 
5001
 
 
5002
 
 
5003
# If the user did not use the arguments to specify the items to instantiate,
 
5004
# then the envvar interface is used.  Set only those that are not.
 
5005
# We use the long form for the default assignment because of an extremely
 
5006
# bizarre bug on SunOS 4.1.3.
 
5007
if $ac_need_defaults; then
 
5008
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
5009
fi
 
5010
 
 
5011
# Have a temporary directory for convenience.  Make it in the build tree
 
5012
# simply because there is no reason against having it here, and in addition,
 
5013
# creating and moving files from /tmp can sometimes cause problems.
 
5014
# Hook for its removal unless debugging.
 
5015
# Note that there is a small window in which the directory will not be cleaned:
 
5016
# after its creation but before its name has been assigned to `$tmp'.
 
5017
$debug ||
 
5018
{
 
5019
  tmp=
 
5020
  trap 'exit_status=$?
 
5021
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5022
' 0
 
5023
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5024
}
 
5025
# Create a (secure) tmp directory for tmp files.
 
5026
 
 
5027
{
 
5028
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
5029
  test -n "$tmp" && test -d "$tmp"
 
5030
}  ||
 
5031
{
 
5032
  tmp=./conf$$-$RANDOM
 
5033
  (umask 077 && mkdir "$tmp")
 
5034
} ||
 
5035
{
 
5036
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
 
5037
   { (exit 1); exit 1; }
 
5038
}
 
5039
 
 
5040
# Set up the scripts for CONFIG_FILES section.
 
5041
# No need to generate them if there are no CONFIG_FILES.
 
5042
# This happens for instance with `./config.status config.h'.
 
5043
if test -n "$CONFIG_FILES"; then
 
5044
 
 
5045
 
 
5046
ac_cr='
 
 
b"'"
 
5047
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
5048
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
5049
  ac_cs_awk_cr='\\r'
 
5050
else
 
5051
  ac_cs_awk_cr=$ac_cr
 
5052
fi
 
5053
 
 
5054
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
5055
_ACEOF
 
5056
 
 
5057
 
 
5058
{
 
5059
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
5060
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
5061
  echo "_ACEOF"
 
5062
} >conf$$subs.sh ||
 
5063
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
5064
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
5065
   { (exit 1); exit 1; }; }
 
5066
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
5067
ac_delim='%!_!# '
 
5068
for ac_last_try in false false false false false :; do
 
5069
  . ./conf$$subs.sh ||
 
5070
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
5071
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
5072
   { (exit 1); exit 1; }; }
 
5073
 
 
5074
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
5075
  if test $ac_delim_n = $ac_delim_num; then
 
5076
    break
 
5077
  elif $ac_last_try; then
 
5078
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
5079
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
5080
   { (exit 1); exit 1; }; }
 
5081
  else
 
5082
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
5083
  fi
 
5084
done
 
5085
rm -f conf$$subs.sh
 
5086
 
 
5087
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5088
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5089
_ACEOF
 
5090
sed -n '
 
5091
h
 
5092
s/^/S["/; s/!.*/"]=/
 
5093
p
 
5094
g
 
5095
s/^[^!]*!//
 
5096
:repl
 
5097
t repl
 
5098
s/'"$ac_delim"'$//
 
5099
t delim
 
5100
:nl
 
5101
h
 
5102
s/\(.\{148\}\).*/\1/
 
5103
t more1
 
5104
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
5105
p
 
5106
n
 
5107
b repl
 
5108
:more1
 
5109
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5110
p
 
5111
g
 
5112
s/.\{148\}//
 
5113
t nl
 
5114
:delim
 
5115
h
 
5116
s/\(.\{148\}\).*/\1/
 
5117
t more2
 
5118
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
5119
p
 
5120
b
 
5121
:more2
 
5122
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
5123
p
 
5124
g
 
5125
s/.\{148\}//
 
5126
t delim
 
5127
' <conf$$subs.awk | sed '
 
5128
/^[^""]/{
 
5129
  N
 
5130
  s/\n//
 
5131
}
 
5132
' >>$CONFIG_STATUS || ac_write_fail=1
 
5133
rm -f conf$$subs.awk
 
5134
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5135
_ACAWK
 
5136
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5137
  for (key in S) S_is_set[key] = 1
 
5138
  FS = ""
 
5139
 
 
5140
}
 
5141
{
 
5142
  line = $ 0
 
5143
  nfields = split(line, field, "@")
 
5144
  substed = 0
 
5145
  len = length(field[1])
 
5146
  for (i = 2; i < nfields; i++) {
 
5147
    key = field[i]
 
5148
    keylen = length(key)
 
5149
    if (S_is_set[key]) {
 
5150
      value = S[key]
 
5151
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
5152
      len += length(value) + length(field[++i])
 
5153
      substed = 1
 
5154
    } else
 
5155
      len += 1 + keylen
 
5156
  }
 
5157
 
 
5158
  print line
 
5159
}
 
5160
 
 
5161
_ACAWK
 
5162
_ACEOF
 
5163
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5164
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
5165
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
5166
else
 
5167
  cat
 
5168
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
5169
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
5170
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
5171
   { (exit 1); exit 1; }; }
 
5172
_ACEOF
 
5173
 
 
5174
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
5175
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
5176
# trailing colons and then remove the whole line if VPATH becomes empty
 
5177
# (actually we leave an empty line to preserve line numbers).
 
5178
if test "x$srcdir" = x.; then
 
5179
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
5180
s/:*\$(srcdir):*/:/
 
5181
s/:*\${srcdir}:*/:/
 
5182
s/:*@srcdir@:*/:/
 
5183
s/^\([^=]*=[     ]*\):*/\1/
 
5184
s/:*$//
 
5185
s/^[^=]*=[       ]*$//
 
5186
}'
 
5187
fi
 
5188
 
 
5189
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5190
fi # test -n "$CONFIG_FILES"
 
5191
 
 
5192
 
 
5193
eval set X "  :F $CONFIG_FILES      "
 
5194
shift
 
5195
for ac_tag
 
5196
do
 
5197
  case $ac_tag in
 
5198
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
5199
  esac
 
5200
  case $ac_mode$ac_tag in
 
5201
  :[FHL]*:*);;
 
5202
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
5203
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
5204
   { (exit 1); exit 1; }; };;
 
5205
  :[FH]-) ac_tag=-:-;;
 
5206
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
5207
  esac
 
5208
  ac_save_IFS=$IFS
 
5209
  IFS=:
 
5210
  set x $ac_tag
 
5211
  IFS=$ac_save_IFS
 
5212
  shift
 
5213
  ac_file=$1
 
5214
  shift
 
5215
 
 
5216
  case $ac_mode in
 
5217
  :L) ac_source=$1;;
 
5218
  :[FH])
 
5219
    ac_file_inputs=
 
5220
    for ac_f
 
5221
    do
 
5222
      case $ac_f in
 
5223
      -) ac_f="$tmp/stdin";;
 
5224
      *) # Look for the file first in the build tree, then in the source tree
 
5225
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
5226
         # because $ac_f cannot contain `:'.
 
5227
         test -f "$ac_f" ||
 
5228
           case $ac_f in
 
5229
           [\\/$]*) false;;
 
5230
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
5231
           esac ||
 
5232
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
5233
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
5234
   { (exit 1); exit 1; }; };;
 
5235
      esac
 
5236
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
5237
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
5238
    done
 
5239
 
 
5240
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
5241
    # use $as_me), people would be surprised to read:
 
5242
    #    /* config.h.  Generated by config.status.  */
 
5243
    configure_input='Generated from '`
 
5244
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
5245
        `' by configure.'
 
5246
    if test x"$ac_file" != x-; then
 
5247
      configure_input="$ac_file.  $configure_input"
 
5248
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
5249
$as_echo "$as_me: creating $ac_file" >&6;}
 
5250
    fi
 
5251
    # Neutralize special characters interpreted by sed in replacement strings.
 
5252
    case $configure_input in #(
 
5253
    *\&* | *\|* | *\\* )
 
5254
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
5255
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
5256
    *) ac_sed_conf_input=$configure_input;;
 
5257
    esac
 
5258
 
 
5259
    case $ac_tag in
 
5260
    *:-:* | *:-) cat >"$tmp/stdin" \
 
5261
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
5262
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
5263
   { (exit 1); exit 1; }; } ;;
 
5264
    esac
 
5265
    ;;
 
5266
  esac
 
5267
 
 
5268
  ac_dir=`$as_dirname -- "$ac_file" ||
 
5269
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5270
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
5271
         X"$ac_file" : 'X\(//\)$' \| \
 
5272
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
5273
$as_echo X"$ac_file" |
 
5274
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5275
            s//\1/
 
5276
            q
 
5277
          }
 
5278
          /^X\(\/\/\)[^/].*/{
 
5279
            s//\1/
 
5280
            q
 
5281
          }
 
5282
          /^X\(\/\/\)$/{
 
5283
            s//\1/
 
5284
            q
 
5285
          }
 
5286
          /^X\(\/\).*/{
 
5287
            s//\1/
 
5288
            q
 
5289
          }
 
5290
          s/.*/./; q'`
 
5291
  { as_dir="$ac_dir"
 
5292
  case $as_dir in #(
 
5293
  -*) as_dir=./$as_dir;;
 
5294
  esac
 
5295
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
5296
    as_dirs=
 
5297
    while :; do
 
5298
      case $as_dir in #(
 
5299
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
5300
      *) as_qdir=$as_dir;;
 
5301
      esac
 
5302
      as_dirs="'$as_qdir' $as_dirs"
 
5303
      as_dir=`$as_dirname -- "$as_dir" ||
 
5304
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5305
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5306
         X"$as_dir" : 'X\(//\)$' \| \
 
5307
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5308
$as_echo X"$as_dir" |
 
5309
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5310
            s//\1/
 
5311
            q
 
5312
          }
 
5313
          /^X\(\/\/\)[^/].*/{
 
5314
            s//\1/
 
5315
            q
 
5316
          }
 
5317
          /^X\(\/\/\)$/{
 
5318
            s//\1/
 
5319
            q
 
5320
          }
 
5321
          /^X\(\/\).*/{
 
5322
            s//\1/
 
5323
            q
 
5324
          }
 
5325
          s/.*/./; q'`
 
5326
      test -d "$as_dir" && break
 
5327
    done
 
5328
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5329
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
5330
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
5331
   { (exit 1); exit 1; }; }; }
 
5332
  ac_builddir=.
 
5333
 
 
5334
case "$ac_dir" in
 
5335
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
5336
*)
 
5337
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
5338
  # A ".." for each directory in $ac_dir_suffix.
 
5339
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
5340
  case $ac_top_builddir_sub in
 
5341
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
5342
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
5343
  esac ;;
 
5344
esac
 
5345
ac_abs_top_builddir=$ac_pwd
 
5346
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
5347
# for backward compatibility:
 
5348
ac_top_builddir=$ac_top_build_prefix
 
5349
 
 
5350
case $srcdir in
 
5351
  .)  # We are building in place.
 
5352
    ac_srcdir=.
 
5353
    ac_top_srcdir=$ac_top_builddir_sub
 
5354
    ac_abs_top_srcdir=$ac_pwd ;;
 
5355
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
5356
    ac_srcdir=$srcdir$ac_dir_suffix;
 
5357
    ac_top_srcdir=$srcdir
 
5358
    ac_abs_top_srcdir=$srcdir ;;
 
5359
  *) # Relative name.
 
5360
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
5361
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
5362
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
5363
esac
 
5364
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
5365
 
 
5366
 
 
5367
  case $ac_mode in
 
5368
  :F)
 
5369
  #
 
5370
  # CONFIG_FILE
 
5371
  #
 
5372
 
 
5373
_ACEOF
 
5374
 
 
5375
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5376
# If the template does not know about datarootdir, expand it.
 
5377
# FIXME: This hack should be removed a few years after 2.60.
 
5378
ac_datarootdir_hack=; ac_datarootdir_seen=
 
5379
 
 
5380
ac_sed_dataroot='
 
5381
/datarootdir/ {
 
5382
  p
 
5383
  q
 
5384
}
 
5385
/@datadir@/p
 
5386
/@docdir@/p
 
5387
/@infodir@/p
 
5388
/@localedir@/p
 
5389
/@mandir@/p
 
5390
'
 
5391
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
5392
*datarootdir*) ac_datarootdir_seen=yes;;
 
5393
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
5394
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5395
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
5396
_ACEOF
 
5397
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5398
  ac_datarootdir_hack='
 
5399
  s&@datadir@&$datadir&g
 
5400
  s&@docdir@&$docdir&g
 
5401
  s&@infodir@&$infodir&g
 
5402
  s&@localedir@&$localedir&g
 
5403
  s&@mandir@&$mandir&g
 
5404
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
5405
esac
 
5406
_ACEOF
 
5407
 
 
5408
# Neutralize VPATH when `$srcdir' = `.'.
 
5409
# Shell code in configure.ac might set extrasub.
 
5410
# FIXME: do we really want to maintain this feature?
 
5411
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5412
ac_sed_extra="$ac_vpsub
 
5413
$extrasub
 
5414
_ACEOF
 
5415
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5416
:t
 
5417
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
5418
s|@configure_input@|$ac_sed_conf_input|;t t
 
5419
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
5420
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
5421
s&@srcdir@&$ac_srcdir&;t t
 
5422
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
5423
s&@top_srcdir@&$ac_top_srcdir&;t t
 
5424
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
5425
s&@builddir@&$ac_builddir&;t t
 
5426
s&@abs_builddir@&$ac_abs_builddir&;t t
 
5427
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
5428
$ac_datarootdir_hack
 
5429
"
 
5430
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
5431
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
5432
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
5433
   { (exit 1); exit 1; }; }
 
5434
 
 
5435
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
5436
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
5437
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
5438
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5439
which seems to be undefined.  Please make sure it is defined." >&5
 
5440
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5441
which seems to be undefined.  Please make sure it is defined." >&2;}
 
5442
 
 
5443
  rm -f "$tmp/stdin"
 
5444
  case $ac_file in
 
5445
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
5446
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
5447
  esac \
 
5448
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
5449
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
5450
   { (exit 1); exit 1; }; }
 
5451
 ;;
 
5452
 
 
5453
 
 
5454
 
 
5455
  esac
 
5456
 
 
5457
done # for ac_tag
 
5458
 
 
5459
 
 
5460
{ (exit 0); exit 0; }
 
5461
_ACEOF
 
5462
chmod +x $CONFIG_STATUS
 
5463
ac_clean_files=$ac_clean_files_save
 
5464
 
 
5465
test $ac_write_fail = 0 ||
 
5466
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
5467
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
5468
   { (exit 1); exit 1; }; }
 
5469
 
 
5470
 
 
5471
# configure is writing to config.log, and then calls config.status.
 
5472
# config.status does its own redirection, appending to config.log.
 
5473
# Unfortunately, on DOS this fails, as config.log is still kept open
 
5474
# by configure, so config.status won't be able to write to it; its
 
5475
# output is simply discarded.  So we exec the FD to /dev/null,
 
5476
# effectively closing config.log, so it can be properly (re)opened and
 
5477
# appended to by config.status.  When coming back to configure, we
 
5478
# need to make the FD available again.
 
5479
if test "$no_create" != yes; then
 
5480
  ac_cs_success=:
 
5481
  ac_config_status_args=
 
5482
  test "$silent" = yes &&
 
5483
    ac_config_status_args="$ac_config_status_args --quiet"
 
5484
  exec 5>/dev/null
 
5485
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
5486
  exec 5>>config.log
 
5487
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
5488
  # would make configure fail if this is the last instruction.
 
5489
  $ac_cs_success || { (exit 1); exit 1; }
 
5490
fi
 
5491
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
5492
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
5493
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
5494
fi
 
5495