~ubuntu-branches/ubuntu/karmic/x11-xserver-utils/karmic

« back to all changes in this revision

Viewing changes to xrdb/configure

  • Committer: Bazaar Package Importer
  • Author(s): Brice Goglin, Julien Cristau, Brice Goglin
  • Date: 2007-08-17 09:58:34 UTC
  • Revision ID: james.westby@ubuntu.com-20070817095834-ywge2nyzj1s3rqnd
Tags: 7.3+1
[ Julien Cristau ]
* iceauth 1.0.2.
  + removes blank line in the manpage (closes: #25285).
* xmodmap 1.0.3.
  + manpage updated to state that -pm is the default (closes: #236198)
* xgamma 1.0.2.
  + the manpage now explains how to print the gamma value more clearly
    (closes: #296021).
* xsetroot 1.0.2.
* xrdb 1.0.4.
  + fixes manpage typo (closes: #276286).
* Add upstream URL to debian/copyright, and update it from xgamma's COPYING
  file.

[ Brice Goglin ]
* Add menu entries for xrefresh and xvidtune.
* sessreg 1.0.3.
* xset 1.0.3.
* Add myself to Uploaders, and remove Branden with his permission.

Show diffs side-by-side

added added

removed removed

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