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

« back to all changes in this revision

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