~ubuntu-branches/ubuntu/trusty/x11proto-core/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Stone
  • Date: 2005-07-22 18:25:10 UTC
  • Revision ID: james.westby@ubuntu.com-20050722182510-t2zzpzgwtbs5bpa9
Tags: upstream-6.8.99.15+cvs.20050722
ImportĀ upstreamĀ versionĀ 6.8.99.15+cvs.20050722

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