OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [testbench/] [configure] - Blame information for rev 1264

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.