~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to src/modules/rlm_smsotp/configure

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2009-11-23 03:57:37 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20091123035737-zsgtzhfych8hir68
Tags: 2.1.7+dfsg-1
* Adopting the package, closes: #536623.
* New upstream version, closes: #513484.
  + Fixes the blooper in unlang evaluation logic, closes: #526175.
* Used quilt (and added README.source), and moved upstream file patching
  into debian/patches/. The source is no longer in collab-maint git
  (to make it simpler for me to finally get this out the door), but
  kept the .gitignore should we need that again.
* Dropped the dialup_admin/bin/backup_radacct patch (integrated upstream).
* Dropped the raddb/Makefile patch (problem no longer exists upstream).
* Dropped the lib/packet.c lib/radius.c main/listen.c patches (was from
  upstream 2.0.5 anyway).
* Dropped references to otp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Dropped references to snmp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Ship /etc/freeradius/modules/* in the freeradius package.
* Stop shipping sites-enabled symlinks in the package and instead create
  them only on initial install, thanks to Matej Vela, closes: #533396.
* Add export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" to the init script
  at the request of John Morrissey, closes: #550143.
* Stop installing /var/run/freeradius in the package to silence Lintian.
  The init script already recreates it at will.
* Remove executable bit from example.pl to silence Lintian.

Show diffs side-by-side

added added

removed removed

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