~ubuntu-branches/ubuntu/natty/ibm-3270/natty

« back to all changes in this revision

Viewing changes to .pc/libx3270.patch/pr3287/configure

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2009-12-14 11:48:53 UTC
  • mfrom: (1.1.4 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091214114853-mywixml32hct9jr1
Tags: 3.3.10ga4-2
* Fix section to match override.
* Use debhelper compat level 7.
* Use 3.0 (quilt) source format.

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