~ubuntu-branches/ubuntu/edgy/xauth/edgy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Stone
  • Date: 2005-07-26 21:45:42 UTC
  • Revision ID: james.westby@ubuntu.com-20050726214542-0c1gsmulfz6f3fff
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

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