~ubuntu-branches/debian/jessie/mtr/jessie

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • Committer: Bazaar Package Importer
  • Author(s): Robert Woodcock
  • Date: 2008-04-16 19:38:12 UTC
  • mfrom: (1.2.1 upstream) (5.1.1 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080416193812-c9tw92dcxlc5gg0y
Tags: 0.73-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
@%:@! /bin/sh
2
2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.59.
 
3
@%:@ Generated by GNU Autoconf 2.61.
4
4
@%:@ 
5
 
@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
 
5
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
@%:@ This configure script is free software; the Free Software Foundation
7
8
@%:@ gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
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
  # Zsh 3.x and 4.x performs 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
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
    
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
 
551
 
 
552
exec 7<&0 </dev/null 6>&1
243
553
 
244
554
# Name of the host.
245
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
556
# so uname gets run too.
247
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
558
 
249
 
exec 6>&1
250
 
 
251
559
#
252
560
# Initializations.
253
561
#
254
562
ac_default_prefix=/usr/local
 
563
ac_clean_files=
255
564
ac_config_libobj_dir=.
 
565
LIB@&t@OBJS=
256
566
cross_compiling=no
257
567
subdirs=
258
568
MFLAGS=
259
569
MAKEFLAGS=
260
570
SHELL=${CONFIG_SHELL-/bin/sh}
261
571
 
262
 
# Maximum number of lines to put in a shell here document.
263
 
# This variable seems obsolete.  It should probably be removed, and
264
 
# only ac_max_sed_lines should be used.
265
 
: ${ac_max_here_lines=38}
266
 
 
267
572
# Identity of this package.
268
573
PACKAGE_NAME=
269
574
PACKAGE_TARNAME=
275
580
# Factoring default headers for most tests.
276
581
ac_includes_default="\
277
582
#include <stdio.h>
278
 
#if HAVE_SYS_TYPES_H
 
583
#ifdef HAVE_SYS_TYPES_H
279
584
# include <sys/types.h>
280
585
#endif
281
 
#if HAVE_SYS_STAT_H
 
586
#ifdef HAVE_SYS_STAT_H
282
587
# include <sys/stat.h>
283
588
#endif
284
 
#if STDC_HEADERS
 
589
#ifdef STDC_HEADERS
285
590
# include <stdlib.h>
286
591
# include <stddef.h>
287
592
#else
288
 
# if HAVE_STDLIB_H
 
593
# ifdef HAVE_STDLIB_H
289
594
#  include <stdlib.h>
290
595
# endif
291
596
#endif
292
 
#if HAVE_STRING_H
293
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
597
#ifdef HAVE_STRING_H
 
598
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
294
599
#  include <memory.h>
295
600
# endif
296
601
# include <string.h>
297
602
#endif
298
 
#if HAVE_STRINGS_H
 
603
#ifdef HAVE_STRINGS_H
299
604
# include <strings.h>
300
605
#endif
301
 
#if HAVE_INTTYPES_H
 
606
#ifdef HAVE_INTTYPES_H
302
607
# include <inttypes.h>
303
 
#else
304
 
# if HAVE_STDINT_H
305
 
#  include <stdint.h>
306
 
# endif
307
 
#endif
308
 
#if HAVE_UNISTD_H
 
608
#endif
 
609
#ifdef HAVE_STDINT_H
 
610
# include <stdint.h>
 
611
#endif
 
612
#ifdef HAVE_UNISTD_H
309
613
# include <unistd.h>
310
614
#endif"
311
615
 
312
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE GTK_OBJ CURSES_OBJ CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG LIB@&t@OBJS LTLIBOBJS'
 
616
ac_subst_vars='SHELL
 
617
PATH_SEPARATOR
 
618
PACKAGE_NAME
 
619
PACKAGE_TARNAME
 
620
PACKAGE_VERSION
 
621
PACKAGE_STRING
 
622
PACKAGE_BUGREPORT
 
623
exec_prefix
 
624
prefix
 
625
program_transform_name
 
626
bindir
 
627
sbindir
 
628
libexecdir
 
629
datarootdir
 
630
datadir
 
631
sysconfdir
 
632
sharedstatedir
 
633
localstatedir
 
634
includedir
 
635
oldincludedir
 
636
docdir
 
637
infodir
 
638
htmldir
 
639
dvidir
 
640
pdfdir
 
641
psdir
 
642
libdir
 
643
localedir
 
644
mandir
 
645
DEFS
 
646
ECHO_C
 
647
ECHO_N
 
648
ECHO_T
 
649
LIBS
 
650
build_alias
 
651
host_alias
 
652
target_alias
 
653
INSTALL_PROGRAM
 
654
INSTALL_SCRIPT
 
655
INSTALL_DATA
 
656
CYGPATH_W
 
657
PACKAGE
 
658
VERSION
 
659
ACLOCAL
 
660
AUTOCONF
 
661
AUTOMAKE
 
662
AUTOHEADER
 
663
MAKEINFO
 
664
install_sh
 
665
STRIP
 
666
INSTALL_STRIP_PROGRAM
 
667
mkdir_p
 
668
AWK
 
669
SET_MAKE
 
670
am__leading_dot
 
671
AMTAR
 
672
am__tar
 
673
am__untar
 
674
GTK_OBJ
 
675
CURSES_OBJ
 
676
CC
 
677
CFLAGS
 
678
LDFLAGS
 
679
CPPFLAGS
 
680
ac_ct_CC
 
681
EXEEXT
 
682
OBJEXT
 
683
DEPDIR
 
684
am__include
 
685
am__quote
 
686
AMDEP_TRUE
 
687
AMDEP_FALSE
 
688
AMDEPBACKSLASH
 
689
CCDEPMODE
 
690
am__fastdepCC_TRUE
 
691
am__fastdepCC_FALSE
 
692
CPP
 
693
GREP
 
694
EGREP
 
695
PKG_CONFIG
 
696
GTK_CFLAGS
 
697
GTK_LIBS
 
698
LIB@&t@OBJS
 
699
LTLIBOBJS'
313
700
ac_subst_files=''
 
701
      ac_precious_vars='build_alias
 
702
host_alias
 
703
target_alias
 
704
CC
 
705
CFLAGS
 
706
LDFLAGS
 
707
LIBS
 
708
CPPFLAGS
 
709
CPP'
 
710
 
314
711
 
315
712
# Initialize some variables set by options.
316
713
ac_init_help=
337
734
# and all the variables that are supposed to be based on exec_prefix
338
735
# by default will actually change.
339
736
# Use braces instead of parens because sh, perl, etc. also accept them.
 
737
# (The list follows the same order as the GNU Coding Standards.)
340
738
bindir='${exec_prefix}/bin'
341
739
sbindir='${exec_prefix}/sbin'
342
740
libexecdir='${exec_prefix}/libexec'
343
 
datadir='${prefix}/share'
 
741
datarootdir='${prefix}/share'
 
742
datadir='${datarootdir}'
344
743
sysconfdir='${prefix}/etc'
345
744
sharedstatedir='${prefix}/com'
346
745
localstatedir='${prefix}/var'
347
 
libdir='${exec_prefix}/lib'
348
746
includedir='${prefix}/include'
349
747
oldincludedir='/usr/include'
350
 
infodir='${prefix}/info'
351
 
mandir='${prefix}/man'
 
748
docdir='${datarootdir}/doc/${PACKAGE}'
 
749
infodir='${datarootdir}/info'
 
750
htmldir='${docdir}'
 
751
dvidir='${docdir}'
 
752
pdfdir='${docdir}'
 
753
psdir='${docdir}'
 
754
libdir='${exec_prefix}/lib'
 
755
localedir='${datarootdir}/locale'
 
756
mandir='${datarootdir}/man'
352
757
 
353
758
ac_prev=
 
759
ac_dashdash=
354
760
for ac_option
355
761
do
356
762
  # If the previous option needs an argument, assign it.
357
763
  if test -n "$ac_prev"; then
358
 
    eval "$ac_prev=\$ac_option"
 
764
    eval $ac_prev=\$ac_option
359
765
    ac_prev=
360
766
    continue
361
767
  fi
362
768
 
363
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
769
  case $ac_option in
 
770
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
771
  *)    ac_optarg=yes ;;
 
772
  esac
364
773
 
365
774
  # Accept the important Cygnus configure options, so we can diagnose typos.
366
775
 
367
 
  case $ac_option in
 
776
  case $ac_dashdash$ac_option in
 
777
  --)
 
778
    ac_dashdash=yes ;;
368
779
 
369
780
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
370
781
    ac_prev=bindir ;;
386
797
  --config-cache | -C)
387
798
    cache_file=config.cache ;;
388
799
 
389
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
800
  -datadir | --datadir | --datadi | --datad)
390
801
    ac_prev=datadir ;;
391
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392
 
  | --da=*)
 
802
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
393
803
    datadir=$ac_optarg ;;
394
804
 
 
805
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
806
  | --dataroo | --dataro | --datar)
 
807
    ac_prev=datarootdir ;;
 
808
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
809
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
810
    datarootdir=$ac_optarg ;;
 
811
 
395
812
  -disable-* | --disable-*)
396
813
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397
814
    # Reject names that are not valid shell variable names.
398
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
815
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
399
816
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400
817
   { (exit 1); exit 1; }; }
401
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402
 
    eval "enable_$ac_feature=no" ;;
 
818
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
819
    eval enable_$ac_feature=no ;;
 
820
 
 
821
  -docdir | --docdir | --docdi | --doc | --do)
 
822
    ac_prev=docdir ;;
 
823
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
824
    docdir=$ac_optarg ;;
 
825
 
 
826
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
827
    ac_prev=dvidir ;;
 
828
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
829
    dvidir=$ac_optarg ;;
403
830
 
404
831
  -enable-* | --enable-*)
405
832
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406
833
    # Reject names that are not valid shell variable names.
407
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
834
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
408
835
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409
836
   { (exit 1); exit 1; }; }
410
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411
 
    case $ac_option in
412
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413
 
      *) ac_optarg=yes ;;
414
 
    esac
415
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
837
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
838
    eval enable_$ac_feature=\$ac_optarg ;;
416
839
 
417
840
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418
841
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
439
862
  -host=* | --host=* | --hos=* | --ho=*)
440
863
    host_alias=$ac_optarg ;;
441
864
 
 
865
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
866
    ac_prev=htmldir ;;
 
867
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
868
  | --ht=*)
 
869
    htmldir=$ac_optarg ;;
 
870
 
442
871
  -includedir | --includedir | --includedi | --included | --include \
443
872
  | --includ | --inclu | --incl | --inc)
444
873
    ac_prev=includedir ;;
463
892
  | --libexe=* | --libex=* | --libe=*)
464
893
    libexecdir=$ac_optarg ;;
465
894
 
 
895
  -localedir | --localedir | --localedi | --localed | --locale)
 
896
    ac_prev=localedir ;;
 
897
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
898
    localedir=$ac_optarg ;;
 
899
 
466
900
  -localstatedir | --localstatedir | --localstatedi | --localstated \
467
 
  | --localstate | --localstat | --localsta | --localst \
468
 
  | --locals | --local | --loca | --loc | --lo)
 
901
  | --localstate | --localstat | --localsta | --localst | --locals)
469
902
    ac_prev=localstatedir ;;
470
903
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
904
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
473
905
    localstatedir=$ac_optarg ;;
474
906
 
475
907
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
534
966
  | --progr-tra=* | --program-tr=* | --program-t=*)
535
967
    program_transform_name=$ac_optarg ;;
536
968
 
 
969
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
970
    ac_prev=pdfdir ;;
 
971
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
972
    pdfdir=$ac_optarg ;;
 
973
 
 
974
  -psdir | --psdir | --psdi | --psd | --ps)
 
975
    ac_prev=psdir ;;
 
976
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
977
    psdir=$ac_optarg ;;
 
978
 
537
979
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538
980
  | -silent | --silent | --silen | --sile | --sil)
539
981
    silent=yes ;;
586
1028
  -with-* | --with-*)
587
1029
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588
1030
    # Reject names that are not valid shell variable names.
589
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1031
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
590
1032
      { echo "$as_me: error: invalid package name: $ac_package" >&2
591
1033
   { (exit 1); exit 1; }; }
592
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
593
 
    case $ac_option in
594
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595
 
      *) ac_optarg=yes ;;
596
 
    esac
597
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1034
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1035
    eval with_$ac_package=\$ac_optarg ;;
598
1036
 
599
1037
  -without-* | --without-*)
600
1038
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601
1039
    # Reject names that are not valid shell variable names.
602
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1040
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
603
1041
      { echo "$as_me: error: invalid package name: $ac_package" >&2
604
1042
   { (exit 1); exit 1; }; }
605
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
606
 
    eval "with_$ac_package=no" ;;
 
1043
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1044
    eval with_$ac_package=no ;;
607
1045
 
608
1046
  --x)
609
1047
    # Obsolete; use --with-x.
634
1072
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635
1073
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636
1074
   { (exit 1); exit 1; }; }
637
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638
 
    eval "$ac_envvar='$ac_optarg'"
 
1075
    eval $ac_envvar=\$ac_optarg
639
1076
    export $ac_envvar ;;
640
1077
 
641
1078
  *)
655
1092
   { (exit 1); exit 1; }; }
656
1093
fi
657
1094
 
658
 
# Be sure to have absolute paths.
659
 
for ac_var in exec_prefix prefix
660
 
do
661
 
  eval ac_val=$`echo $ac_var`
662
 
  case $ac_val in
663
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665
 
   { (exit 1); exit 1; }; };;
666
 
  esac
667
 
done
668
 
 
669
 
# Be sure to have absolute paths.
670
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
 
              localstatedir libdir includedir oldincludedir infodir mandir
672
 
do
673
 
  eval ac_val=$`echo $ac_var`
674
 
  case $ac_val in
675
 
    [\\/$]* | ?:[\\/]* ) ;;
676
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677
 
   { (exit 1); exit 1; }; };;
678
 
  esac
 
1095
# Be sure to have absolute directory names.
 
1096
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1097
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1098
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1099
                libdir localedir mandir
 
1100
do
 
1101
  eval ac_val=\$$ac_var
 
1102
  case $ac_val in
 
1103
    [\\/$]* | ?:[\\/]* )  continue;;
 
1104
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1105
  esac
 
1106
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1107
   { (exit 1); exit 1; }; }
679
1108
done
680
1109
 
681
1110
# There might be people who depend on the old broken behavior: `$host'
702
1131
test "$silent" = yes && exec 6>/dev/null
703
1132
 
704
1133
 
 
1134
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1135
ac_ls_di=`ls -di .` &&
 
1136
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1137
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1138
   { (exit 1); exit 1; }; }
 
1139
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1140
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1141
   { (exit 1); exit 1; }; }
 
1142
 
 
1143
 
705
1144
# Find the source files, if location was not specified.
706
1145
if test -z "$srcdir"; then
707
1146
  ac_srcdir_defaulted=yes
708
 
  # Try the directory containing this script, then its parent.
709
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1147
  # Try the directory containing this script, then the parent directory.
 
1148
  ac_confdir=`$as_dirname -- "$0" ||
710
1149
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
1150
         X"$0" : 'X\(//\)[^/]' \| \
712
1151
         X"$0" : 'X\(//\)$' \| \
713
 
         X"$0" : 'X\(/\)' \| \
714
 
         .     : '\(.\)' 2>/dev/null ||
 
1152
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
715
1153
echo X"$0" |
716
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718
 
          /^X\(\/\/\)$/{ s//\1/; q; }
719
 
          /^X\(\/\).*/{ s//\1/; q; }
720
 
          s/.*/./; q'`
 
1154
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1155
            s//\1/
 
1156
            q
 
1157
          }
 
1158
          /^X\(\/\/\)[^/].*/{
 
1159
            s//\1/
 
1160
            q
 
1161
          }
 
1162
          /^X\(\/\/\)$/{
 
1163
            s//\1/
 
1164
            q
 
1165
          }
 
1166
          /^X\(\/\).*/{
 
1167
            s//\1/
 
1168
            q
 
1169
          }
 
1170
          s/.*/./; q'`
721
1171
  srcdir=$ac_confdir
722
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1172
  if test ! -r "$srcdir/$ac_unique_file"; then
723
1173
    srcdir=..
724
1174
  fi
725
1175
else
726
1176
  ac_srcdir_defaulted=no
727
1177
fi
728
 
if test ! -r $srcdir/$ac_unique_file; then
729
 
  if test "$ac_srcdir_defaulted" = yes; then
730
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731
 
   { (exit 1); exit 1; }; }
732
 
  else
733
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734
 
   { (exit 1); exit 1; }; }
735
 
  fi
736
 
fi
737
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739
 
   { (exit 1); exit 1; }; }
740
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741
 
ac_env_build_alias_set=${build_alias+set}
742
 
ac_env_build_alias_value=$build_alias
743
 
ac_cv_env_build_alias_set=${build_alias+set}
744
 
ac_cv_env_build_alias_value=$build_alias
745
 
ac_env_host_alias_set=${host_alias+set}
746
 
ac_env_host_alias_value=$host_alias
747
 
ac_cv_env_host_alias_set=${host_alias+set}
748
 
ac_cv_env_host_alias_value=$host_alias
749
 
ac_env_target_alias_set=${target_alias+set}
750
 
ac_env_target_alias_value=$target_alias
751
 
ac_cv_env_target_alias_set=${target_alias+set}
752
 
ac_cv_env_target_alias_value=$target_alias
753
 
ac_env_CC_set=${CC+set}
754
 
ac_env_CC_value=$CC
755
 
ac_cv_env_CC_set=${CC+set}
756
 
ac_cv_env_CC_value=$CC
757
 
ac_env_CFLAGS_set=${CFLAGS+set}
758
 
ac_env_CFLAGS_value=$CFLAGS
759
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
760
 
ac_cv_env_CFLAGS_value=$CFLAGS
761
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
762
 
ac_env_LDFLAGS_value=$LDFLAGS
763
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
765
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766
 
ac_env_CPPFLAGS_value=$CPPFLAGS
767
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769
 
ac_env_CPP_set=${CPP+set}
770
 
ac_env_CPP_value=$CPP
771
 
ac_cv_env_CPP_set=${CPP+set}
772
 
ac_cv_env_CPP_value=$CPP
 
1178
if test ! -r "$srcdir/$ac_unique_file"; then
 
1179
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1180
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1181
   { (exit 1); exit 1; }; }
 
1182
fi
 
1183
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1184
ac_abs_confdir=`(
 
1185
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1186
   { (exit 1); exit 1; }; }
 
1187
        pwd)`
 
1188
# When building in place, set srcdir=.
 
1189
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1190
  srcdir=.
 
1191
fi
 
1192
# Remove unnecessary trailing slashes from srcdir.
 
1193
# Double slashes in file names in object file debugging info
 
1194
# mess up M-x gdb in Emacs.
 
1195
case $srcdir in
 
1196
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1197
esac
 
1198
for ac_var in $ac_precious_vars; do
 
1199
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1200
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1201
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1202
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1203
done
773
1204
 
774
1205
#
775
1206
# Report the --help message.
798
1229
  -n, --no-create         do not create output files
799
1230
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
800
1231
 
801
 
_ACEOF
802
 
 
803
 
  cat <<_ACEOF
804
1232
Installation directories:
805
1233
  --prefix=PREFIX         install architecture-independent files in PREFIX
806
1234
                          [$ac_default_prefix]
818
1246
  --bindir=DIR           user executables [EPREFIX/bin]
819
1247
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
820
1248
  --libexecdir=DIR       program executables [EPREFIX/libexec]
821
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
822
1249
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
823
1250
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
824
1251
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
825
1252
  --libdir=DIR           object code libraries [EPREFIX/lib]
826
1253
  --includedir=DIR       C header files [PREFIX/include]
827
1254
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
828
 
  --infodir=DIR          info documentation [PREFIX/info]
829
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1255
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1256
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1257
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1258
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1259
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1260
  --docdir=DIR           documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
 
1261
  --htmldir=DIR          html documentation [DOCDIR]
 
1262
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1263
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1264
  --psdir=DIR            ps documentation [DOCDIR]
830
1265
_ACEOF
831
1266
 
832
1267
  cat <<\_ACEOF
845
1280
Optional Features:
846
1281
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
847
1282
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1283
  --disable-dependency-tracking  speeds up one-time build
 
1284
  --enable-dependency-tracking   do not reject slow dependency extractors
848
1285
  --enable-gtk2           Compile against GTK2 instead of GTK+
849
1286
  --disable-ipv6          Do not enable IPv6
850
1287
  --disable-gtktest       do not try to compile and run a test GTK+ program
851
 
  --disable-gtktest       Do not try to compile and run a test GTK program
852
1288
 
853
1289
Optional Packages:
854
1290
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
855
1291
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
856
1292
  --without-gtk           Do not try to use GTK+ at all
857
 
  --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
858
 
  --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
859
1293
 
860
1294
Some influential environment variables:
861
1295
  CC          C compiler command
862
1296
  CFLAGS      C compiler flags
863
1297
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
864
1298
              nonstandard directory <lib dir>
865
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
866
 
              headers in a nonstandard directory <include dir>
 
1299
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1300
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1301
              you have headers in a nonstandard directory <include dir>
867
1302
  CPP         C preprocessor
868
1303
 
869
1304
Use these variables to override the choices made by `configure' or to help
870
1305
it to find libraries and programs with nonstandard names/locations.
871
1306
 
872
1307
_ACEOF
 
1308
ac_status=$?
873
1309
fi
874
1310
 
875
1311
if test "$ac_init_help" = "recursive"; then
876
1312
  # If there are subdirs, report their specific --help.
877
 
  ac_popdir=`pwd`
878
1313
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879
 
    test -d $ac_dir || continue
 
1314
    test -d "$ac_dir" || continue
880
1315
    ac_builddir=.
881
1316
 
882
 
if test "$ac_dir" != .; then
 
1317
case "$ac_dir" in
 
1318
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1319
*)
883
1320
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
884
 
  # A "../" for each directory in $ac_dir_suffix.
885
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
886
 
else
887
 
  ac_dir_suffix= ac_top_builddir=
888
 
fi
 
1321
  # A ".." for each directory in $ac_dir_suffix.
 
1322
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1323
  case $ac_top_builddir_sub in
 
1324
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1325
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1326
  esac ;;
 
1327
esac
 
1328
ac_abs_top_builddir=$ac_pwd
 
1329
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1330
# for backward compatibility:
 
1331
ac_top_builddir=$ac_top_build_prefix
889
1332
 
890
1333
case $srcdir in
891
 
  .)  # No --srcdir option.  We are building in place.
 
1334
  .)  # We are building in place.
892
1335
    ac_srcdir=.
893
 
    if test -z "$ac_top_builddir"; then
894
 
       ac_top_srcdir=.
895
 
    else
896
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
897
 
    fi ;;
898
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1336
    ac_top_srcdir=$ac_top_builddir_sub
 
1337
    ac_abs_top_srcdir=$ac_pwd ;;
 
1338
  [\\/]* | ?:[\\/]* )  # Absolute name.
899
1339
    ac_srcdir=$srcdir$ac_dir_suffix;
900
 
    ac_top_srcdir=$srcdir ;;
901
 
  *) # Relative path.
902
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
904
 
esac
905
 
 
906
 
# Do not use `cd foo && pwd` to compute absolute paths, because
907
 
# the directories may not exist.
908
 
case `pwd` in
909
 
.) ac_abs_builddir="$ac_dir";;
910
 
*)
911
 
  case "$ac_dir" in
912
 
  .) ac_abs_builddir=`pwd`;;
913
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
915
 
  esac;;
916
 
esac
917
 
case $ac_abs_builddir in
918
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
919
 
*)
920
 
  case ${ac_top_builddir}. in
921
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
922
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
924
 
  esac;;
925
 
esac
926
 
case $ac_abs_builddir in
927
 
.) ac_abs_srcdir=$ac_srcdir;;
928
 
*)
929
 
  case $ac_srcdir in
930
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
931
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
933
 
  esac;;
934
 
esac
935
 
case $ac_abs_builddir in
936
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
937
 
*)
938
 
  case $ac_top_srcdir in
939
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
940
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
942
 
  esac;;
943
 
esac
944
 
 
945
 
    cd $ac_dir
946
 
    # Check for guested configure; otherwise get Cygnus style configure.
947
 
    if test -f $ac_srcdir/configure.gnu; then
948
 
      echo
949
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
950
 
    elif test -f $ac_srcdir/configure; then
951
 
      echo
952
 
      $SHELL $ac_srcdir/configure  --help=recursive
953
 
    elif test -f $ac_srcdir/configure.ac ||
954
 
           test -f $ac_srcdir/configure.in; then
955
 
      echo
956
 
      $ac_configure --help
 
1340
    ac_top_srcdir=$srcdir
 
1341
    ac_abs_top_srcdir=$srcdir ;;
 
1342
  *) # Relative name.
 
1343
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1344
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1345
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1346
esac
 
1347
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1348
 
 
1349
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1350
    # Check for guested configure.
 
1351
    if test -f "$ac_srcdir/configure.gnu"; then
 
1352
      echo &&
 
1353
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1354
    elif test -f "$ac_srcdir/configure"; then
 
1355
      echo &&
 
1356
      $SHELL "$ac_srcdir/configure" --help=recursive
957
1357
    else
958
1358
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
959
 
    fi
960
 
    cd "$ac_popdir"
 
1359
    fi || ac_status=$?
 
1360
    cd "$ac_pwd" || { ac_status=$?; break; }
961
1361
  done
962
1362
fi
963
1363
 
964
 
test -n "$ac_init_help" && exit 0
 
1364
test -n "$ac_init_help" && exit $ac_status
965
1365
if $ac_init_version; then
966
1366
  cat <<\_ACEOF
 
1367
configure
 
1368
generated by GNU Autoconf 2.61
967
1369
 
968
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1370
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1371
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
969
1372
This configure script is free software; the Free Software Foundation
970
1373
gives unlimited permission to copy, distribute and modify it.
971
1374
_ACEOF
972
 
  exit 0
 
1375
  exit
973
1376
fi
974
 
exec 5>config.log
975
 
cat >&5 <<_ACEOF
 
1377
cat >config.log <<_ACEOF
976
1378
This file contains any messages produced by compilers while
977
1379
running configure, to aid debugging if configure makes a mistake.
978
1380
 
979
1381
It was created by $as_me, which was
980
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1382
generated by GNU Autoconf 2.61.  Invocation command line was
981
1383
 
982
1384
  $ $0 $@
983
1385
 
984
1386
_ACEOF
 
1387
exec 5>>config.log
985
1388
{
986
1389
cat <<_ASUNAME
987
1390
@%:@@%:@ --------- @%:@@%:@
1000
1403
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1001
1404
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1002
1405
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1003
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1406
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1004
1407
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1005
1408
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1006
1409
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1014
1417
  test -z "$as_dir" && as_dir=.
1015
1418
  echo "PATH: $as_dir"
1016
1419
done
 
1420
IFS=$as_save_IFS
1017
1421
 
1018
1422
} >&5
1019
1423
 
1035
1439
ac_configure_args=
1036
1440
ac_configure_args0=
1037
1441
ac_configure_args1=
1038
 
ac_sep=
1039
1442
ac_must_keep_next=false
1040
1443
for ac_pass in 1 2
1041
1444
do
1046
1449
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047
1450
    | -silent | --silent | --silen | --sile | --sil)
1048
1451
      continue ;;
1049
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1452
    *\'*)
1050
1453
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1051
1454
    esac
1052
1455
    case $ac_pass in
1068
1471
          -* ) ac_must_keep_next=true ;;
1069
1472
        esac
1070
1473
      fi
1071
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1072
 
      # Get rid of the leading space.
1073
 
      ac_sep=" "
 
1474
      ac_configure_args="$ac_configure_args '$ac_arg'"
1074
1475
      ;;
1075
1476
    esac
1076
1477
  done
1081
1482
# When interrupted or exit'd, cleanup temporary files, and complete
1082
1483
# config.log.  We remove comments because anyway the quotes in there
1083
1484
# would cause problems or look ugly.
1084
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1085
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1485
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1486
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1086
1487
trap 'exit_status=$?
1087
1488
  # Save into config.log some information that might help in debugging.
1088
1489
  {
1095
1496
_ASBOX
1096
1497
    echo
1097
1498
    # The following way of writing the cache mishandles newlines in values,
1098
 
{
 
1499
(
 
1500
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1501
    eval ac_val=\$$ac_var
 
1502
    case $ac_val in #(
 
1503
    *${as_nl}*)
 
1504
      case $ac_var in #(
 
1505
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1506
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1507
      esac
 
1508
      case $ac_var in #(
 
1509
      _ | IFS | as_nl) ;; #(
 
1510
      *) $as_unset $ac_var ;;
 
1511
      esac ;;
 
1512
    esac
 
1513
  done
1099
1514
  (set) 2>&1 |
1100
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1101
 
    *ac_space=\ *)
 
1515
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1516
    *${as_nl}ac_space=\ *)
1102
1517
      sed -n \
1103
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1104
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1105
 
      ;;
 
1518
        "s/'\''/'\''\\\\'\'''\''/g;
 
1519
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1520
      ;; #(
1106
1521
    *)
1107
 
      sed -n \
1108
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1522
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1109
1523
      ;;
1110
 
    esac;
1111
 
}
 
1524
    esac |
 
1525
    sort
 
1526
)
1112
1527
    echo
1113
1528
 
1114
1529
    cat <<\_ASBOX
1119
1534
    echo
1120
1535
    for ac_var in $ac_subst_vars
1121
1536
    do
1122
 
      eval ac_val=$`echo $ac_var`
1123
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1537
      eval ac_val=\$$ac_var
 
1538
      case $ac_val in
 
1539
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1540
      esac
 
1541
      echo "$ac_var='\''$ac_val'\''"
1124
1542
    done | sort
1125
1543
    echo
1126
1544
 
1127
1545
    if test -n "$ac_subst_files"; then
1128
1546
      cat <<\_ASBOX
1129
 
@%:@@%:@ ------------- @%:@@%:@
1130
 
@%:@@%:@ Output files. @%:@@%:@
1131
 
@%:@@%:@ ------------- @%:@@%:@
 
1547
@%:@@%:@ ------------------- @%:@@%:@
 
1548
@%:@@%:@ File substitutions. @%:@@%:@
 
1549
@%:@@%:@ ------------------- @%:@@%:@
1132
1550
_ASBOX
1133
1551
      echo
1134
1552
      for ac_var in $ac_subst_files
1135
1553
      do
1136
 
        eval ac_val=$`echo $ac_var`
1137
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1554
        eval ac_val=\$$ac_var
 
1555
        case $ac_val in
 
1556
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1557
        esac
 
1558
        echo "$ac_var='\''$ac_val'\''"
1138
1559
      done | sort
1139
1560
      echo
1140
1561
    fi
1146
1567
@%:@@%:@ ----------- @%:@@%:@
1147
1568
_ASBOX
1148
1569
      echo
1149
 
      sed "/^$/d" confdefs.h | sort
 
1570
      cat confdefs.h
1150
1571
      echo
1151
1572
    fi
1152
1573
    test "$ac_signal" != 0 &&
1153
1574
      echo "$as_me: caught signal $ac_signal"
1154
1575
    echo "$as_me: exit $exit_status"
1155
1576
  } >&5
1156
 
  rm -f core *.core &&
1157
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1577
  rm -f core *.core core.conftest.* &&
 
1578
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1158
1579
    exit $exit_status
1159
 
     ' 0
 
1580
' 0
1160
1581
for ac_signal in 1 2 13 15; do
1161
1582
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1162
1583
done
1163
1584
ac_signal=0
1164
1585
 
1165
1586
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1166
 
rm -rf conftest* confdefs.h
1167
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1168
 
echo >confdefs.h
 
1587
rm -f -r conftest* confdefs.h
1169
1588
 
1170
1589
# Predefined preprocessor variables.
1171
1590
 
1196
1615
 
1197
1616
# Let the site file select an alternate cache file if it wants to.
1198
1617
# Prefer explicitly selected file to automatically selected ones.
1199
 
if test -z "$CONFIG_SITE"; then
1200
 
  if test "x$prefix" != xNONE; then
1201
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1202
 
  else
1203
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1204
 
  fi
 
1618
if test -n "$CONFIG_SITE"; then
 
1619
  set x "$CONFIG_SITE"
 
1620
elif test "x$prefix" != xNONE; then
 
1621
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1622
else
 
1623
  set x "$ac_default_prefix/share/config.site" \
 
1624
        "$ac_default_prefix/etc/config.site"
1205
1625
fi
1206
 
for ac_site_file in $CONFIG_SITE; do
 
1626
shift
 
1627
for ac_site_file
 
1628
do
1207
1629
  if test -r "$ac_site_file"; then
1208
1630
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1209
1631
echo "$as_me: loading site script $ac_site_file" >&6;}
1219
1641
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1220
1642
echo "$as_me: loading cache $cache_file" >&6;}
1221
1643
    case $cache_file in
1222
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1223
 
      *)                      . ./$cache_file;;
 
1644
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1645
      *)                      . "./$cache_file";;
1224
1646
    esac
1225
1647
  fi
1226
1648
else
1232
1654
# Check that the precious variables saved in the cache have kept the same
1233
1655
# value.
1234
1656
ac_cache_corrupted=false
1235
 
for ac_var in `(set) 2>&1 |
1236
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1657
for ac_var in $ac_precious_vars; do
1237
1658
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1238
1659
  eval ac_new_set=\$ac_env_${ac_var}_set
1239
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1240
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1660
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1661
  eval ac_new_val=\$ac_env_${ac_var}_value
1241
1662
  case $ac_old_set,$ac_new_set in
1242
1663
    set,)
1243
1664
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1262
1683
  # Pass precious variables to config.status.
1263
1684
  if test "$ac_new_set" = set; then
1264
1685
    case $ac_new_val in
1265
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1266
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1686
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1267
1687
    *) ac_arg=$ac_var=$ac_new_val ;;
1268
1688
    esac
1269
1689
    case " $ac_configure_args " in
1280
1700
   { (exit 1); exit 1; }; }
1281
1701
fi
1282
1702
 
 
1703
 
 
1704
 
 
1705
 
 
1706
 
 
1707
 
 
1708
 
 
1709
 
 
1710
 
 
1711
 
 
1712
 
 
1713
 
 
1714
 
 
1715
 
 
1716
 
 
1717
 
 
1718
 
1283
1719
ac_ext=c
1284
1720
ac_cpp='$CPP $CPPFLAGS'
1285
1721
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1287
1723
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1288
1724
 
1289
1725
 
1290
 
 
1291
 
 
1292
 
 
1293
 
 
1294
 
 
1295
 
 
1296
 
 
1297
 
 
1298
 
 
1299
 
 
1300
 
 
1301
 
 
1302
 
 
1303
 
 
1304
 
 
1305
 
 
1306
 
 
1307
 
am__api_version="1.4"
 
1726
am__api_version="1.9"
1308
1727
ac_aux_dir=
1309
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1310
 
  if test -f $ac_dir/install-sh; then
 
1728
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1729
  if test -f "$ac_dir/install-sh"; then
1311
1730
    ac_aux_dir=$ac_dir
1312
1731
    ac_install_sh="$ac_aux_dir/install-sh -c"
1313
1732
    break
1314
 
  elif test -f $ac_dir/install.sh; then
 
1733
  elif test -f "$ac_dir/install.sh"; then
1315
1734
    ac_aux_dir=$ac_dir
1316
1735
    ac_install_sh="$ac_aux_dir/install.sh -c"
1317
1736
    break
1318
 
  elif test -f $ac_dir/shtool; then
 
1737
  elif test -f "$ac_dir/shtool"; then
1319
1738
    ac_aux_dir=$ac_dir
1320
1739
    ac_install_sh="$ac_aux_dir/shtool install -c"
1321
1740
    break
1322
1741
  fi
1323
1742
done
1324
1743
if test -z "$ac_aux_dir"; then
1325
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1326
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1744
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1745
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1327
1746
   { (exit 1); exit 1; }; }
1328
1747
fi
1329
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1330
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1331
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1748
 
 
1749
# These three variables are undocumented and unsupported,
 
1750
# and are intended to be withdrawn in a future Autoconf release.
 
1751
# They can cause serious problems if a builder's source tree is in a directory
 
1752
# whose full name contains unusual characters.
 
1753
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1754
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1755
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1756
 
1332
1757
 
1333
1758
# Find a good install program.  We prefer a C program (faster),
1334
1759
# so one script is as good as another.  But avoid the broken or
1343
1768
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1344
1769
# OS/2's system install, which has a completely different semantic
1345
1770
# ./install, which can be erroneously created by make from ./install.sh.
1346
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1347
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1771
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1772
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1348
1773
if test -z "$INSTALL"; then
1349
1774
if test "${ac_cv_path_install+set}" = set; then
1350
1775
  echo $ECHO_N "(cached) $ECHO_C" >&6
1366
1791
    # by default.
1367
1792
    for ac_prog in ginstall scoinst install; do
1368
1793
      for ac_exec_ext in '' $ac_executable_extensions; do
1369
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1794
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1370
1795
          if test $ac_prog = install &&
1371
1796
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1372
1797
            # AIX install.  It has an incompatible calling convention.
1385
1810
    ;;
1386
1811
esac
1387
1812
done
 
1813
IFS=$as_save_IFS
1388
1814
 
1389
1815
 
1390
1816
fi
1391
1817
  if test "${ac_cv_path_install+set}" = set; then
1392
1818
    INSTALL=$ac_cv_path_install
1393
1819
  else
1394
 
    # As a last resort, use the slow shell script.  We don't cache a
1395
 
    # path for INSTALL within a source directory, because that will
 
1820
    # As a last resort, use the slow shell script.  Don't cache a
 
1821
    # value for INSTALL within a source directory, because that will
1396
1822
    # break other packages using the cache if that directory is
1397
 
    # removed, or if the path is relative.
 
1823
    # removed, or if the value is a relative name.
1398
1824
    INSTALL=$ac_install_sh
1399
1825
  fi
1400
1826
fi
1401
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1402
 
echo "${ECHO_T}$INSTALL" >&6
 
1827
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1828
echo "${ECHO_T}$INSTALL" >&6; }
1403
1829
 
1404
1830
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1405
1831
# It thinks the first close brace ends the variable substitution.
1409
1835
 
1410
1836
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1411
1837
 
1412
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1413
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1838
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1839
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1414
1840
# Just in case
1415
1841
sleep 1
1416
 
echo timestamp > conftestfile
 
1842
echo timestamp > conftest.file
1417
1843
# Do `set' in a subshell so we don't clobber the current shell's
1418
1844
# arguments.  Must try -L first in case configure is actually a
1419
1845
# symlink; some systems play weird games with the mod time of symlinks
1420
1846
# (eg FreeBSD returns the mod time of the symlink's containing
1421
1847
# directory).
1422
1848
if (
1423
 
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
 
1849
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1424
1850
   if test "$*" = "X"; then
1425
1851
      # -L didn't work.
1426
 
      set X `ls -t $srcdir/configure conftestfile`
 
1852
      set X `ls -t $srcdir/configure conftest.file`
1427
1853
   fi
1428
 
   if test "$*" != "X $srcdir/configure conftestfile" \
1429
 
      && test "$*" != "X conftestfile $srcdir/configure"; then
 
1854
   rm -f conftest.file
 
1855
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1856
      && test "$*" != "X conftest.file $srcdir/configure"; then
1430
1857
 
1431
1858
      # If neither matched, then we have a broken ls.  This can happen
1432
1859
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1439
1866
   { (exit 1); exit 1; }; }
1440
1867
   fi
1441
1868
 
1442
 
   test "$2" = conftestfile
 
1869
   test "$2" = conftest.file
1443
1870
   )
1444
1871
then
1445
1872
   # Ok.
1451
1878
Check your system clock" >&2;}
1452
1879
   { (exit 1); exit 1; }; }
1453
1880
fi
1454
 
rm -f conftest*
1455
 
echo "$as_me:$LINENO: result: yes" >&5
1456
 
echo "${ECHO_T}yes" >&6
 
1881
{ echo "$as_me:$LINENO: result: yes" >&5
 
1882
echo "${ECHO_T}yes" >&6; }
1457
1883
test "$program_prefix" != NONE &&
1458
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
1884
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1459
1885
# Use a double $ so make ignores it.
1460
1886
test "$program_suffix" != NONE &&
1461
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1887
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1462
1888
# Double any \ or $.  echo might interpret backslashes.
1463
1889
# By default was `s,x,x', remove it if useless.
1464
1890
cat <<\_ACEOF >conftest.sed
1465
1891
s/[\\$]/&&/g;s/;s,x,x,$//
1466
1892
_ACEOF
1467
1893
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1468
 
rm conftest.sed
1469
 
 
1470
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1471
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1472
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1473
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1894
rm -f conftest.sed
 
1895
 
 
1896
# expand $ac_aux_dir to an absolute path
 
1897
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1898
 
 
1899
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1900
# Use eval to expand $SHELL
 
1901
if eval "$MISSING --run true"; then
 
1902
  am_missing_run="$MISSING --run "
 
1903
else
 
1904
  am_missing_run=
 
1905
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1906
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1907
fi
 
1908
 
 
1909
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1910
  # We used to keeping the `.' as first argument, in order to
 
1911
  # allow $(mkdir_p) to be used without argument.  As in
 
1912
  #   $(mkdir_p) $(somedir)
 
1913
  # where $(somedir) is conditionally defined.  However this is wrong
 
1914
  # for two reasons:
 
1915
  #  1. if the package is installed by a user who cannot write `.'
 
1916
  #     make install will fail,
 
1917
  #  2. the above comment should most certainly read
 
1918
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
1919
  #     so it does not work when $(somedir) is undefined and
 
1920
  #     $(DESTDIR) is not.
 
1921
  #  To support the latter case, we have to write
 
1922
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
1923
  #  so the `.' trick is pointless.
 
1924
  mkdir_p='mkdir -p --'
 
1925
else
 
1926
  # On NextStep and OpenStep, the `mkdir' command does not
 
1927
  # recognize any option.  It will interpret all options as
 
1928
  # directories to create, and then abort because `.' already
 
1929
  # exists.
 
1930
  for d in ./-p ./--version;
 
1931
  do
 
1932
    test -d $d && rmdir $d
 
1933
  done
 
1934
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1935
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1936
    mkdir_p='$(mkinstalldirs)'
 
1937
  else
 
1938
    mkdir_p='$(install_sh) -d'
 
1939
  fi
 
1940
fi
 
1941
 
 
1942
for ac_prog in gawk mawk nawk awk
 
1943
do
 
1944
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1945
set dummy $ac_prog; ac_word=$2
 
1946
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1947
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1948
if test "${ac_cv_prog_AWK+set}" = set; then
 
1949
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1950
else
 
1951
  if test -n "$AWK"; then
 
1952
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1953
else
 
1954
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1955
for as_dir in $PATH
 
1956
do
 
1957
  IFS=$as_save_IFS
 
1958
  test -z "$as_dir" && as_dir=.
 
1959
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1960
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1961
    ac_cv_prog_AWK="$ac_prog"
 
1962
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1963
    break 2
 
1964
  fi
 
1965
done
 
1966
done
 
1967
IFS=$as_save_IFS
 
1968
 
 
1969
fi
 
1970
fi
 
1971
AWK=$ac_cv_prog_AWK
 
1972
if test -n "$AWK"; then
 
1973
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
1974
echo "${ECHO_T}$AWK" >&6; }
 
1975
else
 
1976
  { echo "$as_me:$LINENO: result: no" >&5
 
1977
echo "${ECHO_T}no" >&6; }
 
1978
fi
 
1979
 
 
1980
 
 
1981
  test -n "$AWK" && break
 
1982
done
 
1983
 
 
1984
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1985
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
1986
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
1987
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1474
1988
  echo $ECHO_N "(cached) $ECHO_C" >&6
1475
1989
else
1476
1990
  cat >conftest.make <<\_ACEOF
 
1991
SHELL = /bin/sh
1477
1992
all:
1478
 
        @echo 'ac_maketemp="$(MAKE)"'
 
1993
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1479
1994
_ACEOF
1480
1995
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1481
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1482
 
if test -n "$ac_maketemp"; then
1483
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1484
 
else
1485
 
  eval ac_cv_prog_make_${ac_make}_set=no
1486
 
fi
 
1996
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
1997
  *@@@%%%=?*=@@@%%%*)
 
1998
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
1999
  *)
 
2000
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2001
esac
1487
2002
rm -f conftest.make
1488
2003
fi
1489
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1490
 
  echo "$as_me:$LINENO: result: yes" >&5
1491
 
echo "${ECHO_T}yes" >&6
 
2004
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2005
  { echo "$as_me:$LINENO: result: yes" >&5
 
2006
echo "${ECHO_T}yes" >&6; }
1492
2007
  SET_MAKE=
1493
2008
else
1494
 
  echo "$as_me:$LINENO: result: no" >&5
1495
 
echo "${ECHO_T}no" >&6
 
2009
  { echo "$as_me:$LINENO: result: no" >&5
 
2010
echo "${ECHO_T}no" >&6; }
1496
2011
  SET_MAKE="MAKE=${MAKE-make}"
1497
2012
fi
1498
2013
 
1499
 
 
1500
 
PACKAGE=mtr
1501
 
 
1502
 
VERSION=0.71
1503
 
 
1504
 
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
 
2014
rm -rf .tst 2>/dev/null
 
2015
mkdir .tst 2>/dev/null
 
2016
if test -d .tst; then
 
2017
  am__leading_dot=.
 
2018
else
 
2019
  am__leading_dot=_
 
2020
fi
 
2021
rmdir .tst 2>/dev/null
 
2022
 
 
2023
# test to see if srcdir already configured
 
2024
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
2025
   test -f $srcdir/config.status; then
1505
2026
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1506
2027
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1507
2028
   { (exit 1); exit 1; }; }
1508
2029
fi
1509
2030
 
 
2031
# test whether we have cygpath
 
2032
if test -z "$CYGPATH_W"; then
 
2033
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2034
    CYGPATH_W='cygpath -w'
 
2035
  else
 
2036
    CYGPATH_W=echo
 
2037
  fi
 
2038
fi
 
2039
 
 
2040
 
 
2041
# Define the identity of the package.
 
2042
 PACKAGE=mtr
 
2043
 VERSION=0.73
 
2044
 
 
2045
 
1510
2046
cat >>confdefs.h <<_ACEOF
1511
2047
@%:@define PACKAGE "$PACKAGE"
1512
2048
_ACEOF
1513
2049
 
1514
 
 
 
2050
 
1515
2051
cat >>confdefs.h <<_ACEOF
1516
2052
@%:@define VERSION "$VERSION"
1517
2053
_ACEOF
1518
2054
 
1519
 
 
1520
 
 
1521
 
missing_dir=`cd $ac_aux_dir && pwd`
1522
 
echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1523
 
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1524
 
# Run test in a subshell; some versions of sh will print an error if
1525
 
# an executable is not found, even if stderr is redirected.
1526
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1527
 
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1528
 
   ACLOCAL=aclocal-${am__api_version}
1529
 
   echo "$as_me:$LINENO: result: found" >&5
1530
 
echo "${ECHO_T}found" >&6
1531
 
else
1532
 
   ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1533
 
   echo "$as_me:$LINENO: result: missing" >&5
1534
 
echo "${ECHO_T}missing" >&6
1535
 
fi
1536
 
 
1537
 
echo "$as_me:$LINENO: checking for working autoconf" >&5
1538
 
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1539
 
# Run test in a subshell; some versions of sh will print an error if
1540
 
# an executable is not found, even if stderr is redirected.
1541
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1542
 
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1543
 
   AUTOCONF=autoconf
1544
 
   echo "$as_me:$LINENO: result: found" >&5
1545
 
echo "${ECHO_T}found" >&6
1546
 
else
1547
 
   AUTOCONF="$missing_dir/missing autoconf"
1548
 
   echo "$as_me:$LINENO: result: missing" >&5
1549
 
echo "${ECHO_T}missing" >&6
1550
 
fi
1551
 
 
1552
 
echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1553
 
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1554
 
# Run test in a subshell; some versions of sh will print an error if
1555
 
# an executable is not found, even if stderr is redirected.
1556
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1557
 
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1558
 
   AUTOMAKE=automake-${am__api_version}
1559
 
   echo "$as_me:$LINENO: result: found" >&5
1560
 
echo "${ECHO_T}found" >&6
1561
 
else
1562
 
   AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1563
 
   echo "$as_me:$LINENO: result: missing" >&5
1564
 
echo "${ECHO_T}missing" >&6
1565
 
fi
1566
 
 
1567
 
echo "$as_me:$LINENO: checking for working autoheader" >&5
1568
 
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1569
 
# Run test in a subshell; some versions of sh will print an error if
1570
 
# an executable is not found, even if stderr is redirected.
1571
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1572
 
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1573
 
   AUTOHEADER=autoheader
1574
 
   echo "$as_me:$LINENO: result: found" >&5
1575
 
echo "${ECHO_T}found" >&6
1576
 
else
1577
 
   AUTOHEADER="$missing_dir/missing autoheader"
1578
 
   echo "$as_me:$LINENO: result: missing" >&5
1579
 
echo "${ECHO_T}missing" >&6
1580
 
fi
1581
 
 
1582
 
echo "$as_me:$LINENO: checking for working makeinfo" >&5
1583
 
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1584
 
# Run test in a subshell; some versions of sh will print an error if
1585
 
# an executable is not found, even if stderr is redirected.
1586
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1587
 
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1588
 
   MAKEINFO=makeinfo
1589
 
   echo "$as_me:$LINENO: result: found" >&5
1590
 
echo "${ECHO_T}found" >&6
1591
 
else
1592
 
   MAKEINFO="$missing_dir/missing makeinfo"
1593
 
   echo "$as_me:$LINENO: result: missing" >&5
1594
 
echo "${ECHO_T}missing" >&6
1595
 
fi
 
2055
# Some tools Automake needs.
 
2056
 
 
2057
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2058
 
 
2059
 
 
2060
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2061
 
 
2062
 
 
2063
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2064
 
 
2065
 
 
2066
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2067
 
 
2068
 
 
2069
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2070
 
 
2071
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2072
 
 
2073
# Installed binaries are usually stripped using `strip' when the user
 
2074
# run `make install-strip'.  However `strip' might not be the right
 
2075
# tool to use in cross-compilation environments, therefore Automake
 
2076
# will honor the `STRIP' environment variable to overrule this program.
 
2077
if test "$cross_compiling" != no; then
 
2078
  if test -n "$ac_tool_prefix"; then
 
2079
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2080
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2081
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2082
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2083
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2084
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2085
else
 
2086
  if test -n "$STRIP"; then
 
2087
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2088
else
 
2089
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2090
for as_dir in $PATH
 
2091
do
 
2092
  IFS=$as_save_IFS
 
2093
  test -z "$as_dir" && as_dir=.
 
2094
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2095
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2096
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2097
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2098
    break 2
 
2099
  fi
 
2100
done
 
2101
done
 
2102
IFS=$as_save_IFS
 
2103
 
 
2104
fi
 
2105
fi
 
2106
STRIP=$ac_cv_prog_STRIP
 
2107
if test -n "$STRIP"; then
 
2108
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2109
echo "${ECHO_T}$STRIP" >&6; }
 
2110
else
 
2111
  { echo "$as_me:$LINENO: result: no" >&5
 
2112
echo "${ECHO_T}no" >&6; }
 
2113
fi
 
2114
 
 
2115
 
 
2116
fi
 
2117
if test -z "$ac_cv_prog_STRIP"; then
 
2118
  ac_ct_STRIP=$STRIP
 
2119
  # Extract the first word of "strip", so it can be a program name with args.
 
2120
set dummy strip; ac_word=$2
 
2121
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2122
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2123
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2124
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2125
else
 
2126
  if test -n "$ac_ct_STRIP"; then
 
2127
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2128
else
 
2129
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2130
for as_dir in $PATH
 
2131
do
 
2132
  IFS=$as_save_IFS
 
2133
  test -z "$as_dir" && as_dir=.
 
2134
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2135
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2136
    ac_cv_prog_ac_ct_STRIP="strip"
 
2137
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2138
    break 2
 
2139
  fi
 
2140
done
 
2141
done
 
2142
IFS=$as_save_IFS
 
2143
 
 
2144
fi
 
2145
fi
 
2146
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2147
if test -n "$ac_ct_STRIP"; then
 
2148
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2149
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2150
else
 
2151
  { echo "$as_me:$LINENO: result: no" >&5
 
2152
echo "${ECHO_T}no" >&6; }
 
2153
fi
 
2154
 
 
2155
  if test "x$ac_ct_STRIP" = x; then
 
2156
    STRIP=":"
 
2157
  else
 
2158
    case $cross_compiling:$ac_tool_warned in
 
2159
yes:)
 
2160
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2161
whose name does not start with the host triplet.  If you think this
 
2162
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2163
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2164
whose name does not start with the host triplet.  If you think this
 
2165
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2166
ac_tool_warned=yes ;;
 
2167
esac
 
2168
    STRIP=$ac_ct_STRIP
 
2169
  fi
 
2170
else
 
2171
  STRIP="$ac_cv_prog_STRIP"
 
2172
fi
 
2173
 
 
2174
fi
 
2175
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2176
 
 
2177
# We need awk for the "check" target.  The system "awk" is bad on
 
2178
# some platforms.
 
2179
# Always define AMTAR for backward compatibility.
 
2180
 
 
2181
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2182
 
 
2183
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2184
 
 
2185
 
 
2186
 
1596
2187
 
1597
2188
 
1598
2189
 
1611
2202
if test -n "$ac_tool_prefix"; then
1612
2203
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1613
2204
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1614
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1615
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2205
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2206
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1616
2207
if test "${ac_cv_prog_CC+set}" = set; then
1617
2208
  echo $ECHO_N "(cached) $ECHO_C" >&6
1618
2209
else
1625
2216
  IFS=$as_save_IFS
1626
2217
  test -z "$as_dir" && as_dir=.
1627
2218
  for ac_exec_ext in '' $ac_executable_extensions; do
1628
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2219
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1629
2220
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1630
2221
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631
2222
    break 2
1632
2223
  fi
1633
2224
done
1634
2225
done
 
2226
IFS=$as_save_IFS
1635
2227
 
1636
2228
fi
1637
2229
fi
1638
2230
CC=$ac_cv_prog_CC
1639
2231
if test -n "$CC"; then
1640
 
  echo "$as_me:$LINENO: result: $CC" >&5
1641
 
echo "${ECHO_T}$CC" >&6
 
2232
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2233
echo "${ECHO_T}$CC" >&6; }
1642
2234
else
1643
 
  echo "$as_me:$LINENO: result: no" >&5
1644
 
echo "${ECHO_T}no" >&6
 
2235
  { echo "$as_me:$LINENO: result: no" >&5
 
2236
echo "${ECHO_T}no" >&6; }
1645
2237
fi
 
2238
 
1646
2239
 
1647
2240
fi
1648
2241
if test -z "$ac_cv_prog_CC"; then
1649
2242
  ac_ct_CC=$CC
1650
2243
  # Extract the first word of "gcc", so it can be a program name with args.
1651
2244
set dummy gcc; ac_word=$2
1652
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1653
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2245
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2246
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1654
2247
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1655
2248
  echo $ECHO_N "(cached) $ECHO_C" >&6
1656
2249
else
1663
2256
  IFS=$as_save_IFS
1664
2257
  test -z "$as_dir" && as_dir=.
1665
2258
  for ac_exec_ext in '' $ac_executable_extensions; do
1666
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2259
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1667
2260
    ac_cv_prog_ac_ct_CC="gcc"
1668
2261
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1669
2262
    break 2
1670
2263
  fi
1671
2264
done
1672
2265
done
 
2266
IFS=$as_save_IFS
1673
2267
 
1674
2268
fi
1675
2269
fi
1676
2270
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1677
2271
if test -n "$ac_ct_CC"; then
1678
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1679
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2272
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2273
echo "${ECHO_T}$ac_ct_CC" >&6; }
1680
2274
else
1681
 
  echo "$as_me:$LINENO: result: no" >&5
1682
 
echo "${ECHO_T}no" >&6
 
2275
  { echo "$as_me:$LINENO: result: no" >&5
 
2276
echo "${ECHO_T}no" >&6; }
1683
2277
fi
1684
2278
 
1685
 
  CC=$ac_ct_CC
 
2279
  if test "x$ac_ct_CC" = x; then
 
2280
    CC=""
 
2281
  else
 
2282
    case $cross_compiling:$ac_tool_warned in
 
2283
yes:)
 
2284
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2285
whose name does not start with the host triplet.  If you think this
 
2286
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2287
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2288
whose name does not start with the host triplet.  If you think this
 
2289
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2290
ac_tool_warned=yes ;;
 
2291
esac
 
2292
    CC=$ac_ct_CC
 
2293
  fi
1686
2294
else
1687
2295
  CC="$ac_cv_prog_CC"
1688
2296
fi
1689
2297
 
1690
2298
if test -z "$CC"; then
1691
 
  if test -n "$ac_tool_prefix"; then
1692
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2299
          if test -n "$ac_tool_prefix"; then
 
2300
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1693
2301
set dummy ${ac_tool_prefix}cc; ac_word=$2
1694
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1695
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2302
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2303
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1696
2304
if test "${ac_cv_prog_CC+set}" = set; then
1697
2305
  echo $ECHO_N "(cached) $ECHO_C" >&6
1698
2306
else
1705
2313
  IFS=$as_save_IFS
1706
2314
  test -z "$as_dir" && as_dir=.
1707
2315
  for ac_exec_ext in '' $ac_executable_extensions; do
1708
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2316
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1709
2317
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1710
2318
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1711
2319
    break 2
1712
2320
  fi
1713
2321
done
1714
2322
done
 
2323
IFS=$as_save_IFS
1715
2324
 
1716
2325
fi
1717
2326
fi
1718
2327
CC=$ac_cv_prog_CC
1719
2328
if test -n "$CC"; then
1720
 
  echo "$as_me:$LINENO: result: $CC" >&5
1721
 
echo "${ECHO_T}$CC" >&6
1722
 
else
1723
 
  echo "$as_me:$LINENO: result: no" >&5
1724
 
echo "${ECHO_T}no" >&6
1725
 
fi
1726
 
 
1727
 
fi
1728
 
if test -z "$ac_cv_prog_CC"; then
1729
 
  ac_ct_CC=$CC
1730
 
  # Extract the first word of "cc", so it can be a program name with args.
1731
 
set dummy cc; ac_word=$2
1732
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1733
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1734
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1735
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1736
 
else
1737
 
  if test -n "$ac_ct_CC"; then
1738
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1739
 
else
1740
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1741
 
for as_dir in $PATH
1742
 
do
1743
 
  IFS=$as_save_IFS
1744
 
  test -z "$as_dir" && as_dir=.
1745
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1746
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1747
 
    ac_cv_prog_ac_ct_CC="cc"
1748
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749
 
    break 2
 
2329
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2330
echo "${ECHO_T}$CC" >&6; }
 
2331
else
 
2332
  { echo "$as_me:$LINENO: result: no" >&5
 
2333
echo "${ECHO_T}no" >&6; }
 
2334
fi
 
2335
 
 
2336
 
1750
2337
  fi
1751
 
done
1752
 
done
1753
 
 
1754
 
fi
1755
 
fi
1756
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1757
 
if test -n "$ac_ct_CC"; then
1758
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1759
 
echo "${ECHO_T}$ac_ct_CC" >&6
1760
 
else
1761
 
  echo "$as_me:$LINENO: result: no" >&5
1762
 
echo "${ECHO_T}no" >&6
1763
 
fi
1764
 
 
1765
 
  CC=$ac_ct_CC
1766
 
else
1767
 
  CC="$ac_cv_prog_CC"
1768
 
fi
1769
 
 
1770
2338
fi
1771
2339
if test -z "$CC"; then
1772
2340
  # Extract the first word of "cc", so it can be a program name with args.
1773
2341
set dummy cc; ac_word=$2
1774
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1775
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2342
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2343
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1776
2344
if test "${ac_cv_prog_CC+set}" = set; then
1777
2345
  echo $ECHO_N "(cached) $ECHO_C" >&6
1778
2346
else
1786
2354
  IFS=$as_save_IFS
1787
2355
  test -z "$as_dir" && as_dir=.
1788
2356
  for ac_exec_ext in '' $ac_executable_extensions; do
1789
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2357
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1790
2358
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1791
2359
       ac_prog_rejected=yes
1792
2360
       continue
1797
2365
  fi
1798
2366
done
1799
2367
done
 
2368
IFS=$as_save_IFS
1800
2369
 
1801
2370
if test $ac_prog_rejected = yes; then
1802
2371
  # We found a bogon in the path, so make sure we never use it.
1814
2383
fi
1815
2384
CC=$ac_cv_prog_CC
1816
2385
if test -n "$CC"; then
1817
 
  echo "$as_me:$LINENO: result: $CC" >&5
1818
 
echo "${ECHO_T}$CC" >&6
 
2386
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2387
echo "${ECHO_T}$CC" >&6; }
1819
2388
else
1820
 
  echo "$as_me:$LINENO: result: no" >&5
1821
 
echo "${ECHO_T}no" >&6
 
2389
  { echo "$as_me:$LINENO: result: no" >&5
 
2390
echo "${ECHO_T}no" >&6; }
1822
2391
fi
 
2392
 
1823
2393
 
1824
2394
fi
1825
2395
if test -z "$CC"; then
1826
2396
  if test -n "$ac_tool_prefix"; then
1827
 
  for ac_prog in cl
 
2397
  for ac_prog in cl.exe
1828
2398
  do
1829
2399
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1830
2400
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1831
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1832
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2401
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2402
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1833
2403
if test "${ac_cv_prog_CC+set}" = set; then
1834
2404
  echo $ECHO_N "(cached) $ECHO_C" >&6
1835
2405
else
1842
2412
  IFS=$as_save_IFS
1843
2413
  test -z "$as_dir" && as_dir=.
1844
2414
  for ac_exec_ext in '' $ac_executable_extensions; do
1845
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2415
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1846
2416
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1847
2417
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848
2418
    break 2
1849
2419
  fi
1850
2420
done
1851
2421
done
 
2422
IFS=$as_save_IFS
1852
2423
 
1853
2424
fi
1854
2425
fi
1855
2426
CC=$ac_cv_prog_CC
1856
2427
if test -n "$CC"; then
1857
 
  echo "$as_me:$LINENO: result: $CC" >&5
1858
 
echo "${ECHO_T}$CC" >&6
 
2428
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2429
echo "${ECHO_T}$CC" >&6; }
1859
2430
else
1860
 
  echo "$as_me:$LINENO: result: no" >&5
1861
 
echo "${ECHO_T}no" >&6
 
2431
  { echo "$as_me:$LINENO: result: no" >&5
 
2432
echo "${ECHO_T}no" >&6; }
1862
2433
fi
1863
2434
 
 
2435
 
1864
2436
    test -n "$CC" && break
1865
2437
  done
1866
2438
fi
1867
2439
if test -z "$CC"; then
1868
2440
  ac_ct_CC=$CC
1869
 
  for ac_prog in cl
 
2441
  for ac_prog in cl.exe
1870
2442
do
1871
2443
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1872
2444
set dummy $ac_prog; ac_word=$2
1873
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1874
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2445
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2446
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1875
2447
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1876
2448
  echo $ECHO_N "(cached) $ECHO_C" >&6
1877
2449
else
1884
2456
  IFS=$as_save_IFS
1885
2457
  test -z "$as_dir" && as_dir=.
1886
2458
  for ac_exec_ext in '' $ac_executable_extensions; do
1887
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2459
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1888
2460
    ac_cv_prog_ac_ct_CC="$ac_prog"
1889
2461
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1890
2462
    break 2
1891
2463
  fi
1892
2464
done
1893
2465
done
 
2466
IFS=$as_save_IFS
1894
2467
 
1895
2468
fi
1896
2469
fi
1897
2470
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1898
2471
if test -n "$ac_ct_CC"; then
1899
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1900
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2472
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2473
echo "${ECHO_T}$ac_ct_CC" >&6; }
1901
2474
else
1902
 
  echo "$as_me:$LINENO: result: no" >&5
1903
 
echo "${ECHO_T}no" >&6
 
2475
  { echo "$as_me:$LINENO: result: no" >&5
 
2476
echo "${ECHO_T}no" >&6; }
1904
2477
fi
1905
2478
 
 
2479
 
1906
2480
  test -n "$ac_ct_CC" && break
1907
2481
done
1908
2482
 
1909
 
  CC=$ac_ct_CC
 
2483
  if test "x$ac_ct_CC" = x; then
 
2484
    CC=""
 
2485
  else
 
2486
    case $cross_compiling:$ac_tool_warned in
 
2487
yes:)
 
2488
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2489
whose name does not start with the host triplet.  If you think this
 
2490
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2491
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2492
whose name does not start with the host triplet.  If you think this
 
2493
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2494
ac_tool_warned=yes ;;
 
2495
esac
 
2496
    CC=$ac_ct_CC
 
2497
  fi
1910
2498
fi
1911
2499
 
1912
2500
fi
1919
2507
   { (exit 1); exit 1; }; }
1920
2508
 
1921
2509
# Provide some information about the compiler.
1922
 
echo "$as_me:$LINENO:" \
1923
 
     "checking for C compiler version" >&5
 
2510
echo "$as_me:$LINENO: checking for C compiler version" >&5
1924
2511
ac_compiler=`set X $ac_compile; echo $2`
1925
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1926
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
1927
 
  ac_status=$?
1928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929
 
  (exit $ac_status); }
1930
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1931
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
1932
 
  ac_status=$?
1933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934
 
  (exit $ac_status); }
1935
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1936
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2512
{ (ac_try="$ac_compiler --version >&5"
 
2513
case "(($ac_try" in
 
2514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2515
  *) ac_try_echo=$ac_try;;
 
2516
esac
 
2517
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2518
  (eval "$ac_compiler --version >&5") 2>&5
 
2519
  ac_status=$?
 
2520
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2521
  (exit $ac_status); }
 
2522
{ (ac_try="$ac_compiler -v >&5"
 
2523
case "(($ac_try" in
 
2524
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2525
  *) ac_try_echo=$ac_try;;
 
2526
esac
 
2527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2528
  (eval "$ac_compiler -v >&5") 2>&5
 
2529
  ac_status=$?
 
2530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2531
  (exit $ac_status); }
 
2532
{ (ac_try="$ac_compiler -V >&5"
 
2533
case "(($ac_try" in
 
2534
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2535
  *) ac_try_echo=$ac_try;;
 
2536
esac
 
2537
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2538
  (eval "$ac_compiler -V >&5") 2>&5
1937
2539
  ac_status=$?
1938
2540
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939
2541
  (exit $ac_status); }
1958
2560
# Try to create an executable without -o first, disregard a.out.
1959
2561
# It will help us diagnose broken compilers, and finding out an intuition
1960
2562
# of exeext.
1961
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1962
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2563
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2564
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1963
2565
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1964
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1965
 
  (eval $ac_link_default) 2>&5
 
2566
#
 
2567
# List of possible output files, starting from the most likely.
 
2568
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2569
# only as a last resort.  b.out is created by i960 compilers.
 
2570
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2571
#
 
2572
# The IRIX 6 linker writes into existing files which may not be
 
2573
# executable, retaining their permissions.  Remove them first so a
 
2574
# subsequent execution test works.
 
2575
ac_rmfiles=
 
2576
for ac_file in $ac_files
 
2577
do
 
2578
  case $ac_file in
 
2579
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2580
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2581
  esac
 
2582
done
 
2583
rm -f $ac_rmfiles
 
2584
 
 
2585
if { (ac_try="$ac_link_default"
 
2586
case "(($ac_try" in
 
2587
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2588
  *) ac_try_echo=$ac_try;;
 
2589
esac
 
2590
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2591
  (eval "$ac_link_default") 2>&5
1966
2592
  ac_status=$?
1967
2593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968
2594
  (exit $ac_status); }; then
1969
 
  # Find the output, starting from the most likely.  This scheme is
1970
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1971
 
# resort.
1972
 
 
1973
 
# Be careful to initialize this variable, since it used to be cached.
1974
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1975
 
ac_cv_exeext=
1976
 
# b.out is created by i960 compilers.
1977
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2595
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2596
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2597
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2598
# so that the user can short-circuit this test for compilers unknown to
 
2599
# Autoconf.
 
2600
for ac_file in $ac_files ''
1978
2601
do
1979
2602
  test -f "$ac_file" || continue
1980
2603
  case $ac_file in
1981
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1982
 
        ;;
1983
 
    conftest.$ac_ext )
1984
 
        # This is the source file.
 
2604
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1985
2605
        ;;
1986
2606
    [ab].out )
1987
2607
        # We found the default executable, but exeext='' is most
1988
2608
        # certainly right.
1989
2609
        break;;
1990
2610
    *.* )
1991
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1992
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
1993
 
        # but it would be cool to find out if it's true.  Does anybody
1994
 
        # maintain Libtool? --akim.
1995
 
        export ac_cv_exeext
 
2611
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2612
        then :; else
 
2613
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2614
        fi
 
2615
        # We set ac_cv_exeext here because the later test for it is not
 
2616
        # safe: cross compilers may not add the suffix if given an `-o'
 
2617
        # argument, so we may need to know it at that point already.
 
2618
        # Even if this section looks crufty: it has the advantage of
 
2619
        # actually working.
1996
2620
        break;;
1997
2621
    * )
1998
2622
        break;;
1999
2623
  esac
2000
2624
done
 
2625
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2626
 
2001
2627
else
 
2628
  ac_file=''
 
2629
fi
 
2630
 
 
2631
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2632
echo "${ECHO_T}$ac_file" >&6; }
 
2633
if test -z "$ac_file"; then
2002
2634
  echo "$as_me: failed program was:" >&5
2003
2635
sed 's/^/| /' conftest.$ac_ext >&5
2004
2636
 
2010
2642
fi
2011
2643
 
2012
2644
ac_exeext=$ac_cv_exeext
2013
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2014
 
echo "${ECHO_T}$ac_file" >&6
2015
2645
 
2016
 
# Check the compiler produces executables we can run.  If not, either
 
2646
# Check that the compiler produces executables we can run.  If not, either
2017
2647
# the compiler is broken, or we cross compile.
2018
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2019
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2648
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2649
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2020
2650
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2021
2651
# If not cross compiling, check that we can run a simple program.
2022
2652
if test "$cross_compiling" != yes; then
2023
2653
  if { ac_try='./$ac_file'
2024
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2025
 
  (eval $ac_try) 2>&5
 
2654
  { (case "(($ac_try" in
 
2655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2656
  *) ac_try_echo=$ac_try;;
 
2657
esac
 
2658
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2659
  (eval "$ac_try") 2>&5
2026
2660
  ac_status=$?
2027
2661
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2028
2662
  (exit $ac_status); }; }; then
2041
2675
    fi
2042
2676
  fi
2043
2677
fi
2044
 
echo "$as_me:$LINENO: result: yes" >&5
2045
 
echo "${ECHO_T}yes" >&6
 
2678
{ echo "$as_me:$LINENO: result: yes" >&5
 
2679
echo "${ECHO_T}yes" >&6; }
2046
2680
 
2047
2681
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2048
2682
ac_clean_files=$ac_clean_files_save
2049
 
# Check the compiler produces executables we can run.  If not, either
 
2683
# Check that the compiler produces executables we can run.  If not, either
2050
2684
# the compiler is broken, or we cross compile.
2051
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2052
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2053
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2054
 
echo "${ECHO_T}$cross_compiling" >&6
 
2685
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2686
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2687
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2688
echo "${ECHO_T}$cross_compiling" >&6; }
2055
2689
 
2056
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2057
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2058
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2059
 
  (eval $ac_link) 2>&5
 
2690
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2691
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2692
if { (ac_try="$ac_link"
 
2693
case "(($ac_try" in
 
2694
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2695
  *) ac_try_echo=$ac_try;;
 
2696
esac
 
2697
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2698
  (eval "$ac_link") 2>&5
2060
2699
  ac_status=$?
2061
2700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062
2701
  (exit $ac_status); }; then
2067
2706
for ac_file in conftest.exe conftest conftest.*; do
2068
2707
  test -f "$ac_file" || continue
2069
2708
  case $ac_file in
2070
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2709
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2071
2710
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2072
 
          export ac_cv_exeext
2073
2711
          break;;
2074
2712
    * ) break;;
2075
2713
  esac
2083
2721
fi
2084
2722
 
2085
2723
rm -f conftest$ac_cv_exeext
2086
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2087
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2724
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2725
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2088
2726
 
2089
2727
rm -f conftest.$ac_ext
2090
2728
EXEEXT=$ac_cv_exeext
2091
2729
ac_exeext=$EXEEXT
2092
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2093
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2730
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2731
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2094
2732
if test "${ac_cv_objext+set}" = set; then
2095
2733
  echo $ECHO_N "(cached) $ECHO_C" >&6
2096
2734
else
2110
2748
}
2111
2749
_ACEOF
2112
2750
rm -f conftest.o conftest.obj
2113
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2114
 
  (eval $ac_compile) 2>&5
 
2751
if { (ac_try="$ac_compile"
 
2752
case "(($ac_try" in
 
2753
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2754
  *) ac_try_echo=$ac_try;;
 
2755
esac
 
2756
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2757
  (eval "$ac_compile") 2>&5
2115
2758
  ac_status=$?
2116
2759
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117
2760
  (exit $ac_status); }; then
2118
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2761
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2762
  test -f "$ac_file" || continue;
2119
2763
  case $ac_file in
2120
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2764
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2121
2765
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2122
2766
       break;;
2123
2767
  esac
2135
2779
 
2136
2780
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2137
2781
fi
2138
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2139
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
2782
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2783
echo "${ECHO_T}$ac_cv_objext" >&6; }
2140
2784
OBJEXT=$ac_cv_objext
2141
2785
ac_objext=$OBJEXT
2142
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2143
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2786
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2787
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2144
2788
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2145
2789
  echo $ECHO_N "(cached) $ECHO_C" >&6
2146
2790
else
2163
2807
}
2164
2808
_ACEOF
2165
2809
rm -f conftest.$ac_objext
2166
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2167
 
  (eval $ac_compile) 2>conftest.er1
 
2810
if { (ac_try="$ac_compile"
 
2811
case "(($ac_try" in
 
2812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2813
  *) ac_try_echo=$ac_try;;
 
2814
esac
 
2815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2816
  (eval "$ac_compile") 2>conftest.er1
2168
2817
  ac_status=$?
2169
2818
  grep -v '^ *+' conftest.er1 >conftest.err
2170
2819
  rm -f conftest.er1
2171
2820
  cat conftest.err >&5
2172
2821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173
 
  (exit $ac_status); } &&
2174
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176
 
  (eval $ac_try) 2>&5
2177
 
  ac_status=$?
2178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179
 
  (exit $ac_status); }; } &&
2180
 
         { ac_try='test -s conftest.$ac_objext'
2181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182
 
  (eval $ac_try) 2>&5
2183
 
  ac_status=$?
2184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185
 
  (exit $ac_status); }; }; then
 
2822
  (exit $ac_status); } && {
 
2823
         test -z "$ac_c_werror_flag" ||
 
2824
         test ! -s conftest.err
 
2825
       } && test -s conftest.$ac_objext; then
2186
2826
  ac_compiler_gnu=yes
2187
2827
else
2188
2828
  echo "$as_me: failed program was:" >&5
2189
2829
sed 's/^/| /' conftest.$ac_ext >&5
2190
2830
 
2191
 
ac_compiler_gnu=no
 
2831
        ac_compiler_gnu=no
2192
2832
fi
2193
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2833
 
 
2834
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2194
2835
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2195
2836
 
2196
2837
fi
2197
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2198
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2838
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2839
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2199
2840
GCC=`test $ac_compiler_gnu = yes && echo yes`
2200
2841
ac_test_CFLAGS=${CFLAGS+set}
2201
2842
ac_save_CFLAGS=$CFLAGS
2202
 
CFLAGS="-g"
2203
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2204
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2843
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2844
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2205
2845
if test "${ac_cv_prog_cc_g+set}" = set; then
2206
2846
  echo $ECHO_N "(cached) $ECHO_C" >&6
2207
2847
else
2208
 
  cat >conftest.$ac_ext <<_ACEOF
2209
 
/* confdefs.h.  */
2210
 
_ACEOF
2211
 
cat confdefs.h >>conftest.$ac_ext
2212
 
cat >>conftest.$ac_ext <<_ACEOF
2213
 
/* end confdefs.h.  */
2214
 
 
2215
 
int
2216
 
main ()
2217
 
{
2218
 
 
2219
 
  ;
2220
 
  return 0;
2221
 
}
2222
 
_ACEOF
2223
 
rm -f conftest.$ac_objext
2224
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225
 
  (eval $ac_compile) 2>conftest.er1
2226
 
  ac_status=$?
2227
 
  grep -v '^ *+' conftest.er1 >conftest.err
2228
 
  rm -f conftest.er1
2229
 
  cat conftest.err >&5
2230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231
 
  (exit $ac_status); } &&
2232
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234
 
  (eval $ac_try) 2>&5
2235
 
  ac_status=$?
2236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237
 
  (exit $ac_status); }; } &&
2238
 
         { ac_try='test -s conftest.$ac_objext'
2239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240
 
  (eval $ac_try) 2>&5
2241
 
  ac_status=$?
2242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243
 
  (exit $ac_status); }; }; then
2244
 
  ac_cv_prog_cc_g=yes
2245
 
else
2246
 
  echo "$as_me: failed program was:" >&5
2247
 
sed 's/^/| /' conftest.$ac_ext >&5
2248
 
 
2249
 
ac_cv_prog_cc_g=no
2250
 
fi
2251
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2252
 
fi
2253
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2254
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2848
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2849
   ac_c_werror_flag=yes
 
2850
   ac_cv_prog_cc_g=no
 
2851
   CFLAGS="-g"
 
2852
   cat >conftest.$ac_ext <<_ACEOF
 
2853
/* confdefs.h.  */
 
2854
_ACEOF
 
2855
cat confdefs.h >>conftest.$ac_ext
 
2856
cat >>conftest.$ac_ext <<_ACEOF
 
2857
/* end confdefs.h.  */
 
2858
 
 
2859
int
 
2860
main ()
 
2861
{
 
2862
 
 
2863
  ;
 
2864
  return 0;
 
2865
}
 
2866
_ACEOF
 
2867
rm -f conftest.$ac_objext
 
2868
if { (ac_try="$ac_compile"
 
2869
case "(($ac_try" in
 
2870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2871
  *) ac_try_echo=$ac_try;;
 
2872
esac
 
2873
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2874
  (eval "$ac_compile") 2>conftest.er1
 
2875
  ac_status=$?
 
2876
  grep -v '^ *+' conftest.er1 >conftest.err
 
2877
  rm -f conftest.er1
 
2878
  cat conftest.err >&5
 
2879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2880
  (exit $ac_status); } && {
 
2881
         test -z "$ac_c_werror_flag" ||
 
2882
         test ! -s conftest.err
 
2883
       } && test -s conftest.$ac_objext; then
 
2884
  ac_cv_prog_cc_g=yes
 
2885
else
 
2886
  echo "$as_me: failed program was:" >&5
 
2887
sed 's/^/| /' conftest.$ac_ext >&5
 
2888
 
 
2889
        CFLAGS=""
 
2890
      cat >conftest.$ac_ext <<_ACEOF
 
2891
/* confdefs.h.  */
 
2892
_ACEOF
 
2893
cat confdefs.h >>conftest.$ac_ext
 
2894
cat >>conftest.$ac_ext <<_ACEOF
 
2895
/* end confdefs.h.  */
 
2896
 
 
2897
int
 
2898
main ()
 
2899
{
 
2900
 
 
2901
  ;
 
2902
  return 0;
 
2903
}
 
2904
_ACEOF
 
2905
rm -f conftest.$ac_objext
 
2906
if { (ac_try="$ac_compile"
 
2907
case "(($ac_try" in
 
2908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2909
  *) ac_try_echo=$ac_try;;
 
2910
esac
 
2911
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2912
  (eval "$ac_compile") 2>conftest.er1
 
2913
  ac_status=$?
 
2914
  grep -v '^ *+' conftest.er1 >conftest.err
 
2915
  rm -f conftest.er1
 
2916
  cat conftest.err >&5
 
2917
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2918
  (exit $ac_status); } && {
 
2919
         test -z "$ac_c_werror_flag" ||
 
2920
         test ! -s conftest.err
 
2921
       } && test -s conftest.$ac_objext; then
 
2922
  :
 
2923
else
 
2924
  echo "$as_me: failed program was:" >&5
 
2925
sed 's/^/| /' conftest.$ac_ext >&5
 
2926
 
 
2927
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2928
         CFLAGS="-g"
 
2929
         cat >conftest.$ac_ext <<_ACEOF
 
2930
/* confdefs.h.  */
 
2931
_ACEOF
 
2932
cat confdefs.h >>conftest.$ac_ext
 
2933
cat >>conftest.$ac_ext <<_ACEOF
 
2934
/* end confdefs.h.  */
 
2935
 
 
2936
int
 
2937
main ()
 
2938
{
 
2939
 
 
2940
  ;
 
2941
  return 0;
 
2942
}
 
2943
_ACEOF
 
2944
rm -f conftest.$ac_objext
 
2945
if { (ac_try="$ac_compile"
 
2946
case "(($ac_try" in
 
2947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2948
  *) ac_try_echo=$ac_try;;
 
2949
esac
 
2950
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2951
  (eval "$ac_compile") 2>conftest.er1
 
2952
  ac_status=$?
 
2953
  grep -v '^ *+' conftest.er1 >conftest.err
 
2954
  rm -f conftest.er1
 
2955
  cat conftest.err >&5
 
2956
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2957
  (exit $ac_status); } && {
 
2958
         test -z "$ac_c_werror_flag" ||
 
2959
         test ! -s conftest.err
 
2960
       } && test -s conftest.$ac_objext; then
 
2961
  ac_cv_prog_cc_g=yes
 
2962
else
 
2963
  echo "$as_me: failed program was:" >&5
 
2964
sed 's/^/| /' conftest.$ac_ext >&5
 
2965
 
 
2966
        
 
2967
fi
 
2968
 
 
2969
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2970
fi
 
2971
 
 
2972
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2973
fi
 
2974
 
 
2975
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2976
   ac_c_werror_flag=$ac_save_c_werror_flag
 
2977
fi
 
2978
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2979
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2255
2980
if test "$ac_test_CFLAGS" = set; then
2256
2981
  CFLAGS=$ac_save_CFLAGS
2257
2982
elif test $ac_cv_prog_cc_g = yes; then
2267
2992
    CFLAGS=
2268
2993
  fi
2269
2994
fi
2270
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2271
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2272
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2995
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2996
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2997
if test "${ac_cv_prog_cc_c89+set}" = set; then
2273
2998
  echo $ECHO_N "(cached) $ECHO_C" >&6
2274
2999
else
2275
 
  ac_cv_prog_cc_stdc=no
 
3000
  ac_cv_prog_cc_c89=no
2276
3001
ac_save_CC=$CC
2277
3002
cat >conftest.$ac_ext <<_ACEOF
2278
3003
/* confdefs.h.  */
2306
3031
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2307
3032
   function prototypes and stuff, but not '\xHH' hex character constants.
2308
3033
   These don't provoke an error unfortunately, instead are silently treated
2309
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3034
   as 'x'.  The following induces an error, until -std is added to get
2310
3035
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2311
3036
   array size at least.  It's necessary to write '\x00'==0 to get something
2312
 
   that's true only with -std1.  */
 
3037
   that's true only with -std.  */
2313
3038
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2314
3039
 
 
3040
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3041
   inside strings and character constants.  */
 
3042
#define FOO(x) 'x'
 
3043
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3044
 
2315
3045
int test (int i, double x);
2316
3046
struct s1 {int (*f) (int a);};
2317
3047
struct s2 {int (*f) (double a);};
2326
3056
  return 0;
2327
3057
}
2328
3058
_ACEOF
2329
 
# Don't try gcc -ansi; that turns off useful extensions and
2330
 
# breaks some systems' header files.
2331
 
# AIX                   -qlanglvl=ansi
2332
 
# Ultrix and OSF/1      -std1
2333
 
# HP-UX 10.20 and later -Ae
2334
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2335
 
# SVR4                  -Xc -D__EXTENSIONS__
2336
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3059
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3060
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2337
3061
do
2338
3062
  CC="$ac_save_CC $ac_arg"
2339
3063
  rm -f conftest.$ac_objext
2340
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341
 
  (eval $ac_compile) 2>conftest.er1
 
3064
if { (ac_try="$ac_compile"
 
3065
case "(($ac_try" in
 
3066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3067
  *) ac_try_echo=$ac_try;;
 
3068
esac
 
3069
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3070
  (eval "$ac_compile") 2>conftest.er1
2342
3071
  ac_status=$?
2343
3072
  grep -v '^ *+' conftest.er1 >conftest.err
2344
3073
  rm -f conftest.er1
2345
3074
  cat conftest.err >&5
2346
3075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347
 
  (exit $ac_status); } &&
2348
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2349
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2350
 
  (eval $ac_try) 2>&5
2351
 
  ac_status=$?
2352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353
 
  (exit $ac_status); }; } &&
2354
 
         { ac_try='test -s conftest.$ac_objext'
2355
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356
 
  (eval $ac_try) 2>&5
2357
 
  ac_status=$?
2358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359
 
  (exit $ac_status); }; }; then
2360
 
  ac_cv_prog_cc_stdc=$ac_arg
2361
 
break
 
3076
  (exit $ac_status); } && {
 
3077
         test -z "$ac_c_werror_flag" ||
 
3078
         test ! -s conftest.err
 
3079
       } && test -s conftest.$ac_objext; then
 
3080
  ac_cv_prog_cc_c89=$ac_arg
2362
3081
else
2363
3082
  echo "$as_me: failed program was:" >&5
2364
3083
sed 's/^/| /' conftest.$ac_ext >&5
2365
3084
 
 
3085
        
2366
3086
fi
2367
 
rm -f conftest.err conftest.$ac_objext 
 
3087
 
 
3088
rm -f core conftest.err conftest.$ac_objext 
 
3089
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2368
3090
done
2369
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3091
rm -f conftest.$ac_ext
2370
3092
CC=$ac_save_CC
2371
3093
 
2372
3094
fi
2373
 
 
2374
 
case "x$ac_cv_prog_cc_stdc" in
2375
 
  x|xno)
2376
 
    echo "$as_me:$LINENO: result: none needed" >&5
2377
 
echo "${ECHO_T}none needed" >&6 ;;
 
3095
# AC_CACHE_VAL
 
3096
case "x$ac_cv_prog_cc_c89" in
 
3097
  x)
 
3098
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3099
echo "${ECHO_T}none needed" >&6; } ;;
 
3100
  xno)
 
3101
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3102
echo "${ECHO_T}unsupported" >&6; } ;;
2378
3103
  *)
2379
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2380
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2381
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3104
    CC="$CC $ac_cv_prog_cc_c89"
 
3105
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3106
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2382
3107
esac
2383
3108
 
2384
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2385
 
# in C++ we need to declare it.  In case someone uses the same compiler
2386
 
# for both compiling C and C++ we need to have the C++ compiler decide
2387
 
# the declaration of exit, since it's the most demanding environment.
2388
 
cat >conftest.$ac_ext <<_ACEOF
2389
 
@%:@ifndef __cplusplus
2390
 
  choke me
2391
 
@%:@endif
2392
 
_ACEOF
2393
 
rm -f conftest.$ac_objext
2394
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2395
 
  (eval $ac_compile) 2>conftest.er1
2396
 
  ac_status=$?
2397
 
  grep -v '^ *+' conftest.er1 >conftest.err
2398
 
  rm -f conftest.er1
2399
 
  cat conftest.err >&5
2400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401
 
  (exit $ac_status); } &&
2402
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2403
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2404
 
  (eval $ac_try) 2>&5
2405
 
  ac_status=$?
2406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407
 
  (exit $ac_status); }; } &&
2408
 
         { ac_try='test -s conftest.$ac_objext'
2409
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410
 
  (eval $ac_try) 2>&5
2411
 
  ac_status=$?
2412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413
 
  (exit $ac_status); }; }; then
2414
 
  for ac_declaration in \
2415
 
   '' \
2416
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2417
 
   'extern "C" void std::exit (int); using std::exit;' \
2418
 
   'extern "C" void exit (int) throw ();' \
2419
 
   'extern "C" void exit (int);' \
2420
 
   'void exit (int);'
2421
 
do
2422
 
  cat >conftest.$ac_ext <<_ACEOF
2423
 
/* confdefs.h.  */
2424
 
_ACEOF
2425
 
cat confdefs.h >>conftest.$ac_ext
2426
 
cat >>conftest.$ac_ext <<_ACEOF
2427
 
/* end confdefs.h.  */
2428
 
$ac_declaration
2429
 
@%:@include <stdlib.h>
2430
 
int
2431
 
main ()
2432
 
{
2433
 
exit (42);
2434
 
  ;
2435
 
  return 0;
2436
 
}
2437
 
_ACEOF
2438
 
rm -f conftest.$ac_objext
2439
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2440
 
  (eval $ac_compile) 2>conftest.er1
2441
 
  ac_status=$?
2442
 
  grep -v '^ *+' conftest.er1 >conftest.err
2443
 
  rm -f conftest.er1
2444
 
  cat conftest.err >&5
2445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446
 
  (exit $ac_status); } &&
2447
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2448
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449
 
  (eval $ac_try) 2>&5
2450
 
  ac_status=$?
2451
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452
 
  (exit $ac_status); }; } &&
2453
 
         { ac_try='test -s conftest.$ac_objext'
2454
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455
 
  (eval $ac_try) 2>&5
2456
 
  ac_status=$?
2457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458
 
  (exit $ac_status); }; }; then
2459
 
  :
2460
 
else
2461
 
  echo "$as_me: failed program was:" >&5
2462
 
sed 's/^/| /' conftest.$ac_ext >&5
2463
 
 
2464
 
continue
2465
 
fi
2466
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2467
 
  cat >conftest.$ac_ext <<_ACEOF
2468
 
/* confdefs.h.  */
2469
 
_ACEOF
2470
 
cat confdefs.h >>conftest.$ac_ext
2471
 
cat >>conftest.$ac_ext <<_ACEOF
2472
 
/* end confdefs.h.  */
2473
 
$ac_declaration
2474
 
int
2475
 
main ()
2476
 
{
2477
 
exit (42);
2478
 
  ;
2479
 
  return 0;
2480
 
}
2481
 
_ACEOF
2482
 
rm -f conftest.$ac_objext
2483
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2484
 
  (eval $ac_compile) 2>conftest.er1
2485
 
  ac_status=$?
2486
 
  grep -v '^ *+' conftest.er1 >conftest.err
2487
 
  rm -f conftest.er1
2488
 
  cat conftest.err >&5
2489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490
 
  (exit $ac_status); } &&
2491
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2492
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2493
 
  (eval $ac_try) 2>&5
2494
 
  ac_status=$?
2495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496
 
  (exit $ac_status); }; } &&
2497
 
         { ac_try='test -s conftest.$ac_objext'
2498
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499
 
  (eval $ac_try) 2>&5
2500
 
  ac_status=$?
2501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502
 
  (exit $ac_status); }; }; then
2503
 
  break
2504
 
else
2505
 
  echo "$as_me: failed program was:" >&5
2506
 
sed 's/^/| /' conftest.$ac_ext >&5
2507
 
 
2508
 
fi
2509
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2510
 
done
2511
 
rm -f conftest*
2512
 
if test -n "$ac_declaration"; then
2513
 
  echo '#ifdef __cplusplus' >>confdefs.h
2514
 
  echo $ac_declaration      >>confdefs.h
2515
 
  echo '#endif'             >>confdefs.h
2516
 
fi
2517
 
 
2518
 
else
2519
 
  echo "$as_me: failed program was:" >&5
2520
 
sed 's/^/| /' conftest.$ac_ext >&5
2521
 
 
2522
 
fi
2523
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2524
 
ac_ext=c
2525
 
ac_cpp='$CPP $CPPFLAGS'
2526
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2527
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2528
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2529
 
 
2530
 
 
2531
 
 
2532
 
ac_ext=c
2533
 
ac_cpp='$CPP $CPPFLAGS'
2534
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2538
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3109
 
 
3110
ac_ext=c
 
3111
ac_cpp='$CPP $CPPFLAGS'
 
3112
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3113
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3114
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3115
DEPDIR="${am__leading_dot}deps"
 
3116
 
 
3117
ac_config_commands="$ac_config_commands depfiles"
 
3118
 
 
3119
 
 
3120
am_make=${MAKE-make}
 
3121
cat > confinc << 'END'
 
3122
am__doit:
 
3123
        @echo done
 
3124
.PHONY: am__doit
 
3125
END
 
3126
# If we don't find an include directive, just comment out the code.
 
3127
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3128
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3129
am__include="#"
 
3130
am__quote=
 
3131
_am_result=none
 
3132
# First try GNU make style include.
 
3133
echo "include confinc" > confmf
 
3134
# We grep out `Entering directory' and `Leaving directory'
 
3135
# messages which can occur if `w' ends up in MAKEFLAGS.
 
3136
# In particular we don't look at `^make:' because GNU make might
 
3137
# be invoked under some other name (usually "gmake"), in which
 
3138
# case it prints its new name instead of `make'.
 
3139
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
3140
   am__include=include
 
3141
   am__quote=
 
3142
   _am_result=GNU
 
3143
fi
 
3144
# Now try BSD make style include.
 
3145
if test "$am__include" = "#"; then
 
3146
   echo '.include "confinc"' > confmf
 
3147
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
3148
      am__include=.include
 
3149
      am__quote="\""
 
3150
      _am_result=BSD
 
3151
   fi
 
3152
fi
 
3153
 
 
3154
 
 
3155
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3156
echo "${ECHO_T}$_am_result" >&6; }
 
3157
rm -f confinc confmf
 
3158
 
 
3159
# Check whether --enable-dependency-tracking was given.
 
3160
if test "${enable_dependency_tracking+set}" = set; then
 
3161
  enableval=$enable_dependency_tracking; 
 
3162
fi
 
3163
 
 
3164
if test "x$enable_dependency_tracking" != xno; then
 
3165
  am_depcomp="$ac_aux_dir/depcomp"
 
3166
  AMDEPBACKSLASH='\'
 
3167
fi
 
3168
 
 
3169
 
 
3170
if test "x$enable_dependency_tracking" != xno; then
 
3171
  AMDEP_TRUE=
 
3172
  AMDEP_FALSE='#'
 
3173
else
 
3174
  AMDEP_TRUE='#'
 
3175
  AMDEP_FALSE=
 
3176
fi
 
3177
 
 
3178
 
 
3179
 
 
3180
 
 
3181
depcc="$CC"   am_compiler_list=
 
3182
 
 
3183
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3184
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3185
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3186
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3187
else
 
3188
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3189
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3190
  # making bogus files that we don't know about and never remove.  For
 
3191
  # instance it was reported that on HP-UX the gcc test will end up
 
3192
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3193
  # in D'.
 
3194
  mkdir conftest.dir
 
3195
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3196
  # using a relative directory.
 
3197
  cp "$am_depcomp" conftest.dir
 
3198
  cd conftest.dir
 
3199
  # We will build objects and dependencies in a subdirectory because
 
3200
  # it helps to detect inapplicable dependency modes.  For instance
 
3201
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3202
  # side effect of compilation, but ICC will put the dependencies in
 
3203
  # the current directory while Tru64 will put them in the object
 
3204
  # directory.
 
3205
  mkdir sub
 
3206
 
 
3207
  am_cv_CC_dependencies_compiler_type=none
 
3208
  if test "$am_compiler_list" = ""; then
 
3209
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3210
  fi
 
3211
  for depmode in $am_compiler_list; do
 
3212
    # Setup a source with many dependencies, because some compilers
 
3213
    # like to wrap large dependency lists on column 80 (with \), and
 
3214
    # we should not choose a depcomp mode which is confused by this.
 
3215
    #
 
3216
    # We need to recreate these files for each test, as the compiler may
 
3217
    # overwrite some of them when testing with obscure command lines.
 
3218
    # This happens at least with the AIX C compiler.
 
3219
    : > sub/conftest.c
 
3220
    for i in 1 2 3 4 5 6; do
 
3221
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3222
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3223
      # Solaris 8's {/usr,}/bin/sh.
 
3224
      touch sub/conftst$i.h
 
3225
    done
 
3226
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3227
 
 
3228
    case $depmode in
 
3229
    nosideeffect)
 
3230
      # after this tag, mechanisms are not by side-effect, so they'll
 
3231
      # only be used when explicitly requested
 
3232
      if test "x$enable_dependency_tracking" = xyes; then
 
3233
        continue
 
3234
      else
 
3235
        break
 
3236
      fi
 
3237
      ;;
 
3238
    none) break ;;
 
3239
    esac
 
3240
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3241
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3242
    # handle `-M -o', and we need to detect this.
 
3243
    if depmode=$depmode \
 
3244
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3245
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3246
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3247
         >/dev/null 2>conftest.err &&
 
3248
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3249
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3250
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3251
      # icc doesn't choke on unknown options, it will just issue warnings
 
3252
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3253
      # that says an option was ignored or not supported.
 
3254
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3255
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3256
      # The diagnosis changed in icc 8.0:
 
3257
      #   icc: Command line remark: option '-MP' not supported
 
3258
      if (grep 'ignoring option' conftest.err ||
 
3259
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3260
        am_cv_CC_dependencies_compiler_type=$depmode
 
3261
        break
 
3262
      fi
 
3263
    fi
 
3264
  done
 
3265
 
 
3266
  cd ..
 
3267
  rm -rf conftest.dir
 
3268
else
 
3269
  am_cv_CC_dependencies_compiler_type=none
 
3270
fi
 
3271
 
 
3272
fi
 
3273
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3274
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3275
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3276
 
 
3277
 
 
3278
 
 
3279
if 
 
3280
  test "x$enable_dependency_tracking" != xno \
 
3281
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3282
  am__fastdepCC_TRUE=
 
3283
  am__fastdepCC_FALSE='#'
 
3284
else
 
3285
  am__fastdepCC_TRUE='#'
 
3286
  am__fastdepCC_FALSE=
 
3287
fi
 
3288
 
 
3289
 
 
3290
 
 
3291
 
 
3292
ac_ext=c
 
3293
ac_cpp='$CPP $CPPFLAGS'
 
3294
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3295
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3296
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3297
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3298
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2539
3299
# On Suns, sometimes $CPP names a directory.
2540
3300
if test -n "$CPP" && test -d "$CPP"; then
2541
3301
  CPP=
2569
3329
@%:@endif
2570
3330
                     Syntax error
2571
3331
_ACEOF
2572
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2573
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3332
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3333
case "(($ac_try" in
 
3334
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3335
  *) ac_try_echo=$ac_try;;
 
3336
esac
 
3337
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3338
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2574
3339
  ac_status=$?
2575
3340
  grep -v '^ *+' conftest.er1 >conftest.err
2576
3341
  rm -f conftest.er1
2577
3342
  cat conftest.err >&5
2578
3343
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579
 
  (exit $ac_status); } >/dev/null; then
2580
 
  if test -s conftest.err; then
2581
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2582
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2583
 
  else
2584
 
    ac_cpp_err=
2585
 
  fi
2586
 
else
2587
 
  ac_cpp_err=yes
2588
 
fi
2589
 
if test -z "$ac_cpp_err"; then
 
3344
  (exit $ac_status); } >/dev/null && {
 
3345
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3346
         test ! -s conftest.err
 
3347
       }; then
2590
3348
  :
2591
3349
else
2592
3350
  echo "$as_me: failed program was:" >&5
2595
3353
  # Broken: fails on valid input.
2596
3354
continue
2597
3355
fi
 
3356
 
2598
3357
rm -f conftest.err conftest.$ac_ext
2599
3358
 
2600
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3359
  # OK, works on sane cases.  Now check whether nonexistent headers
2601
3360
  # can be detected and how.
2602
3361
  cat >conftest.$ac_ext <<_ACEOF
2603
3362
/* confdefs.h.  */
2607
3366
/* end confdefs.h.  */
2608
3367
@%:@include <ac_nonexistent.h>
2609
3368
_ACEOF
2610
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2611
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3369
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3370
case "(($ac_try" in
 
3371
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3372
  *) ac_try_echo=$ac_try;;
 
3373
esac
 
3374
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3375
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2612
3376
  ac_status=$?
2613
3377
  grep -v '^ *+' conftest.er1 >conftest.err
2614
3378
  rm -f conftest.er1
2615
3379
  cat conftest.err >&5
2616
3380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617
 
  (exit $ac_status); } >/dev/null; then
2618
 
  if test -s conftest.err; then
2619
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2620
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2621
 
  else
2622
 
    ac_cpp_err=
2623
 
  fi
2624
 
else
2625
 
  ac_cpp_err=yes
2626
 
fi
2627
 
if test -z "$ac_cpp_err"; then
 
3381
  (exit $ac_status); } >/dev/null && {
 
3382
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3383
         test ! -s conftest.err
 
3384
       }; then
2628
3385
  # Broken: success on invalid input.
2629
3386
continue
2630
3387
else
2635
3392
ac_preproc_ok=:
2636
3393
break
2637
3394
fi
 
3395
 
2638
3396
rm -f conftest.err conftest.$ac_ext
2639
3397
 
2640
3398
done
2652
3410
else
2653
3411
  ac_cv_prog_CPP=$CPP
2654
3412
fi
2655
 
echo "$as_me:$LINENO: result: $CPP" >&5
2656
 
echo "${ECHO_T}$CPP" >&6
 
3413
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3414
echo "${ECHO_T}$CPP" >&6; }
2657
3415
ac_preproc_ok=false
2658
3416
for ac_c_preproc_warn_flag in '' yes
2659
3417
do
2676
3434
@%:@endif
2677
3435
                     Syntax error
2678
3436
_ACEOF
2679
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2680
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3437
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3438
case "(($ac_try" in
 
3439
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3440
  *) ac_try_echo=$ac_try;;
 
3441
esac
 
3442
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3443
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2681
3444
  ac_status=$?
2682
3445
  grep -v '^ *+' conftest.er1 >conftest.err
2683
3446
  rm -f conftest.er1
2684
3447
  cat conftest.err >&5
2685
3448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686
 
  (exit $ac_status); } >/dev/null; then
2687
 
  if test -s conftest.err; then
2688
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2689
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2690
 
  else
2691
 
    ac_cpp_err=
2692
 
  fi
2693
 
else
2694
 
  ac_cpp_err=yes
2695
 
fi
2696
 
if test -z "$ac_cpp_err"; then
 
3449
  (exit $ac_status); } >/dev/null && {
 
3450
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3451
         test ! -s conftest.err
 
3452
       }; then
2697
3453
  :
2698
3454
else
2699
3455
  echo "$as_me: failed program was:" >&5
2702
3458
  # Broken: fails on valid input.
2703
3459
continue
2704
3460
fi
 
3461
 
2705
3462
rm -f conftest.err conftest.$ac_ext
2706
3463
 
2707
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3464
  # OK, works on sane cases.  Now check whether nonexistent headers
2708
3465
  # can be detected and how.
2709
3466
  cat >conftest.$ac_ext <<_ACEOF
2710
3467
/* confdefs.h.  */
2714
3471
/* end confdefs.h.  */
2715
3472
@%:@include <ac_nonexistent.h>
2716
3473
_ACEOF
2717
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2718
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3474
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3475
case "(($ac_try" in
 
3476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3477
  *) ac_try_echo=$ac_try;;
 
3478
esac
 
3479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3480
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2719
3481
  ac_status=$?
2720
3482
  grep -v '^ *+' conftest.er1 >conftest.err
2721
3483
  rm -f conftest.er1
2722
3484
  cat conftest.err >&5
2723
3485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724
 
  (exit $ac_status); } >/dev/null; then
2725
 
  if test -s conftest.err; then
2726
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2727
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2728
 
  else
2729
 
    ac_cpp_err=
2730
 
  fi
2731
 
else
2732
 
  ac_cpp_err=yes
2733
 
fi
2734
 
if test -z "$ac_cpp_err"; then
 
3486
  (exit $ac_status); } >/dev/null && {
 
3487
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3488
         test ! -s conftest.err
 
3489
       }; then
2735
3490
  # Broken: success on invalid input.
2736
3491
continue
2737
3492
else
2742
3497
ac_preproc_ok=:
2743
3498
break
2744
3499
fi
 
3500
 
2745
3501
rm -f conftest.err conftest.$ac_ext
2746
3502
 
2747
3503
done
2764
3520
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2765
3521
 
2766
3522
 
2767
 
echo "$as_me:$LINENO: checking for egrep" >&5
2768
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2769
 
if test "${ac_cv_prog_egrep+set}" = set; then
2770
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2771
 
else
2772
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2773
 
    then ac_cv_prog_egrep='grep -E'
2774
 
    else ac_cv_prog_egrep='egrep'
2775
 
    fi
2776
 
fi
2777
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2778
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2779
 
 EGREP=$ac_cv_prog_egrep
2780
 
 
2781
 
 
2782
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2783
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3523
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3524
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3525
if test "${ac_cv_path_GREP+set}" = set; then
 
3526
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3527
else
 
3528
  # Extract the first word of "grep ggrep" to use in msg output
 
3529
if test -z "$GREP"; then
 
3530
set dummy grep ggrep; ac_prog_name=$2
 
3531
if test "${ac_cv_path_GREP+set}" = set; then
 
3532
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3533
else
 
3534
  ac_path_GREP_found=false
 
3535
# Loop through the user's path and test for each of PROGNAME-LIST
 
3536
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3537
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3538
do
 
3539
  IFS=$as_save_IFS
 
3540
  test -z "$as_dir" && as_dir=.
 
3541
  for ac_prog in grep ggrep; do
 
3542
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3543
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3544
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3545
    # Check for GNU ac_path_GREP and select it if it is found.
 
3546
  # Check for GNU $ac_path_GREP
 
3547
case `"$ac_path_GREP" --version 2>&1` in
 
3548
*GNU*)
 
3549
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3550
*)
 
3551
  ac_count=0
 
3552
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3553
  while :
 
3554
  do
 
3555
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3556
    mv "conftest.tmp" "conftest.in"
 
3557
    cp "conftest.in" "conftest.nl"
 
3558
    echo 'GREP' >> "conftest.nl"
 
3559
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3560
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3561
    ac_count=`expr $ac_count + 1`
 
3562
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3563
      # Best one so far, save it but keep looking for a better one
 
3564
      ac_cv_path_GREP="$ac_path_GREP"
 
3565
      ac_path_GREP_max=$ac_count
 
3566
    fi
 
3567
    # 10*(2^10) chars as input seems more than enough
 
3568
    test $ac_count -gt 10 && break
 
3569
  done
 
3570
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3571
esac
 
3572
 
 
3573
 
 
3574
    $ac_path_GREP_found && break 3
 
3575
  done
 
3576
done
 
3577
 
 
3578
done
 
3579
IFS=$as_save_IFS
 
3580
 
 
3581
 
 
3582
fi
 
3583
 
 
3584
GREP="$ac_cv_path_GREP"
 
3585
if test -z "$GREP"; then
 
3586
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3587
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3588
   { (exit 1); exit 1; }; }
 
3589
fi
 
3590
 
 
3591
else
 
3592
  ac_cv_path_GREP=$GREP
 
3593
fi
 
3594
 
 
3595
 
 
3596
fi
 
3597
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3598
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3599
 GREP="$ac_cv_path_GREP"
 
3600
 
 
3601
 
 
3602
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3603
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3604
if test "${ac_cv_path_EGREP+set}" = set; then
 
3605
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3606
else
 
3607
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3608
   then ac_cv_path_EGREP="$GREP -E"
 
3609
   else
 
3610
     # Extract the first word of "egrep" to use in msg output
 
3611
if test -z "$EGREP"; then
 
3612
set dummy egrep; ac_prog_name=$2
 
3613
if test "${ac_cv_path_EGREP+set}" = set; then
 
3614
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3615
else
 
3616
  ac_path_EGREP_found=false
 
3617
# Loop through the user's path and test for each of PROGNAME-LIST
 
3618
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3619
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3620
do
 
3621
  IFS=$as_save_IFS
 
3622
  test -z "$as_dir" && as_dir=.
 
3623
  for ac_prog in egrep; do
 
3624
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3625
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3626
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3627
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3628
  # Check for GNU $ac_path_EGREP
 
3629
case `"$ac_path_EGREP" --version 2>&1` in
 
3630
*GNU*)
 
3631
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3632
*)
 
3633
  ac_count=0
 
3634
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3635
  while :
 
3636
  do
 
3637
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3638
    mv "conftest.tmp" "conftest.in"
 
3639
    cp "conftest.in" "conftest.nl"
 
3640
    echo 'EGREP' >> "conftest.nl"
 
3641
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3642
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3643
    ac_count=`expr $ac_count + 1`
 
3644
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3645
      # Best one so far, save it but keep looking for a better one
 
3646
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3647
      ac_path_EGREP_max=$ac_count
 
3648
    fi
 
3649
    # 10*(2^10) chars as input seems more than enough
 
3650
    test $ac_count -gt 10 && break
 
3651
  done
 
3652
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3653
esac
 
3654
 
 
3655
 
 
3656
    $ac_path_EGREP_found && break 3
 
3657
  done
 
3658
done
 
3659
 
 
3660
done
 
3661
IFS=$as_save_IFS
 
3662
 
 
3663
 
 
3664
fi
 
3665
 
 
3666
EGREP="$ac_cv_path_EGREP"
 
3667
if test -z "$EGREP"; then
 
3668
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3669
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3670
   { (exit 1); exit 1; }; }
 
3671
fi
 
3672
 
 
3673
else
 
3674
  ac_cv_path_EGREP=$EGREP
 
3675
fi
 
3676
 
 
3677
 
 
3678
   fi
 
3679
fi
 
3680
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3681
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3682
 EGREP="$ac_cv_path_EGREP"
 
3683
 
 
3684
 
 
3685
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3686
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
2784
3687
if test "${ac_cv_header_stdc+set}" = set; then
2785
3688
  echo $ECHO_N "(cached) $ECHO_C" >&6
2786
3689
else
2804
3707
}
2805
3708
_ACEOF
2806
3709
rm -f conftest.$ac_objext
2807
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2808
 
  (eval $ac_compile) 2>conftest.er1
 
3710
if { (ac_try="$ac_compile"
 
3711
case "(($ac_try" in
 
3712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3713
  *) ac_try_echo=$ac_try;;
 
3714
esac
 
3715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3716
  (eval "$ac_compile") 2>conftest.er1
2809
3717
  ac_status=$?
2810
3718
  grep -v '^ *+' conftest.er1 >conftest.err
2811
3719
  rm -f conftest.er1
2812
3720
  cat conftest.err >&5
2813
3721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814
 
  (exit $ac_status); } &&
2815
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817
 
  (eval $ac_try) 2>&5
2818
 
  ac_status=$?
2819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820
 
  (exit $ac_status); }; } &&
2821
 
         { ac_try='test -s conftest.$ac_objext'
2822
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823
 
  (eval $ac_try) 2>&5
2824
 
  ac_status=$?
2825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826
 
  (exit $ac_status); }; }; then
 
3722
  (exit $ac_status); } && {
 
3723
         test -z "$ac_c_werror_flag" ||
 
3724
         test ! -s conftest.err
 
3725
       } && test -s conftest.$ac_objext; then
2827
3726
  ac_cv_header_stdc=yes
2828
3727
else
2829
3728
  echo "$as_me: failed program was:" >&5
2830
3729
sed 's/^/| /' conftest.$ac_ext >&5
2831
3730
 
2832
 
ac_cv_header_stdc=no
 
3731
        ac_cv_header_stdc=no
2833
3732
fi
2834
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3733
 
 
3734
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835
3735
 
2836
3736
if test $ac_cv_header_stdc = yes; then
2837
3737
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2887
3787
cat >>conftest.$ac_ext <<_ACEOF
2888
3788
/* end confdefs.h.  */
2889
3789
#include <ctype.h>
 
3790
#include <stdlib.h>
2890
3791
#if ((' ' & 0x0FF) == 0x020)
2891
3792
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2892
3793
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2906
3807
  for (i = 0; i < 256; i++)
2907
3808
    if (XOR (islower (i), ISLOWER (i))
2908
3809
        || toupper (i) != TOUPPER (i))
2909
 
      exit(2);
2910
 
  exit (0);
 
3810
      return 2;
 
3811
  return 0;
2911
3812
}
2912
3813
_ACEOF
2913
3814
rm -f conftest$ac_exeext
2914
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2915
 
  (eval $ac_link) 2>&5
 
3815
if { (ac_try="$ac_link"
 
3816
case "(($ac_try" in
 
3817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3818
  *) ac_try_echo=$ac_try;;
 
3819
esac
 
3820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3821
  (eval "$ac_link") 2>&5
2916
3822
  ac_status=$?
2917
3823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918
3824
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920
 
  (eval $ac_try) 2>&5
 
3825
  { (case "(($ac_try" in
 
3826
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3827
  *) ac_try_echo=$ac_try;;
 
3828
esac
 
3829
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3830
  (eval "$ac_try") 2>&5
2921
3831
  ac_status=$?
2922
3832
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923
3833
  (exit $ac_status); }; }; then
2930
3840
( exit $ac_status )
2931
3841
ac_cv_header_stdc=no
2932
3842
fi
2933
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2934
 
fi
2935
 
fi
2936
 
fi
2937
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2938
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
3843
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3844
fi
 
3845
 
 
3846
 
 
3847
fi
 
3848
fi
 
3849
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3850
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
2939
3851
if test $ac_cv_header_stdc = yes; then
2940
3852
  
2941
3853
cat >>confdefs.h <<\_ACEOF
2958
3870
                  inttypes.h stdint.h unistd.h
2959
3871
do
2960
3872
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2961
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
2962
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2963
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3873
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3874
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
3875
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2964
3876
  echo $ECHO_N "(cached) $ECHO_C" >&6
2965
3877
else
2966
3878
  cat >conftest.$ac_ext <<_ACEOF
2974
3886
@%:@include <$ac_header>
2975
3887
_ACEOF
2976
3888
rm -f conftest.$ac_objext
2977
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2978
 
  (eval $ac_compile) 2>conftest.er1
 
3889
if { (ac_try="$ac_compile"
 
3890
case "(($ac_try" in
 
3891
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3892
  *) ac_try_echo=$ac_try;;
 
3893
esac
 
3894
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3895
  (eval "$ac_compile") 2>conftest.er1
2979
3896
  ac_status=$?
2980
3897
  grep -v '^ *+' conftest.er1 >conftest.err
2981
3898
  rm -f conftest.er1
2982
3899
  cat conftest.err >&5
2983
3900
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984
 
  (exit $ac_status); } &&
2985
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2986
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2987
 
  (eval $ac_try) 2>&5
2988
 
  ac_status=$?
2989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990
 
  (exit $ac_status); }; } &&
2991
 
         { ac_try='test -s conftest.$ac_objext'
2992
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2993
 
  (eval $ac_try) 2>&5
2994
 
  ac_status=$?
2995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996
 
  (exit $ac_status); }; }; then
 
3901
  (exit $ac_status); } && {
 
3902
         test -z "$ac_c_werror_flag" ||
 
3903
         test ! -s conftest.err
 
3904
       } && test -s conftest.$ac_objext; then
2997
3905
  eval "$as_ac_Header=yes"
2998
3906
else
2999
3907
  echo "$as_me: failed program was:" >&5
3000
3908
sed 's/^/| /' conftest.$ac_ext >&5
3001
3909
 
3002
 
eval "$as_ac_Header=no"
3003
 
fi
3004
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3005
 
fi
3006
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3007
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3910
        eval "$as_ac_Header=no"
 
3911
fi
 
3912
 
 
3913
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3914
fi
 
3915
ac_res=`eval echo '${'$as_ac_Header'}'`
 
3916
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
3917
echo "${ECHO_T}$ac_res" >&6; }
3008
3918
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3009
3919
  cat >>confdefs.h <<_ACEOF
3010
3920
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3015
3925
done
3016
3926
 
3017
3927
 
3018
 
echo "$as_me:$LINENO: checking for unsigned char" >&5
3019
 
echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6
 
3928
{ echo "$as_me:$LINENO: checking for unsigned char" >&5
 
3929
echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6; }
3020
3930
if test "${ac_cv_type_unsigned_char+set}" = set; then
3021
3931
  echo $ECHO_N "(cached) $ECHO_C" >&6
3022
3932
else
3027
3937
cat >>conftest.$ac_ext <<_ACEOF
3028
3938
/* end confdefs.h.  */
3029
3939
$ac_includes_default
 
3940
typedef unsigned char ac__type_new_;
3030
3941
int
3031
3942
main ()
3032
3943
{
3033
 
if ((unsigned char *) 0)
 
3944
if ((ac__type_new_ *) 0)
3034
3945
  return 0;
3035
 
if (sizeof (unsigned char))
 
3946
if (sizeof (ac__type_new_))
3036
3947
  return 0;
3037
3948
  ;
3038
3949
  return 0;
3039
3950
}
3040
3951
_ACEOF
3041
3952
rm -f conftest.$ac_objext
3042
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3043
 
  (eval $ac_compile) 2>conftest.er1
 
3953
if { (ac_try="$ac_compile"
 
3954
case "(($ac_try" in
 
3955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3956
  *) ac_try_echo=$ac_try;;
 
3957
esac
 
3958
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3959
  (eval "$ac_compile") 2>conftest.er1
3044
3960
  ac_status=$?
3045
3961
  grep -v '^ *+' conftest.er1 >conftest.err
3046
3962
  rm -f conftest.er1
3047
3963
  cat conftest.err >&5
3048
3964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049
 
  (exit $ac_status); } &&
3050
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3051
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3052
 
  (eval $ac_try) 2>&5
3053
 
  ac_status=$?
3054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055
 
  (exit $ac_status); }; } &&
3056
 
         { ac_try='test -s conftest.$ac_objext'
3057
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058
 
  (eval $ac_try) 2>&5
3059
 
  ac_status=$?
3060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061
 
  (exit $ac_status); }; }; then
 
3965
  (exit $ac_status); } && {
 
3966
         test -z "$ac_c_werror_flag" ||
 
3967
         test ! -s conftest.err
 
3968
       } && test -s conftest.$ac_objext; then
3062
3969
  ac_cv_type_unsigned_char=yes
3063
3970
else
3064
3971
  echo "$as_me: failed program was:" >&5
3065
3972
sed 's/^/| /' conftest.$ac_ext >&5
3066
3973
 
3067
 
ac_cv_type_unsigned_char=no
3068
 
fi
3069
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3070
 
fi
3071
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
3072
 
echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6
3073
 
 
3074
 
echo "$as_me:$LINENO: checking size of unsigned char" >&5
3075
 
echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6
 
3974
        ac_cv_type_unsigned_char=no
 
3975
fi
 
3976
 
 
3977
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3978
fi
 
3979
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
 
3980
echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6; }
 
3981
 
 
3982
# The cast to long int works around a bug in the HP C Compiler
 
3983
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
3984
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
3985
# This bug is HP SR number 8606223364.
 
3986
{ echo "$as_me:$LINENO: checking size of unsigned char" >&5
 
3987
echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6; }
3076
3988
if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
3077
3989
  echo $ECHO_N "(cached) $ECHO_C" >&6
3078
3990
else
3079
 
  if test "$ac_cv_type_unsigned_char" = yes; then
3080
 
  # The cast to unsigned long works around a bug in the HP C Compiler
3081
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3082
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3083
 
  # This bug is HP SR number 8606223364.
3084
3991
  if test "$cross_compiling" = yes; then
3085
3992
  # Depending upon the size, compute the lo and hi bounds.
3086
3993
cat >conftest.$ac_ext <<_ACEOF
3090
3997
cat >>conftest.$ac_ext <<_ACEOF
3091
3998
/* end confdefs.h.  */
3092
3999
$ac_includes_default
 
4000
   typedef unsigned char ac__type_sizeof_;
3093
4001
int
3094
4002
main ()
3095
4003
{
3096
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) >= 0)@:>@;
 
4004
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
3097
4005
test_array @<:@0@:>@ = 0
3098
4006
 
3099
4007
  ;
3101
4009
}
3102
4010
_ACEOF
3103
4011
rm -f conftest.$ac_objext
3104
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105
 
  (eval $ac_compile) 2>conftest.er1
 
4012
if { (ac_try="$ac_compile"
 
4013
case "(($ac_try" in
 
4014
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4015
  *) ac_try_echo=$ac_try;;
 
4016
esac
 
4017
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4018
  (eval "$ac_compile") 2>conftest.er1
3106
4019
  ac_status=$?
3107
4020
  grep -v '^ *+' conftest.er1 >conftest.err
3108
4021
  rm -f conftest.er1
3109
4022
  cat conftest.err >&5
3110
4023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111
 
  (exit $ac_status); } &&
3112
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3113
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114
 
  (eval $ac_try) 2>&5
3115
 
  ac_status=$?
3116
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117
 
  (exit $ac_status); }; } &&
3118
 
         { ac_try='test -s conftest.$ac_objext'
3119
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3120
 
  (eval $ac_try) 2>&5
3121
 
  ac_status=$?
3122
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123
 
  (exit $ac_status); }; }; then
 
4024
  (exit $ac_status); } && {
 
4025
         test -z "$ac_c_werror_flag" ||
 
4026
         test ! -s conftest.err
 
4027
       } && test -s conftest.$ac_objext; then
3124
4028
  ac_lo=0 ac_mid=0
3125
4029
  while :; do
3126
4030
    cat >conftest.$ac_ext <<_ACEOF
3130
4034
cat >>conftest.$ac_ext <<_ACEOF
3131
4035
/* end confdefs.h.  */
3132
4036
$ac_includes_default
 
4037
   typedef unsigned char ac__type_sizeof_;
3133
4038
int
3134
4039
main ()
3135
4040
{
3136
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)@:>@;
 
4041
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
3137
4042
test_array @<:@0@:>@ = 0
3138
4043
 
3139
4044
  ;
3141
4046
}
3142
4047
_ACEOF
3143
4048
rm -f conftest.$ac_objext
3144
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3145
 
  (eval $ac_compile) 2>conftest.er1
 
4049
if { (ac_try="$ac_compile"
 
4050
case "(($ac_try" in
 
4051
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4052
  *) ac_try_echo=$ac_try;;
 
4053
esac
 
4054
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4055
  (eval "$ac_compile") 2>conftest.er1
3146
4056
  ac_status=$?
3147
4057
  grep -v '^ *+' conftest.er1 >conftest.err
3148
4058
  rm -f conftest.er1
3149
4059
  cat conftest.err >&5
3150
4060
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151
 
  (exit $ac_status); } &&
3152
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3153
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154
 
  (eval $ac_try) 2>&5
3155
 
  ac_status=$?
3156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157
 
  (exit $ac_status); }; } &&
3158
 
         { ac_try='test -s conftest.$ac_objext'
3159
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160
 
  (eval $ac_try) 2>&5
3161
 
  ac_status=$?
3162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163
 
  (exit $ac_status); }; }; then
 
4061
  (exit $ac_status); } && {
 
4062
         test -z "$ac_c_werror_flag" ||
 
4063
         test ! -s conftest.err
 
4064
       } && test -s conftest.$ac_objext; then
3164
4065
  ac_hi=$ac_mid; break
3165
4066
else
3166
4067
  echo "$as_me: failed program was:" >&5
3167
4068
sed 's/^/| /' conftest.$ac_ext >&5
3168
4069
 
3169
 
ac_lo=`expr $ac_mid + 1`
3170
 
                    if test $ac_lo -le $ac_mid; then
3171
 
                      ac_lo= ac_hi=
3172
 
                      break
3173
 
                    fi
3174
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
4070
        ac_lo=`expr $ac_mid + 1`
 
4071
                        if test $ac_lo -le $ac_mid; then
 
4072
                          ac_lo= ac_hi=
 
4073
                          break
 
4074
                        fi
 
4075
                        ac_mid=`expr 2 '*' $ac_mid + 1`
3175
4076
fi
3176
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4077
 
 
4078
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177
4079
  done
3178
4080
else
3179
4081
  echo "$as_me: failed program was:" >&5
3180
4082
sed 's/^/| /' conftest.$ac_ext >&5
3181
4083
 
3182
 
cat >conftest.$ac_ext <<_ACEOF
 
4084
        cat >conftest.$ac_ext <<_ACEOF
3183
4085
/* confdefs.h.  */
3184
4086
_ACEOF
3185
4087
cat confdefs.h >>conftest.$ac_ext
3186
4088
cat >>conftest.$ac_ext <<_ACEOF
3187
4089
/* end confdefs.h.  */
3188
4090
$ac_includes_default
 
4091
   typedef unsigned char ac__type_sizeof_;
3189
4092
int
3190
4093
main ()
3191
4094
{
3192
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) < 0)@:>@;
 
4095
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
3193
4096
test_array @<:@0@:>@ = 0
3194
4097
 
3195
4098
  ;
3197
4100
}
3198
4101
_ACEOF
3199
4102
rm -f conftest.$ac_objext
3200
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3201
 
  (eval $ac_compile) 2>conftest.er1
 
4103
if { (ac_try="$ac_compile"
 
4104
case "(($ac_try" in
 
4105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4106
  *) ac_try_echo=$ac_try;;
 
4107
esac
 
4108
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4109
  (eval "$ac_compile") 2>conftest.er1
3202
4110
  ac_status=$?
3203
4111
  grep -v '^ *+' conftest.er1 >conftest.err
3204
4112
  rm -f conftest.er1
3205
4113
  cat conftest.err >&5
3206
4114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207
 
  (exit $ac_status); } &&
3208
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3209
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210
 
  (eval $ac_try) 2>&5
3211
 
  ac_status=$?
3212
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213
 
  (exit $ac_status); }; } &&
3214
 
         { ac_try='test -s conftest.$ac_objext'
3215
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216
 
  (eval $ac_try) 2>&5
3217
 
  ac_status=$?
3218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219
 
  (exit $ac_status); }; }; then
 
4115
  (exit $ac_status); } && {
 
4116
         test -z "$ac_c_werror_flag" ||
 
4117
         test ! -s conftest.err
 
4118
       } && test -s conftest.$ac_objext; then
3220
4119
  ac_hi=-1 ac_mid=-1
3221
4120
  while :; do
3222
4121
    cat >conftest.$ac_ext <<_ACEOF
3226
4125
cat >>conftest.$ac_ext <<_ACEOF
3227
4126
/* end confdefs.h.  */
3228
4127
$ac_includes_default
 
4128
   typedef unsigned char ac__type_sizeof_;
3229
4129
int
3230
4130
main ()
3231
4131
{
3232
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) >= $ac_mid)@:>@;
 
4132
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
3233
4133
test_array @<:@0@:>@ = 0
3234
4134
 
3235
4135
  ;
3237
4137
}
3238
4138
_ACEOF
3239
4139
rm -f conftest.$ac_objext
3240
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3241
 
  (eval $ac_compile) 2>conftest.er1
 
4140
if { (ac_try="$ac_compile"
 
4141
case "(($ac_try" in
 
4142
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4143
  *) ac_try_echo=$ac_try;;
 
4144
esac
 
4145
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4146
  (eval "$ac_compile") 2>conftest.er1
3242
4147
  ac_status=$?
3243
4148
  grep -v '^ *+' conftest.er1 >conftest.err
3244
4149
  rm -f conftest.er1
3245
4150
  cat conftest.err >&5
3246
4151
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247
 
  (exit $ac_status); } &&
3248
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3249
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3250
 
  (eval $ac_try) 2>&5
3251
 
  ac_status=$?
3252
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253
 
  (exit $ac_status); }; } &&
3254
 
         { ac_try='test -s conftest.$ac_objext'
3255
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3256
 
  (eval $ac_try) 2>&5
3257
 
  ac_status=$?
3258
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259
 
  (exit $ac_status); }; }; then
 
4152
  (exit $ac_status); } && {
 
4153
         test -z "$ac_c_werror_flag" ||
 
4154
         test ! -s conftest.err
 
4155
       } && test -s conftest.$ac_objext; then
3260
4156
  ac_lo=$ac_mid; break
3261
4157
else
3262
4158
  echo "$as_me: failed program was:" >&5
3263
4159
sed 's/^/| /' conftest.$ac_ext >&5
3264
4160
 
3265
 
ac_hi=`expr '(' $ac_mid ')' - 1`
3266
 
                       if test $ac_mid -le $ac_hi; then
3267
 
                         ac_lo= ac_hi=
3268
 
                         break
3269
 
                       fi
3270
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
4161
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
4162
                        if test $ac_mid -le $ac_hi; then
 
4163
                          ac_lo= ac_hi=
 
4164
                          break
 
4165
                        fi
 
4166
                        ac_mid=`expr 2 '*' $ac_mid`
3271
4167
fi
3272
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4168
 
 
4169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273
4170
  done
3274
4171
else
3275
4172
  echo "$as_me: failed program was:" >&5
3276
4173
sed 's/^/| /' conftest.$ac_ext >&5
3277
4174
 
3278
 
ac_lo= ac_hi=
3279
 
fi
3280
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3281
 
fi
3282
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4175
        ac_lo= ac_hi=
 
4176
fi
 
4177
 
 
4178
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4179
fi
 
4180
 
 
4181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283
4182
# Binary search between lo and hi bounds.
3284
4183
while test "x$ac_lo" != "x$ac_hi"; do
3285
4184
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3290
4189
cat >>conftest.$ac_ext <<_ACEOF
3291
4190
/* end confdefs.h.  */
3292
4191
$ac_includes_default
 
4192
   typedef unsigned char ac__type_sizeof_;
3293
4193
int
3294
4194
main ()
3295
4195
{
3296
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)@:>@;
 
4196
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
3297
4197
test_array @<:@0@:>@ = 0
3298
4198
 
3299
4199
  ;
3301
4201
}
3302
4202
_ACEOF
3303
4203
rm -f conftest.$ac_objext
3304
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3305
 
  (eval $ac_compile) 2>conftest.er1
 
4204
if { (ac_try="$ac_compile"
 
4205
case "(($ac_try" in
 
4206
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4207
  *) ac_try_echo=$ac_try;;
 
4208
esac
 
4209
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4210
  (eval "$ac_compile") 2>conftest.er1
3306
4211
  ac_status=$?
3307
4212
  grep -v '^ *+' conftest.er1 >conftest.err
3308
4213
  rm -f conftest.er1
3309
4214
  cat conftest.err >&5
3310
4215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311
 
  (exit $ac_status); } &&
3312
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314
 
  (eval $ac_try) 2>&5
3315
 
  ac_status=$?
3316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317
 
  (exit $ac_status); }; } &&
3318
 
         { ac_try='test -s conftest.$ac_objext'
3319
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320
 
  (eval $ac_try) 2>&5
3321
 
  ac_status=$?
3322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323
 
  (exit $ac_status); }; }; then
 
4216
  (exit $ac_status); } && {
 
4217
         test -z "$ac_c_werror_flag" ||
 
4218
         test ! -s conftest.err
 
4219
       } && test -s conftest.$ac_objext; then
3324
4220
  ac_hi=$ac_mid
3325
4221
else
3326
4222
  echo "$as_me: failed program was:" >&5
3327
4223
sed 's/^/| /' conftest.$ac_ext >&5
3328
4224
 
3329
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
4225
        ac_lo=`expr '(' $ac_mid ')' + 1`
3330
4226
fi
3331
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4227
 
 
4228
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3332
4229
done
3333
4230
case $ac_lo in
3334
4231
?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
3335
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
 
4232
'') if test "$ac_cv_type_unsigned_char" = yes; then
 
4233
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
3336
4234
See \`config.log' for more details." >&5
3337
 
echo "$as_me: error: cannot compute sizeof (unsigned char), 77
 
4235
echo "$as_me: error: cannot compute sizeof (unsigned char)
3338
4236
See \`config.log' for more details." >&2;}
3339
 
   { (exit 1); exit 1; }; } ;;
 
4237
   { (exit 77); exit 77; }; }
 
4238
   else
 
4239
     ac_cv_sizeof_unsigned_char=0
 
4240
   fi ;;
3340
4241
esac
3341
4242
else
3342
 
  if test "$cross_compiling" = yes; then
3343
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
3344
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
3345
 
   { (exit 1); exit 1; }; }
3346
 
else
3347
4243
  cat >conftest.$ac_ext <<_ACEOF
3348
4244
/* confdefs.h.  */
3349
4245
_ACEOF
3351
4247
cat >>conftest.$ac_ext <<_ACEOF
3352
4248
/* end confdefs.h.  */
3353
4249
$ac_includes_default
3354
 
long longval () { return (long) (sizeof (unsigned char)); }
3355
 
unsigned long ulongval () { return (long) (sizeof (unsigned char)); }
 
4250
   typedef unsigned char ac__type_sizeof_;
 
4251
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
4252
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
3356
4253
@%:@include <stdio.h>
3357
4254
@%:@include <stdlib.h>
3358
4255
int
3361
4258
 
3362
4259
  FILE *f = fopen ("conftest.val", "w");
3363
4260
  if (! f)
3364
 
    exit (1);
3365
 
  if (((long) (sizeof (unsigned char))) < 0)
 
4261
    return 1;
 
4262
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
3366
4263
    {
3367
 
      long i = longval ();
3368
 
      if (i != ((long) (sizeof (unsigned char))))
3369
 
        exit (1);
 
4264
      long int i = longval ();
 
4265
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
4266
        return 1;
3370
4267
      fprintf (f, "%ld\n", i);
3371
4268
    }
3372
4269
  else
3373
4270
    {
3374
 
      unsigned long i = ulongval ();
3375
 
      if (i != ((long) (sizeof (unsigned char))))
3376
 
        exit (1);
 
4271
      unsigned long int i = ulongval ();
 
4272
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
4273
        return 1;
3377
4274
      fprintf (f, "%lu\n", i);
3378
4275
    }
3379
 
  exit (ferror (f) || fclose (f) != 0);
 
4276
  return ferror (f) || fclose (f) != 0;
3380
4277
 
3381
4278
  ;
3382
4279
  return 0;
3383
4280
}
3384
4281
_ACEOF
3385
4282
rm -f conftest$ac_exeext
3386
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3387
 
  (eval $ac_link) 2>&5
 
4283
if { (ac_try="$ac_link"
 
4284
case "(($ac_try" in
 
4285
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4286
  *) ac_try_echo=$ac_try;;
 
4287
esac
 
4288
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4289
  (eval "$ac_link") 2>&5
3388
4290
  ac_status=$?
3389
4291
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390
4292
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3391
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392
 
  (eval $ac_try) 2>&5
 
4293
  { (case "(($ac_try" in
 
4294
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4295
  *) ac_try_echo=$ac_try;;
 
4296
esac
 
4297
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4298
  (eval "$ac_try") 2>&5
3393
4299
  ac_status=$?
3394
4300
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395
4301
  (exit $ac_status); }; }; then
3400
4306
sed 's/^/| /' conftest.$ac_ext >&5
3401
4307
 
3402
4308
( exit $ac_status )
3403
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
 
4309
if test "$ac_cv_type_unsigned_char" = yes; then
 
4310
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
3404
4311
See \`config.log' for more details." >&5
3405
 
echo "$as_me: error: cannot compute sizeof (unsigned char), 77
 
4312
echo "$as_me: error: cannot compute sizeof (unsigned char)
3406
4313
See \`config.log' for more details." >&2;}
3407
 
   { (exit 1); exit 1; }; }
3408
 
fi
3409
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3410
 
fi
 
4314
   { (exit 77); exit 77; }; }
 
4315
   else
 
4316
     ac_cv_sizeof_unsigned_char=0
 
4317
   fi
 
4318
fi
 
4319
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3411
4320
fi
3412
4321
rm -f conftest.val
3413
 
else
3414
 
  ac_cv_sizeof_unsigned_char=0
3415
 
fi
3416
 
fi
3417
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
3418
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6
 
4322
fi
 
4323
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
 
4324
echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
 
4325
 
 
4326
 
 
4327
 
3419
4328
cat >>confdefs.h <<_ACEOF
3420
4329
@%:@define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
3421
4330
_ACEOF
3422
4331
 
3423
4332
 
3424
 
echo "$as_me:$LINENO: checking for unsigned short" >&5
3425
 
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
 
4333
{ echo "$as_me:$LINENO: checking for unsigned short" >&5
 
4334
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
3426
4335
if test "${ac_cv_type_unsigned_short+set}" = set; then
3427
4336
  echo $ECHO_N "(cached) $ECHO_C" >&6
3428
4337
else
3433
4342
cat >>conftest.$ac_ext <<_ACEOF
3434
4343
/* end confdefs.h.  */
3435
4344
$ac_includes_default
 
4345
typedef unsigned short ac__type_new_;
3436
4346
int
3437
4347
main ()
3438
4348
{
3439
 
if ((unsigned short *) 0)
 
4349
if ((ac__type_new_ *) 0)
3440
4350
  return 0;
3441
 
if (sizeof (unsigned short))
 
4351
if (sizeof (ac__type_new_))
3442
4352
  return 0;
3443
4353
  ;
3444
4354
  return 0;
3445
4355
}
3446
4356
_ACEOF
3447
4357
rm -f conftest.$ac_objext
3448
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3449
 
  (eval $ac_compile) 2>conftest.er1
 
4358
if { (ac_try="$ac_compile"
 
4359
case "(($ac_try" in
 
4360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4361
  *) ac_try_echo=$ac_try;;
 
4362
esac
 
4363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4364
  (eval "$ac_compile") 2>conftest.er1
3450
4365
  ac_status=$?
3451
4366
  grep -v '^ *+' conftest.er1 >conftest.err
3452
4367
  rm -f conftest.er1
3453
4368
  cat conftest.err >&5
3454
4369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455
 
  (exit $ac_status); } &&
3456
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3457
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458
 
  (eval $ac_try) 2>&5
3459
 
  ac_status=$?
3460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461
 
  (exit $ac_status); }; } &&
3462
 
         { ac_try='test -s conftest.$ac_objext'
3463
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3464
 
  (eval $ac_try) 2>&5
3465
 
  ac_status=$?
3466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467
 
  (exit $ac_status); }; }; then
 
4370
  (exit $ac_status); } && {
 
4371
         test -z "$ac_c_werror_flag" ||
 
4372
         test ! -s conftest.err
 
4373
       } && test -s conftest.$ac_objext; then
3468
4374
  ac_cv_type_unsigned_short=yes
3469
4375
else
3470
4376
  echo "$as_me: failed program was:" >&5
3471
4377
sed 's/^/| /' conftest.$ac_ext >&5
3472
4378
 
3473
 
ac_cv_type_unsigned_short=no
3474
 
fi
3475
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3476
 
fi
3477
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
3478
 
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
3479
 
 
3480
 
echo "$as_me:$LINENO: checking size of unsigned short" >&5
3481
 
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
 
4379
        ac_cv_type_unsigned_short=no
 
4380
fi
 
4381
 
 
4382
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4383
fi
 
4384
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
 
4385
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
 
4386
 
 
4387
# The cast to long int works around a bug in the HP C Compiler
 
4388
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
4389
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
4390
# This bug is HP SR number 8606223364.
 
4391
{ echo "$as_me:$LINENO: checking size of unsigned short" >&5
 
4392
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
3482
4393
if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
3483
4394
  echo $ECHO_N "(cached) $ECHO_C" >&6
3484
4395
else
3485
 
  if test "$ac_cv_type_unsigned_short" = yes; then
3486
 
  # The cast to unsigned long works around a bug in the HP C Compiler
3487
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3488
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3489
 
  # This bug is HP SR number 8606223364.
3490
4396
  if test "$cross_compiling" = yes; then
3491
4397
  # Depending upon the size, compute the lo and hi bounds.
3492
4398
cat >conftest.$ac_ext <<_ACEOF
3496
4402
cat >>conftest.$ac_ext <<_ACEOF
3497
4403
/* end confdefs.h.  */
3498
4404
$ac_includes_default
 
4405
   typedef unsigned short ac__type_sizeof_;
3499
4406
int
3500
4407
main ()
3501
4408
{
3502
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)@:>@;
 
4409
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
3503
4410
test_array @<:@0@:>@ = 0
3504
4411
 
3505
4412
  ;
3507
4414
}
3508
4415
_ACEOF
3509
4416
rm -f conftest.$ac_objext
3510
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3511
 
  (eval $ac_compile) 2>conftest.er1
 
4417
if { (ac_try="$ac_compile"
 
4418
case "(($ac_try" in
 
4419
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4420
  *) ac_try_echo=$ac_try;;
 
4421
esac
 
4422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4423
  (eval "$ac_compile") 2>conftest.er1
3512
4424
  ac_status=$?
3513
4425
  grep -v '^ *+' conftest.er1 >conftest.err
3514
4426
  rm -f conftest.er1
3515
4427
  cat conftest.err >&5
3516
4428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517
 
  (exit $ac_status); } &&
3518
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3519
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520
 
  (eval $ac_try) 2>&5
3521
 
  ac_status=$?
3522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523
 
  (exit $ac_status); }; } &&
3524
 
         { ac_try='test -s conftest.$ac_objext'
3525
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526
 
  (eval $ac_try) 2>&5
3527
 
  ac_status=$?
3528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529
 
  (exit $ac_status); }; }; then
 
4429
  (exit $ac_status); } && {
 
4430
         test -z "$ac_c_werror_flag" ||
 
4431
         test ! -s conftest.err
 
4432
       } && test -s conftest.$ac_objext; then
3530
4433
  ac_lo=0 ac_mid=0
3531
4434
  while :; do
3532
4435
    cat >conftest.$ac_ext <<_ACEOF
3536
4439
cat >>conftest.$ac_ext <<_ACEOF
3537
4440
/* end confdefs.h.  */
3538
4441
$ac_includes_default
 
4442
   typedef unsigned short ac__type_sizeof_;
3539
4443
int
3540
4444
main ()
3541
4445
{
3542
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)@:>@;
 
4446
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
3543
4447
test_array @<:@0@:>@ = 0
3544
4448
 
3545
4449
  ;
3547
4451
}
3548
4452
_ACEOF
3549
4453
rm -f conftest.$ac_objext
3550
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3551
 
  (eval $ac_compile) 2>conftest.er1
 
4454
if { (ac_try="$ac_compile"
 
4455
case "(($ac_try" in
 
4456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4457
  *) ac_try_echo=$ac_try;;
 
4458
esac
 
4459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4460
  (eval "$ac_compile") 2>conftest.er1
3552
4461
  ac_status=$?
3553
4462
  grep -v '^ *+' conftest.er1 >conftest.err
3554
4463
  rm -f conftest.er1
3555
4464
  cat conftest.err >&5
3556
4465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557
 
  (exit $ac_status); } &&
3558
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3559
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3560
 
  (eval $ac_try) 2>&5
3561
 
  ac_status=$?
3562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563
 
  (exit $ac_status); }; } &&
3564
 
         { ac_try='test -s conftest.$ac_objext'
3565
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566
 
  (eval $ac_try) 2>&5
3567
 
  ac_status=$?
3568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569
 
  (exit $ac_status); }; }; then
 
4466
  (exit $ac_status); } && {
 
4467
         test -z "$ac_c_werror_flag" ||
 
4468
         test ! -s conftest.err
 
4469
       } && test -s conftest.$ac_objext; then
3570
4470
  ac_hi=$ac_mid; break
3571
4471
else
3572
4472
  echo "$as_me: failed program was:" >&5
3573
4473
sed 's/^/| /' conftest.$ac_ext >&5
3574
4474
 
3575
 
ac_lo=`expr $ac_mid + 1`
3576
 
                    if test $ac_lo -le $ac_mid; then
3577
 
                      ac_lo= ac_hi=
3578
 
                      break
3579
 
                    fi
3580
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
4475
        ac_lo=`expr $ac_mid + 1`
 
4476
                        if test $ac_lo -le $ac_mid; then
 
4477
                          ac_lo= ac_hi=
 
4478
                          break
 
4479
                        fi
 
4480
                        ac_mid=`expr 2 '*' $ac_mid + 1`
3581
4481
fi
3582
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4482
 
 
4483
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583
4484
  done
3584
4485
else
3585
4486
  echo "$as_me: failed program was:" >&5
3586
4487
sed 's/^/| /' conftest.$ac_ext >&5
3587
4488
 
3588
 
cat >conftest.$ac_ext <<_ACEOF
 
4489
        cat >conftest.$ac_ext <<_ACEOF
3589
4490
/* confdefs.h.  */
3590
4491
_ACEOF
3591
4492
cat confdefs.h >>conftest.$ac_ext
3592
4493
cat >>conftest.$ac_ext <<_ACEOF
3593
4494
/* end confdefs.h.  */
3594
4495
$ac_includes_default
 
4496
   typedef unsigned short ac__type_sizeof_;
3595
4497
int
3596
4498
main ()
3597
4499
{
3598
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) < 0)@:>@;
 
4500
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
3599
4501
test_array @<:@0@:>@ = 0
3600
4502
 
3601
4503
  ;
3603
4505
}
3604
4506
_ACEOF
3605
4507
rm -f conftest.$ac_objext
3606
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3607
 
  (eval $ac_compile) 2>conftest.er1
 
4508
if { (ac_try="$ac_compile"
 
4509
case "(($ac_try" in
 
4510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4511
  *) ac_try_echo=$ac_try;;
 
4512
esac
 
4513
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4514
  (eval "$ac_compile") 2>conftest.er1
3608
4515
  ac_status=$?
3609
4516
  grep -v '^ *+' conftest.er1 >conftest.err
3610
4517
  rm -f conftest.er1
3611
4518
  cat conftest.err >&5
3612
4519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613
 
  (exit $ac_status); } &&
3614
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3615
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3616
 
  (eval $ac_try) 2>&5
3617
 
  ac_status=$?
3618
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619
 
  (exit $ac_status); }; } &&
3620
 
         { ac_try='test -s conftest.$ac_objext'
3621
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3622
 
  (eval $ac_try) 2>&5
3623
 
  ac_status=$?
3624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625
 
  (exit $ac_status); }; }; then
 
4520
  (exit $ac_status); } && {
 
4521
         test -z "$ac_c_werror_flag" ||
 
4522
         test ! -s conftest.err
 
4523
       } && test -s conftest.$ac_objext; then
3626
4524
  ac_hi=-1 ac_mid=-1
3627
4525
  while :; do
3628
4526
    cat >conftest.$ac_ext <<_ACEOF
3632
4530
cat >>conftest.$ac_ext <<_ACEOF
3633
4531
/* end confdefs.h.  */
3634
4532
$ac_includes_default
 
4533
   typedef unsigned short ac__type_sizeof_;
3635
4534
int
3636
4535
main ()
3637
4536
{
3638
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)@:>@;
 
4537
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
3639
4538
test_array @<:@0@:>@ = 0
3640
4539
 
3641
4540
  ;
3643
4542
}
3644
4543
_ACEOF
3645
4544
rm -f conftest.$ac_objext
3646
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3647
 
  (eval $ac_compile) 2>conftest.er1
 
4545
if { (ac_try="$ac_compile"
 
4546
case "(($ac_try" in
 
4547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4548
  *) ac_try_echo=$ac_try;;
 
4549
esac
 
4550
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4551
  (eval "$ac_compile") 2>conftest.er1
3648
4552
  ac_status=$?
3649
4553
  grep -v '^ *+' conftest.er1 >conftest.err
3650
4554
  rm -f conftest.er1
3651
4555
  cat conftest.err >&5
3652
4556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653
 
  (exit $ac_status); } &&
3654
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3655
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3656
 
  (eval $ac_try) 2>&5
3657
 
  ac_status=$?
3658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659
 
  (exit $ac_status); }; } &&
3660
 
         { ac_try='test -s conftest.$ac_objext'
3661
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662
 
  (eval $ac_try) 2>&5
3663
 
  ac_status=$?
3664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665
 
  (exit $ac_status); }; }; then
 
4557
  (exit $ac_status); } && {
 
4558
         test -z "$ac_c_werror_flag" ||
 
4559
         test ! -s conftest.err
 
4560
       } && test -s conftest.$ac_objext; then
3666
4561
  ac_lo=$ac_mid; break
3667
4562
else
3668
4563
  echo "$as_me: failed program was:" >&5
3669
4564
sed 's/^/| /' conftest.$ac_ext >&5
3670
4565
 
3671
 
ac_hi=`expr '(' $ac_mid ')' - 1`
3672
 
                       if test $ac_mid -le $ac_hi; then
3673
 
                         ac_lo= ac_hi=
3674
 
                         break
3675
 
                       fi
3676
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
4566
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
4567
                        if test $ac_mid -le $ac_hi; then
 
4568
                          ac_lo= ac_hi=
 
4569
                          break
 
4570
                        fi
 
4571
                        ac_mid=`expr 2 '*' $ac_mid`
3677
4572
fi
3678
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4573
 
 
4574
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679
4575
  done
3680
4576
else
3681
4577
  echo "$as_me: failed program was:" >&5
3682
4578
sed 's/^/| /' conftest.$ac_ext >&5
3683
4579
 
3684
 
ac_lo= ac_hi=
3685
 
fi
3686
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3687
 
fi
3688
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4580
        ac_lo= ac_hi=
 
4581
fi
 
4582
 
 
4583
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4584
fi
 
4585
 
 
4586
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689
4587
# Binary search between lo and hi bounds.
3690
4588
while test "x$ac_lo" != "x$ac_hi"; do
3691
4589
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3696
4594
cat >>conftest.$ac_ext <<_ACEOF
3697
4595
/* end confdefs.h.  */
3698
4596
$ac_includes_default
 
4597
   typedef unsigned short ac__type_sizeof_;
3699
4598
int
3700
4599
main ()
3701
4600
{
3702
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)@:>@;
 
4601
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
3703
4602
test_array @<:@0@:>@ = 0
3704
4603
 
3705
4604
  ;
3707
4606
}
3708
4607
_ACEOF
3709
4608
rm -f conftest.$ac_objext
3710
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3711
 
  (eval $ac_compile) 2>conftest.er1
 
4609
if { (ac_try="$ac_compile"
 
4610
case "(($ac_try" in
 
4611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4612
  *) ac_try_echo=$ac_try;;
 
4613
esac
 
4614
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4615
  (eval "$ac_compile") 2>conftest.er1
3712
4616
  ac_status=$?
3713
4617
  grep -v '^ *+' conftest.er1 >conftest.err
3714
4618
  rm -f conftest.er1
3715
4619
  cat conftest.err >&5
3716
4620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717
 
  (exit $ac_status); } &&
3718
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3719
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3720
 
  (eval $ac_try) 2>&5
3721
 
  ac_status=$?
3722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723
 
  (exit $ac_status); }; } &&
3724
 
         { ac_try='test -s conftest.$ac_objext'
3725
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3726
 
  (eval $ac_try) 2>&5
3727
 
  ac_status=$?
3728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
 
  (exit $ac_status); }; }; then
 
4621
  (exit $ac_status); } && {
 
4622
         test -z "$ac_c_werror_flag" ||
 
4623
         test ! -s conftest.err
 
4624
       } && test -s conftest.$ac_objext; then
3730
4625
  ac_hi=$ac_mid
3731
4626
else
3732
4627
  echo "$as_me: failed program was:" >&5
3733
4628
sed 's/^/| /' conftest.$ac_ext >&5
3734
4629
 
3735
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
4630
        ac_lo=`expr '(' $ac_mid ')' + 1`
3736
4631
fi
3737
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4632
 
 
4633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738
4634
done
3739
4635
case $ac_lo in
3740
4636
?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
3741
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
 
4637
'') if test "$ac_cv_type_unsigned_short" = yes; then
 
4638
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
3742
4639
See \`config.log' for more details." >&5
3743
 
echo "$as_me: error: cannot compute sizeof (unsigned short), 77
 
4640
echo "$as_me: error: cannot compute sizeof (unsigned short)
3744
4641
See \`config.log' for more details." >&2;}
3745
 
   { (exit 1); exit 1; }; } ;;
 
4642
   { (exit 77); exit 77; }; }
 
4643
   else
 
4644
     ac_cv_sizeof_unsigned_short=0
 
4645
   fi ;;
3746
4646
esac
3747
4647
else
3748
 
  if test "$cross_compiling" = yes; then
3749
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
3750
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
3751
 
   { (exit 1); exit 1; }; }
3752
 
else
3753
4648
  cat >conftest.$ac_ext <<_ACEOF
3754
4649
/* confdefs.h.  */
3755
4650
_ACEOF
3757
4652
cat >>conftest.$ac_ext <<_ACEOF
3758
4653
/* end confdefs.h.  */
3759
4654
$ac_includes_default
3760
 
long longval () { return (long) (sizeof (unsigned short)); }
3761
 
unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
 
4655
   typedef unsigned short ac__type_sizeof_;
 
4656
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
4657
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
3762
4658
@%:@include <stdio.h>
3763
4659
@%:@include <stdlib.h>
3764
4660
int
3767
4663
 
3768
4664
  FILE *f = fopen ("conftest.val", "w");
3769
4665
  if (! f)
3770
 
    exit (1);
3771
 
  if (((long) (sizeof (unsigned short))) < 0)
 
4666
    return 1;
 
4667
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
3772
4668
    {
3773
 
      long i = longval ();
3774
 
      if (i != ((long) (sizeof (unsigned short))))
3775
 
        exit (1);
 
4669
      long int i = longval ();
 
4670
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
4671
        return 1;
3776
4672
      fprintf (f, "%ld\n", i);
3777
4673
    }
3778
4674
  else
3779
4675
    {
3780
 
      unsigned long i = ulongval ();
3781
 
      if (i != ((long) (sizeof (unsigned short))))
3782
 
        exit (1);
 
4676
      unsigned long int i = ulongval ();
 
4677
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
4678
        return 1;
3783
4679
      fprintf (f, "%lu\n", i);
3784
4680
    }
3785
 
  exit (ferror (f) || fclose (f) != 0);
 
4681
  return ferror (f) || fclose (f) != 0;
3786
4682
 
3787
4683
  ;
3788
4684
  return 0;
3789
4685
}
3790
4686
_ACEOF
3791
4687
rm -f conftest$ac_exeext
3792
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793
 
  (eval $ac_link) 2>&5
 
4688
if { (ac_try="$ac_link"
 
4689
case "(($ac_try" in
 
4690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4691
  *) ac_try_echo=$ac_try;;
 
4692
esac
 
4693
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4694
  (eval "$ac_link") 2>&5
3794
4695
  ac_status=$?
3795
4696
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796
4697
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3797
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798
 
  (eval $ac_try) 2>&5
 
4698
  { (case "(($ac_try" in
 
4699
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4700
  *) ac_try_echo=$ac_try;;
 
4701
esac
 
4702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4703
  (eval "$ac_try") 2>&5
3799
4704
  ac_status=$?
3800
4705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801
4706
  (exit $ac_status); }; }; then
3806
4711
sed 's/^/| /' conftest.$ac_ext >&5
3807
4712
 
3808
4713
( exit $ac_status )
3809
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
 
4714
if test "$ac_cv_type_unsigned_short" = yes; then
 
4715
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
3810
4716
See \`config.log' for more details." >&5
3811
 
echo "$as_me: error: cannot compute sizeof (unsigned short), 77
 
4717
echo "$as_me: error: cannot compute sizeof (unsigned short)
3812
4718
See \`config.log' for more details." >&2;}
3813
 
   { (exit 1); exit 1; }; }
3814
 
fi
3815
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3816
 
fi
 
4719
   { (exit 77); exit 77; }; }
 
4720
   else
 
4721
     ac_cv_sizeof_unsigned_short=0
 
4722
   fi
 
4723
fi
 
4724
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3817
4725
fi
3818
4726
rm -f conftest.val
3819
 
else
3820
 
  ac_cv_sizeof_unsigned_short=0
3821
 
fi
3822
 
fi
3823
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
3824
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
 
4727
fi
 
4728
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
 
4729
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
 
4730
 
 
4731
 
 
4732
 
3825
4733
cat >>confdefs.h <<_ACEOF
3826
4734
@%:@define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
3827
4735
_ACEOF
3828
4736
 
3829
4737
 
3830
 
echo "$as_me:$LINENO: checking for unsigned int" >&5
3831
 
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
 
4738
{ echo "$as_me:$LINENO: checking for unsigned int" >&5
 
4739
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
3832
4740
if test "${ac_cv_type_unsigned_int+set}" = set; then
3833
4741
  echo $ECHO_N "(cached) $ECHO_C" >&6
3834
4742
else
3839
4747
cat >>conftest.$ac_ext <<_ACEOF
3840
4748
/* end confdefs.h.  */
3841
4749
$ac_includes_default
 
4750
typedef unsigned int ac__type_new_;
3842
4751
int
3843
4752
main ()
3844
4753
{
3845
 
if ((unsigned int *) 0)
 
4754
if ((ac__type_new_ *) 0)
3846
4755
  return 0;
3847
 
if (sizeof (unsigned int))
 
4756
if (sizeof (ac__type_new_))
3848
4757
  return 0;
3849
4758
  ;
3850
4759
  return 0;
3851
4760
}
3852
4761
_ACEOF
3853
4762
rm -f conftest.$ac_objext
3854
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3855
 
  (eval $ac_compile) 2>conftest.er1
 
4763
if { (ac_try="$ac_compile"
 
4764
case "(($ac_try" in
 
4765
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4766
  *) ac_try_echo=$ac_try;;
 
4767
esac
 
4768
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4769
  (eval "$ac_compile") 2>conftest.er1
3856
4770
  ac_status=$?
3857
4771
  grep -v '^ *+' conftest.er1 >conftest.err
3858
4772
  rm -f conftest.er1
3859
4773
  cat conftest.err >&5
3860
4774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861
 
  (exit $ac_status); } &&
3862
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3863
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864
 
  (eval $ac_try) 2>&5
3865
 
  ac_status=$?
3866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867
 
  (exit $ac_status); }; } &&
3868
 
         { ac_try='test -s conftest.$ac_objext'
3869
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870
 
  (eval $ac_try) 2>&5
3871
 
  ac_status=$?
3872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873
 
  (exit $ac_status); }; }; then
 
4775
  (exit $ac_status); } && {
 
4776
         test -z "$ac_c_werror_flag" ||
 
4777
         test ! -s conftest.err
 
4778
       } && test -s conftest.$ac_objext; then
3874
4779
  ac_cv_type_unsigned_int=yes
3875
4780
else
3876
4781
  echo "$as_me: failed program was:" >&5
3877
4782
sed 's/^/| /' conftest.$ac_ext >&5
3878
4783
 
3879
 
ac_cv_type_unsigned_int=no
3880
 
fi
3881
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3882
 
fi
3883
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
3884
 
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
3885
 
 
3886
 
echo "$as_me:$LINENO: checking size of unsigned int" >&5
3887
 
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
 
4784
        ac_cv_type_unsigned_int=no
 
4785
fi
 
4786
 
 
4787
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4788
fi
 
4789
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
 
4790
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
 
4791
 
 
4792
# The cast to long int works around a bug in the HP C Compiler
 
4793
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
4794
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
4795
# This bug is HP SR number 8606223364.
 
4796
{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
 
4797
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
3888
4798
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
3889
4799
  echo $ECHO_N "(cached) $ECHO_C" >&6
3890
4800
else
3891
 
  if test "$ac_cv_type_unsigned_int" = yes; then
3892
 
  # The cast to unsigned long works around a bug in the HP C Compiler
3893
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3894
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3895
 
  # This bug is HP SR number 8606223364.
3896
4801
  if test "$cross_compiling" = yes; then
3897
4802
  # Depending upon the size, compute the lo and hi bounds.
3898
4803
cat >conftest.$ac_ext <<_ACEOF
3902
4807
cat >>conftest.$ac_ext <<_ACEOF
3903
4808
/* end confdefs.h.  */
3904
4809
$ac_includes_default
 
4810
   typedef unsigned int ac__type_sizeof_;
3905
4811
int
3906
4812
main ()
3907
4813
{
3908
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)@:>@;
 
4814
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
3909
4815
test_array @<:@0@:>@ = 0
3910
4816
 
3911
4817
  ;
3913
4819
}
3914
4820
_ACEOF
3915
4821
rm -f conftest.$ac_objext
3916
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3917
 
  (eval $ac_compile) 2>conftest.er1
 
4822
if { (ac_try="$ac_compile"
 
4823
case "(($ac_try" in
 
4824
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4825
  *) ac_try_echo=$ac_try;;
 
4826
esac
 
4827
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4828
  (eval "$ac_compile") 2>conftest.er1
3918
4829
  ac_status=$?
3919
4830
  grep -v '^ *+' conftest.er1 >conftest.err
3920
4831
  rm -f conftest.er1
3921
4832
  cat conftest.err >&5
3922
4833
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923
 
  (exit $ac_status); } &&
3924
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3925
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926
 
  (eval $ac_try) 2>&5
3927
 
  ac_status=$?
3928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929
 
  (exit $ac_status); }; } &&
3930
 
         { ac_try='test -s conftest.$ac_objext'
3931
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932
 
  (eval $ac_try) 2>&5
3933
 
  ac_status=$?
3934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935
 
  (exit $ac_status); }; }; then
 
4834
  (exit $ac_status); } && {
 
4835
         test -z "$ac_c_werror_flag" ||
 
4836
         test ! -s conftest.err
 
4837
       } && test -s conftest.$ac_objext; then
3936
4838
  ac_lo=0 ac_mid=0
3937
4839
  while :; do
3938
4840
    cat >conftest.$ac_ext <<_ACEOF
3942
4844
cat >>conftest.$ac_ext <<_ACEOF
3943
4845
/* end confdefs.h.  */
3944
4846
$ac_includes_default
 
4847
   typedef unsigned int ac__type_sizeof_;
3945
4848
int
3946
4849
main ()
3947
4850
{
3948
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)@:>@;
 
4851
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
3949
4852
test_array @<:@0@:>@ = 0
3950
4853
 
3951
4854
  ;
3953
4856
}
3954
4857
_ACEOF
3955
4858
rm -f conftest.$ac_objext
3956
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3957
 
  (eval $ac_compile) 2>conftest.er1
 
4859
if { (ac_try="$ac_compile"
 
4860
case "(($ac_try" in
 
4861
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4862
  *) ac_try_echo=$ac_try;;
 
4863
esac
 
4864
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4865
  (eval "$ac_compile") 2>conftest.er1
3958
4866
  ac_status=$?
3959
4867
  grep -v '^ *+' conftest.er1 >conftest.err
3960
4868
  rm -f conftest.er1
3961
4869
  cat conftest.err >&5
3962
4870
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963
 
  (exit $ac_status); } &&
3964
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3965
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966
 
  (eval $ac_try) 2>&5
3967
 
  ac_status=$?
3968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969
 
  (exit $ac_status); }; } &&
3970
 
         { ac_try='test -s conftest.$ac_objext'
3971
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972
 
  (eval $ac_try) 2>&5
3973
 
  ac_status=$?
3974
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975
 
  (exit $ac_status); }; }; then
 
4871
  (exit $ac_status); } && {
 
4872
         test -z "$ac_c_werror_flag" ||
 
4873
         test ! -s conftest.err
 
4874
       } && test -s conftest.$ac_objext; then
3976
4875
  ac_hi=$ac_mid; break
3977
4876
else
3978
4877
  echo "$as_me: failed program was:" >&5
3979
4878
sed 's/^/| /' conftest.$ac_ext >&5
3980
4879
 
3981
 
ac_lo=`expr $ac_mid + 1`
3982
 
                    if test $ac_lo -le $ac_mid; then
3983
 
                      ac_lo= ac_hi=
3984
 
                      break
3985
 
                    fi
3986
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
4880
        ac_lo=`expr $ac_mid + 1`
 
4881
                        if test $ac_lo -le $ac_mid; then
 
4882
                          ac_lo= ac_hi=
 
4883
                          break
 
4884
                        fi
 
4885
                        ac_mid=`expr 2 '*' $ac_mid + 1`
3987
4886
fi
3988
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4887
 
 
4888
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3989
4889
  done
3990
4890
else
3991
4891
  echo "$as_me: failed program was:" >&5
3992
4892
sed 's/^/| /' conftest.$ac_ext >&5
3993
4893
 
3994
 
cat >conftest.$ac_ext <<_ACEOF
 
4894
        cat >conftest.$ac_ext <<_ACEOF
3995
4895
/* confdefs.h.  */
3996
4896
_ACEOF
3997
4897
cat confdefs.h >>conftest.$ac_ext
3998
4898
cat >>conftest.$ac_ext <<_ACEOF
3999
4899
/* end confdefs.h.  */
4000
4900
$ac_includes_default
 
4901
   typedef unsigned int ac__type_sizeof_;
4001
4902
int
4002
4903
main ()
4003
4904
{
4004
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) < 0)@:>@;
 
4905
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
4005
4906
test_array @<:@0@:>@ = 0
4006
4907
 
4007
4908
  ;
4009
4910
}
4010
4911
_ACEOF
4011
4912
rm -f conftest.$ac_objext
4012
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4013
 
  (eval $ac_compile) 2>conftest.er1
 
4913
if { (ac_try="$ac_compile"
 
4914
case "(($ac_try" in
 
4915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4916
  *) ac_try_echo=$ac_try;;
 
4917
esac
 
4918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4919
  (eval "$ac_compile") 2>conftest.er1
4014
4920
  ac_status=$?
4015
4921
  grep -v '^ *+' conftest.er1 >conftest.err
4016
4922
  rm -f conftest.er1
4017
4923
  cat conftest.err >&5
4018
4924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019
 
  (exit $ac_status); } &&
4020
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4021
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4022
 
  (eval $ac_try) 2>&5
4023
 
  ac_status=$?
4024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025
 
  (exit $ac_status); }; } &&
4026
 
         { ac_try='test -s conftest.$ac_objext'
4027
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4028
 
  (eval $ac_try) 2>&5
4029
 
  ac_status=$?
4030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031
 
  (exit $ac_status); }; }; then
 
4925
  (exit $ac_status); } && {
 
4926
         test -z "$ac_c_werror_flag" ||
 
4927
         test ! -s conftest.err
 
4928
       } && test -s conftest.$ac_objext; then
4032
4929
  ac_hi=-1 ac_mid=-1
4033
4930
  while :; do
4034
4931
    cat >conftest.$ac_ext <<_ACEOF
4038
4935
cat >>conftest.$ac_ext <<_ACEOF
4039
4936
/* end confdefs.h.  */
4040
4937
$ac_includes_default
 
4938
   typedef unsigned int ac__type_sizeof_;
4041
4939
int
4042
4940
main ()
4043
4941
{
4044
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)@:>@;
 
4942
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
4045
4943
test_array @<:@0@:>@ = 0
4046
4944
 
4047
4945
  ;
4049
4947
}
4050
4948
_ACEOF
4051
4949
rm -f conftest.$ac_objext
4052
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4053
 
  (eval $ac_compile) 2>conftest.er1
 
4950
if { (ac_try="$ac_compile"
 
4951
case "(($ac_try" in
 
4952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4953
  *) ac_try_echo=$ac_try;;
 
4954
esac
 
4955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4956
  (eval "$ac_compile") 2>conftest.er1
4054
4957
  ac_status=$?
4055
4958
  grep -v '^ *+' conftest.er1 >conftest.err
4056
4959
  rm -f conftest.er1
4057
4960
  cat conftest.err >&5
4058
4961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059
 
  (exit $ac_status); } &&
4060
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4061
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062
 
  (eval $ac_try) 2>&5
4063
 
  ac_status=$?
4064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065
 
  (exit $ac_status); }; } &&
4066
 
         { ac_try='test -s conftest.$ac_objext'
4067
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4068
 
  (eval $ac_try) 2>&5
4069
 
  ac_status=$?
4070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071
 
  (exit $ac_status); }; }; then
 
4962
  (exit $ac_status); } && {
 
4963
         test -z "$ac_c_werror_flag" ||
 
4964
         test ! -s conftest.err
 
4965
       } && test -s conftest.$ac_objext; then
4072
4966
  ac_lo=$ac_mid; break
4073
4967
else
4074
4968
  echo "$as_me: failed program was:" >&5
4075
4969
sed 's/^/| /' conftest.$ac_ext >&5
4076
4970
 
4077
 
ac_hi=`expr '(' $ac_mid ')' - 1`
4078
 
                       if test $ac_mid -le $ac_hi; then
4079
 
                         ac_lo= ac_hi=
4080
 
                         break
4081
 
                       fi
4082
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
4971
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
4972
                        if test $ac_mid -le $ac_hi; then
 
4973
                          ac_lo= ac_hi=
 
4974
                          break
 
4975
                        fi
 
4976
                        ac_mid=`expr 2 '*' $ac_mid`
4083
4977
fi
4084
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4978
 
 
4979
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085
4980
  done
4086
4981
else
4087
4982
  echo "$as_me: failed program was:" >&5
4088
4983
sed 's/^/| /' conftest.$ac_ext >&5
4089
4984
 
4090
 
ac_lo= ac_hi=
4091
 
fi
4092
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4093
 
fi
4094
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4985
        ac_lo= ac_hi=
 
4986
fi
 
4987
 
 
4988
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4989
fi
 
4990
 
 
4991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095
4992
# Binary search between lo and hi bounds.
4096
4993
while test "x$ac_lo" != "x$ac_hi"; do
4097
4994
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4102
4999
cat >>conftest.$ac_ext <<_ACEOF
4103
5000
/* end confdefs.h.  */
4104
5001
$ac_includes_default
 
5002
   typedef unsigned int ac__type_sizeof_;
4105
5003
int
4106
5004
main ()
4107
5005
{
4108
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)@:>@;
 
5006
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
4109
5007
test_array @<:@0@:>@ = 0
4110
5008
 
4111
5009
  ;
4113
5011
}
4114
5012
_ACEOF
4115
5013
rm -f conftest.$ac_objext
4116
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4117
 
  (eval $ac_compile) 2>conftest.er1
 
5014
if { (ac_try="$ac_compile"
 
5015
case "(($ac_try" in
 
5016
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5017
  *) ac_try_echo=$ac_try;;
 
5018
esac
 
5019
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5020
  (eval "$ac_compile") 2>conftest.er1
4118
5021
  ac_status=$?
4119
5022
  grep -v '^ *+' conftest.er1 >conftest.err
4120
5023
  rm -f conftest.er1
4121
5024
  cat conftest.err >&5
4122
5025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123
 
  (exit $ac_status); } &&
4124
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4125
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126
 
  (eval $ac_try) 2>&5
4127
 
  ac_status=$?
4128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129
 
  (exit $ac_status); }; } &&
4130
 
         { ac_try='test -s conftest.$ac_objext'
4131
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132
 
  (eval $ac_try) 2>&5
4133
 
  ac_status=$?
4134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135
 
  (exit $ac_status); }; }; then
 
5026
  (exit $ac_status); } && {
 
5027
         test -z "$ac_c_werror_flag" ||
 
5028
         test ! -s conftest.err
 
5029
       } && test -s conftest.$ac_objext; then
4136
5030
  ac_hi=$ac_mid
4137
5031
else
4138
5032
  echo "$as_me: failed program was:" >&5
4139
5033
sed 's/^/| /' conftest.$ac_ext >&5
4140
5034
 
4141
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
5035
        ac_lo=`expr '(' $ac_mid ')' + 1`
4142
5036
fi
4143
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5037
 
 
5038
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144
5039
done
4145
5040
case $ac_lo in
4146
5041
?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
4147
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
5042
'') if test "$ac_cv_type_unsigned_int" = yes; then
 
5043
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
4148
5044
See \`config.log' for more details." >&5
4149
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
5045
echo "$as_me: error: cannot compute sizeof (unsigned int)
4150
5046
See \`config.log' for more details." >&2;}
4151
 
   { (exit 1); exit 1; }; } ;;
 
5047
   { (exit 77); exit 77; }; }
 
5048
   else
 
5049
     ac_cv_sizeof_unsigned_int=0
 
5050
   fi ;;
4152
5051
esac
4153
5052
else
4154
 
  if test "$cross_compiling" = yes; then
4155
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4156
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4157
 
   { (exit 1); exit 1; }; }
4158
 
else
4159
5053
  cat >conftest.$ac_ext <<_ACEOF
4160
5054
/* confdefs.h.  */
4161
5055
_ACEOF
4163
5057
cat >>conftest.$ac_ext <<_ACEOF
4164
5058
/* end confdefs.h.  */
4165
5059
$ac_includes_default
4166
 
long longval () { return (long) (sizeof (unsigned int)); }
4167
 
unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
 
5060
   typedef unsigned int ac__type_sizeof_;
 
5061
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
5062
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4168
5063
@%:@include <stdio.h>
4169
5064
@%:@include <stdlib.h>
4170
5065
int
4173
5068
 
4174
5069
  FILE *f = fopen ("conftest.val", "w");
4175
5070
  if (! f)
4176
 
    exit (1);
4177
 
  if (((long) (sizeof (unsigned int))) < 0)
 
5071
    return 1;
 
5072
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4178
5073
    {
4179
 
      long i = longval ();
4180
 
      if (i != ((long) (sizeof (unsigned int))))
4181
 
        exit (1);
 
5074
      long int i = longval ();
 
5075
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5076
        return 1;
4182
5077
      fprintf (f, "%ld\n", i);
4183
5078
    }
4184
5079
  else
4185
5080
    {
4186
 
      unsigned long i = ulongval ();
4187
 
      if (i != ((long) (sizeof (unsigned int))))
4188
 
        exit (1);
 
5081
      unsigned long int i = ulongval ();
 
5082
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5083
        return 1;
4189
5084
      fprintf (f, "%lu\n", i);
4190
5085
    }
4191
 
  exit (ferror (f) || fclose (f) != 0);
 
5086
  return ferror (f) || fclose (f) != 0;
4192
5087
 
4193
5088
  ;
4194
5089
  return 0;
4195
5090
}
4196
5091
_ACEOF
4197
5092
rm -f conftest$ac_exeext
4198
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4199
 
  (eval $ac_link) 2>&5
 
5093
if { (ac_try="$ac_link"
 
5094
case "(($ac_try" in
 
5095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5096
  *) ac_try_echo=$ac_try;;
 
5097
esac
 
5098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5099
  (eval "$ac_link") 2>&5
4200
5100
  ac_status=$?
4201
5101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202
5102
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4203
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4204
 
  (eval $ac_try) 2>&5
 
5103
  { (case "(($ac_try" in
 
5104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5105
  *) ac_try_echo=$ac_try;;
 
5106
esac
 
5107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5108
  (eval "$ac_try") 2>&5
4205
5109
  ac_status=$?
4206
5110
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207
5111
  (exit $ac_status); }; }; then
4212
5116
sed 's/^/| /' conftest.$ac_ext >&5
4213
5117
 
4214
5118
( exit $ac_status )
4215
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
5119
if test "$ac_cv_type_unsigned_int" = yes; then
 
5120
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
4216
5121
See \`config.log' for more details." >&5
4217
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
5122
echo "$as_me: error: cannot compute sizeof (unsigned int)
4218
5123
See \`config.log' for more details." >&2;}
4219
 
   { (exit 1); exit 1; }; }
4220
 
fi
4221
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4222
 
fi
 
5124
   { (exit 77); exit 77; }; }
 
5125
   else
 
5126
     ac_cv_sizeof_unsigned_int=0
 
5127
   fi
 
5128
fi
 
5129
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4223
5130
fi
4224
5131
rm -f conftest.val
4225
 
else
4226
 
  ac_cv_sizeof_unsigned_int=0
4227
 
fi
4228
 
fi
4229
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
4230
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
 
5132
fi
 
5133
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
 
5134
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
 
5135
 
 
5136
 
 
5137
 
4231
5138
cat >>confdefs.h <<_ACEOF
4232
5139
@%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
4233
5140
_ACEOF
4234
5141
 
4235
5142
 
4236
 
echo "$as_me:$LINENO: checking for unsigned long" >&5
4237
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
 
5143
{ echo "$as_me:$LINENO: checking for unsigned long" >&5
 
5144
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
4238
5145
if test "${ac_cv_type_unsigned_long+set}" = set; then
4239
5146
  echo $ECHO_N "(cached) $ECHO_C" >&6
4240
5147
else
4245
5152
cat >>conftest.$ac_ext <<_ACEOF
4246
5153
/* end confdefs.h.  */
4247
5154
$ac_includes_default
 
5155
typedef unsigned long ac__type_new_;
4248
5156
int
4249
5157
main ()
4250
5158
{
4251
 
if ((unsigned long *) 0)
 
5159
if ((ac__type_new_ *) 0)
4252
5160
  return 0;
4253
 
if (sizeof (unsigned long))
 
5161
if (sizeof (ac__type_new_))
4254
5162
  return 0;
4255
5163
  ;
4256
5164
  return 0;
4257
5165
}
4258
5166
_ACEOF
4259
5167
rm -f conftest.$ac_objext
4260
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4261
 
  (eval $ac_compile) 2>conftest.er1
 
5168
if { (ac_try="$ac_compile"
 
5169
case "(($ac_try" in
 
5170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5171
  *) ac_try_echo=$ac_try;;
 
5172
esac
 
5173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5174
  (eval "$ac_compile") 2>conftest.er1
4262
5175
  ac_status=$?
4263
5176
  grep -v '^ *+' conftest.er1 >conftest.err
4264
5177
  rm -f conftest.er1
4265
5178
  cat conftest.err >&5
4266
5179
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267
 
  (exit $ac_status); } &&
4268
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4269
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270
 
  (eval $ac_try) 2>&5
4271
 
  ac_status=$?
4272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273
 
  (exit $ac_status); }; } &&
4274
 
         { ac_try='test -s conftest.$ac_objext'
4275
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276
 
  (eval $ac_try) 2>&5
4277
 
  ac_status=$?
4278
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279
 
  (exit $ac_status); }; }; then
 
5180
  (exit $ac_status); } && {
 
5181
         test -z "$ac_c_werror_flag" ||
 
5182
         test ! -s conftest.err
 
5183
       } && test -s conftest.$ac_objext; then
4280
5184
  ac_cv_type_unsigned_long=yes
4281
5185
else
4282
5186
  echo "$as_me: failed program was:" >&5
4283
5187
sed 's/^/| /' conftest.$ac_ext >&5
4284
5188
 
4285
 
ac_cv_type_unsigned_long=no
4286
 
fi
4287
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4288
 
fi
4289
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
4290
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
4291
 
 
4292
 
echo "$as_me:$LINENO: checking size of unsigned long" >&5
4293
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
 
5189
        ac_cv_type_unsigned_long=no
 
5190
fi
 
5191
 
 
5192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5193
fi
 
5194
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
 
5195
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
 
5196
 
 
5197
# The cast to long int works around a bug in the HP C Compiler
 
5198
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
5199
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
5200
# This bug is HP SR number 8606223364.
 
5201
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
 
5202
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
4294
5203
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
4295
5204
  echo $ECHO_N "(cached) $ECHO_C" >&6
4296
5205
else
4297
 
  if test "$ac_cv_type_unsigned_long" = yes; then
4298
 
  # The cast to unsigned long works around a bug in the HP C Compiler
4299
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4300
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4301
 
  # This bug is HP SR number 8606223364.
4302
5206
  if test "$cross_compiling" = yes; then
4303
5207
  # Depending upon the size, compute the lo and hi bounds.
4304
5208
cat >conftest.$ac_ext <<_ACEOF
4308
5212
cat >>conftest.$ac_ext <<_ACEOF
4309
5213
/* end confdefs.h.  */
4310
5214
$ac_includes_default
 
5215
   typedef unsigned long ac__type_sizeof_;
4311
5216
int
4312
5217
main ()
4313
5218
{
4314
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)@:>@;
 
5219
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
4315
5220
test_array @<:@0@:>@ = 0
4316
5221
 
4317
5222
  ;
4319
5224
}
4320
5225
_ACEOF
4321
5226
rm -f conftest.$ac_objext
4322
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323
 
  (eval $ac_compile) 2>conftest.er1
 
5227
if { (ac_try="$ac_compile"
 
5228
case "(($ac_try" in
 
5229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5230
  *) ac_try_echo=$ac_try;;
 
5231
esac
 
5232
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5233
  (eval "$ac_compile") 2>conftest.er1
4324
5234
  ac_status=$?
4325
5235
  grep -v '^ *+' conftest.er1 >conftest.err
4326
5236
  rm -f conftest.er1
4327
5237
  cat conftest.err >&5
4328
5238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329
 
  (exit $ac_status); } &&
4330
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4331
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4332
 
  (eval $ac_try) 2>&5
4333
 
  ac_status=$?
4334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
 
  (exit $ac_status); }; } &&
4336
 
         { ac_try='test -s conftest.$ac_objext'
4337
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338
 
  (eval $ac_try) 2>&5
4339
 
  ac_status=$?
4340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341
 
  (exit $ac_status); }; }; then
 
5239
  (exit $ac_status); } && {
 
5240
         test -z "$ac_c_werror_flag" ||
 
5241
         test ! -s conftest.err
 
5242
       } && test -s conftest.$ac_objext; then
4342
5243
  ac_lo=0 ac_mid=0
4343
5244
  while :; do
4344
5245
    cat >conftest.$ac_ext <<_ACEOF
4348
5249
cat >>conftest.$ac_ext <<_ACEOF
4349
5250
/* end confdefs.h.  */
4350
5251
$ac_includes_default
 
5252
   typedef unsigned long ac__type_sizeof_;
4351
5253
int
4352
5254
main ()
4353
5255
{
4354
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)@:>@;
 
5256
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
4355
5257
test_array @<:@0@:>@ = 0
4356
5258
 
4357
5259
  ;
4359
5261
}
4360
5262
_ACEOF
4361
5263
rm -f conftest.$ac_objext
4362
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4363
 
  (eval $ac_compile) 2>conftest.er1
 
5264
if { (ac_try="$ac_compile"
 
5265
case "(($ac_try" in
 
5266
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5267
  *) ac_try_echo=$ac_try;;
 
5268
esac
 
5269
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5270
  (eval "$ac_compile") 2>conftest.er1
4364
5271
  ac_status=$?
4365
5272
  grep -v '^ *+' conftest.er1 >conftest.err
4366
5273
  rm -f conftest.er1
4367
5274
  cat conftest.err >&5
4368
5275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369
 
  (exit $ac_status); } &&
4370
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4372
 
  (eval $ac_try) 2>&5
4373
 
  ac_status=$?
4374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375
 
  (exit $ac_status); }; } &&
4376
 
         { ac_try='test -s conftest.$ac_objext'
4377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378
 
  (eval $ac_try) 2>&5
4379
 
  ac_status=$?
4380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381
 
  (exit $ac_status); }; }; then
 
5276
  (exit $ac_status); } && {
 
5277
         test -z "$ac_c_werror_flag" ||
 
5278
         test ! -s conftest.err
 
5279
       } && test -s conftest.$ac_objext; then
4382
5280
  ac_hi=$ac_mid; break
4383
5281
else
4384
5282
  echo "$as_me: failed program was:" >&5
4385
5283
sed 's/^/| /' conftest.$ac_ext >&5
4386
5284
 
4387
 
ac_lo=`expr $ac_mid + 1`
4388
 
                    if test $ac_lo -le $ac_mid; then
4389
 
                      ac_lo= ac_hi=
4390
 
                      break
4391
 
                    fi
4392
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
5285
        ac_lo=`expr $ac_mid + 1`
 
5286
                        if test $ac_lo -le $ac_mid; then
 
5287
                          ac_lo= ac_hi=
 
5288
                          break
 
5289
                        fi
 
5290
                        ac_mid=`expr 2 '*' $ac_mid + 1`
4393
5291
fi
4394
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5292
 
 
5293
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395
5294
  done
4396
5295
else
4397
5296
  echo "$as_me: failed program was:" >&5
4398
5297
sed 's/^/| /' conftest.$ac_ext >&5
4399
5298
 
4400
 
cat >conftest.$ac_ext <<_ACEOF
 
5299
        cat >conftest.$ac_ext <<_ACEOF
4401
5300
/* confdefs.h.  */
4402
5301
_ACEOF
4403
5302
cat confdefs.h >>conftest.$ac_ext
4404
5303
cat >>conftest.$ac_ext <<_ACEOF
4405
5304
/* end confdefs.h.  */
4406
5305
$ac_includes_default
 
5306
   typedef unsigned long ac__type_sizeof_;
4407
5307
int
4408
5308
main ()
4409
5309
{
4410
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) < 0)@:>@;
 
5310
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
4411
5311
test_array @<:@0@:>@ = 0
4412
5312
 
4413
5313
  ;
4415
5315
}
4416
5316
_ACEOF
4417
5317
rm -f conftest.$ac_objext
4418
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419
 
  (eval $ac_compile) 2>conftest.er1
 
5318
if { (ac_try="$ac_compile"
 
5319
case "(($ac_try" in
 
5320
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5321
  *) ac_try_echo=$ac_try;;
 
5322
esac
 
5323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5324
  (eval "$ac_compile") 2>conftest.er1
4420
5325
  ac_status=$?
4421
5326
  grep -v '^ *+' conftest.er1 >conftest.err
4422
5327
  rm -f conftest.er1
4423
5328
  cat conftest.err >&5
4424
5329
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425
 
  (exit $ac_status); } &&
4426
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4427
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428
 
  (eval $ac_try) 2>&5
4429
 
  ac_status=$?
4430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431
 
  (exit $ac_status); }; } &&
4432
 
         { ac_try='test -s conftest.$ac_objext'
4433
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434
 
  (eval $ac_try) 2>&5
4435
 
  ac_status=$?
4436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437
 
  (exit $ac_status); }; }; then
 
5330
  (exit $ac_status); } && {
 
5331
         test -z "$ac_c_werror_flag" ||
 
5332
         test ! -s conftest.err
 
5333
       } && test -s conftest.$ac_objext; then
4438
5334
  ac_hi=-1 ac_mid=-1
4439
5335
  while :; do
4440
5336
    cat >conftest.$ac_ext <<_ACEOF
4444
5340
cat >>conftest.$ac_ext <<_ACEOF
4445
5341
/* end confdefs.h.  */
4446
5342
$ac_includes_default
 
5343
   typedef unsigned long ac__type_sizeof_;
4447
5344
int
4448
5345
main ()
4449
5346
{
4450
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)@:>@;
 
5347
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
4451
5348
test_array @<:@0@:>@ = 0
4452
5349
 
4453
5350
  ;
4455
5352
}
4456
5353
_ACEOF
4457
5354
rm -f conftest.$ac_objext
4458
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4459
 
  (eval $ac_compile) 2>conftest.er1
 
5355
if { (ac_try="$ac_compile"
 
5356
case "(($ac_try" in
 
5357
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5358
  *) ac_try_echo=$ac_try;;
 
5359
esac
 
5360
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5361
  (eval "$ac_compile") 2>conftest.er1
4460
5362
  ac_status=$?
4461
5363
  grep -v '^ *+' conftest.er1 >conftest.err
4462
5364
  rm -f conftest.er1
4463
5365
  cat conftest.err >&5
4464
5366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465
 
  (exit $ac_status); } &&
4466
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4468
 
  (eval $ac_try) 2>&5
4469
 
  ac_status=$?
4470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471
 
  (exit $ac_status); }; } &&
4472
 
         { ac_try='test -s conftest.$ac_objext'
4473
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474
 
  (eval $ac_try) 2>&5
4475
 
  ac_status=$?
4476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477
 
  (exit $ac_status); }; }; then
 
5367
  (exit $ac_status); } && {
 
5368
         test -z "$ac_c_werror_flag" ||
 
5369
         test ! -s conftest.err
 
5370
       } && test -s conftest.$ac_objext; then
4478
5371
  ac_lo=$ac_mid; break
4479
5372
else
4480
5373
  echo "$as_me: failed program was:" >&5
4481
5374
sed 's/^/| /' conftest.$ac_ext >&5
4482
5375
 
4483
 
ac_hi=`expr '(' $ac_mid ')' - 1`
4484
 
                       if test $ac_mid -le $ac_hi; then
4485
 
                         ac_lo= ac_hi=
4486
 
                         break
4487
 
                       fi
4488
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
5376
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
5377
                        if test $ac_mid -le $ac_hi; then
 
5378
                          ac_lo= ac_hi=
 
5379
                          break
 
5380
                        fi
 
5381
                        ac_mid=`expr 2 '*' $ac_mid`
4489
5382
fi
4490
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5383
 
 
5384
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491
5385
  done
4492
5386
else
4493
5387
  echo "$as_me: failed program was:" >&5
4494
5388
sed 's/^/| /' conftest.$ac_ext >&5
4495
5389
 
4496
 
ac_lo= ac_hi=
4497
 
fi
4498
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4499
 
fi
4500
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5390
        ac_lo= ac_hi=
 
5391
fi
 
5392
 
 
5393
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5394
fi
 
5395
 
 
5396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501
5397
# Binary search between lo and hi bounds.
4502
5398
while test "x$ac_lo" != "x$ac_hi"; do
4503
5399
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4508
5404
cat >>conftest.$ac_ext <<_ACEOF
4509
5405
/* end confdefs.h.  */
4510
5406
$ac_includes_default
 
5407
   typedef unsigned long ac__type_sizeof_;
4511
5408
int
4512
5409
main ()
4513
5410
{
4514
 
static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)@:>@;
 
5411
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
4515
5412
test_array @<:@0@:>@ = 0
4516
5413
 
4517
5414
  ;
4519
5416
}
4520
5417
_ACEOF
4521
5418
rm -f conftest.$ac_objext
4522
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4523
 
  (eval $ac_compile) 2>conftest.er1
 
5419
if { (ac_try="$ac_compile"
 
5420
case "(($ac_try" in
 
5421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5422
  *) ac_try_echo=$ac_try;;
 
5423
esac
 
5424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5425
  (eval "$ac_compile") 2>conftest.er1
4524
5426
  ac_status=$?
4525
5427
  grep -v '^ *+' conftest.er1 >conftest.err
4526
5428
  rm -f conftest.er1
4527
5429
  cat conftest.err >&5
4528
5430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529
 
  (exit $ac_status); } &&
4530
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4531
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4532
 
  (eval $ac_try) 2>&5
4533
 
  ac_status=$?
4534
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535
 
  (exit $ac_status); }; } &&
4536
 
         { ac_try='test -s conftest.$ac_objext'
4537
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4538
 
  (eval $ac_try) 2>&5
4539
 
  ac_status=$?
4540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541
 
  (exit $ac_status); }; }; then
 
5431
  (exit $ac_status); } && {
 
5432
         test -z "$ac_c_werror_flag" ||
 
5433
         test ! -s conftest.err
 
5434
       } && test -s conftest.$ac_objext; then
4542
5435
  ac_hi=$ac_mid
4543
5436
else
4544
5437
  echo "$as_me: failed program was:" >&5
4545
5438
sed 's/^/| /' conftest.$ac_ext >&5
4546
5439
 
4547
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
5440
        ac_lo=`expr '(' $ac_mid ')' + 1`
4548
5441
fi
4549
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5442
 
 
5443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4550
5444
done
4551
5445
case $ac_lo in
4552
5446
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
4553
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
5447
'') if test "$ac_cv_type_unsigned_long" = yes; then
 
5448
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
4554
5449
See \`config.log' for more details." >&5
4555
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
5450
echo "$as_me: error: cannot compute sizeof (unsigned long)
4556
5451
See \`config.log' for more details." >&2;}
4557
 
   { (exit 1); exit 1; }; } ;;
 
5452
   { (exit 77); exit 77; }; }
 
5453
   else
 
5454
     ac_cv_sizeof_unsigned_long=0
 
5455
   fi ;;
4558
5456
esac
4559
5457
else
4560
 
  if test "$cross_compiling" = yes; then
4561
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4562
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4563
 
   { (exit 1); exit 1; }; }
4564
 
else
4565
5458
  cat >conftest.$ac_ext <<_ACEOF
4566
5459
/* confdefs.h.  */
4567
5460
_ACEOF
4569
5462
cat >>conftest.$ac_ext <<_ACEOF
4570
5463
/* end confdefs.h.  */
4571
5464
$ac_includes_default
4572
 
long longval () { return (long) (sizeof (unsigned long)); }
4573
 
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
 
5465
   typedef unsigned long ac__type_sizeof_;
 
5466
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
5467
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4574
5468
@%:@include <stdio.h>
4575
5469
@%:@include <stdlib.h>
4576
5470
int
4579
5473
 
4580
5474
  FILE *f = fopen ("conftest.val", "w");
4581
5475
  if (! f)
4582
 
    exit (1);
4583
 
  if (((long) (sizeof (unsigned long))) < 0)
 
5476
    return 1;
 
5477
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4584
5478
    {
4585
 
      long i = longval ();
4586
 
      if (i != ((long) (sizeof (unsigned long))))
4587
 
        exit (1);
 
5479
      long int i = longval ();
 
5480
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5481
        return 1;
4588
5482
      fprintf (f, "%ld\n", i);
4589
5483
    }
4590
5484
  else
4591
5485
    {
4592
 
      unsigned long i = ulongval ();
4593
 
      if (i != ((long) (sizeof (unsigned long))))
4594
 
        exit (1);
 
5486
      unsigned long int i = ulongval ();
 
5487
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
5488
        return 1;
4595
5489
      fprintf (f, "%lu\n", i);
4596
5490
    }
4597
 
  exit (ferror (f) || fclose (f) != 0);
 
5491
  return ferror (f) || fclose (f) != 0;
4598
5492
 
4599
5493
  ;
4600
5494
  return 0;
4601
5495
}
4602
5496
_ACEOF
4603
5497
rm -f conftest$ac_exeext
4604
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4605
 
  (eval $ac_link) 2>&5
 
5498
if { (ac_try="$ac_link"
 
5499
case "(($ac_try" in
 
5500
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5501
  *) ac_try_echo=$ac_try;;
 
5502
esac
 
5503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5504
  (eval "$ac_link") 2>&5
4606
5505
  ac_status=$?
4607
5506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608
5507
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610
 
  (eval $ac_try) 2>&5
 
5508
  { (case "(($ac_try" in
 
5509
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5510
  *) ac_try_echo=$ac_try;;
 
5511
esac
 
5512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5513
  (eval "$ac_try") 2>&5
4611
5514
  ac_status=$?
4612
5515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613
5516
  (exit $ac_status); }; }; then
4618
5521
sed 's/^/| /' conftest.$ac_ext >&5
4619
5522
 
4620
5523
( exit $ac_status )
4621
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
5524
if test "$ac_cv_type_unsigned_long" = yes; then
 
5525
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
4622
5526
See \`config.log' for more details." >&5
4623
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
5527
echo "$as_me: error: cannot compute sizeof (unsigned long)
4624
5528
See \`config.log' for more details." >&2;}
4625
 
   { (exit 1); exit 1; }; }
4626
 
fi
4627
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4628
 
fi
 
5529
   { (exit 77); exit 77; }; }
 
5530
   else
 
5531
     ac_cv_sizeof_unsigned_long=0
 
5532
   fi
 
5533
fi
 
5534
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4629
5535
fi
4630
5536
rm -f conftest.val
4631
 
else
4632
 
  ac_cv_sizeof_unsigned_long=0
4633
 
fi
4634
 
fi
4635
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
4636
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
 
5537
fi
 
5538
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
 
5539
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
 
5540
 
 
5541
 
 
5542
 
4637
5543
cat >>confdefs.h <<_ACEOF
4638
5544
@%:@define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
4639
5545
_ACEOF
4648
5554
# We have to trust the linker not to mess things up... (It should not
4649
5555
# pull in anything if we don't refer to anything in the lib). 
4650
5556
 
4651
 
echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
4652
 
echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6
 
5557
{ echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
 
5558
echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
4653
5559
if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
4654
5560
  echo $ECHO_N "(cached) $ECHO_C" >&6
4655
5561
else
4662
5568
cat >>conftest.$ac_ext <<_ACEOF
4663
5569
/* end confdefs.h.  */
4664
5570
 
4665
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5571
/* Override any GCC internal prototype to avoid an error.
 
5572
   Use char because int might match the return type of a GCC
 
5573
   builtin and then its argument prototype would still apply.  */
4666
5574
#ifdef __cplusplus
4667
5575
extern "C"
4668
5576
#endif
4669
 
/* We use char because int might match the return type of a gcc2
4670
 
   builtin and then its argument prototype would still apply.  */
4671
5577
char tgetent ();
4672
5578
int
4673
5579
main ()
4674
5580
{
4675
 
tgetent ();
 
5581
return tgetent ();
4676
5582
  ;
4677
5583
  return 0;
4678
5584
}
4679
5585
_ACEOF
4680
5586
rm -f conftest.$ac_objext conftest$ac_exeext
4681
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4682
 
  (eval $ac_link) 2>conftest.er1
 
5587
if { (ac_try="$ac_link"
 
5588
case "(($ac_try" in
 
5589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5590
  *) ac_try_echo=$ac_try;;
 
5591
esac
 
5592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5593
  (eval "$ac_link") 2>conftest.er1
4683
5594
  ac_status=$?
4684
5595
  grep -v '^ *+' conftest.er1 >conftest.err
4685
5596
  rm -f conftest.er1
4686
5597
  cat conftest.err >&5
4687
5598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688
 
  (exit $ac_status); } &&
4689
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4690
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691
 
  (eval $ac_try) 2>&5
4692
 
  ac_status=$?
4693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694
 
  (exit $ac_status); }; } &&
4695
 
         { ac_try='test -s conftest$ac_exeext'
4696
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4697
 
  (eval $ac_try) 2>&5
4698
 
  ac_status=$?
4699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700
 
  (exit $ac_status); }; }; then
 
5599
  (exit $ac_status); } && {
 
5600
         test -z "$ac_c_werror_flag" ||
 
5601
         test ! -s conftest.err
 
5602
       } && test -s conftest$ac_exeext &&
 
5603
       $as_test_x conftest$ac_exeext; then
4701
5604
  ac_cv_lib_termcap_tgetent=yes
4702
5605
else
4703
5606
  echo "$as_me: failed program was:" >&5
4704
5607
sed 's/^/| /' conftest.$ac_ext >&5
4705
5608
 
4706
 
ac_cv_lib_termcap_tgetent=no
 
5609
        ac_cv_lib_termcap_tgetent=no
4707
5610
fi
4708
 
rm -f conftest.err conftest.$ac_objext \
 
5611
 
 
5612
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4709
5613
      conftest$ac_exeext conftest.$ac_ext
4710
5614
LIBS=$ac_check_lib_save_LIBS
4711
5615
fi
4712
 
echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
4713
 
echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6
 
5616
{ echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
 
5617
echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
4714
5618
if test $ac_cv_lib_termcap_tgetent = yes; then
4715
5619
  cat >>confdefs.h <<_ACEOF
4716
5620
@%:@define HAVE_LIBTERMCAP 1
4721
5625
fi
4722
5626
 
4723
5627
 
4724
 
echo "$as_me:$LINENO: checking for initscr" >&5
4725
 
echo $ECHO_N "checking for initscr... $ECHO_C" >&6
 
5628
{ echo "$as_me:$LINENO: checking for initscr" >&5
 
5629
echo $ECHO_N "checking for initscr... $ECHO_C" >&6; }
4726
5630
if test "${ac_cv_func_initscr+set}" = set; then
4727
5631
  echo $ECHO_N "(cached) $ECHO_C" >&6
4728
5632
else
4749
5653
 
4750
5654
#undef initscr
4751
5655
 
4752
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5656
/* Override any GCC internal prototype to avoid an error.
 
5657
   Use char because int might match the return type of a GCC
 
5658
   builtin and then its argument prototype would still apply.  */
4753
5659
#ifdef __cplusplus
4754
5660
extern "C"
4755
 
{
4756
5661
#endif
4757
 
/* We use char because int might match the return type of a gcc2
4758
 
   builtin and then its argument prototype would still apply.  */
4759
5662
char initscr ();
4760
5663
/* The GNU C library defines this for functions which it implements
4761
5664
    to always fail with ENOSYS.  Some functions are actually named
4762
5665
    something starting with __ and the normal name is an alias.  */
4763
 
#if defined (__stub_initscr) || defined (__stub___initscr)
 
5666
#if defined __stub_initscr || defined __stub___initscr
4764
5667
choke me
4765
 
#else
4766
 
char (*f) () = initscr;
4767
 
#endif
4768
 
#ifdef __cplusplus
4769
 
}
4770
5668
#endif
4771
5669
 
4772
5670
int
4773
5671
main ()
4774
5672
{
4775
 
return f != initscr;
 
5673
return initscr ();
4776
5674
  ;
4777
5675
  return 0;
4778
5676
}
4779
5677
_ACEOF
4780
5678
rm -f conftest.$ac_objext conftest$ac_exeext
4781
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4782
 
  (eval $ac_link) 2>conftest.er1
 
5679
if { (ac_try="$ac_link"
 
5680
case "(($ac_try" in
 
5681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5682
  *) ac_try_echo=$ac_try;;
 
5683
esac
 
5684
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5685
  (eval "$ac_link") 2>conftest.er1
4783
5686
  ac_status=$?
4784
5687
  grep -v '^ *+' conftest.er1 >conftest.err
4785
5688
  rm -f conftest.er1
4786
5689
  cat conftest.err >&5
4787
5690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788
 
  (exit $ac_status); } &&
4789
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4790
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4791
 
  (eval $ac_try) 2>&5
4792
 
  ac_status=$?
4793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794
 
  (exit $ac_status); }; } &&
4795
 
         { ac_try='test -s conftest$ac_exeext'
4796
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797
 
  (eval $ac_try) 2>&5
4798
 
  ac_status=$?
4799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800
 
  (exit $ac_status); }; }; then
 
5691
  (exit $ac_status); } && {
 
5692
         test -z "$ac_c_werror_flag" ||
 
5693
         test ! -s conftest.err
 
5694
       } && test -s conftest$ac_exeext &&
 
5695
       $as_test_x conftest$ac_exeext; then
4801
5696
  ac_cv_func_initscr=yes
4802
5697
else
4803
5698
  echo "$as_me: failed program was:" >&5
4804
5699
sed 's/^/| /' conftest.$ac_ext >&5
4805
5700
 
4806
 
ac_cv_func_initscr=no
 
5701
        ac_cv_func_initscr=no
4807
5702
fi
4808
 
rm -f conftest.err conftest.$ac_objext \
 
5703
 
 
5704
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4809
5705
      conftest$ac_exeext conftest.$ac_ext
4810
5706
fi
4811
 
echo "$as_me:$LINENO: result: $ac_cv_func_initscr" >&5
4812
 
echo "${ECHO_T}$ac_cv_func_initscr" >&6
 
5707
{ echo "$as_me:$LINENO: result: $ac_cv_func_initscr" >&5
 
5708
echo "${ECHO_T}$ac_cv_func_initscr" >&6; }
4813
5709
if test $ac_cv_func_initscr = yes; then
4814
5710
  :
4815
5711
else
4816
5712
  
4817
 
echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
4818
 
echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6
 
5713
{ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
 
5714
echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
4819
5715
if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
4820
5716
  echo $ECHO_N "(cached) $ECHO_C" >&6
4821
5717
else
4828
5724
cat >>conftest.$ac_ext <<_ACEOF
4829
5725
/* end confdefs.h.  */
4830
5726
 
4831
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5727
/* Override any GCC internal prototype to avoid an error.
 
5728
   Use char because int might match the return type of a GCC
 
5729
   builtin and then its argument prototype would still apply.  */
4832
5730
#ifdef __cplusplus
4833
5731
extern "C"
4834
5732
#endif
4835
 
/* We use char because int might match the return type of a gcc2
4836
 
   builtin and then its argument prototype would still apply.  */
4837
5733
char initscr ();
4838
5734
int
4839
5735
main ()
4840
5736
{
4841
 
initscr ();
 
5737
return initscr ();
4842
5738
  ;
4843
5739
  return 0;
4844
5740
}
4845
5741
_ACEOF
4846
5742
rm -f conftest.$ac_objext conftest$ac_exeext
4847
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4848
 
  (eval $ac_link) 2>conftest.er1
 
5743
if { (ac_try="$ac_link"
 
5744
case "(($ac_try" in
 
5745
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5746
  *) ac_try_echo=$ac_try;;
 
5747
esac
 
5748
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5749
  (eval "$ac_link") 2>conftest.er1
4849
5750
  ac_status=$?
4850
5751
  grep -v '^ *+' conftest.er1 >conftest.err
4851
5752
  rm -f conftest.er1
4852
5753
  cat conftest.err >&5
4853
5754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854
 
  (exit $ac_status); } &&
4855
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4856
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857
 
  (eval $ac_try) 2>&5
4858
 
  ac_status=$?
4859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860
 
  (exit $ac_status); }; } &&
4861
 
         { ac_try='test -s conftest$ac_exeext'
4862
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4863
 
  (eval $ac_try) 2>&5
4864
 
  ac_status=$?
4865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866
 
  (exit $ac_status); }; }; then
 
5755
  (exit $ac_status); } && {
 
5756
         test -z "$ac_c_werror_flag" ||
 
5757
         test ! -s conftest.err
 
5758
       } && test -s conftest$ac_exeext &&
 
5759
       $as_test_x conftest$ac_exeext; then
4867
5760
  ac_cv_lib_ncurses_initscr=yes
4868
5761
else
4869
5762
  echo "$as_me: failed program was:" >&5
4870
5763
sed 's/^/| /' conftest.$ac_ext >&5
4871
5764
 
4872
 
ac_cv_lib_ncurses_initscr=no
 
5765
        ac_cv_lib_ncurses_initscr=no
4873
5766
fi
4874
 
rm -f conftest.err conftest.$ac_objext \
 
5767
 
 
5768
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4875
5769
      conftest$ac_exeext conftest.$ac_ext
4876
5770
LIBS=$ac_check_lib_save_LIBS
4877
5771
fi
4878
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
4879
 
echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6
 
5772
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
 
5773
echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
4880
5774
if test $ac_cv_lib_ncurses_initscr = yes; then
4881
5775
  cat >>confdefs.h <<_ACEOF
4882
5776
@%:@define HAVE_LIBNCURSES 1
4886
5780
 
4887
5781
else
4888
5782
  
4889
 
echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
4890
 
echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
 
5783
{ echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
 
5784
echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
4891
5785
if test "${ac_cv_lib_curses_initscr+set}" = set; then
4892
5786
  echo $ECHO_N "(cached) $ECHO_C" >&6
4893
5787
else
4900
5794
cat >>conftest.$ac_ext <<_ACEOF
4901
5795
/* end confdefs.h.  */
4902
5796
 
4903
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5797
/* Override any GCC internal prototype to avoid an error.
 
5798
   Use char because int might match the return type of a GCC
 
5799
   builtin and then its argument prototype would still apply.  */
4904
5800
#ifdef __cplusplus
4905
5801
extern "C"
4906
5802
#endif
4907
 
/* We use char because int might match the return type of a gcc2
4908
 
   builtin and then its argument prototype would still apply.  */
4909
5803
char initscr ();
4910
5804
int
4911
5805
main ()
4912
5806
{
4913
 
initscr ();
 
5807
return initscr ();
4914
5808
  ;
4915
5809
  return 0;
4916
5810
}
4917
5811
_ACEOF
4918
5812
rm -f conftest.$ac_objext conftest$ac_exeext
4919
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4920
 
  (eval $ac_link) 2>conftest.er1
 
5813
if { (ac_try="$ac_link"
 
5814
case "(($ac_try" in
 
5815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5816
  *) ac_try_echo=$ac_try;;
 
5817
esac
 
5818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5819
  (eval "$ac_link") 2>conftest.er1
4921
5820
  ac_status=$?
4922
5821
  grep -v '^ *+' conftest.er1 >conftest.err
4923
5822
  rm -f conftest.er1
4924
5823
  cat conftest.err >&5
4925
5824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926
 
  (exit $ac_status); } &&
4927
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4928
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929
 
  (eval $ac_try) 2>&5
4930
 
  ac_status=$?
4931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932
 
  (exit $ac_status); }; } &&
4933
 
         { ac_try='test -s conftest$ac_exeext'
4934
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935
 
  (eval $ac_try) 2>&5
4936
 
  ac_status=$?
4937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938
 
  (exit $ac_status); }; }; then
 
5825
  (exit $ac_status); } && {
 
5826
         test -z "$ac_c_werror_flag" ||
 
5827
         test ! -s conftest.err
 
5828
       } && test -s conftest$ac_exeext &&
 
5829
       $as_test_x conftest$ac_exeext; then
4939
5830
  ac_cv_lib_curses_initscr=yes
4940
5831
else
4941
5832
  echo "$as_me: failed program was:" >&5
4942
5833
sed 's/^/| /' conftest.$ac_ext >&5
4943
5834
 
4944
 
ac_cv_lib_curses_initscr=no
 
5835
        ac_cv_lib_curses_initscr=no
4945
5836
fi
4946
 
rm -f conftest.err conftest.$ac_objext \
 
5837
 
 
5838
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4947
5839
      conftest$ac_exeext conftest.$ac_ext
4948
5840
LIBS=$ac_check_lib_save_LIBS
4949
5841
fi
4950
 
echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
4951
 
echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
 
5842
{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
 
5843
echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
4952
5844
if test $ac_cv_lib_curses_initscr = yes; then
4953
5845
  cat >>confdefs.h <<_ACEOF
4954
5846
@%:@define HAVE_LIBCURSES 1
4958
5850
 
4959
5851
else
4960
5852
  
4961
 
echo "$as_me:$LINENO: checking for initscr in -lcursesX" >&5
4962
 
echo $ECHO_N "checking for initscr in -lcursesX... $ECHO_C" >&6
 
5853
{ echo "$as_me:$LINENO: checking for initscr in -lcursesX" >&5
 
5854
echo $ECHO_N "checking for initscr in -lcursesX... $ECHO_C" >&6; }
4963
5855
if test "${ac_cv_lib_cursesX_initscr+set}" = set; then
4964
5856
  echo $ECHO_N "(cached) $ECHO_C" >&6
4965
5857
else
4972
5864
cat >>conftest.$ac_ext <<_ACEOF
4973
5865
/* end confdefs.h.  */
4974
5866
 
4975
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5867
/* Override any GCC internal prototype to avoid an error.
 
5868
   Use char because int might match the return type of a GCC
 
5869
   builtin and then its argument prototype would still apply.  */
4976
5870
#ifdef __cplusplus
4977
5871
extern "C"
4978
5872
#endif
4979
 
/* We use char because int might match the return type of a gcc2
4980
 
   builtin and then its argument prototype would still apply.  */
4981
5873
char initscr ();
4982
5874
int
4983
5875
main ()
4984
5876
{
4985
 
initscr ();
 
5877
return initscr ();
4986
5878
  ;
4987
5879
  return 0;
4988
5880
}
4989
5881
_ACEOF
4990
5882
rm -f conftest.$ac_objext conftest$ac_exeext
4991
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4992
 
  (eval $ac_link) 2>conftest.er1
 
5883
if { (ac_try="$ac_link"
 
5884
case "(($ac_try" in
 
5885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5886
  *) ac_try_echo=$ac_try;;
 
5887
esac
 
5888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5889
  (eval "$ac_link") 2>conftest.er1
4993
5890
  ac_status=$?
4994
5891
  grep -v '^ *+' conftest.er1 >conftest.err
4995
5892
  rm -f conftest.er1
4996
5893
  cat conftest.err >&5
4997
5894
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998
 
  (exit $ac_status); } &&
4999
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5000
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5001
 
  (eval $ac_try) 2>&5
5002
 
  ac_status=$?
5003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004
 
  (exit $ac_status); }; } &&
5005
 
         { ac_try='test -s conftest$ac_exeext'
5006
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5007
 
  (eval $ac_try) 2>&5
5008
 
  ac_status=$?
5009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010
 
  (exit $ac_status); }; }; then
 
5895
  (exit $ac_status); } && {
 
5896
         test -z "$ac_c_werror_flag" ||
 
5897
         test ! -s conftest.err
 
5898
       } && test -s conftest$ac_exeext &&
 
5899
       $as_test_x conftest$ac_exeext; then
5011
5900
  ac_cv_lib_cursesX_initscr=yes
5012
5901
else
5013
5902
  echo "$as_me: failed program was:" >&5
5014
5903
sed 's/^/| /' conftest.$ac_ext >&5
5015
5904
 
5016
 
ac_cv_lib_cursesX_initscr=no
 
5905
        ac_cv_lib_cursesX_initscr=no
5017
5906
fi
5018
 
rm -f conftest.err conftest.$ac_objext \
 
5907
 
 
5908
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5019
5909
      conftest$ac_exeext conftest.$ac_ext
5020
5910
LIBS=$ac_check_lib_save_LIBS
5021
5911
fi
5022
 
echo "$as_me:$LINENO: result: $ac_cv_lib_cursesX_initscr" >&5
5023
 
echo "${ECHO_T}$ac_cv_lib_cursesX_initscr" >&6
 
5912
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cursesX_initscr" >&5
 
5913
echo "${ECHO_T}$ac_cv_lib_cursesX_initscr" >&6; }
5024
5914
if test $ac_cv_lib_cursesX_initscr = yes; then
5025
5915
  cat >>confdefs.h <<_ACEOF
5026
5916
@%:@define HAVE_LIBCURSESX 1
5049
5939
for ac_func in attron
5050
5940
do
5051
5941
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5052
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
5053
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5054
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
5942
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
5943
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
5944
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5055
5945
  echo $ECHO_N "(cached) $ECHO_C" >&6
5056
5946
else
5057
5947
  cat >conftest.$ac_ext <<_ACEOF
5077
5967
 
5078
5968
#undef $ac_func
5079
5969
 
5080
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
5970
/* Override any GCC internal prototype to avoid an error.
 
5971
   Use char because int might match the return type of a GCC
 
5972
   builtin and then its argument prototype would still apply.  */
5081
5973
#ifdef __cplusplus
5082
5974
extern "C"
5083
 
{
5084
5975
#endif
5085
 
/* We use char because int might match the return type of a gcc2
5086
 
   builtin and then its argument prototype would still apply.  */
5087
5976
char $ac_func ();
5088
5977
/* The GNU C library defines this for functions which it implements
5089
5978
    to always fail with ENOSYS.  Some functions are actually named
5090
5979
    something starting with __ and the normal name is an alias.  */
5091
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
5980
#if defined __stub_$ac_func || defined __stub___$ac_func
5092
5981
choke me
5093
 
#else
5094
 
char (*f) () = $ac_func;
5095
 
#endif
5096
 
#ifdef __cplusplus
5097
 
}
5098
5982
#endif
5099
5983
 
5100
5984
int
5101
5985
main ()
5102
5986
{
5103
 
return f != $ac_func;
 
5987
return $ac_func ();
5104
5988
  ;
5105
5989
  return 0;
5106
5990
}
5107
5991
_ACEOF
5108
5992
rm -f conftest.$ac_objext conftest$ac_exeext
5109
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5110
 
  (eval $ac_link) 2>conftest.er1
 
5993
if { (ac_try="$ac_link"
 
5994
case "(($ac_try" in
 
5995
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5996
  *) ac_try_echo=$ac_try;;
 
5997
esac
 
5998
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5999
  (eval "$ac_link") 2>conftest.er1
5111
6000
  ac_status=$?
5112
6001
  grep -v '^ *+' conftest.er1 >conftest.err
5113
6002
  rm -f conftest.er1
5114
6003
  cat conftest.err >&5
5115
6004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116
 
  (exit $ac_status); } &&
5117
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5118
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5119
 
  (eval $ac_try) 2>&5
5120
 
  ac_status=$?
5121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122
 
  (exit $ac_status); }; } &&
5123
 
         { ac_try='test -s conftest$ac_exeext'
5124
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125
 
  (eval $ac_try) 2>&5
5126
 
  ac_status=$?
5127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128
 
  (exit $ac_status); }; }; then
 
6005
  (exit $ac_status); } && {
 
6006
         test -z "$ac_c_werror_flag" ||
 
6007
         test ! -s conftest.err
 
6008
       } && test -s conftest$ac_exeext &&
 
6009
       $as_test_x conftest$ac_exeext; then
5129
6010
  eval "$as_ac_var=yes"
5130
6011
else
5131
6012
  echo "$as_me: failed program was:" >&5
5132
6013
sed 's/^/| /' conftest.$ac_ext >&5
5133
6014
 
5134
 
eval "$as_ac_var=no"
 
6015
        eval "$as_ac_var=no"
5135
6016
fi
5136
 
rm -f conftest.err conftest.$ac_objext \
 
6017
 
 
6018
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5137
6019
      conftest$ac_exeext conftest.$ac_ext
5138
6020
fi
5139
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5140
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
6021
ac_res=`eval echo '${'$as_ac_var'}'`
 
6022
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6023
echo "${ECHO_T}$ac_res" >&6; }
5141
6024
if test `eval echo '${'$as_ac_var'}'` = yes; then
5142
6025
  cat >>confdefs.h <<_ACEOF
5143
6026
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5156
6039
for ac_header in ncurses.h ncurses/curses.h curses.h cursesX.h sys/types.h
5157
6040
do
5158
6041
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5159
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5160
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5161
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5162
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6042
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6043
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6044
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6045
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5163
6046
  echo $ECHO_N "(cached) $ECHO_C" >&6
5164
6047
fi
5165
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5166
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6048
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6049
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6050
echo "${ECHO_T}$ac_res" >&6; }
5167
6051
else
5168
6052
  # Is the header compilable?
5169
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5170
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
6053
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6054
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5171
6055
cat >conftest.$ac_ext <<_ACEOF
5172
6056
/* confdefs.h.  */
5173
6057
_ACEOF
5178
6062
@%:@include <$ac_header>
5179
6063
_ACEOF
5180
6064
rm -f conftest.$ac_objext
5181
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5182
 
  (eval $ac_compile) 2>conftest.er1
 
6065
if { (ac_try="$ac_compile"
 
6066
case "(($ac_try" in
 
6067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6068
  *) ac_try_echo=$ac_try;;
 
6069
esac
 
6070
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6071
  (eval "$ac_compile") 2>conftest.er1
5183
6072
  ac_status=$?
5184
6073
  grep -v '^ *+' conftest.er1 >conftest.err
5185
6074
  rm -f conftest.er1
5186
6075
  cat conftest.err >&5
5187
6076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188
 
  (exit $ac_status); } &&
5189
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5190
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5191
 
  (eval $ac_try) 2>&5
5192
 
  ac_status=$?
5193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194
 
  (exit $ac_status); }; } &&
5195
 
         { ac_try='test -s conftest.$ac_objext'
5196
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197
 
  (eval $ac_try) 2>&5
5198
 
  ac_status=$?
5199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200
 
  (exit $ac_status); }; }; then
 
6077
  (exit $ac_status); } && {
 
6078
         test -z "$ac_c_werror_flag" ||
 
6079
         test ! -s conftest.err
 
6080
       } && test -s conftest.$ac_objext; then
5201
6081
  ac_header_compiler=yes
5202
6082
else
5203
6083
  echo "$as_me: failed program was:" >&5
5204
6084
sed 's/^/| /' conftest.$ac_ext >&5
5205
6085
 
5206
 
ac_header_compiler=no
 
6086
        ac_header_compiler=no
5207
6087
fi
5208
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5209
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5210
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
6088
 
 
6089
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6090
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6091
echo "${ECHO_T}$ac_header_compiler" >&6; }
5211
6092
 
5212
6093
# Is the header present?
5213
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5214
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
6094
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6095
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5215
6096
cat >conftest.$ac_ext <<_ACEOF
5216
6097
/* confdefs.h.  */
5217
6098
_ACEOF
5220
6101
/* end confdefs.h.  */
5221
6102
@%:@include <$ac_header>
5222
6103
_ACEOF
5223
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5224
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6104
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6105
case "(($ac_try" in
 
6106
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6107
  *) ac_try_echo=$ac_try;;
 
6108
esac
 
6109
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6110
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5225
6111
  ac_status=$?
5226
6112
  grep -v '^ *+' conftest.er1 >conftest.err
5227
6113
  rm -f conftest.er1
5228
6114
  cat conftest.err >&5
5229
6115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230
 
  (exit $ac_status); } >/dev/null; then
5231
 
  if test -s conftest.err; then
5232
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5233
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5234
 
  else
5235
 
    ac_cpp_err=
5236
 
  fi
5237
 
else
5238
 
  ac_cpp_err=yes
5239
 
fi
5240
 
if test -z "$ac_cpp_err"; then
 
6116
  (exit $ac_status); } >/dev/null && {
 
6117
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6118
         test ! -s conftest.err
 
6119
       }; then
5241
6120
  ac_header_preproc=yes
5242
6121
else
5243
6122
  echo "$as_me: failed program was:" >&5
5245
6124
 
5246
6125
  ac_header_preproc=no
5247
6126
fi
 
6127
 
5248
6128
rm -f conftest.err conftest.$ac_ext
5249
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5250
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6129
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6130
echo "${ECHO_T}$ac_header_preproc" >&6; }
5251
6131
 
5252
6132
# So?  What about this header?
5253
6133
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5271
6151
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5272
6152
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5273
6153
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5274
 
    (
5275
 
      cat <<\_ASBOX
5276
 
@%:@@%:@ ------------------------------------------ @%:@@%:@
5277
 
@%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
5278
 
@%:@@%:@ ------------------------------------------ @%:@@%:@
5279
 
_ASBOX
5280
 
    ) |
5281
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6154
    
5282
6155
    ;;
5283
6156
esac
5284
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5285
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5286
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6157
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6158
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6159
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5287
6160
  echo $ECHO_N "(cached) $ECHO_C" >&6
5288
6161
else
5289
6162
  eval "$as_ac_Header=\$ac_header_preproc"
5290
6163
fi
5291
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5292
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6164
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6165
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6166
echo "${ECHO_T}$ac_res" >&6; }
5293
6167
 
5294
6168
fi
5295
6169
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5305
6179
for ac_header in sys/xti.h
5306
6180
do
5307
6181
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5308
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5309
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5310
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5311
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6182
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6183
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6184
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6185
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5312
6186
  echo $ECHO_N "(cached) $ECHO_C" >&6
5313
6187
fi
5314
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5315
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6188
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6189
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6190
echo "${ECHO_T}$ac_res" >&6; }
5316
6191
else
5317
6192
  # Is the header compilable?
5318
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5319
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
6193
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6194
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5320
6195
cat >conftest.$ac_ext <<_ACEOF
5321
6196
/* confdefs.h.  */
5322
6197
_ACEOF
5327
6202
@%:@include <$ac_header>
5328
6203
_ACEOF
5329
6204
rm -f conftest.$ac_objext
5330
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5331
 
  (eval $ac_compile) 2>conftest.er1
 
6205
if { (ac_try="$ac_compile"
 
6206
case "(($ac_try" in
 
6207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6208
  *) ac_try_echo=$ac_try;;
 
6209
esac
 
6210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6211
  (eval "$ac_compile") 2>conftest.er1
5332
6212
  ac_status=$?
5333
6213
  grep -v '^ *+' conftest.er1 >conftest.err
5334
6214
  rm -f conftest.er1
5335
6215
  cat conftest.err >&5
5336
6216
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337
 
  (exit $ac_status); } &&
5338
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5339
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5340
 
  (eval $ac_try) 2>&5
5341
 
  ac_status=$?
5342
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343
 
  (exit $ac_status); }; } &&
5344
 
         { ac_try='test -s conftest.$ac_objext'
5345
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5346
 
  (eval $ac_try) 2>&5
5347
 
  ac_status=$?
5348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349
 
  (exit $ac_status); }; }; then
 
6217
  (exit $ac_status); } && {
 
6218
         test -z "$ac_c_werror_flag" ||
 
6219
         test ! -s conftest.err
 
6220
       } && test -s conftest.$ac_objext; then
5350
6221
  ac_header_compiler=yes
5351
6222
else
5352
6223
  echo "$as_me: failed program was:" >&5
5353
6224
sed 's/^/| /' conftest.$ac_ext >&5
5354
6225
 
5355
 
ac_header_compiler=no
 
6226
        ac_header_compiler=no
5356
6227
fi
5357
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5358
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5359
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
6228
 
 
6229
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6230
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6231
echo "${ECHO_T}$ac_header_compiler" >&6; }
5360
6232
 
5361
6233
# Is the header present?
5362
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5363
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
6234
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6235
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5364
6236
cat >conftest.$ac_ext <<_ACEOF
5365
6237
/* confdefs.h.  */
5366
6238
_ACEOF
5369
6241
/* end confdefs.h.  */
5370
6242
@%:@include <$ac_header>
5371
6243
_ACEOF
5372
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5373
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6244
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6245
case "(($ac_try" in
 
6246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6247
  *) ac_try_echo=$ac_try;;
 
6248
esac
 
6249
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6250
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5374
6251
  ac_status=$?
5375
6252
  grep -v '^ *+' conftest.er1 >conftest.err
5376
6253
  rm -f conftest.er1
5377
6254
  cat conftest.err >&5
5378
6255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379
 
  (exit $ac_status); } >/dev/null; then
5380
 
  if test -s conftest.err; then
5381
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5382
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5383
 
  else
5384
 
    ac_cpp_err=
5385
 
  fi
5386
 
else
5387
 
  ac_cpp_err=yes
5388
 
fi
5389
 
if test -z "$ac_cpp_err"; then
 
6256
  (exit $ac_status); } >/dev/null && {
 
6257
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6258
         test ! -s conftest.err
 
6259
       }; then
5390
6260
  ac_header_preproc=yes
5391
6261
else
5392
6262
  echo "$as_me: failed program was:" >&5
5394
6264
 
5395
6265
  ac_header_preproc=no
5396
6266
fi
 
6267
 
5397
6268
rm -f conftest.err conftest.$ac_ext
5398
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5399
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
6269
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6270
echo "${ECHO_T}$ac_header_preproc" >&6; }
5400
6271
 
5401
6272
# So?  What about this header?
5402
6273
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5420
6291
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5421
6292
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5422
6293
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5423
 
    (
5424
 
      cat <<\_ASBOX
5425
 
@%:@@%:@ ------------------------------------------ @%:@@%:@
5426
 
@%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
5427
 
@%:@@%:@ ------------------------------------------ @%:@@%:@
5428
 
_ASBOX
5429
 
    ) |
5430
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
6294
    
5431
6295
    ;;
5432
6296
esac
5433
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5434
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5435
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
6297
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6298
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6299
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5436
6300
  echo $ECHO_N "(cached) $ECHO_C" >&6
5437
6301
else
5438
6302
  eval "$as_ac_Header=\$ac_header_preproc"
5439
6303
fi
5440
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5441
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
6304
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6305
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6306
echo "${ECHO_T}$ac_res" >&6; }
5442
6307
 
5443
6308
fi
5444
6309
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5452
6317
 
5453
6318
 
5454
6319
 
5455
 
echo "$as_me:$LINENO: checking for floor in -lm" >&5
5456
 
echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
 
6320
{ echo "$as_me:$LINENO: checking for floor in -lm" >&5
 
6321
echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6; }
5457
6322
if test "${ac_cv_lib_m_floor+set}" = set; then
5458
6323
  echo $ECHO_N "(cached) $ECHO_C" >&6
5459
6324
else
5466
6331
cat >>conftest.$ac_ext <<_ACEOF
5467
6332
/* end confdefs.h.  */
5468
6333
 
5469
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6334
/* Override any GCC internal prototype to avoid an error.
 
6335
   Use char because int might match the return type of a GCC
 
6336
   builtin and then its argument prototype would still apply.  */
5470
6337
#ifdef __cplusplus
5471
6338
extern "C"
5472
6339
#endif
5473
 
/* We use char because int might match the return type of a gcc2
5474
 
   builtin and then its argument prototype would still apply.  */
5475
6340
char floor ();
5476
6341
int
5477
6342
main ()
5478
6343
{
5479
 
floor ();
 
6344
return floor ();
5480
6345
  ;
5481
6346
  return 0;
5482
6347
}
5483
6348
_ACEOF
5484
6349
rm -f conftest.$ac_objext conftest$ac_exeext
5485
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5486
 
  (eval $ac_link) 2>conftest.er1
 
6350
if { (ac_try="$ac_link"
 
6351
case "(($ac_try" in
 
6352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6353
  *) ac_try_echo=$ac_try;;
 
6354
esac
 
6355
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6356
  (eval "$ac_link") 2>conftest.er1
5487
6357
  ac_status=$?
5488
6358
  grep -v '^ *+' conftest.er1 >conftest.err
5489
6359
  rm -f conftest.er1
5490
6360
  cat conftest.err >&5
5491
6361
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492
 
  (exit $ac_status); } &&
5493
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5494
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495
 
  (eval $ac_try) 2>&5
5496
 
  ac_status=$?
5497
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498
 
  (exit $ac_status); }; } &&
5499
 
         { ac_try='test -s conftest$ac_exeext'
5500
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5501
 
  (eval $ac_try) 2>&5
5502
 
  ac_status=$?
5503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504
 
  (exit $ac_status); }; }; then
 
6362
  (exit $ac_status); } && {
 
6363
         test -z "$ac_c_werror_flag" ||
 
6364
         test ! -s conftest.err
 
6365
       } && test -s conftest$ac_exeext &&
 
6366
       $as_test_x conftest$ac_exeext; then
5505
6367
  ac_cv_lib_m_floor=yes
5506
6368
else
5507
6369
  echo "$as_me: failed program was:" >&5
5508
6370
sed 's/^/| /' conftest.$ac_ext >&5
5509
6371
 
5510
 
ac_cv_lib_m_floor=no
 
6372
        ac_cv_lib_m_floor=no
5511
6373
fi
5512
 
rm -f conftest.err conftest.$ac_objext \
 
6374
 
 
6375
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5513
6376
      conftest$ac_exeext conftest.$ac_ext
5514
6377
LIBS=$ac_check_lib_save_LIBS
5515
6378
fi
5516
 
echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
5517
 
echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
 
6379
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
 
6380
echo "${ECHO_T}$ac_cv_lib_m_floor" >&6; }
5518
6381
if test $ac_cv_lib_m_floor = yes; then
5519
6382
  cat >>confdefs.h <<_ACEOF
5520
6383
@%:@define HAVE_LIBM 1
5530
6393
 
5531
6394
 
5532
6395
 
5533
 
# Check whether --with-gtk or --without-gtk was given.
 
6396
# Check whether --with-gtk was given.
5534
6397
if test "${with_gtk+set}" = set; then
5535
 
  withval="$with_gtk"
5536
 
  WANTS_GTK=$withval
 
6398
  withval=$with_gtk; WANTS_GTK=$withval
5537
6399
else
5538
6400
  WANTS_GTK=yes
5539
 
fi; 
5540
 
 
5541
 
# Check whether --enable-gtk2 or --disable-gtk2 was given.
 
6401
fi
 
6402
 
 
6403
 
 
6404
# Check whether --enable-gtk2 was given.
5542
6405
if test "${enable_gtk2+set}" = set; then
5543
 
  enableval="$enable_gtk2"
5544
 
  WANTS_GTK2=$enableval
 
6406
  enableval=$enable_gtk2; WANTS_GTK2=$enableval
5545
6407
else
5546
6408
  WANTS_GTK2=no
5547
 
fi; 
 
6409
fi
 
6410
 
5548
6411
   
5549
 
# Check whether --enable-ipv6 or --disable-ipv6 was given.
 
6412
# Check whether --enable-ipv6 was given.
5550
6413
if test "${enable_ipv6+set}" = set; then
5551
 
  enableval="$enable_ipv6"
5552
 
  WANTS_IPV6=$enableval
 
6414
  enableval=$enable_ipv6; WANTS_IPV6=$enableval
5553
6415
else
5554
6416
  WANTS_IPV6=yes
5555
 
fi; 
 
6417
fi
 
6418
 
5556
6419
   
5557
6420
if test "x$WANTS_GTK" = "xyes"; then
5558
6421
        if test "x$WANTS_GTK2" = "xyes"; then
5559
 
                # Check whether --enable-gtktest or --disable-gtktest was given.
 
6422
                # Check whether --enable-gtktest was given.
5560
6423
if test "${enable_gtktest+set}" = set; then
5561
 
  enableval="$enable_gtktest"
5562
 
  
 
6424
  enableval=$enable_gtktest; 
5563
6425
else
5564
6426
  enable_gtktest=yes
5565
 
fi; 
 
6427
fi
 
6428
 
5566
6429
 
5567
6430
  pkg_config_args=gtk+-2.0
5568
6431
  for module in . 
5578
6441
 
5579
6442
  # Extract the first word of "pkg-config", so it can be a program name with args.
5580
6443
set dummy pkg-config; ac_word=$2
5581
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5582
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6444
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6445
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5583
6446
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5584
6447
  echo $ECHO_N "(cached) $ECHO_C" >&6
5585
6448
else
5594
6457
  IFS=$as_save_IFS
5595
6458
  test -z "$as_dir" && as_dir=.
5596
6459
  for ac_exec_ext in '' $ac_executable_extensions; do
5597
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6460
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5598
6461
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5599
6462
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5600
6463
    break 2
5601
6464
  fi
5602
6465
done
5603
6466
done
 
6467
IFS=$as_save_IFS
5604
6468
 
5605
6469
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5606
6470
  ;;
5607
6471
esac
5608
6472
fi
5609
6473
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5610
 
 
5611
6474
if test -n "$PKG_CONFIG"; then
5612
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5613
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
6475
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
6476
echo "${ECHO_T}$PKG_CONFIG" >&6; }
5614
6477
else
5615
 
  echo "$as_me:$LINENO: result: no" >&5
5616
 
echo "${ECHO_T}no" >&6
 
6478
  { echo "$as_me:$LINENO: result: no" >&5
 
6479
echo "${ECHO_T}no" >&6; }
5617
6480
fi
5618
6481
 
5619
6482
 
 
6483
 
5620
6484
  if test x$PKG_CONFIG != xno ; then
5621
6485
    if pkg-config --atleast-pkgconfig-version 0.7 ; then
5622
6486
      :
5630
6494
  fi
5631
6495
 
5632
6496
  min_gtk_version=2.0.0
5633
 
  echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
5634
 
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
 
6497
  { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
 
6498
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
5635
6499
 
5636
6500
  if test x$PKG_CONFIG != xno ; then
5637
6501
    ## don't try to run the test against uninstalled libtool libs
5745
6609
 
5746
6610
_ACEOF
5747
6611
rm -f conftest$ac_exeext
5748
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5749
 
  (eval $ac_link) 2>&5
 
6612
if { (ac_try="$ac_link"
 
6613
case "(($ac_try" in
 
6614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6615
  *) ac_try_echo=$ac_try;;
 
6616
esac
 
6617
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6618
  (eval "$ac_link") 2>&5
5750
6619
  ac_status=$?
5751
6620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752
6621
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5753
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5754
 
  (eval $ac_try) 2>&5
 
6622
  { (case "(($ac_try" in
 
6623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6624
  *) ac_try_echo=$ac_try;;
 
6625
esac
 
6626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6627
  (eval "$ac_try") 2>&5
5755
6628
  ac_status=$?
5756
6629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757
6630
  (exit $ac_status); }; }; then
5764
6637
( exit $ac_status )
5765
6638
no_gtk=yes
5766
6639
fi
5767
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6640
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5768
6641
fi
 
6642
 
 
6643
 
5769
6644
       CFLAGS="$ac_save_CFLAGS"
5770
6645
       LIBS="$ac_save_LIBS"
5771
6646
     fi
5772
6647
  fi
5773
6648
  if test "x$no_gtk" = x ; then
5774
 
     echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
5775
 
echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
 
6649
     { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
 
6650
echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
5776
6651
     CFLAGS="$CFLAGS $GTK_CFLAGS"
5777
6652
                           LIBS="$LIBS $GTK_LIBS -lm"     
5778
6653
  else
5779
 
     echo "$as_me:$LINENO: result: no" >&5
5780
 
echo "${ECHO_T}no" >&6
 
6654
     { echo "$as_me:$LINENO: result: no" >&5
 
6655
echo "${ECHO_T}no" >&6; }
5781
6656
     if test "$PKG_CONFIG" = "no" ; then
5782
6657
       echo "*** A new enough version of pkg-config was not found."
5783
6658
       echo "*** See http://pkgconfig.sourceforge.net"
5809
6684
}
5810
6685
_ACEOF
5811
6686
rm -f conftest.$ac_objext conftest$ac_exeext
5812
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5813
 
  (eval $ac_link) 2>conftest.er1
 
6687
if { (ac_try="$ac_link"
 
6688
case "(($ac_try" in
 
6689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6690
  *) ac_try_echo=$ac_try;;
 
6691
esac
 
6692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6693
  (eval "$ac_link") 2>conftest.er1
5814
6694
  ac_status=$?
5815
6695
  grep -v '^ *+' conftest.er1 >conftest.err
5816
6696
  rm -f conftest.er1
5817
6697
  cat conftest.err >&5
5818
6698
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819
 
  (exit $ac_status); } &&
5820
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5821
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5822
 
  (eval $ac_try) 2>&5
5823
 
  ac_status=$?
5824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825
 
  (exit $ac_status); }; } &&
5826
 
         { ac_try='test -s conftest$ac_exeext'
5827
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828
 
  (eval $ac_try) 2>&5
5829
 
  ac_status=$?
5830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831
 
  (exit $ac_status); }; }; then
 
6699
  (exit $ac_status); } && {
 
6700
         test -z "$ac_c_werror_flag" ||
 
6701
         test ! -s conftest.err
 
6702
       } && test -s conftest$ac_exeext &&
 
6703
       $as_test_x conftest$ac_exeext; then
5832
6704
   echo "*** The test program compiled, but did not run. This usually means"
5833
6705
          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
5834
6706
          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
5842
6714
  echo "$as_me: failed program was:" >&5
5843
6715
sed 's/^/| /' conftest.$ac_ext >&5
5844
6716
 
5845
 
 echo "*** The test program failed to compile or link. See the file config.log for the"
 
6717
         echo "*** The test program failed to compile or link. See the file config.log for the"
5846
6718
          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
5847
6719
fi
5848
 
rm -f conftest.err conftest.$ac_objext \
 
6720
 
 
6721
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5849
6722
      conftest$ac_exeext conftest.$ac_ext
5850
6723
          CFLAGS="$ac_save_CFLAGS"
5851
6724
          LIBS="$ac_save_LIBS"
5866
6739
  rm -f conf.gtktest
5867
6740
 
5868
6741
        else
5869
 
                
5870
 
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
5871
 
if test "${with_gtk_prefix+set}" = set; then
5872
 
  withval="$with_gtk_prefix"
5873
 
  gtk_config_prefix="$withval"
5874
 
else
5875
 
  gtk_config_prefix=""
5876
 
fi; 
5877
 
 
5878
 
# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
5879
 
if test "${with_gtk_exec_prefix+set}" = set; then
5880
 
  withval="$with_gtk_exec_prefix"
5881
 
  gtk_config_exec_prefix="$withval"
5882
 
else
5883
 
  gtk_config_exec_prefix=""
5884
 
fi; 
5885
 
# Check whether --enable-gtktest or --disable-gtktest was given.
5886
 
if test "${enable_gtktest+set}" = set; then
5887
 
  enableval="$enable_gtktest"
5888
 
  
5889
 
else
5890
 
  enable_gtktest=yes
5891
 
fi; 
5892
 
 
5893
 
  for module in . 
5894
 
  do
5895
 
      case "$module" in
5896
 
         gthread) 
5897
 
             gtk_config_args="$gtk_config_args gthread"
5898
 
         ;;
5899
 
      esac
5900
 
  done
5901
 
 
5902
 
  if test x$gtk_config_exec_prefix != x ; then
5903
 
     gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
5904
 
     if test x${GTK_CONFIG+set} != xset ; then
5905
 
        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
5906
 
     fi
5907
 
  fi
5908
 
  if test x$gtk_config_prefix != x ; then
5909
 
     gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
5910
 
     if test x${GTK_CONFIG+set} != xset ; then
5911
 
        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
5912
 
     fi
5913
 
  fi
5914
 
 
5915
 
  # Extract the first word of "gtk-config", so it can be a program name with args.
5916
 
set dummy gtk-config; ac_word=$2
5917
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5918
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5919
 
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
5920
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5921
 
else
5922
 
  case $GTK_CONFIG in
5923
 
  [\\/]* | ?:[\\/]*)
5924
 
  ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
5925
 
  ;;
5926
 
  *)
5927
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928
 
for as_dir in $PATH
5929
 
do
5930
 
  IFS=$as_save_IFS
5931
 
  test -z "$as_dir" && as_dir=.
5932
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5933
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934
 
    ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5935
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5936
 
    break 2
5937
 
  fi
5938
 
done
5939
 
done
5940
 
 
5941
 
  test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
5942
 
  ;;
5943
 
esac
5944
 
fi
5945
 
GTK_CONFIG=$ac_cv_path_GTK_CONFIG
5946
 
 
5947
 
if test -n "$GTK_CONFIG"; then
5948
 
  echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
5949
 
echo "${ECHO_T}$GTK_CONFIG" >&6
5950
 
else
5951
 
  echo "$as_me:$LINENO: result: no" >&5
5952
 
echo "${ECHO_T}no" >&6
5953
 
fi
5954
 
 
5955
 
  min_gtk_version=1.0.0
5956
 
  echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
5957
 
echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
5958
 
  no_gtk=""
5959
 
  if test "$GTK_CONFIG" = "no" ; then
5960
 
    no_gtk=yes
5961
 
  else
5962
 
    GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
5963
 
    GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
5964
 
    gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
5965
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
5966
 
    gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
5967
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
5968
 
    gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
5969
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
5970
 
    if test "x$enable_gtktest" = "xyes" ; then
5971
 
      ac_save_CFLAGS="$CFLAGS"
5972
 
      ac_save_LIBS="$LIBS"
5973
 
      CFLAGS="$CFLAGS $GTK_CFLAGS"
5974
 
      LIBS="$GTK_LIBS $LIBS"
5975
 
      rm -f conf.gtktest
5976
 
      if test "$cross_compiling" = yes; then
5977
 
  echo $ac_n "cross compiling; assumed OK... $ac_c"
5978
 
else
5979
 
  cat >conftest.$ac_ext <<_ACEOF
5980
 
/* confdefs.h.  */
5981
 
_ACEOF
5982
 
cat confdefs.h >>conftest.$ac_ext
5983
 
cat >>conftest.$ac_ext <<_ACEOF
5984
 
/* end confdefs.h.  */
5985
 
 
5986
 
#include <gtk/gtk.h>
5987
 
#include <stdio.h>
5988
 
#include <stdlib.h>
5989
 
 
5990
 
int 
5991
 
main ()
5992
 
{
5993
 
  int major, minor, micro;
5994
 
  char *tmp_version;
5995
 
 
5996
 
  system ("touch conf.gtktest");
5997
 
 
5998
 
  /* HP/UX 9 (%@#!) writes to sscanf strings */
5999
 
  tmp_version = g_strdup("$min_gtk_version");
6000
 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
6001
 
     printf("%s, bad version string\n", "$min_gtk_version");
6002
 
     exit(1);
6003
 
   }
6004
 
 
6005
 
  if ((gtk_major_version != $gtk_config_major_version) ||
6006
 
      (gtk_minor_version != $gtk_config_minor_version) ||
6007
 
      (gtk_micro_version != $gtk_config_micro_version))
6008
 
    {
6009
 
      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
6010
 
             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
6011
 
             gtk_major_version, gtk_minor_version, gtk_micro_version);
6012
 
      printf ("*** was found! If gtk-config was correct, then it is best\n");
6013
 
      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
6014
 
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
6015
 
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
6016
 
      printf("*** required on your system.\n");
6017
 
      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
6018
 
      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
6019
 
      printf("*** before re-running configure\n");
6020
 
    } 
6021
 
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
6022
 
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
6023
 
           (gtk_minor_version != GTK_MINOR_VERSION) ||
6024
 
           (gtk_micro_version != GTK_MICRO_VERSION))
6025
 
    {
6026
 
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
6027
 
             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
6028
 
      printf("*** library (version %d.%d.%d)\n",
6029
 
             gtk_major_version, gtk_minor_version, gtk_micro_version);
6030
 
    }
6031
 
#endif /* defined (GTK_MAJOR_VERSION) ... */
6032
 
  else
6033
 
    {
6034
 
      if ((gtk_major_version > major) ||
6035
 
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6036
 
        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
6037
 
      {
6038
 
        return 0;
6039
 
       }
6040
 
     else
6041
 
      {
6042
 
        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
6043
 
               gtk_major_version, gtk_minor_version, gtk_micro_version);
6044
 
        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
6045
 
               major, minor, micro);
6046
 
        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
6047
 
        printf("***\n");
6048
 
        printf("*** If you have already installed a sufficiently new version, this error\n");
6049
 
        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
6050
 
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
6051
 
        printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
6052
 
        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
6053
 
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6054
 
        printf("*** so that the correct libraries are found at run-time))\n");
6055
 
      }
6056
 
    }
6057
 
  return 1;
6058
 
}
6059
 
 
6060
 
_ACEOF
6061
 
rm -f conftest$ac_exeext
6062
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6063
 
  (eval $ac_link) 2>&5
6064
 
  ac_status=$?
6065
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6067
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6068
 
  (eval $ac_try) 2>&5
6069
 
  ac_status=$?
6070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071
 
  (exit $ac_status); }; }; then
6072
 
  :
6073
 
else
6074
 
  echo "$as_me: program exited with status $ac_status" >&5
6075
 
echo "$as_me: failed program was:" >&5
6076
 
sed 's/^/| /' conftest.$ac_ext >&5
6077
 
 
6078
 
( exit $ac_status )
6079
 
no_gtk=yes
6080
 
fi
6081
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6082
 
fi
6083
 
       CFLAGS="$ac_save_CFLAGS"
6084
 
       LIBS="$ac_save_LIBS"
6085
 
     fi
6086
 
  fi
6087
 
  if test "x$no_gtk" = x ; then
6088
 
     echo "$as_me:$LINENO: result: yes" >&5
6089
 
echo "${ECHO_T}yes" >&6
6090
 
     CFLAGS="$CFLAGS $GTK_CFLAGS"
6091
 
                           LIBS="$LIBS $GTK_LIBS"     
6092
 
  else
6093
 
     echo "$as_me:$LINENO: result: no" >&5
6094
 
echo "${ECHO_T}no" >&6
6095
 
     if test "$GTK_CONFIG" = "no" ; then
6096
 
       echo "*** The gtk-config script installed by GTK could not be found"
6097
 
       echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
6098
 
       echo "*** your path, or set the GTK_CONFIG environment variable to the"
6099
 
       echo "*** full path to gtk-config."
6100
 
     else
6101
 
       if test -f conf.gtktest ; then
6102
 
        :
6103
 
       else
6104
 
          echo "*** Could not run GTK test program, checking why..."
6105
 
          CFLAGS="$CFLAGS $GTK_CFLAGS"
6106
 
          LIBS="$LIBS $GTK_LIBS"
6107
 
          cat >conftest.$ac_ext <<_ACEOF
6108
 
/* confdefs.h.  */
6109
 
_ACEOF
6110
 
cat confdefs.h >>conftest.$ac_ext
6111
 
cat >>conftest.$ac_ext <<_ACEOF
6112
 
/* end confdefs.h.  */
6113
 
 
6114
 
#include <gtk/gtk.h>
6115
 
#include <stdio.h>
6116
 
 
6117
 
int
6118
 
main ()
6119
 
{
6120
 
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); 
6121
 
  ;
6122
 
  return 0;
6123
 
}
6124
 
_ACEOF
6125
 
rm -f conftest.$ac_objext conftest$ac_exeext
6126
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6127
 
  (eval $ac_link) 2>conftest.er1
6128
 
  ac_status=$?
6129
 
  grep -v '^ *+' conftest.er1 >conftest.err
6130
 
  rm -f conftest.er1
6131
 
  cat conftest.err >&5
6132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133
 
  (exit $ac_status); } &&
6134
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6135
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136
 
  (eval $ac_try) 2>&5
6137
 
  ac_status=$?
6138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139
 
  (exit $ac_status); }; } &&
6140
 
         { ac_try='test -s conftest$ac_exeext'
6141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6142
 
  (eval $ac_try) 2>&5
6143
 
  ac_status=$?
6144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145
 
  (exit $ac_status); }; }; then
6146
 
   echo "*** The test program compiled, but did not run. This usually means"
6147
 
          echo "*** that the run-time linker is not finding GTK or finding the wrong"
6148
 
          echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
6149
 
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
6150
 
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
6151
 
          echo "*** is required on your system"
6152
 
          echo "***"
6153
 
          echo "*** If you have an old version installed, it is best to remove it, although"
6154
 
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
6155
 
          echo "***"
6156
 
          echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
6157
 
          echo "*** came with the system with the command"
6158
 
          echo "***"
6159
 
          echo "***    rpm --erase --nodeps gtk gtk-devel" 
6160
 
else
6161
 
  echo "$as_me: failed program was:" >&5
6162
 
sed 's/^/| /' conftest.$ac_ext >&5
6163
 
 
6164
 
 echo "*** The test program failed to compile or link. See the file config.log for the"
6165
 
          echo "*** exact error that occured. This usually means GTK was incorrectly installed"
6166
 
          echo "*** or that you have moved GTK since it was installed. In the latter case, you"
6167
 
          echo "*** may want to edit the gtk-config script: $GTK_CONFIG" 
6168
 
fi
6169
 
rm -f conftest.err conftest.$ac_objext \
6170
 
      conftest$ac_exeext conftest.$ac_ext
6171
 
          CFLAGS="$ac_save_CFLAGS"
6172
 
          LIBS="$ac_save_LIBS"
6173
 
       fi
6174
 
     fi
6175
 
     GTK_CFLAGS=""
6176
 
     GTK_LIBS=""
6177
 
     { echo "$as_me:$LINENO: WARNING: Building without GTK+ display support" >&5
 
6742
                AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS"
 
6743
                           LIBS="$LIBS $GTK_LIBS",
 
6744
                           { echo "$as_me:$LINENO: WARNING: Building without GTK+ display support" >&5
6178
6745
echo "$as_me: WARNING: Building without GTK+ display support" >&2;}
6179
6746
                           cat >>confdefs.h <<\_ACEOF
6180
6747
@%:@define NO_GTK 1
6181
6748
_ACEOF
6182
6749
 
6183
 
                           GTK_OBJ=""
6184
 
  fi
6185
 
  
6186
 
  
6187
 
  rm -f conf.gtktest
6188
 
 
 
6750
                           GTK_OBJ="")
6189
6751
        fi
6190
6752
else
6191
6753
        cat >>confdefs.h <<\_ACEOF
6195
6757
        GTK_OBJ=""
6196
6758
fi
6197
6759
 
6198
 
echo "$as_me:$LINENO: checking for socket" >&5
6199
 
echo $ECHO_N "checking for socket... $ECHO_C" >&6
 
6760
{ echo "$as_me:$LINENO: checking for socket" >&5
 
6761
echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
6200
6762
if test "${ac_cv_func_socket+set}" = set; then
6201
6763
  echo $ECHO_N "(cached) $ECHO_C" >&6
6202
6764
else
6223
6785
 
6224
6786
#undef socket
6225
6787
 
6226
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6788
/* Override any GCC internal prototype to avoid an error.
 
6789
   Use char because int might match the return type of a GCC
 
6790
   builtin and then its argument prototype would still apply.  */
6227
6791
#ifdef __cplusplus
6228
6792
extern "C"
6229
 
{
6230
6793
#endif
6231
 
/* We use char because int might match the return type of a gcc2
6232
 
   builtin and then its argument prototype would still apply.  */
6233
6794
char socket ();
6234
6795
/* The GNU C library defines this for functions which it implements
6235
6796
    to always fail with ENOSYS.  Some functions are actually named
6236
6797
    something starting with __ and the normal name is an alias.  */
6237
 
#if defined (__stub_socket) || defined (__stub___socket)
 
6798
#if defined __stub_socket || defined __stub___socket
6238
6799
choke me
6239
 
#else
6240
 
char (*f) () = socket;
6241
 
#endif
6242
 
#ifdef __cplusplus
6243
 
}
6244
6800
#endif
6245
6801
 
6246
6802
int
6247
6803
main ()
6248
6804
{
6249
 
return f != socket;
 
6805
return socket ();
6250
6806
  ;
6251
6807
  return 0;
6252
6808
}
6253
6809
_ACEOF
6254
6810
rm -f conftest.$ac_objext conftest$ac_exeext
6255
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6256
 
  (eval $ac_link) 2>conftest.er1
 
6811
if { (ac_try="$ac_link"
 
6812
case "(($ac_try" in
 
6813
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6814
  *) ac_try_echo=$ac_try;;
 
6815
esac
 
6816
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6817
  (eval "$ac_link") 2>conftest.er1
6257
6818
  ac_status=$?
6258
6819
  grep -v '^ *+' conftest.er1 >conftest.err
6259
6820
  rm -f conftest.er1
6260
6821
  cat conftest.err >&5
6261
6822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262
 
  (exit $ac_status); } &&
6263
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6264
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265
 
  (eval $ac_try) 2>&5
6266
 
  ac_status=$?
6267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268
 
  (exit $ac_status); }; } &&
6269
 
         { ac_try='test -s conftest$ac_exeext'
6270
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271
 
  (eval $ac_try) 2>&5
6272
 
  ac_status=$?
6273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274
 
  (exit $ac_status); }; }; then
 
6823
  (exit $ac_status); } && {
 
6824
         test -z "$ac_c_werror_flag" ||
 
6825
         test ! -s conftest.err
 
6826
       } && test -s conftest$ac_exeext &&
 
6827
       $as_test_x conftest$ac_exeext; then
6275
6828
  ac_cv_func_socket=yes
6276
6829
else
6277
6830
  echo "$as_me: failed program was:" >&5
6278
6831
sed 's/^/| /' conftest.$ac_ext >&5
6279
6832
 
6280
 
ac_cv_func_socket=no
 
6833
        ac_cv_func_socket=no
6281
6834
fi
6282
 
rm -f conftest.err conftest.$ac_objext \
 
6835
 
 
6836
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6283
6837
      conftest$ac_exeext conftest.$ac_ext
6284
6838
fi
6285
 
echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
6286
 
echo "${ECHO_T}$ac_cv_func_socket" >&6
 
6839
{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
 
6840
echo "${ECHO_T}$ac_cv_func_socket" >&6; }
6287
6841
if test $ac_cv_func_socket = yes; then
6288
6842
  :
6289
6843
else
6290
6844
  
6291
 
echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
6292
 
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
 
6845
{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
 
6846
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
6293
6847
if test "${ac_cv_lib_socket_socket+set}" = set; then
6294
6848
  echo $ECHO_N "(cached) $ECHO_C" >&6
6295
6849
else
6302
6856
cat >>conftest.$ac_ext <<_ACEOF
6303
6857
/* end confdefs.h.  */
6304
6858
 
6305
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6859
/* Override any GCC internal prototype to avoid an error.
 
6860
   Use char because int might match the return type of a GCC
 
6861
   builtin and then its argument prototype would still apply.  */
6306
6862
#ifdef __cplusplus
6307
6863
extern "C"
6308
6864
#endif
6309
 
/* We use char because int might match the return type of a gcc2
6310
 
   builtin and then its argument prototype would still apply.  */
6311
6865
char socket ();
6312
6866
int
6313
6867
main ()
6314
6868
{
6315
 
socket ();
 
6869
return socket ();
6316
6870
  ;
6317
6871
  return 0;
6318
6872
}
6319
6873
_ACEOF
6320
6874
rm -f conftest.$ac_objext conftest$ac_exeext
6321
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6322
 
  (eval $ac_link) 2>conftest.er1
 
6875
if { (ac_try="$ac_link"
 
6876
case "(($ac_try" in
 
6877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6878
  *) ac_try_echo=$ac_try;;
 
6879
esac
 
6880
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6881
  (eval "$ac_link") 2>conftest.er1
6323
6882
  ac_status=$?
6324
6883
  grep -v '^ *+' conftest.er1 >conftest.err
6325
6884
  rm -f conftest.er1
6326
6885
  cat conftest.err >&5
6327
6886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328
 
  (exit $ac_status); } &&
6329
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6330
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331
 
  (eval $ac_try) 2>&5
6332
 
  ac_status=$?
6333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334
 
  (exit $ac_status); }; } &&
6335
 
         { ac_try='test -s conftest$ac_exeext'
6336
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337
 
  (eval $ac_try) 2>&5
6338
 
  ac_status=$?
6339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340
 
  (exit $ac_status); }; }; then
 
6887
  (exit $ac_status); } && {
 
6888
         test -z "$ac_c_werror_flag" ||
 
6889
         test ! -s conftest.err
 
6890
       } && test -s conftest$ac_exeext &&
 
6891
       $as_test_x conftest$ac_exeext; then
6341
6892
  ac_cv_lib_socket_socket=yes
6342
6893
else
6343
6894
  echo "$as_me: failed program was:" >&5
6344
6895
sed 's/^/| /' conftest.$ac_ext >&5
6345
6896
 
6346
 
ac_cv_lib_socket_socket=no
 
6897
        ac_cv_lib_socket_socket=no
6347
6898
fi
6348
 
rm -f conftest.err conftest.$ac_objext \
 
6899
 
 
6900
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6349
6901
      conftest$ac_exeext conftest.$ac_ext
6350
6902
LIBS=$ac_check_lib_save_LIBS
6351
6903
fi
6352
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
6353
 
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
 
6904
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
 
6905
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
6354
6906
if test $ac_cv_lib_socket_socket = yes; then
6355
6907
  cat >>confdefs.h <<_ACEOF
6356
6908
@%:@define HAVE_LIBSOCKET 1
6367
6919
fi
6368
6920
 
6369
6921
 
6370
 
echo "$as_me:$LINENO: checking for gethostbyname" >&5
6371
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 
6922
{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
6923
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
6372
6924
if test "${ac_cv_func_gethostbyname+set}" = set; then
6373
6925
  echo $ECHO_N "(cached) $ECHO_C" >&6
6374
6926
else
6395
6947
 
6396
6948
#undef gethostbyname
6397
6949
 
6398
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6950
/* Override any GCC internal prototype to avoid an error.
 
6951
   Use char because int might match the return type of a GCC
 
6952
   builtin and then its argument prototype would still apply.  */
6399
6953
#ifdef __cplusplus
6400
6954
extern "C"
6401
 
{
6402
6955
#endif
6403
 
/* We use char because int might match the return type of a gcc2
6404
 
   builtin and then its argument prototype would still apply.  */
6405
6956
char gethostbyname ();
6406
6957
/* The GNU C library defines this for functions which it implements
6407
6958
    to always fail with ENOSYS.  Some functions are actually named
6408
6959
    something starting with __ and the normal name is an alias.  */
6409
 
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
6960
#if defined __stub_gethostbyname || defined __stub___gethostbyname
6410
6961
choke me
6411
 
#else
6412
 
char (*f) () = gethostbyname;
6413
 
#endif
6414
 
#ifdef __cplusplus
6415
 
}
6416
6962
#endif
6417
6963
 
6418
6964
int
6419
6965
main ()
6420
6966
{
6421
 
return f != gethostbyname;
 
6967
return gethostbyname ();
6422
6968
  ;
6423
6969
  return 0;
6424
6970
}
6425
6971
_ACEOF
6426
6972
rm -f conftest.$ac_objext conftest$ac_exeext
6427
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6428
 
  (eval $ac_link) 2>conftest.er1
 
6973
if { (ac_try="$ac_link"
 
6974
case "(($ac_try" in
 
6975
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6976
  *) ac_try_echo=$ac_try;;
 
6977
esac
 
6978
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6979
  (eval "$ac_link") 2>conftest.er1
6429
6980
  ac_status=$?
6430
6981
  grep -v '^ *+' conftest.er1 >conftest.err
6431
6982
  rm -f conftest.er1
6432
6983
  cat conftest.err >&5
6433
6984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434
 
  (exit $ac_status); } &&
6435
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6436
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437
 
  (eval $ac_try) 2>&5
6438
 
  ac_status=$?
6439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440
 
  (exit $ac_status); }; } &&
6441
 
         { ac_try='test -s conftest$ac_exeext'
6442
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443
 
  (eval $ac_try) 2>&5
6444
 
  ac_status=$?
6445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446
 
  (exit $ac_status); }; }; then
 
6985
  (exit $ac_status); } && {
 
6986
         test -z "$ac_c_werror_flag" ||
 
6987
         test ! -s conftest.err
 
6988
       } && test -s conftest$ac_exeext &&
 
6989
       $as_test_x conftest$ac_exeext; then
6447
6990
  ac_cv_func_gethostbyname=yes
6448
6991
else
6449
6992
  echo "$as_me: failed program was:" >&5
6450
6993
sed 's/^/| /' conftest.$ac_ext >&5
6451
6994
 
6452
 
ac_cv_func_gethostbyname=no
 
6995
        ac_cv_func_gethostbyname=no
6453
6996
fi
6454
 
rm -f conftest.err conftest.$ac_objext \
 
6997
 
 
6998
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6455
6999
      conftest$ac_exeext conftest.$ac_ext
6456
7000
fi
6457
 
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6458
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
7001
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
7002
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
6459
7003
if test $ac_cv_func_gethostbyname = yes; then
6460
7004
  :
6461
7005
else
6462
7006
  
6463
 
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6464
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 
7007
{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
7008
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
6465
7009
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6466
7010
  echo $ECHO_N "(cached) $ECHO_C" >&6
6467
7011
else
6474
7018
cat >>conftest.$ac_ext <<_ACEOF
6475
7019
/* end confdefs.h.  */
6476
7020
 
6477
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7021
/* Override any GCC internal prototype to avoid an error.
 
7022
   Use char because int might match the return type of a GCC
 
7023
   builtin and then its argument prototype would still apply.  */
6478
7024
#ifdef __cplusplus
6479
7025
extern "C"
6480
7026
#endif
6481
 
/* We use char because int might match the return type of a gcc2
6482
 
   builtin and then its argument prototype would still apply.  */
6483
7027
char gethostbyname ();
6484
7028
int
6485
7029
main ()
6486
7030
{
6487
 
gethostbyname ();
 
7031
return gethostbyname ();
6488
7032
  ;
6489
7033
  return 0;
6490
7034
}
6491
7035
_ACEOF
6492
7036
rm -f conftest.$ac_objext conftest$ac_exeext
6493
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6494
 
  (eval $ac_link) 2>conftest.er1
 
7037
if { (ac_try="$ac_link"
 
7038
case "(($ac_try" in
 
7039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7040
  *) ac_try_echo=$ac_try;;
 
7041
esac
 
7042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7043
  (eval "$ac_link") 2>conftest.er1
6495
7044
  ac_status=$?
6496
7045
  grep -v '^ *+' conftest.er1 >conftest.err
6497
7046
  rm -f conftest.er1
6498
7047
  cat conftest.err >&5
6499
7048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500
 
  (exit $ac_status); } &&
6501
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6502
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503
 
  (eval $ac_try) 2>&5
6504
 
  ac_status=$?
6505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506
 
  (exit $ac_status); }; } &&
6507
 
         { ac_try='test -s conftest$ac_exeext'
6508
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6509
 
  (eval $ac_try) 2>&5
6510
 
  ac_status=$?
6511
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512
 
  (exit $ac_status); }; }; then
 
7049
  (exit $ac_status); } && {
 
7050
         test -z "$ac_c_werror_flag" ||
 
7051
         test ! -s conftest.err
 
7052
       } && test -s conftest$ac_exeext &&
 
7053
       $as_test_x conftest$ac_exeext; then
6513
7054
  ac_cv_lib_nsl_gethostbyname=yes
6514
7055
else
6515
7056
  echo "$as_me: failed program was:" >&5
6516
7057
sed 's/^/| /' conftest.$ac_ext >&5
6517
7058
 
6518
 
ac_cv_lib_nsl_gethostbyname=no
 
7059
        ac_cv_lib_nsl_gethostbyname=no
6519
7060
fi
6520
 
rm -f conftest.err conftest.$ac_objext \
 
7061
 
 
7062
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6521
7063
      conftest$ac_exeext conftest.$ac_ext
6522
7064
LIBS=$ac_check_lib_save_LIBS
6523
7065
fi
6524
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6525
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 
7066
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
7067
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
6526
7068
if test $ac_cv_lib_nsl_gethostbyname = yes; then
6527
7069
  cat >>confdefs.h <<_ACEOF
6528
7070
@%:@define HAVE_LIBNSL 1
6547
7089
for ac_func in seteuid
6548
7090
do
6549
7091
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6550
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
6551
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6552
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
7092
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7093
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
7094
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6553
7095
  echo $ECHO_N "(cached) $ECHO_C" >&6
6554
7096
else
6555
7097
  cat >conftest.$ac_ext <<_ACEOF
6575
7117
 
6576
7118
#undef $ac_func
6577
7119
 
6578
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7120
/* Override any GCC internal prototype to avoid an error.
 
7121
   Use char because int might match the return type of a GCC
 
7122
   builtin and then its argument prototype would still apply.  */
6579
7123
#ifdef __cplusplus
6580
7124
extern "C"
6581
 
{
6582
7125
#endif
6583
 
/* We use char because int might match the return type of a gcc2
6584
 
   builtin and then its argument prototype would still apply.  */
6585
7126
char $ac_func ();
6586
7127
/* The GNU C library defines this for functions which it implements
6587
7128
    to always fail with ENOSYS.  Some functions are actually named
6588
7129
    something starting with __ and the normal name is an alias.  */
6589
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
7130
#if defined __stub_$ac_func || defined __stub___$ac_func
6590
7131
choke me
6591
 
#else
6592
 
char (*f) () = $ac_func;
6593
 
#endif
6594
 
#ifdef __cplusplus
6595
 
}
6596
7132
#endif
6597
7133
 
6598
7134
int
6599
7135
main ()
6600
7136
{
6601
 
return f != $ac_func;
 
7137
return $ac_func ();
6602
7138
  ;
6603
7139
  return 0;
6604
7140
}
6605
7141
_ACEOF
6606
7142
rm -f conftest.$ac_objext conftest$ac_exeext
6607
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6608
 
  (eval $ac_link) 2>conftest.er1
 
7143
if { (ac_try="$ac_link"
 
7144
case "(($ac_try" in
 
7145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7146
  *) ac_try_echo=$ac_try;;
 
7147
esac
 
7148
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7149
  (eval "$ac_link") 2>conftest.er1
6609
7150
  ac_status=$?
6610
7151
  grep -v '^ *+' conftest.er1 >conftest.err
6611
7152
  rm -f conftest.er1
6612
7153
  cat conftest.err >&5
6613
7154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614
 
  (exit $ac_status); } &&
6615
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6616
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6617
 
  (eval $ac_try) 2>&5
6618
 
  ac_status=$?
6619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620
 
  (exit $ac_status); }; } &&
6621
 
         { ac_try='test -s conftest$ac_exeext'
6622
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623
 
  (eval $ac_try) 2>&5
6624
 
  ac_status=$?
6625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626
 
  (exit $ac_status); }; }; then
 
7155
  (exit $ac_status); } && {
 
7156
         test -z "$ac_c_werror_flag" ||
 
7157
         test ! -s conftest.err
 
7158
       } && test -s conftest$ac_exeext &&
 
7159
       $as_test_x conftest$ac_exeext; then
6627
7160
  eval "$as_ac_var=yes"
6628
7161
else
6629
7162
  echo "$as_me: failed program was:" >&5
6630
7163
sed 's/^/| /' conftest.$ac_ext >&5
6631
7164
 
6632
 
eval "$as_ac_var=no"
 
7165
        eval "$as_ac_var=no"
6633
7166
fi
6634
 
rm -f conftest.err conftest.$ac_objext \
 
7167
 
 
7168
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6635
7169
      conftest$ac_exeext conftest.$ac_ext
6636
7170
fi
6637
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6638
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
7171
ac_res=`eval echo '${'$as_ac_var'}'`
 
7172
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7173
echo "${ECHO_T}$ac_res" >&6; }
6639
7174
if test `eval echo '${'$as_ac_var'}'` = yes; then
6640
7175
  cat >>confdefs.h <<_ACEOF
6641
7176
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6646
7181
 
6647
7182
#  AC_CHECK_FUNC(setuid, , AC_MSG_ERROR (I Need either seteuid or setuid))
6648
7183
 
6649
 
echo "$as_me:$LINENO: checking for res_mkquery" >&5
6650
 
echo $ECHO_N "checking for res_mkquery... $ECHO_C" >&6
 
7184
{ echo "$as_me:$LINENO: checking for res_mkquery" >&5
 
7185
echo $ECHO_N "checking for res_mkquery... $ECHO_C" >&6; }
6651
7186
if test "${ac_cv_func_res_mkquery+set}" = set; then
6652
7187
  echo $ECHO_N "(cached) $ECHO_C" >&6
6653
7188
else
6674
7209
 
6675
7210
#undef res_mkquery
6676
7211
 
6677
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7212
/* Override any GCC internal prototype to avoid an error.
 
7213
   Use char because int might match the return type of a GCC
 
7214
   builtin and then its argument prototype would still apply.  */
6678
7215
#ifdef __cplusplus
6679
7216
extern "C"
6680
 
{
6681
7217
#endif
6682
 
/* We use char because int might match the return type of a gcc2
6683
 
   builtin and then its argument prototype would still apply.  */
6684
7218
char res_mkquery ();
6685
7219
/* The GNU C library defines this for functions which it implements
6686
7220
    to always fail with ENOSYS.  Some functions are actually named
6687
7221
    something starting with __ and the normal name is an alias.  */
6688
 
#if defined (__stub_res_mkquery) || defined (__stub___res_mkquery)
 
7222
#if defined __stub_res_mkquery || defined __stub___res_mkquery
6689
7223
choke me
6690
 
#else
6691
 
char (*f) () = res_mkquery;
6692
 
#endif
6693
 
#ifdef __cplusplus
6694
 
}
6695
7224
#endif
6696
7225
 
6697
7226
int
6698
7227
main ()
6699
7228
{
6700
 
return f != res_mkquery;
 
7229
return res_mkquery ();
6701
7230
  ;
6702
7231
  return 0;
6703
7232
}
6704
7233
_ACEOF
6705
7234
rm -f conftest.$ac_objext conftest$ac_exeext
6706
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6707
 
  (eval $ac_link) 2>conftest.er1
 
7235
if { (ac_try="$ac_link"
 
7236
case "(($ac_try" in
 
7237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7238
  *) ac_try_echo=$ac_try;;
 
7239
esac
 
7240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7241
  (eval "$ac_link") 2>conftest.er1
6708
7242
  ac_status=$?
6709
7243
  grep -v '^ *+' conftest.er1 >conftest.err
6710
7244
  rm -f conftest.er1
6711
7245
  cat conftest.err >&5
6712
7246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713
 
  (exit $ac_status); } &&
6714
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6715
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6716
 
  (eval $ac_try) 2>&5
6717
 
  ac_status=$?
6718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719
 
  (exit $ac_status); }; } &&
6720
 
         { ac_try='test -s conftest$ac_exeext'
6721
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6722
 
  (eval $ac_try) 2>&5
6723
 
  ac_status=$?
6724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725
 
  (exit $ac_status); }; }; then
 
7247
  (exit $ac_status); } && {
 
7248
         test -z "$ac_c_werror_flag" ||
 
7249
         test ! -s conftest.err
 
7250
       } && test -s conftest$ac_exeext &&
 
7251
       $as_test_x conftest$ac_exeext; then
6726
7252
  ac_cv_func_res_mkquery=yes
6727
7253
else
6728
7254
  echo "$as_me: failed program was:" >&5
6729
7255
sed 's/^/| /' conftest.$ac_ext >&5
6730
7256
 
6731
 
ac_cv_func_res_mkquery=no
 
7257
        ac_cv_func_res_mkquery=no
6732
7258
fi
6733
 
rm -f conftest.err conftest.$ac_objext \
 
7259
 
 
7260
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6734
7261
      conftest$ac_exeext conftest.$ac_ext
6735
7262
fi
6736
 
echo "$as_me:$LINENO: result: $ac_cv_func_res_mkquery" >&5
6737
 
echo "${ECHO_T}$ac_cv_func_res_mkquery" >&6
 
7263
{ echo "$as_me:$LINENO: result: $ac_cv_func_res_mkquery" >&5
 
7264
echo "${ECHO_T}$ac_cv_func_res_mkquery" >&6; }
6738
7265
if test $ac_cv_func_res_mkquery = yes; then
6739
7266
  :
6740
7267
else
6741
7268
  
6742
 
echo "$as_me:$LINENO: checking for res_mkquery in -lbind" >&5
6743
 
echo $ECHO_N "checking for res_mkquery in -lbind... $ECHO_C" >&6
 
7269
{ echo "$as_me:$LINENO: checking for res_mkquery in -lbind" >&5
 
7270
echo $ECHO_N "checking for res_mkquery in -lbind... $ECHO_C" >&6; }
6744
7271
if test "${ac_cv_lib_bind_res_mkquery+set}" = set; then
6745
7272
  echo $ECHO_N "(cached) $ECHO_C" >&6
6746
7273
else
6753
7280
cat >>conftest.$ac_ext <<_ACEOF
6754
7281
/* end confdefs.h.  */
6755
7282
 
6756
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7283
/* Override any GCC internal prototype to avoid an error.
 
7284
   Use char because int might match the return type of a GCC
 
7285
   builtin and then its argument prototype would still apply.  */
6757
7286
#ifdef __cplusplus
6758
7287
extern "C"
6759
7288
#endif
6760
 
/* We use char because int might match the return type of a gcc2
6761
 
   builtin and then its argument prototype would still apply.  */
6762
7289
char res_mkquery ();
6763
7290
int
6764
7291
main ()
6765
7292
{
6766
 
res_mkquery ();
 
7293
return res_mkquery ();
6767
7294
  ;
6768
7295
  return 0;
6769
7296
}
6770
7297
_ACEOF
6771
7298
rm -f conftest.$ac_objext conftest$ac_exeext
6772
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6773
 
  (eval $ac_link) 2>conftest.er1
 
7299
if { (ac_try="$ac_link"
 
7300
case "(($ac_try" in
 
7301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7302
  *) ac_try_echo=$ac_try;;
 
7303
esac
 
7304
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7305
  (eval "$ac_link") 2>conftest.er1
6774
7306
  ac_status=$?
6775
7307
  grep -v '^ *+' conftest.er1 >conftest.err
6776
7308
  rm -f conftest.er1
6777
7309
  cat conftest.err >&5
6778
7310
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779
 
  (exit $ac_status); } &&
6780
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6781
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782
 
  (eval $ac_try) 2>&5
6783
 
  ac_status=$?
6784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785
 
  (exit $ac_status); }; } &&
6786
 
         { ac_try='test -s conftest$ac_exeext'
6787
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788
 
  (eval $ac_try) 2>&5
6789
 
  ac_status=$?
6790
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791
 
  (exit $ac_status); }; }; then
 
7311
  (exit $ac_status); } && {
 
7312
         test -z "$ac_c_werror_flag" ||
 
7313
         test ! -s conftest.err
 
7314
       } && test -s conftest$ac_exeext &&
 
7315
       $as_test_x conftest$ac_exeext; then
6792
7316
  ac_cv_lib_bind_res_mkquery=yes
6793
7317
else
6794
7318
  echo "$as_me: failed program was:" >&5
6795
7319
sed 's/^/| /' conftest.$ac_ext >&5
6796
7320
 
6797
 
ac_cv_lib_bind_res_mkquery=no
 
7321
        ac_cv_lib_bind_res_mkquery=no
6798
7322
fi
6799
 
rm -f conftest.err conftest.$ac_objext \
 
7323
 
 
7324
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6800
7325
      conftest$ac_exeext conftest.$ac_ext
6801
7326
LIBS=$ac_check_lib_save_LIBS
6802
7327
fi
6803
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_mkquery" >&5
6804
 
echo "${ECHO_T}$ac_cv_lib_bind_res_mkquery" >&6
 
7328
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_mkquery" >&5
 
7329
echo "${ECHO_T}$ac_cv_lib_bind_res_mkquery" >&6; }
6805
7330
if test $ac_cv_lib_bind_res_mkquery = yes; then
6806
7331
  cat >>confdefs.h <<_ACEOF
6807
7332
@%:@define HAVE_LIBBIND 1
6811
7336
 
6812
7337
else
6813
7338
  
6814
 
echo "$as_me:$LINENO: checking for res_mkquery in -lresolv" >&5
6815
 
echo $ECHO_N "checking for res_mkquery in -lresolv... $ECHO_C" >&6
 
7339
{ echo "$as_me:$LINENO: checking for res_mkquery in -lresolv" >&5
 
7340
echo $ECHO_N "checking for res_mkquery in -lresolv... $ECHO_C" >&6; }
6816
7341
if test "${ac_cv_lib_resolv_res_mkquery+set}" = set; then
6817
7342
  echo $ECHO_N "(cached) $ECHO_C" >&6
6818
7343
else
6825
7350
cat >>conftest.$ac_ext <<_ACEOF
6826
7351
/* end confdefs.h.  */
6827
7352
 
6828
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7353
/* Override any GCC internal prototype to avoid an error.
 
7354
   Use char because int might match the return type of a GCC
 
7355
   builtin and then its argument prototype would still apply.  */
6829
7356
#ifdef __cplusplus
6830
7357
extern "C"
6831
7358
#endif
6832
 
/* We use char because int might match the return type of a gcc2
6833
 
   builtin and then its argument prototype would still apply.  */
6834
7359
char res_mkquery ();
6835
7360
int
6836
7361
main ()
6837
7362
{
6838
 
res_mkquery ();
 
7363
return res_mkquery ();
6839
7364
  ;
6840
7365
  return 0;
6841
7366
}
6842
7367
_ACEOF
6843
7368
rm -f conftest.$ac_objext conftest$ac_exeext
6844
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6845
 
  (eval $ac_link) 2>conftest.er1
 
7369
if { (ac_try="$ac_link"
 
7370
case "(($ac_try" in
 
7371
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7372
  *) ac_try_echo=$ac_try;;
 
7373
esac
 
7374
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7375
  (eval "$ac_link") 2>conftest.er1
6846
7376
  ac_status=$?
6847
7377
  grep -v '^ *+' conftest.er1 >conftest.err
6848
7378
  rm -f conftest.er1
6849
7379
  cat conftest.err >&5
6850
7380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851
 
  (exit $ac_status); } &&
6852
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6853
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6854
 
  (eval $ac_try) 2>&5
6855
 
  ac_status=$?
6856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857
 
  (exit $ac_status); }; } &&
6858
 
         { ac_try='test -s conftest$ac_exeext'
6859
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6860
 
  (eval $ac_try) 2>&5
6861
 
  ac_status=$?
6862
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863
 
  (exit $ac_status); }; }; then
 
7381
  (exit $ac_status); } && {
 
7382
         test -z "$ac_c_werror_flag" ||
 
7383
         test ! -s conftest.err
 
7384
       } && test -s conftest$ac_exeext &&
 
7385
       $as_test_x conftest$ac_exeext; then
6864
7386
  ac_cv_lib_resolv_res_mkquery=yes
6865
7387
else
6866
7388
  echo "$as_me: failed program was:" >&5
6867
7389
sed 's/^/| /' conftest.$ac_ext >&5
6868
7390
 
6869
 
ac_cv_lib_resolv_res_mkquery=no
 
7391
        ac_cv_lib_resolv_res_mkquery=no
6870
7392
fi
6871
 
rm -f conftest.err conftest.$ac_objext \
 
7393
 
 
7394
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6872
7395
      conftest$ac_exeext conftest.$ac_ext
6873
7396
LIBS=$ac_check_lib_save_LIBS
6874
7397
fi
6875
 
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_mkquery" >&5
6876
 
echo "${ECHO_T}$ac_cv_lib_resolv_res_mkquery" >&6
 
7398
{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_mkquery" >&5
 
7399
echo "${ECHO_T}$ac_cv_lib_resolv_res_mkquery" >&6; }
6877
7400
if test $ac_cv_lib_resolv_res_mkquery = yes; then
6878
7401
  cat >>confdefs.h <<_ACEOF
6879
7402
@%:@define HAVE_LIBRESOLV 1
6883
7406
 
6884
7407
else
6885
7408
  
6886
 
echo "$as_me:$LINENO: checking for __res_mkquery in -lresolv" >&5
6887
 
echo $ECHO_N "checking for __res_mkquery in -lresolv... $ECHO_C" >&6
 
7409
{ echo "$as_me:$LINENO: checking for __res_mkquery in -lresolv" >&5
 
7410
echo $ECHO_N "checking for __res_mkquery in -lresolv... $ECHO_C" >&6; }
6888
7411
if test "${ac_cv_lib_resolv___res_mkquery+set}" = set; then
6889
7412
  echo $ECHO_N "(cached) $ECHO_C" >&6
6890
7413
else
6897
7420
cat >>conftest.$ac_ext <<_ACEOF
6898
7421
/* end confdefs.h.  */
6899
7422
 
6900
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7423
/* Override any GCC internal prototype to avoid an error.
 
7424
   Use char because int might match the return type of a GCC
 
7425
   builtin and then its argument prototype would still apply.  */
6901
7426
#ifdef __cplusplus
6902
7427
extern "C"
6903
7428
#endif
6904
 
/* We use char because int might match the return type of a gcc2
6905
 
   builtin and then its argument prototype would still apply.  */
6906
7429
char __res_mkquery ();
6907
7430
int
6908
7431
main ()
6909
7432
{
6910
 
__res_mkquery ();
 
7433
return __res_mkquery ();
6911
7434
  ;
6912
7435
  return 0;
6913
7436
}
6914
7437
_ACEOF
6915
7438
rm -f conftest.$ac_objext conftest$ac_exeext
6916
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6917
 
  (eval $ac_link) 2>conftest.er1
 
7439
if { (ac_try="$ac_link"
 
7440
case "(($ac_try" in
 
7441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7442
  *) ac_try_echo=$ac_try;;
 
7443
esac
 
7444
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7445
  (eval "$ac_link") 2>conftest.er1
6918
7446
  ac_status=$?
6919
7447
  grep -v '^ *+' conftest.er1 >conftest.err
6920
7448
  rm -f conftest.er1
6921
7449
  cat conftest.err >&5
6922
7450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923
 
  (exit $ac_status); } &&
6924
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6925
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6926
 
  (eval $ac_try) 2>&5
6927
 
  ac_status=$?
6928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929
 
  (exit $ac_status); }; } &&
6930
 
         { ac_try='test -s conftest$ac_exeext'
6931
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6932
 
  (eval $ac_try) 2>&5
6933
 
  ac_status=$?
6934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935
 
  (exit $ac_status); }; }; then
 
7451
  (exit $ac_status); } && {
 
7452
         test -z "$ac_c_werror_flag" ||
 
7453
         test ! -s conftest.err
 
7454
       } && test -s conftest$ac_exeext &&
 
7455
       $as_test_x conftest$ac_exeext; then
6936
7456
  ac_cv_lib_resolv___res_mkquery=yes
6937
7457
else
6938
7458
  echo "$as_me: failed program was:" >&5
6939
7459
sed 's/^/| /' conftest.$ac_ext >&5
6940
7460
 
6941
 
ac_cv_lib_resolv___res_mkquery=no
 
7461
        ac_cv_lib_resolv___res_mkquery=no
6942
7462
fi
6943
 
rm -f conftest.err conftest.$ac_objext \
 
7463
 
 
7464
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6944
7465
      conftest$ac_exeext conftest.$ac_ext
6945
7466
LIBS=$ac_check_lib_save_LIBS
6946
7467
fi
6947
 
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_mkquery" >&5
6948
 
echo "${ECHO_T}$ac_cv_lib_resolv___res_mkquery" >&6
 
7468
{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_mkquery" >&5
 
7469
echo "${ECHO_T}$ac_cv_lib_resolv___res_mkquery" >&6; }
6949
7470
if test $ac_cv_lib_resolv___res_mkquery = yes; then
6950
7471
  cat >>confdefs.h <<_ACEOF
6951
7472
@%:@define HAVE_LIBRESOLV 1
6965
7486
 
6966
7487
fi
6967
7488
 
6968
 
LIBS="$LIBS -lresolv"
 
7489
# This next line would override the just detected-or-not -lresolv. 
 
7490
# This apparently hurts BSD. And it's bad practise. So it should go. 
 
7491
# However, it probably didn't get added for nothing..... Holler if
 
7492
# removing it hurts your OS.... -- REW
 
7493
#LIBS="$LIBS -lresolv"
6969
7494
 
6970
 
echo "$as_me:$LINENO: checking for herror" >&5
6971
 
echo $ECHO_N "checking for herror... $ECHO_C" >&6
 
7495
{ echo "$as_me:$LINENO: checking for herror" >&5
 
7496
echo $ECHO_N "checking for herror... $ECHO_C" >&6; }
6972
7497
if test "${ac_cv_func_herror+set}" = set; then
6973
7498
  echo $ECHO_N "(cached) $ECHO_C" >&6
6974
7499
else
6995
7520
 
6996
7521
#undef herror
6997
7522
 
6998
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7523
/* Override any GCC internal prototype to avoid an error.
 
7524
   Use char because int might match the return type of a GCC
 
7525
   builtin and then its argument prototype would still apply.  */
6999
7526
#ifdef __cplusplus
7000
7527
extern "C"
7001
 
{
7002
7528
#endif
7003
 
/* We use char because int might match the return type of a gcc2
7004
 
   builtin and then its argument prototype would still apply.  */
7005
7529
char herror ();
7006
7530
/* The GNU C library defines this for functions which it implements
7007
7531
    to always fail with ENOSYS.  Some functions are actually named
7008
7532
    something starting with __ and the normal name is an alias.  */
7009
 
#if defined (__stub_herror) || defined (__stub___herror)
 
7533
#if defined __stub_herror || defined __stub___herror
7010
7534
choke me
7011
 
#else
7012
 
char (*f) () = herror;
7013
 
#endif
7014
 
#ifdef __cplusplus
7015
 
}
7016
7535
#endif
7017
7536
 
7018
7537
int
7019
7538
main ()
7020
7539
{
7021
 
return f != herror;
 
7540
return herror ();
7022
7541
  ;
7023
7542
  return 0;
7024
7543
}
7025
7544
_ACEOF
7026
7545
rm -f conftest.$ac_objext conftest$ac_exeext
7027
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7028
 
  (eval $ac_link) 2>conftest.er1
 
7546
if { (ac_try="$ac_link"
 
7547
case "(($ac_try" in
 
7548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7549
  *) ac_try_echo=$ac_try;;
 
7550
esac
 
7551
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7552
  (eval "$ac_link") 2>conftest.er1
7029
7553
  ac_status=$?
7030
7554
  grep -v '^ *+' conftest.er1 >conftest.err
7031
7555
  rm -f conftest.er1
7032
7556
  cat conftest.err >&5
7033
7557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034
 
  (exit $ac_status); } &&
7035
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7036
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037
 
  (eval $ac_try) 2>&5
7038
 
  ac_status=$?
7039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040
 
  (exit $ac_status); }; } &&
7041
 
         { ac_try='test -s conftest$ac_exeext'
7042
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043
 
  (eval $ac_try) 2>&5
7044
 
  ac_status=$?
7045
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046
 
  (exit $ac_status); }; }; then
 
7558
  (exit $ac_status); } && {
 
7559
         test -z "$ac_c_werror_flag" ||
 
7560
         test ! -s conftest.err
 
7561
       } && test -s conftest$ac_exeext &&
 
7562
       $as_test_x conftest$ac_exeext; then
7047
7563
  ac_cv_func_herror=yes
7048
7564
else
7049
7565
  echo "$as_me: failed program was:" >&5
7050
7566
sed 's/^/| /' conftest.$ac_ext >&5
7051
7567
 
7052
 
ac_cv_func_herror=no
 
7568
        ac_cv_func_herror=no
7053
7569
fi
7054
 
rm -f conftest.err conftest.$ac_objext \
 
7570
 
 
7571
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7055
7572
      conftest$ac_exeext conftest.$ac_ext
7056
7573
fi
7057
 
echo "$as_me:$LINENO: result: $ac_cv_func_herror" >&5
7058
 
echo "${ECHO_T}$ac_cv_func_herror" >&6
 
7574
{ echo "$as_me:$LINENO: result: $ac_cv_func_herror" >&5
 
7575
echo "${ECHO_T}$ac_cv_func_herror" >&6; }
7059
7576
if test $ac_cv_func_herror = yes; then
7060
7577
  :
7061
7578
else
7065
7582
 
7066
7583
fi
7067
7584
 
7068
 
echo "$as_me:$LINENO: checking for strerror" >&5
7069
 
echo $ECHO_N "checking for strerror... $ECHO_C" >&6
 
7585
{ echo "$as_me:$LINENO: checking for strerror" >&5
 
7586
echo $ECHO_N "checking for strerror... $ECHO_C" >&6; }
7070
7587
if test "${ac_cv_func_strerror+set}" = set; then
7071
7588
  echo $ECHO_N "(cached) $ECHO_C" >&6
7072
7589
else
7093
7610
 
7094
7611
#undef strerror
7095
7612
 
7096
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7613
/* Override any GCC internal prototype to avoid an error.
 
7614
   Use char because int might match the return type of a GCC
 
7615
   builtin and then its argument prototype would still apply.  */
7097
7616
#ifdef __cplusplus
7098
7617
extern "C"
7099
 
{
7100
7618
#endif
7101
 
/* We use char because int might match the return type of a gcc2
7102
 
   builtin and then its argument prototype would still apply.  */
7103
7619
char strerror ();
7104
7620
/* The GNU C library defines this for functions which it implements
7105
7621
    to always fail with ENOSYS.  Some functions are actually named
7106
7622
    something starting with __ and the normal name is an alias.  */
7107
 
#if defined (__stub_strerror) || defined (__stub___strerror)
 
7623
#if defined __stub_strerror || defined __stub___strerror
7108
7624
choke me
7109
 
#else
7110
 
char (*f) () = strerror;
7111
 
#endif
7112
 
#ifdef __cplusplus
7113
 
}
7114
7625
#endif
7115
7626
 
7116
7627
int
7117
7628
main ()
7118
7629
{
7119
 
return f != strerror;
 
7630
return strerror ();
7120
7631
  ;
7121
7632
  return 0;
7122
7633
}
7123
7634
_ACEOF
7124
7635
rm -f conftest.$ac_objext conftest$ac_exeext
7125
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7126
 
  (eval $ac_link) 2>conftest.er1
 
7636
if { (ac_try="$ac_link"
 
7637
case "(($ac_try" in
 
7638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7639
  *) ac_try_echo=$ac_try;;
 
7640
esac
 
7641
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7642
  (eval "$ac_link") 2>conftest.er1
7127
7643
  ac_status=$?
7128
7644
  grep -v '^ *+' conftest.er1 >conftest.err
7129
7645
  rm -f conftest.er1
7130
7646
  cat conftest.err >&5
7131
7647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132
 
  (exit $ac_status); } &&
7133
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7134
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135
 
  (eval $ac_try) 2>&5
7136
 
  ac_status=$?
7137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138
 
  (exit $ac_status); }; } &&
7139
 
         { ac_try='test -s conftest$ac_exeext'
7140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141
 
  (eval $ac_try) 2>&5
7142
 
  ac_status=$?
7143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144
 
  (exit $ac_status); }; }; then
 
7648
  (exit $ac_status); } && {
 
7649
         test -z "$ac_c_werror_flag" ||
 
7650
         test ! -s conftest.err
 
7651
       } && test -s conftest$ac_exeext &&
 
7652
       $as_test_x conftest$ac_exeext; then
7145
7653
  ac_cv_func_strerror=yes
7146
7654
else
7147
7655
  echo "$as_me: failed program was:" >&5
7148
7656
sed 's/^/| /' conftest.$ac_ext >&5
7149
7657
 
7150
 
ac_cv_func_strerror=no
 
7658
        ac_cv_func_strerror=no
7151
7659
fi
7152
 
rm -f conftest.err conftest.$ac_objext \
 
7660
 
 
7661
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7153
7662
      conftest$ac_exeext conftest.$ac_ext
7154
7663
fi
7155
 
echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
7156
 
echo "${ECHO_T}$ac_cv_func_strerror" >&6
 
7664
{ echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
 
7665
echo "${ECHO_T}$ac_cv_func_strerror" >&6; }
7157
7666
if test $ac_cv_func_strerror = yes; then
7158
7667
  :
7159
7668
else
7164
7673
fi
7165
7674
 
7166
7675
 
7167
 
echo "$as_me:$LINENO: checking for getaddrinfo" >&5
7168
 
echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
 
7676
{ echo "$as_me:$LINENO: checking for getaddrinfo" >&5
 
7677
echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
7169
7678
if test "${ac_cv_func_getaddrinfo+set}" = set; then
7170
7679
  echo $ECHO_N "(cached) $ECHO_C" >&6
7171
7680
else
7192
7701
 
7193
7702
#undef getaddrinfo
7194
7703
 
7195
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7704
/* Override any GCC internal prototype to avoid an error.
 
7705
   Use char because int might match the return type of a GCC
 
7706
   builtin and then its argument prototype would still apply.  */
7196
7707
#ifdef __cplusplus
7197
7708
extern "C"
7198
 
{
7199
7709
#endif
7200
 
/* We use char because int might match the return type of a gcc2
7201
 
   builtin and then its argument prototype would still apply.  */
7202
7710
char getaddrinfo ();
7203
7711
/* The GNU C library defines this for functions which it implements
7204
7712
    to always fail with ENOSYS.  Some functions are actually named
7205
7713
    something starting with __ and the normal name is an alias.  */
7206
 
#if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
 
7714
#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
7207
7715
choke me
7208
 
#else
7209
 
char (*f) () = getaddrinfo;
7210
 
#endif
7211
 
#ifdef __cplusplus
7212
 
}
7213
7716
#endif
7214
7717
 
7215
7718
int
7216
7719
main ()
7217
7720
{
7218
 
return f != getaddrinfo;
 
7721
return getaddrinfo ();
7219
7722
  ;
7220
7723
  return 0;
7221
7724
}
7222
7725
_ACEOF
7223
7726
rm -f conftest.$ac_objext conftest$ac_exeext
7224
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7225
 
  (eval $ac_link) 2>conftest.er1
 
7727
if { (ac_try="$ac_link"
 
7728
case "(($ac_try" in
 
7729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7730
  *) ac_try_echo=$ac_try;;
 
7731
esac
 
7732
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7733
  (eval "$ac_link") 2>conftest.er1
7226
7734
  ac_status=$?
7227
7735
  grep -v '^ *+' conftest.er1 >conftest.err
7228
7736
  rm -f conftest.er1
7229
7737
  cat conftest.err >&5
7230
7738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231
 
  (exit $ac_status); } &&
7232
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7234
 
  (eval $ac_try) 2>&5
7235
 
  ac_status=$?
7236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237
 
  (exit $ac_status); }; } &&
7238
 
         { ac_try='test -s conftest$ac_exeext'
7239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240
 
  (eval $ac_try) 2>&5
7241
 
  ac_status=$?
7242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243
 
  (exit $ac_status); }; }; then
 
7739
  (exit $ac_status); } && {
 
7740
         test -z "$ac_c_werror_flag" ||
 
7741
         test ! -s conftest.err
 
7742
       } && test -s conftest$ac_exeext &&
 
7743
       $as_test_x conftest$ac_exeext; then
7244
7744
  ac_cv_func_getaddrinfo=yes
7245
7745
else
7246
7746
  echo "$as_me: failed program was:" >&5
7247
7747
sed 's/^/| /' conftest.$ac_ext >&5
7248
7748
 
7249
 
ac_cv_func_getaddrinfo=no
 
7749
        ac_cv_func_getaddrinfo=no
7250
7750
fi
7251
 
rm -f conftest.err conftest.$ac_objext \
 
7751
 
 
7752
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7252
7753
      conftest$ac_exeext conftest.$ac_ext
7253
7754
fi
7254
 
echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
7255
 
echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
 
7755
{ echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
 
7756
echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
7256
7757
if test $ac_cv_func_getaddrinfo = yes; then
7257
7758
  if test "$WANTS_IPV6" = "yes"; then
7258
7759
        
7264
7765
fi
7265
7766
 
7266
7767
 
7267
 
echo "$as_me:$LINENO: checking for C flags to get more warnings" >&5
7268
 
echo $ECHO_N "checking for C flags to get more warnings... $ECHO_C" >&6
 
7768
{ echo "$as_me:$LINENO: checking whether errno is declared" >&5
 
7769
echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6; }
 
7770
if test "${ac_cv_have_decl_errno+set}" = set; then
 
7771
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7772
else
 
7773
  cat >conftest.$ac_ext <<_ACEOF
 
7774
/* confdefs.h.  */
 
7775
_ACEOF
 
7776
cat confdefs.h >>conftest.$ac_ext
 
7777
cat >>conftest.$ac_ext <<_ACEOF
 
7778
/* end confdefs.h.  */
 
7779
 
 
7780
#include <errno.h>
 
7781
#include <sys/errno.h>
 
7782
 
 
7783
 
 
7784
int
 
7785
main ()
 
7786
{
 
7787
#ifndef errno
 
7788
  (void) errno;
 
7789
#endif
 
7790
 
 
7791
  ;
 
7792
  return 0;
 
7793
}
 
7794
_ACEOF
 
7795
rm -f conftest.$ac_objext
 
7796
if { (ac_try="$ac_compile"
 
7797
case "(($ac_try" in
 
7798
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7799
  *) ac_try_echo=$ac_try;;
 
7800
esac
 
7801
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7802
  (eval "$ac_compile") 2>conftest.er1
 
7803
  ac_status=$?
 
7804
  grep -v '^ *+' conftest.er1 >conftest.err
 
7805
  rm -f conftest.er1
 
7806
  cat conftest.err >&5
 
7807
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7808
  (exit $ac_status); } && {
 
7809
         test -z "$ac_c_werror_flag" ||
 
7810
         test ! -s conftest.err
 
7811
       } && test -s conftest.$ac_objext; then
 
7812
  ac_cv_have_decl_errno=yes
 
7813
else
 
7814
  echo "$as_me: failed program was:" >&5
 
7815
sed 's/^/| /' conftest.$ac_ext >&5
 
7816
 
 
7817
        ac_cv_have_decl_errno=no
 
7818
fi
 
7819
 
 
7820
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7821
fi
 
7822
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
 
7823
echo "${ECHO_T}$ac_cv_have_decl_errno" >&6; }
 
7824
if test $ac_cv_have_decl_errno = yes; then
 
7825
  
 
7826
cat >>confdefs.h <<_ACEOF
 
7827
@%:@define HAVE_DECL_ERRNO 1
 
7828
_ACEOF
 
7829
 
 
7830
 
 
7831
else
 
7832
  cat >>confdefs.h <<_ACEOF
 
7833
@%:@define HAVE_DECL_ERRNO 0
 
7834
_ACEOF
 
7835
 
 
7836
 
 
7837
fi
 
7838
 
 
7839
 
 
7840
 
 
7841
{ echo "$as_me:$LINENO: checking for socklen_t" >&5
 
7842
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
 
7843
if test "${ac_cv_type_socklen_t+set}" = set; then
 
7844
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7845
else
 
7846
  cat >conftest.$ac_ext <<_ACEOF
 
7847
/* confdefs.h.  */
 
7848
_ACEOF
 
7849
cat confdefs.h >>conftest.$ac_ext
 
7850
cat >>conftest.$ac_ext <<_ACEOF
 
7851
/* end confdefs.h.  */
 
7852
 
 
7853
#include <netinet/in.h>
 
7854
 
 
7855
 
 
7856
typedef socklen_t ac__type_new_;
 
7857
int
 
7858
main ()
 
7859
{
 
7860
if ((ac__type_new_ *) 0)
 
7861
  return 0;
 
7862
if (sizeof (ac__type_new_))
 
7863
  return 0;
 
7864
  ;
 
7865
  return 0;
 
7866
}
 
7867
_ACEOF
 
7868
rm -f conftest.$ac_objext
 
7869
if { (ac_try="$ac_compile"
 
7870
case "(($ac_try" in
 
7871
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7872
  *) ac_try_echo=$ac_try;;
 
7873
esac
 
7874
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7875
  (eval "$ac_compile") 2>conftest.er1
 
7876
  ac_status=$?
 
7877
  grep -v '^ *+' conftest.er1 >conftest.err
 
7878
  rm -f conftest.er1
 
7879
  cat conftest.err >&5
 
7880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7881
  (exit $ac_status); } && {
 
7882
         test -z "$ac_c_werror_flag" ||
 
7883
         test ! -s conftest.err
 
7884
       } && test -s conftest.$ac_objext; then
 
7885
  ac_cv_type_socklen_t=yes
 
7886
else
 
7887
  echo "$as_me: failed program was:" >&5
 
7888
sed 's/^/| /' conftest.$ac_ext >&5
 
7889
 
 
7890
        ac_cv_type_socklen_t=no
 
7891
fi
 
7892
 
 
7893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7894
fi
 
7895
{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
 
7896
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
 
7897
if test $ac_cv_type_socklen_t = yes; then
 
7898
  
 
7899
cat >>confdefs.h <<\_ACEOF
 
7900
@%:@define HAVE_SOCKLEN_T 
 
7901
_ACEOF
 
7902
 
 
7903
fi
 
7904
 
 
7905
 
 
7906
{ echo "$as_me:$LINENO: checking for struct in_addr" >&5
 
7907
echo $ECHO_N "checking for struct in_addr... $ECHO_C" >&6; }
 
7908
if test "${ac_cv_type_struct_in_addr+set}" = set; then
 
7909
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7910
else
 
7911
  cat >conftest.$ac_ext <<_ACEOF
 
7912
/* confdefs.h.  */
 
7913
_ACEOF
 
7914
cat confdefs.h >>conftest.$ac_ext
 
7915
cat >>conftest.$ac_ext <<_ACEOF
 
7916
/* end confdefs.h.  */
 
7917
 
 
7918
#include <netinet/in.h>
 
7919
 
 
7920
 
 
7921
typedef struct in_addr ac__type_new_;
 
7922
int
 
7923
main ()
 
7924
{
 
7925
if ((ac__type_new_ *) 0)
 
7926
  return 0;
 
7927
if (sizeof (ac__type_new_))
 
7928
  return 0;
 
7929
  ;
 
7930
  return 0;
 
7931
}
 
7932
_ACEOF
 
7933
rm -f conftest.$ac_objext
 
7934
if { (ac_try="$ac_compile"
 
7935
case "(($ac_try" in
 
7936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7937
  *) ac_try_echo=$ac_try;;
 
7938
esac
 
7939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7940
  (eval "$ac_compile") 2>conftest.er1
 
7941
  ac_status=$?
 
7942
  grep -v '^ *+' conftest.er1 >conftest.err
 
7943
  rm -f conftest.er1
 
7944
  cat conftest.err >&5
 
7945
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7946
  (exit $ac_status); } && {
 
7947
         test -z "$ac_c_werror_flag" ||
 
7948
         test ! -s conftest.err
 
7949
       } && test -s conftest.$ac_objext; then
 
7950
  ac_cv_type_struct_in_addr=yes
 
7951
else
 
7952
  echo "$as_me: failed program was:" >&5
 
7953
sed 's/^/| /' conftest.$ac_ext >&5
 
7954
 
 
7955
        ac_cv_type_struct_in_addr=no
 
7956
fi
 
7957
 
 
7958
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7959
fi
 
7960
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_in_addr" >&5
 
7961
echo "${ECHO_T}$ac_cv_type_struct_in_addr" >&6; }
 
7962
if test $ac_cv_type_struct_in_addr = yes; then
 
7963
  
 
7964
cat >>confdefs.h <<\_ACEOF
 
7965
@%:@define HAVE_STRUCT_INADDR 
 
7966
_ACEOF
 
7967
 
 
7968
fi
 
7969
 
 
7970
 
 
7971
{ echo "$as_me:$LINENO: checking for C flags to get more warnings" >&5
 
7972
echo $ECHO_N "checking for C flags to get more warnings... $ECHO_C" >&6; }
7269
7973
ac_save_CFLAGS="$CFLAGS"
7270
7974
if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
7271
7975
    warning_CFLAGS="-Wall"
7289
7993
}
7290
7994
_ACEOF
7291
7995
rm -f conftest.$ac_objext
7292
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7293
 
  (eval $ac_compile) 2>conftest.er1
 
7996
if { (ac_try="$ac_compile"
 
7997
case "(($ac_try" in
 
7998
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7999
  *) ac_try_echo=$ac_try;;
 
8000
esac
 
8001
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8002
  (eval "$ac_compile") 2>conftest.er1
7294
8003
  ac_status=$?
7295
8004
  grep -v '^ *+' conftest.er1 >conftest.err
7296
8005
  rm -f conftest.er1
7297
8006
  cat conftest.err >&5
7298
8007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299
 
  (exit $ac_status); } &&
7300
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7301
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302
 
  (eval $ac_try) 2>&5
7303
 
  ac_status=$?
7304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305
 
  (exit $ac_status); }; } &&
7306
 
         { ac_try='test -s conftest.$ac_objext'
7307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7308
 
  (eval $ac_try) 2>&5
7309
 
  ac_status=$?
7310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311
 
  (exit $ac_status); }; }; then
 
8008
  (exit $ac_status); } && {
 
8009
         test -z "$ac_c_werror_flag" ||
 
8010
         test ! -s conftest.err
 
8011
       } && test -s conftest.$ac_objext; then
7312
8012
  warning_CFLAGS="-fullwarn"
7313
8013
else
7314
8014
  echo "$as_me: failed program was:" >&5
7315
8015
sed 's/^/| /' conftest.$ac_ext >&5
7316
8016
 
 
8017
        
7317
8018
fi
7318
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
8019
 
 
8020
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7319
8021
      ;;
7320
8022
 
7321
8023
        sunos*)
7337
8039
}
7338
8040
_ACEOF
7339
8041
rm -f conftest.$ac_objext
7340
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7341
 
  (eval $ac_compile) 2>conftest.er1
 
8042
if { (ac_try="$ac_compile"
 
8043
case "(($ac_try" in
 
8044
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8045
  *) ac_try_echo=$ac_try;;
 
8046
esac
 
8047
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8048
  (eval "$ac_compile") 2>conftest.er1
7342
8049
  ac_status=$?
7343
8050
  grep -v '^ *+' conftest.er1 >conftest.err
7344
8051
  rm -f conftest.er1
7345
8052
  cat conftest.err >&5
7346
8053
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347
 
  (exit $ac_status); } &&
7348
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7349
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350
 
  (eval $ac_try) 2>&5
7351
 
  ac_status=$?
7352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353
 
  (exit $ac_status); }; } &&
7354
 
         { ac_try='test -s conftest.$ac_objext'
7355
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7356
 
  (eval $ac_try) 2>&5
7357
 
  ac_status=$?
7358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359
 
  (exit $ac_status); }; }; then
 
8054
  (exit $ac_status); } && {
 
8055
         test -z "$ac_c_werror_flag" ||
 
8056
         test ! -s conftest.err
 
8057
       } && test -s conftest.$ac_objext; then
7360
8058
  warning_CFLAGS="-vc"
7361
8059
else
7362
8060
  echo "$as_me: failed program was:" >&5
7363
8061
sed 's/^/| /' conftest.$ac_ext >&5
7364
8062
 
 
8063
        
7365
8064
fi
7366
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
8065
 
 
8066
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7367
8067
        fi
7368
8068
      ;;
7369
8069
 
7374
8074
fi
7375
8075
CFLAGS="$ac_save_CFLAGS"
7376
8076
if test "$warning_CFLAGS" = "none" ; then
7377
 
  echo "$as_me:$LINENO: result: none" >&5
7378
 
echo "${ECHO_T}none" >&6
 
8077
  { echo "$as_me:$LINENO: result: none" >&5
 
8078
echo "${ECHO_T}none" >&6; }
7379
8079
else
7380
8080
  CFLAGS="$CFLAGS $warning_CFLAGS"
7381
 
  echo "$as_me:$LINENO: result: $warning_CFLAGS" >&5
7382
 
echo "${ECHO_T}$warning_CFLAGS" >&6
 
8081
  { echo "$as_me:$LINENO: result: $warning_CFLAGS" >&5
 
8082
echo "${ECHO_T}$warning_CFLAGS" >&6; }
7383
8083
fi
7384
8084
 
7385
8085
 
7386
8086
 
7387
8087
 
7388
 
 
7389
 
          ac_config_headers="$ac_config_headers config.h"
7390
 
 
7391
 
          ac_config_commands="$ac_config_commands default-1"
7392
 
 
7393
 
                    ac_config_files="$ac_config_files Makefile img/Makefile"
 
8088
ac_config_headers="$ac_config_headers config.h"
 
8089
 
 
8090
ac_config_files="$ac_config_files Makefile img/Makefile"
 
8091
 
7394
8092
cat >confcache <<\_ACEOF
7395
8093
# This file is a shell script that caches the results of configure
7396
8094
# tests run on this system so they can be shared between configure
7409
8107
 
7410
8108
# The following way of writing the cache mishandles newlines in values,
7411
8109
# but we know of no workaround that is simple, portable, and efficient.
7412
 
# So, don't put newlines in cache variables' values.
 
8110
# So, we kill variables containing newlines.
7413
8111
# Ultrix sh set writes to stderr and can't be redirected directly,
7414
8112
# and sets the high bit in the cache file unless we assign to the vars.
7415
 
{
 
8113
(
 
8114
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
8115
    eval ac_val=\$$ac_var
 
8116
    case $ac_val in #(
 
8117
    *${as_nl}*)
 
8118
      case $ac_var in #(
 
8119
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
8120
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
8121
      esac
 
8122
      case $ac_var in #(
 
8123
      _ | IFS | as_nl) ;; #(
 
8124
      *) $as_unset $ac_var ;;
 
8125
      esac ;;
 
8126
    esac
 
8127
  done
 
8128
 
7416
8129
  (set) 2>&1 |
7417
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
7418
 
    *ac_space=\ *)
 
8130
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
8131
    *${as_nl}ac_space=\ *)
7419
8132
      # `set' does not quote correctly, so add quotes (double-quote
7420
8133
      # substitution turns \\\\ into \\, and sed turns \\ into \).
7421
8134
      sed -n \
7422
8135
        "s/'/'\\\\''/g;
7423
8136
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7424
 
      ;;
 
8137
      ;; #(
7425
8138
    *)
7426
8139
      # `set' quotes correctly as required by POSIX, so do not add quotes.
7427
 
      sed -n \
7428
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
8140
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7429
8141
      ;;
7430
 
    esac;
7431
 
} |
 
8142
    esac |
 
8143
    sort
 
8144
) |
7432
8145
  sed '
 
8146
     /^ac_cv_env_/b end
7433
8147
     t clear
7434
 
     : clear
 
8148
     :clear
7435
8149
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7436
8150
     t end
7437
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7438
 
     : end' >>confcache
7439
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
7440
 
  if test -w $cache_file; then
7441
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
8151
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
8152
     :end' >>confcache
 
8153
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
8154
  if test -w "$cache_file"; then
 
8155
    test "x$cache_file" != "x/dev/null" &&
 
8156
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
8157
echo "$as_me: updating cache $cache_file" >&6;}
7442
8158
    cat confcache >$cache_file
7443
8159
  else
7444
 
    echo "not updating unwritable cache $cache_file"
 
8160
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
8161
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7445
8162
  fi
7446
8163
fi
7447
8164
rm -f confcache
7450
8167
# Let make expand exec_prefix.
7451
8168
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7452
8169
 
7453
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7454
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7455
 
# trailing colons and then remove the whole line if VPATH becomes empty
7456
 
# (actually we leave an empty line to preserve line numbers).
7457
 
if test "x$srcdir" = x.; then
7458
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
7459
 
s/:*\$(srcdir):*/:/;
7460
 
s/:*\${srcdir}:*/:/;
7461
 
s/:*@srcdir@:*/:/;
7462
 
s/^\([^=]*=[     ]*\):*/\1/;
7463
 
s/:*$//;
7464
 
s/^[^=]*=[       ]*$//;
7465
 
}'
7466
 
fi
7467
 
 
7468
8170
DEFS=-DHAVE_CONFIG_H
7469
8171
 
7470
8172
ac_libobjs=
7471
8173
ac_ltlibobjs=
7472
8174
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
7473
8175
  # 1. Remove the extension, and $U if already installed.
7474
 
  ac_i=`echo "$ac_i" |
7475
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7476
 
  # 2. Add them.
7477
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7478
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
8176
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
8177
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
8178
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
8179
  #    will be set to the directory where LIBOBJS objects are built.
 
8180
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
8181
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7479
8182
done
7480
8183
LIB@&t@OBJS=$ac_libobjs
7481
8184
 
7482
8185
LTLIBOBJS=$ac_ltlibobjs
7483
8186
 
7484
8187
 
 
8188
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
8189
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
8190
Usually this means the macro was only invoked conditionally." >&5
 
8191
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
8192
Usually this means the macro was only invoked conditionally." >&2;}
 
8193
   { (exit 1); exit 1; }; }
 
8194
fi
 
8195
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
8196
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
8197
Usually this means the macro was only invoked conditionally." >&5
 
8198
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
8199
Usually this means the macro was only invoked conditionally." >&2;}
 
8200
   { (exit 1); exit 1; }; }
 
8201
fi
7485
8202
 
7486
8203
: ${CONFIG_STATUS=./config.status}
7487
8204
ac_clean_files_save=$ac_clean_files
7506
8223
## M4sh Initialization.  ##
7507
8224
## --------------------- ##
7508
8225
 
7509
 
# Be Bourne compatible
 
8226
# Be more Bourne compatible
 
8227
DUALCASE=1; export DUALCASE # for MKS sh
7510
8228
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7511
8229
  emulate sh
7512
8230
  NULLCMD=:
7513
8231
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7514
8232
  # is contrary to our usage.  Disable this feature.
7515
8233
  alias -g '${1+"$@"}'='"$@"'
7516
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7517
 
  set -o posix
7518
 
fi
7519
 
DUALCASE=1; export DUALCASE # for MKS sh
 
8234
  setopt NO_GLOB_SUBST
 
8235
else
 
8236
  case `(set -o) 2>/dev/null` in
 
8237
  *posix*) set -o posix ;;
 
8238
esac
 
8239
 
 
8240
fi
 
8241
 
 
8242
 
 
8243
 
 
8244
 
 
8245
# PATH needs CR
 
8246
# Avoid depending upon Character Ranges.
 
8247
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
8248
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
8249
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
8250
as_cr_digits='0123456789'
 
8251
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
8252
 
 
8253
# The user is always right.
 
8254
if test "${PATH_SEPARATOR+set}" != set; then
 
8255
  echo "#! /bin/sh" >conf$$.sh
 
8256
  echo  "exit 0"   >>conf$$.sh
 
8257
  chmod +x conf$$.sh
 
8258
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
8259
    PATH_SEPARATOR=';'
 
8260
  else
 
8261
    PATH_SEPARATOR=:
 
8262
  fi
 
8263
  rm -f conf$$.sh
 
8264
fi
7520
8265
 
7521
8266
# Support unset when possible.
7522
8267
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7526
8271
fi
7527
8272
 
7528
8273
 
 
8274
# IFS
 
8275
# We need space, tab and new line, in precisely that order.  Quoting is
 
8276
# there to prevent editors from complaining about space-tab.
 
8277
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
8278
# splitting by setting IFS to empty value.)
 
8279
as_nl='
 
8280
'
 
8281
IFS=" ""        $as_nl"
 
8282
 
 
8283
# Find who we are.  Look in the path if we contain no directory separator.
 
8284
case $0 in
 
8285
  *[\\/]* ) as_myself=$0 ;;
 
8286
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8287
for as_dir in $PATH
 
8288
do
 
8289
  IFS=$as_save_IFS
 
8290
  test -z "$as_dir" && as_dir=.
 
8291
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
8292
done
 
8293
IFS=$as_save_IFS
 
8294
 
 
8295
     ;;
 
8296
esac
 
8297
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
8298
# in which case we are not to be found in the path.
 
8299
if test "x$as_myself" = x; then
 
8300
  as_myself=$0
 
8301
fi
 
8302
if test ! -f "$as_myself"; then
 
8303
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
8304
  { (exit 1); exit 1; }
 
8305
fi
 
8306
 
7529
8307
# Work around bugs in pre-3.0 UWIN ksh.
7530
 
$as_unset ENV MAIL MAILPATH
 
8308
for as_var in ENV MAIL MAILPATH
 
8309
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
8310
done
7531
8311
PS1='$ '
7532
8312
PS2='> '
7533
8313
PS4='+ '
7541
8321
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7542
8322
    eval $as_var=C; export $as_var
7543
8323
  else
7544
 
    $as_unset $as_var
 
8324
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7545
8325
  fi
7546
8326
done
7547
8327
 
7548
8328
# Required to use basename.
7549
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
8329
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
8330
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7550
8331
  as_expr=expr
7551
8332
else
7552
8333
  as_expr=false
7553
8334
fi
7554
8335
 
7555
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
8336
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7556
8337
  as_basename=basename
7557
8338
else
7558
8339
  as_basename=false
7560
8341
 
7561
8342
 
7562
8343
# Name of the executable.
7563
 
as_me=`$as_basename "$0" ||
 
8344
as_me=`$as_basename -- "$0" ||
7564
8345
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7565
8346
         X"$0" : 'X\(//\)$' \| \
7566
 
         X"$0" : 'X\(/\)$' \| \
7567
 
         .     : '\(.\)' 2>/dev/null ||
 
8347
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7568
8348
echo X/"$0" |
7569
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7570
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
7571
 
          /^X\/\(\/\).*/{ s//\1/; q; }
7572
 
          s/.*/./; q'`
7573
 
 
7574
 
 
7575
 
# PATH needs CR, and LINENO needs CR and PATH.
7576
 
# Avoid depending upon Character Ranges.
7577
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7578
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7579
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7580
 
as_cr_digits='0123456789'
7581
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
7582
 
 
7583
 
# The user is always right.
7584
 
if test "${PATH_SEPARATOR+set}" != set; then
7585
 
  echo "#! /bin/sh" >conf$$.sh
7586
 
  echo  "exit 0"   >>conf$$.sh
7587
 
  chmod +x conf$$.sh
7588
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7589
 
    PATH_SEPARATOR=';'
7590
 
  else
7591
 
    PATH_SEPARATOR=:
7592
 
  fi
7593
 
  rm -f conf$$.sh
7594
 
fi
7595
 
 
7596
 
 
7597
 
  as_lineno_1=$LINENO
7598
 
  as_lineno_2=$LINENO
7599
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7600
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
7601
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
7602
 
  # Find who we are.  Look in the path if we contain no path at all
7603
 
  # relative or not.
7604
 
  case $0 in
7605
 
    *[\\/]* ) as_myself=$0 ;;
7606
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607
 
for as_dir in $PATH
7608
 
do
7609
 
  IFS=$as_save_IFS
7610
 
  test -z "$as_dir" && as_dir=.
7611
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7612
 
done
7613
 
 
7614
 
       ;;
7615
 
  esac
7616
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
7617
 
  # in which case we are not to be found in the path.
7618
 
  if test "x$as_myself" = x; then
7619
 
    as_myself=$0
7620
 
  fi
7621
 
  if test ! -f "$as_myself"; then
7622
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7623
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7624
 
   { (exit 1); exit 1; }; }
7625
 
  fi
7626
 
  case $CONFIG_SHELL in
7627
 
  '')
7628
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7630
 
do
7631
 
  IFS=$as_save_IFS
7632
 
  test -z "$as_dir" && as_dir=.
7633
 
  for as_base in sh bash ksh sh5; do
7634
 
         case $as_dir in
7635
 
         /*)
7636
 
           if ("$as_dir/$as_base" -c '
7637
 
  as_lineno_1=$LINENO
7638
 
  as_lineno_2=$LINENO
7639
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7640
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
7641
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
7642
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7643
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7644
 
             CONFIG_SHELL=$as_dir/$as_base
7645
 
             export CONFIG_SHELL
7646
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7647
 
           fi;;
7648
 
         esac
7649
 
       done
7650
 
done
7651
 
;;
7652
 
  esac
 
8349
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
8350
            s//\1/
 
8351
            q
 
8352
          }
 
8353
          /^X\/\(\/\/\)$/{
 
8354
            s//\1/
 
8355
            q
 
8356
          }
 
8357
          /^X\/\(\/\).*/{
 
8358
            s//\1/
 
8359
            q
 
8360
          }
 
8361
          s/.*/./; q'`
 
8362
 
 
8363
# CDPATH.
 
8364
$as_unset CDPATH
 
8365
 
 
8366
 
 
8367
 
 
8368
  as_lineno_1=$LINENO
 
8369
  as_lineno_2=$LINENO
 
8370
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
8371
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7653
8372
 
7654
8373
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7655
8374
  # uniformly replaced by the line number.  The first 'sed' inserts a
7656
 
  # line-number line before each line; the second 'sed' does the real
7657
 
  # work.  The second script uses 'N' to pair each line-number line
7658
 
  # with the numbered line, and appends trailing '-' during
7659
 
  # substitution so that $LINENO is not a special case at line end.
 
8375
  # line-number line after each line using $LINENO; the second 'sed'
 
8376
  # does the real work.  The second script uses 'N' to pair each
 
8377
  # line-number line with the line containing $LINENO, and appends
 
8378
  # trailing '-' during substitution so that $LINENO is not a special
 
8379
  # case at line end.
7660
8380
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7661
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
7662
 
  sed '=' <$as_myself |
 
8381
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
8382
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
8383
  sed -n '
 
8384
    p
 
8385
    /[$]LINENO/=
 
8386
  ' <$as_myself |
7663
8387
    sed '
 
8388
      s/[$]LINENO.*/&-/
 
8389
      t lineno
 
8390
      b
 
8391
      :lineno
7664
8392
      N
7665
 
      s,$,-,
7666
 
      : loop
7667
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
8393
      :loop
 
8394
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7668
8395
      t loop
7669
 
      s,-$,,
7670
 
      s,^['$as_cr_digits']*\n,,
 
8396
      s/-\n.*//
7671
8397
    ' >$as_me.lineno &&
7672
 
  chmod +x $as_me.lineno ||
7673
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7674
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
8398
  chmod +x "$as_me.lineno" ||
 
8399
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7675
8400
   { (exit 1); exit 1; }; }
7676
8401
 
7677
8402
  # Don't try to exec as it changes $[0], causing all sort of problems
7678
8403
  # (the dirname of $[0] is not the place where we might find the
7679
 
  # original and so on.  Autoconf is especially sensible to this).
7680
 
  . ./$as_me.lineno
 
8404
  # original and so on.  Autoconf is especially sensitive to this).
 
8405
  . "./$as_me.lineno"
7681
8406
  # Exit status is that of the last command.
7682
8407
  exit
7683
8408
}
7684
8409
 
7685
8410
 
7686
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7687
 
  *c*,-n*) ECHO_N= ECHO_C='
7688
 
' ECHO_T='      ' ;;
7689
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7690
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
8411
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
8412
  as_dirname=dirname
 
8413
else
 
8414
  as_dirname=false
 
8415
fi
 
8416
 
 
8417
ECHO_C= ECHO_N= ECHO_T=
 
8418
case `echo -n x` in
 
8419
-n*)
 
8420
  case `echo 'x\c'` in
 
8421
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
8422
  *)   ECHO_C='\c';;
 
8423
  esac;;
 
8424
*)
 
8425
  ECHO_N='-n';;
7691
8426
esac
7692
8427
 
7693
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
8428
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
8429
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7694
8430
  as_expr=expr
7695
8431
else
7696
8432
  as_expr=false
7697
8433
fi
7698
8434
 
7699
8435
rm -f conf$$ conf$$.exe conf$$.file
 
8436
if test -d conf$$.dir; then
 
8437
  rm -f conf$$.dir/conf$$.file
 
8438
else
 
8439
  rm -f conf$$.dir
 
8440
  mkdir conf$$.dir
 
8441
fi
7700
8442
echo >conf$$.file
7701
8443
if ln -s conf$$.file conf$$ 2>/dev/null; then
7702
 
  # We could just check for DJGPP; but this test a) works b) is more generic
7703
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7704
 
  if test -f conf$$.exe; then
7705
 
    # Don't use ln at all; we don't have any links
 
8444
  as_ln_s='ln -s'
 
8445
  # ... but there are two gotchas:
 
8446
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
8447
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
8448
  # In both cases, we have to default to `cp -p'.
 
8449
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7706
8450
    as_ln_s='cp -p'
7707
 
  else
7708
 
    as_ln_s='ln -s'
7709
 
  fi
7710
8451
elif ln conf$$.file conf$$ 2>/dev/null; then
7711
8452
  as_ln_s=ln
7712
8453
else
7713
8454
  as_ln_s='cp -p'
7714
8455
fi
7715
 
rm -f conf$$ conf$$.exe conf$$.file
 
8456
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
8457
rmdir conf$$.dir 2>/dev/null
7716
8458
 
7717
8459
if mkdir -p . 2>/dev/null; then
7718
8460
  as_mkdir_p=:
7721
8463
  as_mkdir_p=false
7722
8464
fi
7723
8465
 
7724
 
as_executable_p="test -f"
 
8466
if test -x / >/dev/null 2>&1; then
 
8467
  as_test_x='test -x'
 
8468
else
 
8469
  if ls -dL / >/dev/null 2>&1; then
 
8470
    as_ls_L_option=L
 
8471
  else
 
8472
    as_ls_L_option=
 
8473
  fi
 
8474
  as_test_x='
 
8475
    eval sh -c '\''
 
8476
      if test -d "$1"; then
 
8477
        test -d "$1/.";
 
8478
      else
 
8479
        case $1 in
 
8480
        -*)set "./$1";;
 
8481
        esac;
 
8482
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
8483
        ???[sx]*):;;*)false;;esac;fi
 
8484
    '\'' sh
 
8485
  '
 
8486
fi
 
8487
as_executable_p=$as_test_x
7725
8488
 
7726
8489
# Sed expression to map a string onto a valid CPP name.
7727
8490
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7730
8493
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7731
8494
 
7732
8495
 
7733
 
# IFS
7734
 
# We need space, tab and new line, in precisely that order.
7735
 
as_nl='
7736
 
'
7737
 
IFS="   $as_nl"
7738
 
 
7739
 
# CDPATH.
7740
 
$as_unset CDPATH
7741
 
 
7742
8496
exec 6>&1
7743
8497
 
7744
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
8498
# Save the log message, to keep $[0] and so on meaningful, and to
7745
8499
# report actual input values of CONFIG_FILES etc. instead of their
7746
 
# values after options handling.  Logging --version etc. is OK.
7747
 
exec 5>>config.log
7748
 
{
7749
 
  echo
7750
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
7751
 
@%:@@%:@ Running $as_me. @%:@@%:@
7752
 
_ASBOX
7753
 
} >&5
7754
 
cat >&5 <<_CSEOF
7755
 
 
 
8500
# values after options handling.
 
8501
ac_log="
7756
8502
This file was extended by $as_me, which was
7757
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
8503
generated by GNU Autoconf 2.61.  Invocation command line was
7758
8504
 
7759
8505
  CONFIG_FILES    = $CONFIG_FILES
7760
8506
  CONFIG_HEADERS  = $CONFIG_HEADERS
7762
8508
  CONFIG_COMMANDS = $CONFIG_COMMANDS
7763
8509
  $ $0 $@
7764
8510
 
7765
 
_CSEOF
7766
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7767
 
echo >&5
 
8511
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
8512
"
 
8513
 
7768
8514
_ACEOF
7769
8515
 
 
8516
cat >>$CONFIG_STATUS <<_ACEOF
7770
8517
# Files that config.status was made for.
7771
 
if test -n "$ac_config_files"; then
7772
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7773
 
fi
7774
 
 
7775
 
if test -n "$ac_config_headers"; then
7776
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7777
 
fi
7778
 
 
7779
 
if test -n "$ac_config_links"; then
7780
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7781
 
fi
7782
 
 
7783
 
if test -n "$ac_config_commands"; then
7784
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7785
 
fi
 
8518
config_files="$ac_config_files"
 
8519
config_headers="$ac_config_headers"
 
8520
config_commands="$ac_config_commands"
 
8521
 
 
8522
_ACEOF
7786
8523
 
7787
8524
cat >>$CONFIG_STATUS <<\_ACEOF
7788
 
 
7789
8525
ac_cs_usage="\
7790
8526
\`$as_me' instantiates files from templates according to the
7791
8527
current configuration.
7793
8529
Usage: $0 [OPTIONS] [FILE]...
7794
8530
 
7795
8531
  -h, --help       print this help, then exit
7796
 
  -V, --version    print version number, then exit
 
8532
  -V, --version    print version number and configuration settings, then exit
7797
8533
  -q, --quiet      do not print progress messages
7798
8534
  -d, --debug      don't remove temporary files
7799
8535
      --recheck    update $as_me by reconfiguring in the same conditions
7812
8548
$config_commands
7813
8549
 
7814
8550
Report bugs to <bug-autoconf@gnu.org>."
 
8551
 
7815
8552
_ACEOF
7816
 
 
7817
8553
cat >>$CONFIG_STATUS <<_ACEOF
7818
8554
ac_cs_version="\\
7819
8555
config.status
7820
 
configured by $0, generated by GNU Autoconf 2.59,
7821
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
8556
configured by $0, generated by GNU Autoconf 2.61,
 
8557
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7822
8558
 
7823
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
8559
Copyright (C) 2006 Free Software Foundation, Inc.
7824
8560
This config.status script is free software; the Free Software Foundation
7825
8561
gives unlimited permission to copy, distribute and modify it."
7826
 
srcdir=$srcdir
7827
 
INSTALL="$INSTALL"
 
8562
 
 
8563
ac_pwd='$ac_pwd'
 
8564
srcdir='$srcdir'
 
8565
INSTALL='$INSTALL'
7828
8566
_ACEOF
7829
8567
 
7830
8568
cat >>$CONFIG_STATUS <<\_ACEOF
7835
8573
do
7836
8574
  case $1 in
7837
8575
  --*=*)
7838
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
7839
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
8576
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
8577
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7840
8578
    ac_shift=:
7841
8579
    ;;
7842
 
  -*)
 
8580
  *)
7843
8581
    ac_option=$1
7844
8582
    ac_optarg=$2
7845
8583
    ac_shift=shift
7846
8584
    ;;
7847
 
  *) # This is not an option, so the user has probably given explicit
7848
 
     # arguments.
7849
 
     ac_option=$1
7850
 
     ac_need_defaults=false;;
7851
8585
  esac
7852
8586
 
7853
8587
  case $ac_option in
7854
8588
  # Handling of the options.
7855
 
_ACEOF
7856
 
cat >>$CONFIG_STATUS <<\_ACEOF
7857
8589
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7858
8590
    ac_cs_recheck=: ;;
7859
 
  --version | --vers* | -V )
7860
 
    echo "$ac_cs_version"; exit 0 ;;
7861
 
  --he | --h)
7862
 
    # Conflict between --help and --header
7863
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
7864
 
Try \`$0 --help' for more information." >&5
7865
 
echo "$as_me: error: ambiguous option: $1
7866
 
Try \`$0 --help' for more information." >&2;}
7867
 
   { (exit 1); exit 1; }; };;
7868
 
  --help | --hel | -h )
7869
 
    echo "$ac_cs_usage"; exit 0 ;;
7870
 
  --debug | --d* | -d )
 
8591
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
8592
    echo "$ac_cs_version"; exit ;;
 
8593
  --debug | --debu | --deb | --de | --d | -d )
7871
8594
    debug=: ;;
7872
8595
  --file | --fil | --fi | --f )
7873
8596
    $ac_shift
7877
8600
    $ac_shift
7878
8601
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7879
8602
    ac_need_defaults=false;;
 
8603
  --he | --h)
 
8604
    # Conflict between --help and --header
 
8605
    { echo "$as_me: error: ambiguous option: $1
 
8606
Try \`$0 --help' for more information." >&2
 
8607
   { (exit 1); exit 1; }; };;
 
8608
  --help | --hel | -h )
 
8609
    echo "$ac_cs_usage"; exit ;;
7880
8610
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7881
8611
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7882
8612
    ac_cs_silent=: ;;
7883
8613
 
7884
8614
  # This is an error.
7885
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7886
 
Try \`$0 --help' for more information." >&5
7887
 
echo "$as_me: error: unrecognized option: $1
7888
 
Try \`$0 --help' for more information." >&2;}
 
8615
  -*) { echo "$as_me: error: unrecognized option: $1
 
8616
Try \`$0 --help' for more information." >&2
7889
8617
   { (exit 1); exit 1; }; } ;;
7890
8618
 
7891
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
8619
  *) ac_config_targets="$ac_config_targets $1"
 
8620
     ac_need_defaults=false ;;
7892
8621
 
7893
8622
  esac
7894
8623
  shift
7904
8633
_ACEOF
7905
8634
cat >>$CONFIG_STATUS <<_ACEOF
7906
8635
if \$ac_cs_recheck; then
7907
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7908
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
8636
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
8637
  CONFIG_SHELL=$SHELL
 
8638
  export CONFIG_SHELL
 
8639
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7909
8640
fi
7910
8641
 
7911
8642
_ACEOF
 
8643
cat >>$CONFIG_STATUS <<\_ACEOF
 
8644
exec 5>>config.log
 
8645
{
 
8646
  echo
 
8647
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
8648
@%:@@%:@ Running $as_me. @%:@@%:@
 
8649
_ASBOX
 
8650
  echo "$ac_log"
 
8651
} >&5
7912
8652
 
 
8653
_ACEOF
7913
8654
cat >>$CONFIG_STATUS <<_ACEOF
7914
8655
#
7915
 
# INIT-COMMANDS section.
 
8656
# INIT-COMMANDS
7916
8657
#
7917
 
 
7918
 
 
 
8658
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7919
8659
 
7920
8660
_ACEOF
7921
8661
 
7922
 
 
7923
 
 
7924
8662
cat >>$CONFIG_STATUS <<\_ACEOF
 
8663
 
 
8664
# Handling of arguments.
7925
8665
for ac_config_target in $ac_config_targets
7926
8666
do
7927
 
  case "$ac_config_target" in
7928
 
  # Handling of arguments.
7929
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7930
 
  "img/Makefile" ) CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
7931
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7932
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
8667
  case $ac_config_target in
 
8668
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
8669
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
8670
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
8671
    "img/Makefile") CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
 
8672
 
7933
8673
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7934
8674
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7935
8675
   { (exit 1); exit 1; }; };;
7936
8676
  esac
7937
8677
done
7938
8678
 
 
8679
 
7939
8680
# If the user did not use the arguments to specify the items to instantiate,
7940
8681
# then the envvar interface is used.  Set only those that are not.
7941
8682
# We use the long form for the default assignment because of an extremely
7947
8688
fi
7948
8689
 
7949
8690
# Have a temporary directory for convenience.  Make it in the build tree
7950
 
# simply because there is no reason to put it here, and in addition,
 
8691
# simply because there is no reason against having it here, and in addition,
7951
8692
# creating and moving files from /tmp can sometimes cause problems.
7952
 
# Create a temporary directory, and hook for its removal unless debugging.
 
8693
# Hook for its removal unless debugging.
 
8694
# Note that there is a small window in which the directory will not be cleaned:
 
8695
# after its creation but before its name has been assigned to `$tmp'.
7953
8696
$debug ||
7954
8697
{
7955
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
8698
  tmp=
 
8699
  trap 'exit_status=$?
 
8700
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
8701
' 0
7956
8702
  trap '{ (exit 1); exit 1; }' 1 2 13 15
7957
8703
}
7958
 
 
7959
8704
# Create a (secure) tmp directory for tmp files.
7960
8705
 
7961
8706
{
7962
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
8707
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7963
8708
  test -n "$tmp" && test -d "$tmp"
7964
8709
}  ||
7965
8710
{
7966
 
  tmp=./confstat$$-$RANDOM
7967
 
  (umask 077 && mkdir $tmp)
 
8711
  tmp=./conf$$-$RANDOM
 
8712
  (umask 077 && mkdir "$tmp")
7968
8713
} ||
7969
8714
{
7970
8715
   echo "$me: cannot create a temporary directory in ." >&2
7971
8716
   { (exit 1); exit 1; }
7972
8717
}
7973
8718
 
7974
 
_ACEOF
7975
 
 
7976
 
cat >>$CONFIG_STATUS <<_ACEOF
7977
 
 
7978
8719
#
7979
 
# CONFIG_FILES section.
 
8720
# Set up the sed scripts for CONFIG_FILES section.
7980
8721
#
7981
8722
 
7982
8723
# No need to generate the scripts if there are no CONFIG_FILES.
7983
8724
# This happens for instance when ./config.status config.h
7984
 
if test -n "\$CONFIG_FILES"; then
7985
 
  # Protect against being on the right side of a sed subst in config.status.
7986
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7987
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7988
 
s,@SHELL@,$SHELL,;t t
7989
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7990
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7991
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7992
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7993
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7994
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7995
 
s,@exec_prefix@,$exec_prefix,;t t
7996
 
s,@prefix@,$prefix,;t t
7997
 
s,@program_transform_name@,$program_transform_name,;t t
7998
 
s,@bindir@,$bindir,;t t
7999
 
s,@sbindir@,$sbindir,;t t
8000
 
s,@libexecdir@,$libexecdir,;t t
8001
 
s,@datadir@,$datadir,;t t
8002
 
s,@sysconfdir@,$sysconfdir,;t t
8003
 
s,@sharedstatedir@,$sharedstatedir,;t t
8004
 
s,@localstatedir@,$localstatedir,;t t
8005
 
s,@libdir@,$libdir,;t t
8006
 
s,@includedir@,$includedir,;t t
8007
 
s,@oldincludedir@,$oldincludedir,;t t
8008
 
s,@infodir@,$infodir,;t t
8009
 
s,@mandir@,$mandir,;t t
8010
 
s,@build_alias@,$build_alias,;t t
8011
 
s,@host_alias@,$host_alias,;t t
8012
 
s,@target_alias@,$target_alias,;t t
8013
 
s,@DEFS@,$DEFS,;t t
8014
 
s,@ECHO_C@,$ECHO_C,;t t
8015
 
s,@ECHO_N@,$ECHO_N,;t t
8016
 
s,@ECHO_T@,$ECHO_T,;t t
8017
 
s,@LIBS@,$LIBS,;t t
8018
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8019
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8020
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8021
 
s,@PACKAGE@,$PACKAGE,;t t
8022
 
s,@VERSION@,$VERSION,;t t
8023
 
s,@ACLOCAL@,$ACLOCAL,;t t
8024
 
s,@AUTOCONF@,$AUTOCONF,;t t
8025
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
8026
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
8027
 
s,@MAKEINFO@,$MAKEINFO,;t t
8028
 
s,@SET_MAKE@,$SET_MAKE,;t t
8029
 
s,@GTK_OBJ@,$GTK_OBJ,;t t
8030
 
s,@CURSES_OBJ@,$CURSES_OBJ,;t t
8031
 
s,@CC@,$CC,;t t
8032
 
s,@CFLAGS@,$CFLAGS,;t t
8033
 
s,@LDFLAGS@,$LDFLAGS,;t t
8034
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
8035
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
8036
 
s,@EXEEXT@,$EXEEXT,;t t
8037
 
s,@OBJEXT@,$OBJEXT,;t t
8038
 
s,@CPP@,$CPP,;t t
8039
 
s,@EGREP@,$EGREP,;t t
8040
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
8041
 
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
8042
 
s,@GTK_LIBS@,$GTK_LIBS,;t t
8043
 
s,@GTK_CONFIG@,$GTK_CONFIG,;t t
8044
 
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
8045
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8046
 
CEOF
8047
 
 
8048
 
_ACEOF
8049
 
 
8050
 
  cat >>$CONFIG_STATUS <<\_ACEOF
8051
 
  # Split the substitutions into bite-sized pieces for seds with
8052
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
8053
 
  ac_max_sed_lines=48
8054
 
  ac_sed_frag=1 # Number of current file.
8055
 
  ac_beg=1 # First line for current file.
8056
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
8057
 
  ac_more_lines=:
8058
 
  ac_sed_cmds=
8059
 
  while $ac_more_lines; do
8060
 
    if test $ac_beg -gt 1; then
8061
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8062
 
    else
8063
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8064
 
    fi
8065
 
    if test ! -s $tmp/subs.frag; then
8066
 
      ac_more_lines=false
8067
 
    else
8068
 
      # The purpose of the label and of the branching condition is to
8069
 
      # speed up the sed processing (if there are no `@' at all, there
8070
 
      # is no need to browse any of the substitutions).
8071
 
      # These are the two extra sed commands mentioned above.
8072
 
      (echo ':t
8073
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8074
 
      if test -z "$ac_sed_cmds"; then
8075
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8076
 
      else
8077
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8078
 
      fi
8079
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
8080
 
      ac_beg=$ac_end
8081
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
8082
 
    fi
8083
 
  done
8084
 
  if test -z "$ac_sed_cmds"; then
8085
 
    ac_sed_cmds=cat
 
8725
if test -n "$CONFIG_FILES"; then
 
8726
 
 
8727
_ACEOF
 
8728
 
 
8729
 
 
8730
 
 
8731
ac_delim='%!_!# '
 
8732
for ac_last_try in false false false false false :; do
 
8733
  cat >conf$$subs.sed <<_ACEOF
 
8734
SHELL!$SHELL$ac_delim
 
8735
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
8736
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
8737
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
8738
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
8739
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
8740
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
8741
exec_prefix!$exec_prefix$ac_delim
 
8742
prefix!$prefix$ac_delim
 
8743
program_transform_name!$program_transform_name$ac_delim
 
8744
bindir!$bindir$ac_delim
 
8745
sbindir!$sbindir$ac_delim
 
8746
libexecdir!$libexecdir$ac_delim
 
8747
datarootdir!$datarootdir$ac_delim
 
8748
datadir!$datadir$ac_delim
 
8749
sysconfdir!$sysconfdir$ac_delim
 
8750
sharedstatedir!$sharedstatedir$ac_delim
 
8751
localstatedir!$localstatedir$ac_delim
 
8752
includedir!$includedir$ac_delim
 
8753
oldincludedir!$oldincludedir$ac_delim
 
8754
docdir!$docdir$ac_delim
 
8755
infodir!$infodir$ac_delim
 
8756
htmldir!$htmldir$ac_delim
 
8757
dvidir!$dvidir$ac_delim
 
8758
pdfdir!$pdfdir$ac_delim
 
8759
psdir!$psdir$ac_delim
 
8760
libdir!$libdir$ac_delim
 
8761
localedir!$localedir$ac_delim
 
8762
mandir!$mandir$ac_delim
 
8763
DEFS!$DEFS$ac_delim
 
8764
ECHO_C!$ECHO_C$ac_delim
 
8765
ECHO_N!$ECHO_N$ac_delim
 
8766
ECHO_T!$ECHO_T$ac_delim
 
8767
LIBS!$LIBS$ac_delim
 
8768
build_alias!$build_alias$ac_delim
 
8769
host_alias!$host_alias$ac_delim
 
8770
target_alias!$target_alias$ac_delim
 
8771
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
8772
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
8773
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
8774
CYGPATH_W!$CYGPATH_W$ac_delim
 
8775
PACKAGE!$PACKAGE$ac_delim
 
8776
VERSION!$VERSION$ac_delim
 
8777
ACLOCAL!$ACLOCAL$ac_delim
 
8778
AUTOCONF!$AUTOCONF$ac_delim
 
8779
AUTOMAKE!$AUTOMAKE$ac_delim
 
8780
AUTOHEADER!$AUTOHEADER$ac_delim
 
8781
MAKEINFO!$MAKEINFO$ac_delim
 
8782
install_sh!$install_sh$ac_delim
 
8783
STRIP!$STRIP$ac_delim
 
8784
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
8785
mkdir_p!$mkdir_p$ac_delim
 
8786
AWK!$AWK$ac_delim
 
8787
SET_MAKE!$SET_MAKE$ac_delim
 
8788
am__leading_dot!$am__leading_dot$ac_delim
 
8789
AMTAR!$AMTAR$ac_delim
 
8790
am__tar!$am__tar$ac_delim
 
8791
am__untar!$am__untar$ac_delim
 
8792
GTK_OBJ!$GTK_OBJ$ac_delim
 
8793
CURSES_OBJ!$CURSES_OBJ$ac_delim
 
8794
CC!$CC$ac_delim
 
8795
CFLAGS!$CFLAGS$ac_delim
 
8796
LDFLAGS!$LDFLAGS$ac_delim
 
8797
CPPFLAGS!$CPPFLAGS$ac_delim
 
8798
ac_ct_CC!$ac_ct_CC$ac_delim
 
8799
EXEEXT!$EXEEXT$ac_delim
 
8800
OBJEXT!$OBJEXT$ac_delim
 
8801
DEPDIR!$DEPDIR$ac_delim
 
8802
am__include!$am__include$ac_delim
 
8803
am__quote!$am__quote$ac_delim
 
8804
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
8805
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
8806
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
8807
CCDEPMODE!$CCDEPMODE$ac_delim
 
8808
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
8809
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
8810
CPP!$CPP$ac_delim
 
8811
GREP!$GREP$ac_delim
 
8812
EGREP!$EGREP$ac_delim
 
8813
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
8814
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
 
8815
GTK_LIBS!$GTK_LIBS$ac_delim
 
8816
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
 
8817
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
8818
_ACEOF
 
8819
 
 
8820
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
 
8821
    break
 
8822
  elif $ac_last_try; then
 
8823
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
8824
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
8825
   { (exit 1); exit 1; }; }
 
8826
  else
 
8827
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8086
8828
  fi
 
8829
done
 
8830
 
 
8831
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
8832
if test -n "$ac_eof"; then
 
8833
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
8834
  ac_eof=`expr $ac_eof + 1`
 
8835
fi
 
8836
 
 
8837
cat >>$CONFIG_STATUS <<_ACEOF
 
8838
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
8839
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
8840
_ACEOF
 
8841
sed '
 
8842
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
8843
s/^/s,@/; s/!/@,|#_!!_#|/
 
8844
:n
 
8845
t n
 
8846
s/'"$ac_delim"'$/,g/; t
 
8847
s/$/\\/; p
 
8848
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
8849
' >>$CONFIG_STATUS <conf$$subs.sed
 
8850
rm -f conf$$subs.sed
 
8851
cat >>$CONFIG_STATUS <<_ACEOF
 
8852
:end
 
8853
s/|#_!!_#|//g
 
8854
CEOF$ac_eof
 
8855
_ACEOF
 
8856
 
 
8857
 
 
8858
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
8859
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
8860
# trailing colons and then remove the whole line if VPATH becomes empty
 
8861
# (actually we leave an empty line to preserve line numbers).
 
8862
if test "x$srcdir" = x.; then
 
8863
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
8864
s/:*\$(srcdir):*/:/
 
8865
s/:*\${srcdir}:*/:/
 
8866
s/:*@srcdir@:*/:/
 
8867
s/^\([^=]*=[     ]*\):*/\1/
 
8868
s/:*$//
 
8869
s/^[^=]*=[       ]*$//
 
8870
}'
 
8871
fi
 
8872
 
 
8873
cat >>$CONFIG_STATUS <<\_ACEOF
8087
8874
fi # test -n "$CONFIG_FILES"
8088
8875
 
8089
 
_ACEOF
8090
 
cat >>$CONFIG_STATUS <<\_ACEOF
8091
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8092
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8093
 
  case $ac_file in
8094
 
  - | *:- | *:-:* ) # input from stdin
8095
 
        cat >$tmp/stdin
8096
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8097
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8098
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8099
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8100
 
  * )   ac_file_in=$ac_file.in ;;
8101
 
  esac
8102
 
 
8103
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8104
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
8876
 
 
8877
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
8878
do
 
8879
  case $ac_tag in
 
8880
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
8881
  esac
 
8882
  case $ac_mode$ac_tag in
 
8883
  :[FHL]*:*);;
 
8884
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
8885
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
8886
   { (exit 1); exit 1; }; };;
 
8887
  :[FH]-) ac_tag=-:-;;
 
8888
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
8889
  esac
 
8890
  ac_save_IFS=$IFS
 
8891
  IFS=:
 
8892
  set x $ac_tag
 
8893
  IFS=$ac_save_IFS
 
8894
  shift
 
8895
  ac_file=$1
 
8896
  shift
 
8897
 
 
8898
  case $ac_mode in
 
8899
  :L) ac_source=$1;;
 
8900
  :[FH])
 
8901
    ac_file_inputs=
 
8902
    for ac_f
 
8903
    do
 
8904
      case $ac_f in
 
8905
      -) ac_f="$tmp/stdin";;
 
8906
      *) # Look for the file first in the build tree, then in the source tree
 
8907
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
8908
         # because $ac_f cannot contain `:'.
 
8909
         test -f "$ac_f" ||
 
8910
           case $ac_f in
 
8911
           [\\/$]*) false;;
 
8912
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
8913
           esac ||
 
8914
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
8915
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
8916
   { (exit 1); exit 1; }; };;
 
8917
      esac
 
8918
      ac_file_inputs="$ac_file_inputs $ac_f"
 
8919
    done
 
8920
 
 
8921
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
8922
    # use $as_me), people would be surprised to read:
 
8923
    #    /* config.h.  Generated by config.status.  */
 
8924
    configure_input="Generated from "`IFS=:
 
8925
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
8926
    if test x"$ac_file" != x-; then
 
8927
      configure_input="$ac_file.  $configure_input"
 
8928
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
8929
echo "$as_me: creating $ac_file" >&6;}
 
8930
    fi
 
8931
 
 
8932
    case $ac_tag in
 
8933
    *:-:* | *:-) cat >"$tmp/stdin";;
 
8934
    esac
 
8935
    ;;
 
8936
  esac
 
8937
 
 
8938
  ac_dir=`$as_dirname -- "$ac_file" ||
8105
8939
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8106
8940
         X"$ac_file" : 'X\(//\)[^/]' \| \
8107
8941
         X"$ac_file" : 'X\(//\)$' \| \
8108
 
         X"$ac_file" : 'X\(/\)' \| \
8109
 
         .     : '\(.\)' 2>/dev/null ||
 
8942
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8110
8943
echo X"$ac_file" |
8111
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8112
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8113
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8114
 
          /^X\(\/\).*/{ s//\1/; q; }
8115
 
          s/.*/./; q'`
8116
 
  { if $as_mkdir_p; then
8117
 
    mkdir -p "$ac_dir"
8118
 
  else
8119
 
    as_dir="$ac_dir"
 
8944
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8945
            s//\1/
 
8946
            q
 
8947
          }
 
8948
          /^X\(\/\/\)[^/].*/{
 
8949
            s//\1/
 
8950
            q
 
8951
          }
 
8952
          /^X\(\/\/\)$/{
 
8953
            s//\1/
 
8954
            q
 
8955
          }
 
8956
          /^X\(\/\).*/{
 
8957
            s//\1/
 
8958
            q
 
8959
          }
 
8960
          s/.*/./; q'`
 
8961
  { as_dir="$ac_dir"
 
8962
  case $as_dir in #(
 
8963
  -*) as_dir=./$as_dir;;
 
8964
  esac
 
8965
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8120
8966
    as_dirs=
8121
 
    while test ! -d "$as_dir"; do
8122
 
      as_dirs="$as_dir $as_dirs"
8123
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
8967
    while :; do
 
8968
      case $as_dir in #(
 
8969
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
8970
      *) as_qdir=$as_dir;;
 
8971
      esac
 
8972
      as_dirs="'$as_qdir' $as_dirs"
 
8973
      as_dir=`$as_dirname -- "$as_dir" ||
8124
8974
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8125
8975
         X"$as_dir" : 'X\(//\)[^/]' \| \
8126
8976
         X"$as_dir" : 'X\(//\)$' \| \
8127
 
         X"$as_dir" : 'X\(/\)' \| \
8128
 
         .     : '\(.\)' 2>/dev/null ||
 
8977
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8129
8978
echo X"$as_dir" |
8130
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8131
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8132
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8133
 
          /^X\(\/\).*/{ s//\1/; q; }
8134
 
          s/.*/./; q'`
 
8979
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8980
            s//\1/
 
8981
            q
 
8982
          }
 
8983
          /^X\(\/\/\)[^/].*/{
 
8984
            s//\1/
 
8985
            q
 
8986
          }
 
8987
          /^X\(\/\/\)$/{
 
8988
            s//\1/
 
8989
            q
 
8990
          }
 
8991
          /^X\(\/\).*/{
 
8992
            s//\1/
 
8993
            q
 
8994
          }
 
8995
          s/.*/./; q'`
 
8996
      test -d "$as_dir" && break
8135
8997
    done
8136
 
    test ! -n "$as_dirs" || mkdir $as_dirs
8137
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8138
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
8998
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
8999
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
9000
echo "$as_me: error: cannot create directory $as_dir" >&2;}
8139
9001
   { (exit 1); exit 1; }; }; }
8140
 
 
8141
9002
  ac_builddir=.
8142
9003
 
8143
 
if test "$ac_dir" != .; then
 
9004
case "$ac_dir" in
 
9005
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
9006
*)
8144
9007
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8145
 
  # A "../" for each directory in $ac_dir_suffix.
8146
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8147
 
else
8148
 
  ac_dir_suffix= ac_top_builddir=
8149
 
fi
 
9008
  # A ".." for each directory in $ac_dir_suffix.
 
9009
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
9010
  case $ac_top_builddir_sub in
 
9011
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
9012
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
9013
  esac ;;
 
9014
esac
 
9015
ac_abs_top_builddir=$ac_pwd
 
9016
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
9017
# for backward compatibility:
 
9018
ac_top_builddir=$ac_top_build_prefix
8150
9019
 
8151
9020
case $srcdir in
8152
 
  .)  # No --srcdir option.  We are building in place.
 
9021
  .)  # We are building in place.
8153
9022
    ac_srcdir=.
8154
 
    if test -z "$ac_top_builddir"; then
8155
 
       ac_top_srcdir=.
8156
 
    else
8157
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8158
 
    fi ;;
8159
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
9023
    ac_top_srcdir=$ac_top_builddir_sub
 
9024
    ac_abs_top_srcdir=$ac_pwd ;;
 
9025
  [\\/]* | ?:[\\/]* )  # Absolute name.
8160
9026
    ac_srcdir=$srcdir$ac_dir_suffix;
8161
 
    ac_top_srcdir=$srcdir ;;
8162
 
  *) # Relative path.
8163
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8164
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8165
 
esac
8166
 
 
8167
 
# Do not use `cd foo && pwd` to compute absolute paths, because
8168
 
# the directories may not exist.
8169
 
case `pwd` in
8170
 
.) ac_abs_builddir="$ac_dir";;
8171
 
*)
8172
 
  case "$ac_dir" in
8173
 
  .) ac_abs_builddir=`pwd`;;
8174
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8175
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8176
 
  esac;;
8177
 
esac
8178
 
case $ac_abs_builddir in
8179
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
8180
 
*)
8181
 
  case ${ac_top_builddir}. in
8182
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
8183
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8184
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8185
 
  esac;;
8186
 
esac
8187
 
case $ac_abs_builddir in
8188
 
.) ac_abs_srcdir=$ac_srcdir;;
8189
 
*)
8190
 
  case $ac_srcdir in
8191
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
8192
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8193
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8194
 
  esac;;
8195
 
esac
8196
 
case $ac_abs_builddir in
8197
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
8198
 
*)
8199
 
  case $ac_top_srcdir in
8200
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
8201
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8202
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8203
 
  esac;;
8204
 
esac
8205
 
 
 
9027
    ac_top_srcdir=$srcdir
 
9028
    ac_abs_top_srcdir=$srcdir ;;
 
9029
  *) # Relative name.
 
9030
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
9031
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
9032
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
9033
esac
 
9034
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
9035
 
 
9036
 
 
9037
  case $ac_mode in
 
9038
  :F)
 
9039
  #
 
9040
  # CONFIG_FILE
 
9041
  #
8206
9042
 
8207
9043
  case $INSTALL in
8208
9044
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8209
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
9045
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8210
9046
  esac
8211
 
 
8212
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
8213
 
  # use $as_me), people would be surprised to read:
8214
 
  #    /* config.h.  Generated by config.status.  */
8215
 
  if test x"$ac_file" = x-; then
8216
 
    configure_input=
8217
 
  else
8218
 
    configure_input="$ac_file.  "
8219
 
  fi
8220
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
8221
 
                                     sed 's,.*/,,'` by configure."
8222
 
 
8223
 
  # First look for the input files in the build tree, otherwise in the
8224
 
  # src tree.
8225
 
  ac_file_inputs=`IFS=:
8226
 
    for f in $ac_file_in; do
8227
 
      case $f in
8228
 
      -) echo $tmp/stdin ;;
8229
 
      [\\/$]*)
8230
 
         # Absolute (can't be DOS-style, as IFS=:)
8231
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8232
 
echo "$as_me: error: cannot find input file: $f" >&2;}
8233
 
   { (exit 1); exit 1; }; }
8234
 
         echo "$f";;
8235
 
      *) # Relative
8236
 
         if test -f "$f"; then
8237
 
           # Build tree
8238
 
           echo "$f"
8239
 
         elif test -f "$srcdir/$f"; then
8240
 
           # Source tree
8241
 
           echo "$srcdir/$f"
8242
 
         else
8243
 
           # /dev/null tree
8244
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8245
 
echo "$as_me: error: cannot find input file: $f" >&2;}
8246
 
   { (exit 1); exit 1; }; }
8247
 
         fi;;
8248
 
      esac
8249
 
    done` || { (exit 1); exit 1; }
8250
 
 
8251
 
  if test x"$ac_file" != x-; then
8252
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
8253
 
echo "$as_me: creating $ac_file" >&6;}
8254
 
    rm -f "$ac_file"
8255
 
  fi
8256
 
_ACEOF
 
9047
_ACEOF
 
9048
 
 
9049
cat >>$CONFIG_STATUS <<\_ACEOF
 
9050
# If the template does not know about datarootdir, expand it.
 
9051
# FIXME: This hack should be removed a few years after 2.60.
 
9052
ac_datarootdir_hack=; ac_datarootdir_seen=
 
9053
 
 
9054
case `sed -n '/datarootdir/ {
 
9055
  p
 
9056
  q
 
9057
}
 
9058
/@datadir@/p
 
9059
/@docdir@/p
 
9060
/@infodir@/p
 
9061
/@localedir@/p
 
9062
/@mandir@/p
 
9063
' $ac_file_inputs` in
 
9064
*datarootdir*) ac_datarootdir_seen=yes;;
 
9065
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
9066
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
9067
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
9068
_ACEOF
 
9069
cat >>$CONFIG_STATUS <<_ACEOF
 
9070
  ac_datarootdir_hack='
 
9071
  s&@datadir@&$datadir&g
 
9072
  s&@docdir@&$docdir&g
 
9073
  s&@infodir@&$infodir&g
 
9074
  s&@localedir@&$localedir&g
 
9075
  s&@mandir@&$mandir&g
 
9076
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
9077
esac
 
9078
_ACEOF
 
9079
 
 
9080
# Neutralize VPATH when `$srcdir' = `.'.
 
9081
# Shell code in configure.ac might set extrasub.
 
9082
# FIXME: do we really want to maintain this feature?
8257
9083
cat >>$CONFIG_STATUS <<_ACEOF
8258
9084
  sed "$ac_vpsub
8259
9085
$extrasub
8261
9087
cat >>$CONFIG_STATUS <<\_ACEOF
8262
9088
:t
8263
9089
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8264
 
s,@configure_input@,$configure_input,;t t
8265
 
s,@srcdir@,$ac_srcdir,;t t
8266
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
8267
 
s,@top_srcdir@,$ac_top_srcdir,;t t
8268
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8269
 
s,@builddir@,$ac_builddir,;t t
8270
 
s,@abs_builddir@,$ac_abs_builddir,;t t
8271
 
s,@top_builddir@,$ac_top_builddir,;t t
8272
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8273
 
s,@INSTALL@,$ac_INSTALL,;t t
8274
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8275
 
  rm -f $tmp/stdin
8276
 
  if test x"$ac_file" != x-; then
8277
 
    mv $tmp/out $ac_file
8278
 
  else
8279
 
    cat $tmp/out
8280
 
    rm -f $tmp/out
8281
 
  fi
8282
 
 
8283
 
done
 
9090
s&@configure_input@&$configure_input&;t t
 
9091
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
9092
s&@srcdir@&$ac_srcdir&;t t
 
9093
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
9094
s&@top_srcdir@&$ac_top_srcdir&;t t
 
9095
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
9096
s&@builddir@&$ac_builddir&;t t
 
9097
s&@abs_builddir@&$ac_abs_builddir&;t t
 
9098
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
9099
s&@INSTALL@&$ac_INSTALL&;t t
 
9100
$ac_datarootdir_hack
 
9101
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
9102
 
 
9103
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
9104
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
9105
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
9106
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
9107
which seems to be undefined.  Please make sure it is defined." >&5
 
9108
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
9109
which seems to be undefined.  Please make sure it is defined." >&2;}
 
9110
 
 
9111
  rm -f "$tmp/stdin"
 
9112
  case $ac_file in
 
9113
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
9114
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
9115
  esac
 
9116
 ;;
 
9117
  :H)
 
9118
  #
 
9119
  # CONFIG_HEADER
 
9120
  #
8284
9121
_ACEOF
8285
 
cat >>$CONFIG_STATUS <<\_ACEOF
8286
 
 
8287
 
#
8288
 
# CONFIG_HEADER section.
8289
 
#
8290
 
 
8291
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8292
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
8293
 
#
8294
 
# ac_d sets the value in "#define NAME VALUE" lines.
8295
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
8296
 
ac_dB='[         ].*$,\1#\2'
 
9122
 
 
9123
# Transform confdefs.h into a sed script `conftest.defines', that
 
9124
# substitutes the proper values into config.h.in to produce config.h.
 
9125
rm -f conftest.defines conftest.tail
 
9126
# First, append a space to every undef/define line, to ease matching.
 
9127
echo 's/$/ /' >conftest.defines
 
9128
# Then, protect against being on the right side of a sed subst, or in
 
9129
# an unquoted here document, in config.status.  If some macros were
 
9130
# called several times there might be several #defines for the same
 
9131
# symbol, which is useless.  But do not sort them, since the last
 
9132
# AC_DEFINE must be honored.
 
9133
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
9134
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
9135
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
9136
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
9137
# just an empty string.
 
9138
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
9139
ac_dB='\\)[      (].*,\\1define\\2'
8297
9140
ac_dC=' '
8298
 
ac_dD=',;t'
8299
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8300
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8301
 
ac_uB='$,\1#\2define\3'
8302
 
ac_uC=' '
8303
 
ac_uD=',;t'
8304
 
 
8305
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8306
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8307
 
  case $ac_file in
8308
 
  - | *:- | *:-:* ) # input from stdin
8309
 
        cat >$tmp/stdin
8310
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8311
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8312
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8313
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8314
 
  * )   ac_file_in=$ac_file.in ;;
8315
 
  esac
8316
 
 
8317
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8318
 
echo "$as_me: creating $ac_file" >&6;}
8319
 
 
8320
 
  # First look for the input files in the build tree, otherwise in the
8321
 
  # src tree.
8322
 
  ac_file_inputs=`IFS=:
8323
 
    for f in $ac_file_in; do
8324
 
      case $f in
8325
 
      -) echo $tmp/stdin ;;
8326
 
      [\\/$]*)
8327
 
         # Absolute (can't be DOS-style, as IFS=:)
8328
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8329
 
echo "$as_me: error: cannot find input file: $f" >&2;}
8330
 
   { (exit 1); exit 1; }; }
8331
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
8332
 
         echo "$f";;
8333
 
      *) # Relative
8334
 
         if test -f "$f"; then
8335
 
           # Build tree
8336
 
           echo "$f"
8337
 
         elif test -f "$srcdir/$f"; then
8338
 
           # Source tree
8339
 
           echo "$srcdir/$f"
8340
 
         else
8341
 
           # /dev/null tree
8342
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8343
 
echo "$as_me: error: cannot find input file: $f" >&2;}
8344
 
   { (exit 1); exit 1; }; }
8345
 
         fi;;
8346
 
      esac
8347
 
    done` || { (exit 1); exit 1; }
8348
 
  # Remove the trailing spaces.
8349
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
8350
 
 
8351
 
_ACEOF
8352
 
 
8353
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
8354
 
# `conftest.undefs', that substitutes the proper values into
8355
 
# config.h.in to produce config.h.  The first handles `#define'
8356
 
# templates, and the second `#undef' templates.
8357
 
# And first: Protect against being on the right side of a sed subst in
8358
 
# config.status.  Protect against being in an unquoted here document
8359
 
# in config.status.
8360
 
rm -f conftest.defines conftest.undefs
8361
 
# Using a here document instead of a string reduces the quoting nightmare.
8362
 
# Putting comments in sed scripts is not portable.
8363
 
#
8364
 
# `end' is used to avoid that the second main sed command (meant for
8365
 
# 0-ary CPP macros) applies to n-ary macro definitions.
8366
 
# See the Autoconf documentation for `clear'.
8367
 
cat >confdef2sed.sed <<\_ACEOF
8368
 
s/[\\&,]/\\&/g
8369
 
s,[\\$`],\\&,g
8370
 
t clear
8371
 
: clear
8372
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8373
 
t end
8374
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8375
 
: end
8376
 
_ACEOF
8377
 
# If some macros were called several times there might be several times
8378
 
# the same #defines, which is useless.  Nevertheless, we may not want to
8379
 
# sort them, since we want the *last* AC-DEFINE to be honored.
8380
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8381
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8382
 
rm -f confdef2sed.sed
8383
 
 
8384
 
# This sed command replaces #undef with comments.  This is necessary, for
 
9141
ac_dD=' ,'
 
9142
 
 
9143
uniq confdefs.h |
 
9144
  sed -n '
 
9145
        t rset
 
9146
        :rset
 
9147
        s/^[     ]*#[    ]*define[       ][      ]*//
 
9148
        t ok
 
9149
        d
 
9150
        :ok
 
9151
        s/[\\&,]/\\&/g
 
9152
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
9153
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
9154
  ' >>conftest.defines
 
9155
 
 
9156
# Remove the space that was appended to ease matching.
 
9157
# Then replace #undef with comments.  This is necessary, for
8385
9158
# example, in the case of _POSIX_SOURCE, which is predefined and required
8386
9159
# on some systems where configure will not decide to define it.
8387
 
cat >>conftest.undefs <<\_ACEOF
8388
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
9160
# (The regexp can be short, since the line contains either #define or #undef.)
 
9161
echo 's/ $//
 
9162
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
9163
 
 
9164
# Break up conftest.defines:
 
9165
ac_max_sed_lines=50
 
9166
 
 
9167
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
9168
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
9169
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
9170
# et cetera.
 
9171
ac_in='$ac_file_inputs'
 
9172
ac_out='"$tmp/out1"'
 
9173
ac_nxt='"$tmp/out2"'
 
9174
 
 
9175
while :
 
9176
do
 
9177
  # Write a here document:
 
9178
    cat >>$CONFIG_STATUS <<_ACEOF
 
9179
    # First, check the format of the line:
 
9180
    cat >"\$tmp/defines.sed" <<\\CEOF
 
9181
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
9182
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
9183
b
 
9184
:def
8389
9185
_ACEOF
8390
 
 
8391
 
# Break up conftest.defines because some shells have a limit on the size
8392
 
# of here documents, and old seds have small limits too (100 cmds).
8393
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8394
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8395
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8396
 
echo '  :' >>$CONFIG_STATUS
8397
 
rm -f conftest.tail
8398
 
while grep . conftest.defines >/dev/null
8399
 
do
8400
 
  # Write a limited-size here document to $tmp/defines.sed.
8401
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8402
 
  # Speed up: don't consider the non `#define' lines.
8403
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
8404
 
  # Work around the forget-to-reset-the-flag bug.
8405
 
  echo 't clr' >>$CONFIG_STATUS
8406
 
  echo ': clr' >>$CONFIG_STATUS
8407
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
9186
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8408
9187
  echo 'CEOF
8409
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
8410
 
  rm -f $tmp/in
8411
 
  mv $tmp/out $tmp/in
8412
 
' >>$CONFIG_STATUS
8413
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
9188
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
9189
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
9190
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
9191
  grep . conftest.tail >/dev/null || break
8414
9192
  rm -f conftest.defines
8415
9193
  mv conftest.tail conftest.defines
8416
9194
done
8417
 
rm -f conftest.defines
8418
 
echo '  fi # grep' >>$CONFIG_STATUS
8419
 
echo >>$CONFIG_STATUS
8420
 
 
8421
 
# Break up conftest.undefs because some shells have a limit on the size
8422
 
# of here documents, and old seds have small limits too (100 cmds).
8423
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
8424
 
rm -f conftest.tail
8425
 
while grep . conftest.undefs >/dev/null
8426
 
do
8427
 
  # Write a limited-size here document to $tmp/undefs.sed.
8428
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8429
 
  # Speed up: don't consider the non `#undef'
8430
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
8431
 
  # Work around the forget-to-reset-the-flag bug.
8432
 
  echo 't clr' >>$CONFIG_STATUS
8433
 
  echo ': clr' >>$CONFIG_STATUS
8434
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8435
 
  echo 'CEOF
8436
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8437
 
  rm -f $tmp/in
8438
 
  mv $tmp/out $tmp/in
8439
 
' >>$CONFIG_STATUS
8440
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8441
 
  rm -f conftest.undefs
8442
 
  mv conftest.tail conftest.undefs
8443
 
done
8444
 
rm -f conftest.undefs
8445
 
 
 
9195
rm -f conftest.defines conftest.tail
 
9196
 
 
9197
echo "ac_result=$ac_in" >>$CONFIG_STATUS
8446
9198
cat >>$CONFIG_STATUS <<\_ACEOF
8447
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
8448
 
  # use $as_me), people would be surprised to read:
8449
 
  #    /* config.h.  Generated by config.status.  */
8450
 
  if test x"$ac_file" = x-; then
8451
 
    echo "/* Generated by configure.  */" >$tmp/config.h
8452
 
  else
8453
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
8454
 
  fi
8455
 
  cat $tmp/in >>$tmp/config.h
8456
 
  rm -f $tmp/in
8457
9199
  if test x"$ac_file" != x-; then
8458
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
9200
    echo "/* $configure_input  */" >"$tmp/config.h"
 
9201
    cat "$ac_result" >>"$tmp/config.h"
 
9202
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8459
9203
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8460
9204
echo "$as_me: $ac_file is unchanged" >&6;}
8461
9205
    else
8462
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8463
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8464
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
8465
 
         X"$ac_file" : 'X\(//\)$' \| \
8466
 
         X"$ac_file" : 'X\(/\)' \| \
8467
 
         .     : '\(.\)' 2>/dev/null ||
8468
 
echo X"$ac_file" |
8469
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8470
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8471
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8472
 
          /^X\(\/\).*/{ s//\1/; q; }
8473
 
          s/.*/./; q'`
8474
 
      { if $as_mkdir_p; then
8475
 
    mkdir -p "$ac_dir"
8476
 
  else
8477
 
    as_dir="$ac_dir"
8478
 
    as_dirs=
8479
 
    while test ! -d "$as_dir"; do
8480
 
      as_dirs="$as_dir $as_dirs"
8481
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8482
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8483
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
8484
 
         X"$as_dir" : 'X\(//\)$' \| \
8485
 
         X"$as_dir" : 'X\(/\)' \| \
8486
 
         .     : '\(.\)' 2>/dev/null ||
8487
 
echo X"$as_dir" |
8488
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8489
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8490
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8491
 
          /^X\(\/\).*/{ s//\1/; q; }
8492
 
          s/.*/./; q'`
8493
 
    done
8494
 
    test ! -n "$as_dirs" || mkdir $as_dirs
8495
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8496
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8497
 
   { (exit 1); exit 1; }; }; }
8498
 
 
8499
9206
      rm -f $ac_file
8500
 
      mv $tmp/config.h $ac_file
 
9207
      mv "$tmp/config.h" $ac_file
8501
9208
    fi
8502
9209
  else
8503
 
    cat $tmp/config.h
8504
 
    rm -f $tmp/config.h
 
9210
    echo "/* $configure_input  */"
 
9211
    cat "$ac_result"
8505
9212
  fi
 
9213
  rm -f "$tmp/out12"
 
9214
# Compute $ac_file's index in $config_headers.
 
9215
_am_stamp_count=1
 
9216
for _am_header in $config_headers :; do
 
9217
  case $_am_header in
 
9218
    $ac_file | $ac_file:* )
 
9219
      break ;;
 
9220
    * )
 
9221
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
9222
  esac
8506
9223
done
8507
 
_ACEOF
8508
 
cat >>$CONFIG_STATUS <<\_ACEOF
8509
 
 
8510
 
#
8511
 
# CONFIG_COMMANDS section.
8512
 
#
8513
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
8514
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8515
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8516
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8517
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8518
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
8519
 
         X"$ac_dest" : 'X\(//\)$' \| \
8520
 
         X"$ac_dest" : 'X\(/\)' \| \
8521
 
         .     : '\(.\)' 2>/dev/null ||
8522
 
echo X"$ac_dest" |
8523
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8524
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8525
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8526
 
          /^X\(\/\).*/{ s//\1/; q; }
8527
 
          s/.*/./; q'`
8528
 
  { if $as_mkdir_p; then
8529
 
    mkdir -p "$ac_dir"
 
9224
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 
9225
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9226
         X$ac_file : 'X\(//\)[^/]' \| \
 
9227
         X$ac_file : 'X\(//\)$' \| \
 
9228
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 
9229
echo X$ac_file |
 
9230
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9231
            s//\1/
 
9232
            q
 
9233
          }
 
9234
          /^X\(\/\/\)[^/].*/{
 
9235
            s//\1/
 
9236
            q
 
9237
          }
 
9238
          /^X\(\/\/\)$/{
 
9239
            s//\1/
 
9240
            q
 
9241
          }
 
9242
          /^X\(\/\).*/{
 
9243
            s//\1/
 
9244
            q
 
9245
          }
 
9246
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
9247
 ;;
 
9248
  
 
9249
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
9250
echo "$as_me: executing $ac_file commands" >&6;}
 
9251
 ;;
 
9252
  esac
 
9253
 
 
9254
 
 
9255
  case $ac_file$ac_mode in
 
9256
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
9257
  # Strip MF so we end up with the name of the file.
 
9258
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
9259
  # Check whether this is an Automake generated Makefile or not.
 
9260
  # We used to match only the files named `Makefile.in', but
 
9261
  # some people rename them; so instead we look at the file content.
 
9262
  # Grep'ing the first line is not enough: some people post-process
 
9263
  # each Makefile.in and add a new line on top of each file to say so.
 
9264
  # So let's grep whole file.
 
9265
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
9266
    dirpart=`$as_dirname -- "$mf" ||
 
9267
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9268
         X"$mf" : 'X\(//\)[^/]' \| \
 
9269
         X"$mf" : 'X\(//\)$' \| \
 
9270
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
9271
echo X"$mf" |
 
9272
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9273
            s//\1/
 
9274
            q
 
9275
          }
 
9276
          /^X\(\/\/\)[^/].*/{
 
9277
            s//\1/
 
9278
            q
 
9279
          }
 
9280
          /^X\(\/\/\)$/{
 
9281
            s//\1/
 
9282
            q
 
9283
          }
 
9284
          /^X\(\/\).*/{
 
9285
            s//\1/
 
9286
            q
 
9287
          }
 
9288
          s/.*/./; q'`
8530
9289
  else
8531
 
    as_dir="$ac_dir"
 
9290
    continue
 
9291
  fi
 
9292
  # Extract the definition of DEPDIR, am__include, and am__quote
 
9293
  # from the Makefile without running `make'.
 
9294
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
9295
  test -z "$DEPDIR" && continue
 
9296
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
9297
  test -z "am__include" && continue
 
9298
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
9299
  # When using ansi2knr, U may be empty or an underscore; expand it
 
9300
  U=`sed -n 's/^U = //p' < "$mf"`
 
9301
  # Find all dependency output files, they are included files with
 
9302
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
9303
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
9304
  # expansion.
 
9305
  for file in `sed -n "
 
9306
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
9307
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
9308
    # Make sure the directory exists.
 
9309
    test -f "$dirpart/$file" && continue
 
9310
    fdir=`$as_dirname -- "$file" ||
 
9311
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9312
         X"$file" : 'X\(//\)[^/]' \| \
 
9313
         X"$file" : 'X\(//\)$' \| \
 
9314
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
9315
echo X"$file" |
 
9316
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9317
            s//\1/
 
9318
            q
 
9319
          }
 
9320
          /^X\(\/\/\)[^/].*/{
 
9321
            s//\1/
 
9322
            q
 
9323
          }
 
9324
          /^X\(\/\/\)$/{
 
9325
            s//\1/
 
9326
            q
 
9327
          }
 
9328
          /^X\(\/\).*/{
 
9329
            s//\1/
 
9330
            q
 
9331
          }
 
9332
          s/.*/./; q'`
 
9333
    { as_dir=$dirpart/$fdir
 
9334
  case $as_dir in #(
 
9335
  -*) as_dir=./$as_dir;;
 
9336
  esac
 
9337
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8532
9338
    as_dirs=
8533
 
    while test ! -d "$as_dir"; do
8534
 
      as_dirs="$as_dir $as_dirs"
8535
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
9339
    while :; do
 
9340
      case $as_dir in #(
 
9341
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
9342
      *) as_qdir=$as_dir;;
 
9343
      esac
 
9344
      as_dirs="'$as_qdir' $as_dirs"
 
9345
      as_dir=`$as_dirname -- "$as_dir" ||
8536
9346
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8537
9347
         X"$as_dir" : 'X\(//\)[^/]' \| \
8538
9348
         X"$as_dir" : 'X\(//\)$' \| \
8539
 
         X"$as_dir" : 'X\(/\)' \| \
8540
 
         .     : '\(.\)' 2>/dev/null ||
 
9349
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8541
9350
echo X"$as_dir" |
8542
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8543
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8544
 
          /^X\(\/\/\)$/{ s//\1/; q; }
8545
 
          /^X\(\/\).*/{ s//\1/; q; }
8546
 
          s/.*/./; q'`
 
9351
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9352
            s//\1/
 
9353
            q
 
9354
          }
 
9355
          /^X\(\/\/\)[^/].*/{
 
9356
            s//\1/
 
9357
            q
 
9358
          }
 
9359
          /^X\(\/\/\)$/{
 
9360
            s//\1/
 
9361
            q
 
9362
          }
 
9363
          /^X\(\/\).*/{
 
9364
            s//\1/
 
9365
            q
 
9366
          }
 
9367
          s/.*/./; q'`
 
9368
      test -d "$as_dir" && break
8547
9369
    done
8548
 
    test ! -n "$as_dirs" || mkdir $as_dirs
8549
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8550
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
9370
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
9371
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
9372
echo "$as_me: error: cannot create directory $as_dir" >&2;}
8551
9373
   { (exit 1); exit 1; }; }; }
8552
 
 
8553
 
  ac_builddir=.
8554
 
 
8555
 
if test "$ac_dir" != .; then
8556
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8557
 
  # A "../" for each directory in $ac_dir_suffix.
8558
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8559
 
else
8560
 
  ac_dir_suffix= ac_top_builddir=
8561
 
fi
8562
 
 
8563
 
case $srcdir in
8564
 
  .)  # No --srcdir option.  We are building in place.
8565
 
    ac_srcdir=.
8566
 
    if test -z "$ac_top_builddir"; then
8567
 
       ac_top_srcdir=.
8568
 
    else
8569
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8570
 
    fi ;;
8571
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
8572
 
    ac_srcdir=$srcdir$ac_dir_suffix;
8573
 
    ac_top_srcdir=$srcdir ;;
8574
 
  *) # Relative path.
8575
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8576
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8577
 
esac
8578
 
 
8579
 
# Do not use `cd foo && pwd` to compute absolute paths, because
8580
 
# the directories may not exist.
8581
 
case `pwd` in
8582
 
.) ac_abs_builddir="$ac_dir";;
8583
 
*)
8584
 
  case "$ac_dir" in
8585
 
  .) ac_abs_builddir=`pwd`;;
8586
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8587
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8588
 
  esac;;
8589
 
esac
8590
 
case $ac_abs_builddir in
8591
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
8592
 
*)
8593
 
  case ${ac_top_builddir}. in
8594
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
8595
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8596
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8597
 
  esac;;
8598
 
esac
8599
 
case $ac_abs_builddir in
8600
 
.) ac_abs_srcdir=$ac_srcdir;;
8601
 
*)
8602
 
  case $ac_srcdir in
8603
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
8604
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8605
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8606
 
  esac;;
8607
 
esac
8608
 
case $ac_abs_builddir in
8609
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
8610
 
*)
8611
 
  case $ac_top_srcdir in
8612
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
8613
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8614
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8615
 
  esac;;
8616
 
esac
8617
 
 
8618
 
 
8619
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8620
 
echo "$as_me: executing $ac_dest commands" >&6;}
8621
 
  case $ac_dest in
8622
 
    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
 
9374
    # echo "creating $dirpart/$file"
 
9375
    echo '# dummy' > "$dirpart/$file"
 
9376
  done
 
9377
done
 
9378
 ;;
 
9379
 
8623
9380
  esac
8624
 
done
8625
 
_ACEOF
 
9381
done # for ac_tag
8626
9382
 
8627
 
cat >>$CONFIG_STATUS <<\_ACEOF
8628
9383
 
8629
9384
{ (exit 0); exit 0; }
8630
9385
_ACEOF