~ubuntu-branches/ubuntu/oneiric/attr/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2009-02-10 20:32:30 UTC
  • mfrom: (3.1.5 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090210203230-mnq7ww6dtzt7eew5
Tags: 1:2.4.43-2
Remove --enable-lib64=yes in Makefile (closes: #514017)

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