~ubuntu-branches/debian/stretch/assaultcube-data/stretch

« back to all changes in this revision

Viewing changes to source/enet/configure

  • Committer: Bazaar Package Importer
  • Author(s): Gonéri Le Bouder, Ansgar Burchardt, Gonéri Le Bouder
  • Date: 2010-04-02 23:37:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402233755-kf74fxwlu634o6vg
Tags: 1.0.4+repack1-1
[ Ansgar Burchardt ]
* debian/control: fix typo in short description

[ Gonéri Le Bouder ]
* Upgrade to 1.0.4
* bump standards-version to 3.8.4
* Add Depends: ${misc:Depends} just to avoid a lintian warning
* Add a debian/source/format file for the same reason

Show diffs side-by-side

added added

removed removed

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