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 1266

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 1266 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 CFLAGS LDFLAGS CPPFLAGS EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP EGREP CCAS CCASFLAGS MAKE_SHELL TESTS_ENV OR1K_SRCDIR OR1K_EXCEPT_TRUE OR1K_EXCEPT_FALSE INCLUDES LIBOBJS LTLIBOBJS'
276 1264 jurem
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
rm -f .deps 2>/dev/null
2097
mkdir .deps 2>/dev/null
2098
if test -d .deps; then
2099
  DEPDIR=.deps
2100
else
2101
  # MS-DOS does not allow filenames that begin with a dot.
2102
  DEPDIR=_deps
2103
fi
2104
rmdir .deps 2>/dev/null
2105
 
2106
 
2107
          ac_config_commands="$ac_config_commands depfiles"
2108
 
2109
 
2110
am_make=${MAKE-make}
2111
cat > confinc << 'END'
2112
doit:
2113
        @echo done
2114
END
2115
# If we don't find an include directive, just comment out the code.
2116
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2117
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2118
am__include="#"
2119
am__quote=
2120
_am_result=none
2121
# First try GNU make style include.
2122
echo "include confinc" > confmf
2123
# We grep out `Entering directory' and `Leaving directory'
2124
# messages which can occur if `w' ends up in MAKEFLAGS.
2125
# In particular we don't look at `^make:' because GNU make might
2126
# be invoked under some other name (usually "gmake"), in which
2127
# case it prints its new name instead of `make'.
2128
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2129
   am__include=include
2130
   am__quote=
2131
   _am_result=GNU
2132
fi
2133
# Now try BSD make style include.
2134
if test "$am__include" = "#"; then
2135
   echo '.include "confinc"' > confmf
2136
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2137
      am__include=.include
2138
      am__quote="\""
2139
      _am_result=BSD
2140
   fi
2141
fi
2142
 
2143
 
2144
echo "$as_me:$LINENO: result: $_am_result" >&5
2145
echo "${ECHO_T}$_am_result" >&6
2146
rm -f confinc confmf
2147
 
2148
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2149
if test "${enable_dependency_tracking+set}" = set; then
2150
  enableval="$enable_dependency_tracking"
2151
 
2152
fi;
2153
if test "x$enable_dependency_tracking" != xno; then
2154
  am_depcomp="$ac_aux_dir/depcomp"
2155
  AMDEPBACKSLASH='\'
2156
fi
2157
 
2158
 
2159
if test "x$enable_dependency_tracking" != xno; then
2160
  AMDEP_TRUE=
2161
  AMDEP_FALSE='#'
2162
else
2163
  AMDEP_TRUE='#'
2164
  AMDEP_FALSE=
2165
fi
2166
 
2167
 
2168
 
2169 1249 lampret
ac_ext=c
2170
ac_cpp='$CPP $CPPFLAGS'
2171
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2172
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2173
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2174
if test -n "$ac_tool_prefix"; then
2175
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2176
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2177 1264 jurem
echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 1249 lampret
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2179
if test "${ac_cv_prog_CC+set}" = set; then
2180
  echo $ECHO_N "(cached) $ECHO_C" >&6
2181 889 ivang
else
2182 1249 lampret
  if test -n "$CC"; then
2183
  ac_cv_prog_CC="$CC" # Let the user override the test.
2184 889 ivang
else
2185 1264 jurem
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186
for as_dir in $PATH
2187
do
2188
  IFS=$as_save_IFS
2189
  test -z "$as_dir" && as_dir=.
2190
  for ac_exec_ext in '' $ac_executable_extensions; do
2191
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2192
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2193
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194
    break 2
2195
  fi
2196 1249 lampret
done
2197 1264 jurem
done
2198 889 ivang
 
2199
fi
2200 1249 lampret
fi
2201
CC=$ac_cv_prog_CC
2202
if test -n "$CC"; then
2203 1264 jurem
  echo "$as_me:$LINENO: result: $CC" >&5
2204 1249 lampret
echo "${ECHO_T}$CC" >&6
2205 889 ivang
else
2206 1264 jurem
  echo "$as_me:$LINENO: result: no" >&5
2207 1249 lampret
echo "${ECHO_T}no" >&6
2208 889 ivang
fi
2209
 
2210
fi
2211 1249 lampret
if test -z "$ac_cv_prog_CC"; then
2212
  ac_ct_CC=$CC
2213
  # Extract the first word of "gcc", so it can be a program name with args.
2214
set dummy gcc; ac_word=$2
2215 1264 jurem
echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 1249 lampret
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2217
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2218
  echo $ECHO_N "(cached) $ECHO_C" >&6
2219 889 ivang
else
2220 1249 lampret
  if test -n "$ac_ct_CC"; then
2221
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2222 889 ivang
else
2223 1264 jurem
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224
for as_dir in $PATH
2225
do
2226
  IFS=$as_save_IFS
2227
  test -z "$as_dir" && as_dir=.
2228
  for ac_exec_ext in '' $ac_executable_extensions; do
2229
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2230
    ac_cv_prog_ac_ct_CC="gcc"
2231
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232
    break 2
2233
  fi
2234 1249 lampret
done
2235 1264 jurem
done
2236 1249 lampret
 
2237 889 ivang
fi
2238
fi
2239 1249 lampret
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2240
if test -n "$ac_ct_CC"; then
2241 1264 jurem
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2242 1249 lampret
echo "${ECHO_T}$ac_ct_CC" >&6
2243 889 ivang
else
2244 1264 jurem
  echo "$as_me:$LINENO: result: no" >&5
2245 1249 lampret
echo "${ECHO_T}no" >&6
2246 889 ivang
fi
2247
 
2248 1249 lampret
  CC=$ac_ct_CC
2249 889 ivang
else
2250 1249 lampret
  CC="$ac_cv_prog_CC"
2251 889 ivang
fi
2252
 
2253 1249 lampret
if test -z "$CC"; then
2254
  if test -n "$ac_tool_prefix"; then
2255
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2256
set dummy ${ac_tool_prefix}cc; 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
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}cc"
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 "cc", so it can be a program name with args.
2294
set dummy cc; 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="cc"
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 889 ivang
 
2317
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
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 224 markom
else
2330 1249 lampret
  CC="$ac_cv_prog_CC"
2331 224 markom
fi
2332 1249 lampret
 
2333 224 markom
fi
2334
if test -z "$CC"; then
2335
  # Extract the first word of "cc", so it can be a program name with args.
2336
set dummy 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 224 markom
else
2342
  if test -n "$CC"; then
2343
  ac_cv_prog_CC="$CC" # Let the user override the test.
2344
else
2345
  ac_prog_rejected=no
2346 1264 jurem
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347
for as_dir in $PATH
2348
do
2349
  IFS=$as_save_IFS
2350
  test -z "$as_dir" && as_dir=.
2351
  for ac_exec_ext in '' $ac_executable_extensions; do
2352
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2354
       ac_prog_rejected=yes
2355
       continue
2356
     fi
2357
    ac_cv_prog_CC="cc"
2358
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359
    break 2
2360
  fi
2361 1249 lampret
done
2362 1264 jurem
done
2363 1249 lampret
 
2364 224 markom
if test $ac_prog_rejected = yes; then
2365
  # We found a bogon in the path, so make sure we never use it.
2366
  set dummy $ac_cv_prog_CC
2367
  shift
2368 1249 lampret
  if test $# != 0; then
2369 224 markom
    # We chose a different compiler from the bogus one.
2370
    # However, it has the same basename, so the bogon will be chosen
2371
    # first if we set CC to just the basename; use the full file name.
2372
    shift
2373 1264 jurem
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2374 224 markom
  fi
2375
fi
2376
fi
2377
fi
2378 1249 lampret
CC=$ac_cv_prog_CC
2379 224 markom
if test -n "$CC"; then
2380 1264 jurem
  echo "$as_me:$LINENO: result: $CC" >&5
2381 1249 lampret
echo "${ECHO_T}$CC" >&6
2382 224 markom
else
2383 1264 jurem
  echo "$as_me:$LINENO: result: no" >&5
2384 1249 lampret
echo "${ECHO_T}no" >&6
2385 224 markom
fi
2386
 
2387 1249 lampret
fi
2388
if test -z "$CC"; then
2389
  if test -n "$ac_tool_prefix"; then
2390
  for ac_prog in cl
2391
  do
2392
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2393
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2394 1264 jurem
echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 1249 lampret
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2396
if test "${ac_cv_prog_CC+set}" = set; then
2397
  echo $ECHO_N "(cached) $ECHO_C" >&6
2398 224 markom
else
2399
  if test -n "$CC"; then
2400
  ac_cv_prog_CC="$CC" # Let the user override the test.
2401
else
2402 1264 jurem
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403
for as_dir in $PATH
2404
do
2405
  IFS=$as_save_IFS
2406
  test -z "$as_dir" && as_dir=.
2407
  for ac_exec_ext in '' $ac_executable_extensions; do
2408
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2410
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411
    break 2
2412
  fi
2413 1249 lampret
done
2414 1264 jurem
done
2415 1249 lampret
 
2416 224 markom
fi
2417
fi
2418 1249 lampret
CC=$ac_cv_prog_CC
2419 224 markom
if test -n "$CC"; then
2420 1264 jurem
  echo "$as_me:$LINENO: result: $CC" >&5
2421 1249 lampret
echo "${ECHO_T}$CC" >&6
2422 224 markom
else
2423 1264 jurem
  echo "$as_me:$LINENO: result: no" >&5
2424 1249 lampret
echo "${ECHO_T}no" >&6
2425 224 markom
fi
2426 1249 lampret
 
2427
    test -n "$CC" && break
2428
  done
2429 224 markom
fi
2430 1249 lampret
if test -z "$CC"; then
2431
  ac_ct_CC=$CC
2432
  for ac_prog in cl
2433
do
2434
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2435
set dummy $ac_prog; ac_word=$2
2436 1264 jurem
echo "$as_me:$LINENO: checking for $ac_word" >&5
2437 1249 lampret
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2438
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2439
  echo $ECHO_N "(cached) $ECHO_C" >&6
2440
else
2441
  if test -n "$ac_ct_CC"; then
2442
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2443
else
2444 1264 jurem
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445
for as_dir in $PATH
2446
do
2447
  IFS=$as_save_IFS
2448
  test -z "$as_dir" && as_dir=.
2449
  for ac_exec_ext in '' $ac_executable_extensions; do
2450
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2451
    ac_cv_prog_ac_ct_CC="$ac_prog"
2452
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453
    break 2
2454
  fi
2455 1249 lampret
done
2456 1264 jurem
done
2457 224 markom
 
2458 1249 lampret
fi
2459
fi
2460
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2461
if test -n "$ac_ct_CC"; then
2462 1264 jurem
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2463 1249 lampret
echo "${ECHO_T}$ac_ct_CC" >&6
2464
else
2465 1264 jurem
  echo "$as_me:$LINENO: result: no" >&5
2466 1249 lampret
echo "${ECHO_T}no" >&6
2467
fi
2468 224 markom
 
2469 1249 lampret
  test -n "$ac_ct_CC" && break
2470
done
2471 224 markom
 
2472 1249 lampret
  CC=$ac_ct_CC
2473
fi
2474 224 markom
 
2475 1249 lampret
fi
2476
 
2477 1264 jurem
 
2478
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2479
See \`config.log' for more details." >&5
2480
echo "$as_me: error: no acceptable C compiler found in \$PATH
2481
See \`config.log' for more details." >&2;}
2482 1249 lampret
   { (exit 1); exit 1; }; }
2483
 
2484
# Provide some information about the compiler.
2485 1264 jurem
echo "$as_me:$LINENO:" \
2486 1249 lampret
     "checking for C compiler version" >&5
2487
ac_compiler=`set X $ac_compile; echo $2`
2488 1264 jurem
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
2489 1249 lampret
  (eval $ac_compiler --version &5) 2>&5
2490
  ac_status=$?
2491 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 1249 lampret
  (exit $ac_status); }
2493 1264 jurem
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5
2494 1249 lampret
  (eval $ac_compiler -v &5) 2>&5
2495
  ac_status=$?
2496 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 1249 lampret
  (exit $ac_status); }
2498 1264 jurem
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5
2499 1249 lampret
  (eval $ac_compiler -V &5) 2>&5
2500
  ac_status=$?
2501 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 1249 lampret
  (exit $ac_status); }
2503
 
2504
cat >conftest.$ac_ext <<_ACEOF
2505 1264 jurem
#line $LINENO "configure"
2506
/* confdefs.h.  */
2507
_ACEOF
2508
cat confdefs.h >>conftest.$ac_ext
2509
cat >>conftest.$ac_ext <<_ACEOF
2510
/* end confdefs.h.  */
2511 224 markom
 
2512 1249 lampret
int
2513
main ()
2514
{
2515
 
2516
  ;
2517
  return 0;
2518
}
2519
_ACEOF
2520
ac_clean_files_save=$ac_clean_files
2521 1264 jurem
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2522 1249 lampret
# Try to create an executable without -o first, disregard a.out.
2523
# It will help us diagnose broken compilers, and finding out an intuition
2524
# of exeext.
2525 1264 jurem
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2526 1249 lampret
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2527
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2528 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2529 1249 lampret
  (eval $ac_link_default) 2>&5
2530
  ac_status=$?
2531 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 1249 lampret
  (exit $ac_status); }; then
2533
  # Find the output, starting from the most likely.  This scheme is
2534
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2535
# resort.
2536 1264 jurem
 
2537
# Be careful to initialize this variable, since it used to be cached.
2538
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2539
ac_cv_exeext=
2540
# b.out is created by i960 compilers.
2541
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2542
do
2543
  test -f "$ac_file" || continue
2544 1249 lampret
  case $ac_file in
2545 1264 jurem
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2546
        ;;
2547
    conftest.$ac_ext )
2548
        # This is the source file.
2549
        ;;
2550
    [ab].out )
2551
        # We found the default executable, but exeext='' is most
2552
        # certainly right.
2553
        break;;
2554
    *.* )
2555
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2556
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2557
        # but it would be cool to find out if it's true.  Does anybody
2558
        # maintain Libtool? --akim.
2559
        export ac_cv_exeext
2560
        break;;
2561
    * )
2562
        break;;
2563 1249 lampret
  esac
2564
done
2565
else
2566
  echo "$as_me: failed program was:" >&5
2567 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
2568
 
2569
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2570
See \`config.log' for more details." >&5
2571
echo "$as_me: error: C compiler cannot create executables
2572
See \`config.log' for more details." >&2;}
2573 1249 lampret
   { (exit 77); exit 77; }; }
2574
fi
2575
 
2576
ac_exeext=$ac_cv_exeext
2577 1264 jurem
echo "$as_me:$LINENO: result: $ac_file" >&5
2578 1249 lampret
echo "${ECHO_T}$ac_file" >&6
2579
 
2580
# Check the compiler produces executables we can run.  If not, either
2581
# the compiler is broken, or we cross compile.
2582 1264 jurem
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2583 1249 lampret
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2584
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2585
# If not cross compiling, check that we can run a simple program.
2586
if test "$cross_compiling" != yes; then
2587
  if { ac_try='./$ac_file'
2588 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 1249 lampret
  (eval $ac_try) 2>&5
2590
  ac_status=$?
2591 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 1249 lampret
  (exit $ac_status); }; }; then
2593
    cross_compiling=no
2594 224 markom
  else
2595 1249 lampret
    if test "$cross_compiling" = maybe; then
2596
        cross_compiling=yes
2597
    else
2598 1264 jurem
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2599
If you meant to cross compile, use \`--host'.
2600
See \`config.log' for more details." >&5
2601 1249 lampret
echo "$as_me: error: cannot run C compiled programs.
2602 1264 jurem
If you meant to cross compile, use \`--host'.
2603
See \`config.log' for more details." >&2;}
2604 1249 lampret
   { (exit 1); exit 1; }; }
2605
    fi
2606 224 markom
  fi
2607
fi
2608 1264 jurem
echo "$as_me:$LINENO: result: yes" >&5
2609 1249 lampret
echo "${ECHO_T}yes" >&6
2610 224 markom
 
2611 1264 jurem
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2612 1249 lampret
ac_clean_files=$ac_clean_files_save
2613
# Check the compiler produces executables we can run.  If not, either
2614
# the compiler is broken, or we cross compile.
2615 1264 jurem
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2616 1249 lampret
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2617 1264 jurem
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2618 1249 lampret
echo "${ECHO_T}$cross_compiling" >&6
2619
 
2620 1264 jurem
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2621
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2622
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2623 1249 lampret
  (eval $ac_link) 2>&5
2624
  ac_status=$?
2625 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 1249 lampret
  (exit $ac_status); }; then
2627
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2628
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2629
# work properly (i.e., refer to `conftest.exe'), while it won't with
2630
# `rm'.
2631 1264 jurem
for ac_file in conftest.exe conftest conftest.*; do
2632
  test -f "$ac_file" || continue
2633 1249 lampret
  case $ac_file in
2634 1264 jurem
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2635 1249 lampret
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2636
          export ac_cv_exeext
2637
          break;;
2638
    * ) break;;
2639
  esac
2640
done
2641
else
2642 1264 jurem
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2643
See \`config.log' for more details." >&5
2644
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2645
See \`config.log' for more details." >&2;}
2646 1249 lampret
   { (exit 1); exit 1; }; }
2647 224 markom
fi
2648
 
2649 1249 lampret
rm -f conftest$ac_cv_exeext
2650 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2651 1249 lampret
echo "${ECHO_T}$ac_cv_exeext" >&6
2652
 
2653
rm -f conftest.$ac_ext
2654
EXEEXT=$ac_cv_exeext
2655
ac_exeext=$EXEEXT
2656 1264 jurem
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2657
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2658 1249 lampret
if test "${ac_cv_objext+set}" = set; then
2659
  echo $ECHO_N "(cached) $ECHO_C" >&6
2660 224 markom
else
2661 1249 lampret
  cat >conftest.$ac_ext <<_ACEOF
2662 1264 jurem
#line $LINENO "configure"
2663
/* confdefs.h.  */
2664
_ACEOF
2665
cat confdefs.h >>conftest.$ac_ext
2666
cat >>conftest.$ac_ext <<_ACEOF
2667
/* end confdefs.h.  */
2668 1249 lampret
 
2669
int
2670
main ()
2671
{
2672
 
2673
  ;
2674
  return 0;
2675
}
2676
_ACEOF
2677
rm -f conftest.o conftest.obj
2678 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2679 1249 lampret
  (eval $ac_compile) 2>&5
2680
  ac_status=$?
2681 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 1249 lampret
  (exit $ac_status); }; then
2683
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2684
  case $ac_file in
2685 1264 jurem
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2686 1249 lampret
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2687
       break;;
2688
  esac
2689
done
2690 224 markom
else
2691 1249 lampret
  echo "$as_me: failed program was:" >&5
2692 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
2693
 
2694
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2695
See \`config.log' for more details." >&5
2696
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2697
See \`config.log' for more details." >&2;}
2698 1249 lampret
   { (exit 1); exit 1; }; }
2699 224 markom
fi
2700 1249 lampret
 
2701
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2702 224 markom
fi
2703 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2704 1249 lampret
echo "${ECHO_T}$ac_cv_objext" >&6
2705
OBJEXT=$ac_cv_objext
2706
ac_objext=$OBJEXT
2707 1264 jurem
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2708 1249 lampret
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2709
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2710
  echo $ECHO_N "(cached) $ECHO_C" >&6
2711
else
2712
  cat >conftest.$ac_ext <<_ACEOF
2713 1264 jurem
#line $LINENO "configure"
2714
/* confdefs.h.  */
2715
_ACEOF
2716
cat confdefs.h >>conftest.$ac_ext
2717
cat >>conftest.$ac_ext <<_ACEOF
2718
/* end confdefs.h.  */
2719 224 markom
 
2720 1249 lampret
int
2721
main ()
2722
{
2723
#ifndef __GNUC__
2724
       choke me
2725
#endif
2726 224 markom
 
2727 1249 lampret
  ;
2728
  return 0;
2729
}
2730
_ACEOF
2731
rm -f conftest.$ac_objext
2732 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2733 1249 lampret
  (eval $ac_compile) 2>&5
2734
  ac_status=$?
2735 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 1249 lampret
  (exit $ac_status); } &&
2737
         { ac_try='test -s conftest.$ac_objext'
2738 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 1249 lampret
  (eval $ac_try) 2>&5
2740
  ac_status=$?
2741 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 1249 lampret
  (exit $ac_status); }; }; then
2743
  ac_compiler_gnu=yes
2744 224 markom
else
2745 1249 lampret
  echo "$as_me: failed program was:" >&5
2746 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
2747
 
2748 1249 lampret
ac_compiler_gnu=no
2749 224 markom
fi
2750 1249 lampret
rm -f conftest.$ac_objext conftest.$ac_ext
2751
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2752 224 markom
 
2753 1249 lampret
fi
2754 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2755 1249 lampret
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2756
GCC=`test $ac_compiler_gnu = yes && echo yes`
2757
ac_test_CFLAGS=${CFLAGS+set}
2758
ac_save_CFLAGS=$CFLAGS
2759
CFLAGS="-g"
2760 1264 jurem
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2761 1249 lampret
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2762
if test "${ac_cv_prog_cc_g+set}" = set; then
2763
  echo $ECHO_N "(cached) $ECHO_C" >&6
2764 224 markom
else
2765 1249 lampret
  cat >conftest.$ac_ext <<_ACEOF
2766 1264 jurem
#line $LINENO "configure"
2767
/* confdefs.h.  */
2768
_ACEOF
2769
cat confdefs.h >>conftest.$ac_ext
2770
cat >>conftest.$ac_ext <<_ACEOF
2771
/* end confdefs.h.  */
2772 1249 lampret
 
2773
int
2774
main ()
2775
{
2776
 
2777
  ;
2778
  return 0;
2779
}
2780
_ACEOF
2781
rm -f conftest.$ac_objext
2782 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2783 1249 lampret
  (eval $ac_compile) 2>&5
2784
  ac_status=$?
2785 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 1249 lampret
  (exit $ac_status); } &&
2787
         { ac_try='test -s conftest.$ac_objext'
2788 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 1249 lampret
  (eval $ac_try) 2>&5
2790
  ac_status=$?
2791 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 1249 lampret
  (exit $ac_status); }; }; then
2793 224 markom
  ac_cv_prog_cc_g=yes
2794
else
2795 1249 lampret
  echo "$as_me: failed program was:" >&5
2796 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
2797
 
2798 1249 lampret
ac_cv_prog_cc_g=no
2799 224 markom
fi
2800 1249 lampret
rm -f conftest.$ac_objext conftest.$ac_ext
2801 224 markom
fi
2802 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2803 1249 lampret
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2804 224 markom
if test "$ac_test_CFLAGS" = set; then
2805 1249 lampret
  CFLAGS=$ac_save_CFLAGS
2806 224 markom
elif test $ac_cv_prog_cc_g = yes; then
2807
  if test "$GCC" = yes; then
2808
    CFLAGS="-g -O2"
2809
  else
2810
    CFLAGS="-g"
2811
  fi
2812
else
2813
  if test "$GCC" = yes; then
2814
    CFLAGS="-O2"
2815
  else
2816
    CFLAGS=
2817
  fi
2818
fi
2819 1264 jurem
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2820
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2821
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2822
  echo $ECHO_N "(cached) $ECHO_C" >&6
2823
else
2824
  ac_cv_prog_cc_stdc=no
2825
ac_save_CC=$CC
2826
cat >conftest.$ac_ext <<_ACEOF
2827
#line $LINENO "configure"
2828
/* confdefs.h.  */
2829
_ACEOF
2830
cat confdefs.h >>conftest.$ac_ext
2831
cat >>conftest.$ac_ext <<_ACEOF
2832
/* end confdefs.h.  */
2833
#include 
2834
#include 
2835
#include 
2836
#include 
2837
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2838
struct buf { int x; };
2839
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2840
static char *e (p, i)
2841
     char **p;
2842
     int i;
2843
{
2844
  return p[i];
2845
}
2846
static char *f (char * (*g) (char **, int), char **p, ...)
2847
{
2848
  char *s;
2849
  va_list v;
2850
  va_start (v,p);
2851
  s = g (p, va_arg (v,int));
2852
  va_end (v);
2853
  return s;
2854
}
2855
int test (int i, double x);
2856
struct s1 {int (*f) (int a);};
2857
struct s2 {int (*f) (double a);};
2858
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2859
int argc;
2860
char **argv;
2861
int
2862
main ()
2863
{
2864
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2865
  ;
2866
  return 0;
2867
}
2868
_ACEOF
2869
# Don't try gcc -ansi; that turns off useful extensions and
2870
# breaks some systems' header files.
2871
# AIX                   -qlanglvl=ansi
2872
# Ultrix and OSF/1      -std1
2873
# HP-UX 10.20 and later -Ae
2874
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2875
# SVR4                  -Xc -D__EXTENSIONS__
2876
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2877
do
2878
  CC="$ac_save_CC $ac_arg"
2879
  rm -f conftest.$ac_objext
2880
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881
  (eval $ac_compile) 2>&5
2882
  ac_status=$?
2883
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884
  (exit $ac_status); } &&
2885
         { ac_try='test -s conftest.$ac_objext'
2886
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887
  (eval $ac_try) 2>&5
2888
  ac_status=$?
2889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890
  (exit $ac_status); }; }; then
2891
  ac_cv_prog_cc_stdc=$ac_arg
2892
break
2893
else
2894
  echo "$as_me: failed program was:" >&5
2895
sed 's/^/| /' conftest.$ac_ext >&5
2896
 
2897
fi
2898
rm -f conftest.$ac_objext
2899
done
2900
rm -f conftest.$ac_ext conftest.$ac_objext
2901
CC=$ac_save_CC
2902
 
2903
fi
2904
 
2905
case "x$ac_cv_prog_cc_stdc" in
2906
  x|xno)
2907
    echo "$as_me:$LINENO: result: none needed" >&5
2908
echo "${ECHO_T}none needed" >&6 ;;
2909
  *)
2910
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2911
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2912
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2913
esac
2914
 
2915 1249 lampret
# Some people use a C++ compiler to compile C.  Since we use `exit',
2916
# in C++ we need to declare it.  In case someone uses the same compiler
2917
# for both compiling C and C++ we need to have the C++ compiler decide
2918
# the declaration of exit, since it's the most demanding environment.
2919
cat >conftest.$ac_ext <<_ACEOF
2920
#ifndef __cplusplus
2921
  choke me
2922
#endif
2923
_ACEOF
2924
rm -f conftest.$ac_objext
2925 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2926 1249 lampret
  (eval $ac_compile) 2>&5
2927
  ac_status=$?
2928 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 1249 lampret
  (exit $ac_status); } &&
2930
         { ac_try='test -s conftest.$ac_objext'
2931 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 1249 lampret
  (eval $ac_try) 2>&5
2933
  ac_status=$?
2934 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 1249 lampret
  (exit $ac_status); }; }; then
2936
  for ac_declaration in \
2937
   ''\
2938
   '#include ' \
2939
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2940
   'extern "C" void std::exit (int); using std::exit;' \
2941
   'extern "C" void exit (int) throw ();' \
2942
   'extern "C" void exit (int);' \
2943
   'void exit (int);'
2944
do
2945
  cat >conftest.$ac_ext <<_ACEOF
2946 1264 jurem
#line $LINENO "configure"
2947
/* confdefs.h.  */
2948
_ACEOF
2949
cat confdefs.h >>conftest.$ac_ext
2950
cat >>conftest.$ac_ext <<_ACEOF
2951
/* end confdefs.h.  */
2952 1249 lampret
#include 
2953
$ac_declaration
2954
int
2955
main ()
2956
{
2957
exit (42);
2958
  ;
2959
  return 0;
2960
}
2961
_ACEOF
2962
rm -f conftest.$ac_objext
2963 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2964 1249 lampret
  (eval $ac_compile) 2>&5
2965
  ac_status=$?
2966 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 1249 lampret
  (exit $ac_status); } &&
2968
         { ac_try='test -s conftest.$ac_objext'
2969 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2970 1249 lampret
  (eval $ac_try) 2>&5
2971
  ac_status=$?
2972 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 1249 lampret
  (exit $ac_status); }; }; then
2974
  :
2975
else
2976
  echo "$as_me: failed program was:" >&5
2977 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
2978
 
2979 1249 lampret
continue
2980
fi
2981
rm -f conftest.$ac_objext conftest.$ac_ext
2982
  cat >conftest.$ac_ext <<_ACEOF
2983 1264 jurem
#line $LINENO "configure"
2984
/* confdefs.h.  */
2985
_ACEOF
2986
cat confdefs.h >>conftest.$ac_ext
2987
cat >>conftest.$ac_ext <<_ACEOF
2988
/* end confdefs.h.  */
2989 1249 lampret
$ac_declaration
2990
int
2991
main ()
2992
{
2993
exit (42);
2994
  ;
2995
  return 0;
2996
}
2997
_ACEOF
2998
rm -f conftest.$ac_objext
2999 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3000 1249 lampret
  (eval $ac_compile) 2>&5
3001
  ac_status=$?
3002 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 1249 lampret
  (exit $ac_status); } &&
3004
         { ac_try='test -s conftest.$ac_objext'
3005 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 1249 lampret
  (eval $ac_try) 2>&5
3007
  ac_status=$?
3008 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 1249 lampret
  (exit $ac_status); }; }; then
3010
  break
3011
else
3012
  echo "$as_me: failed program was:" >&5
3013 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3014
 
3015 1249 lampret
fi
3016
rm -f conftest.$ac_objext conftest.$ac_ext
3017
done
3018
rm -f conftest*
3019
if test -n "$ac_declaration"; then
3020
  echo '#ifdef __cplusplus' >>confdefs.h
3021
  echo $ac_declaration      >>confdefs.h
3022
  echo '#endif'             >>confdefs.h
3023
fi
3024 224 markom
 
3025
else
3026 1249 lampret
  echo "$as_me: failed program was:" >&5
3027 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3028
 
3029 1249 lampret
fi
3030
rm -f conftest.$ac_objext conftest.$ac_ext
3031
ac_ext=c
3032
ac_cpp='$CPP $CPPFLAGS'
3033
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3034
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3035
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3036
 
3037 1264 jurem
depcc="$CC"   am_compiler_list=
3038
 
3039
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3040
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3041
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3042
  echo $ECHO_N "(cached) $ECHO_C" >&6
3043
else
3044
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3045
  # We make a subdir and do the tests there.  Otherwise we can end up
3046
  # making bogus files that we don't know about and never remove.  For
3047
  # instance it was reported that on HP-UX the gcc test will end up
3048
  # making a dummy file named `D' -- because `-MD' means `put the output
3049
  # in D'.
3050
  mkdir conftest.dir
3051
  # Copy depcomp to subdir because otherwise we won't find it if we're
3052
  # using a relative directory.
3053
  cp "$am_depcomp" conftest.dir
3054
  cd conftest.dir
3055
 
3056
  am_cv_CC_dependencies_compiler_type=none
3057
  if test "$am_compiler_list" = ""; then
3058
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3059
  fi
3060
  for depmode in $am_compiler_list; do
3061
    # We need to recreate these files for each test, as the compiler may
3062
    # overwrite some of them when testing with obscure command lines.
3063
    # This happens at least with the AIX C compiler.
3064
    echo '#include "conftest.h"' > conftest.c
3065
    echo 'int i;' > conftest.h
3066
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3067
 
3068
    case $depmode in
3069
    nosideeffect)
3070
      # after this tag, mechanisms are not by side-effect, so they'll
3071
      # only be used when explicitly requested
3072
      if test "x$enable_dependency_tracking" = xyes; then
3073
        continue
3074
      else
3075
        break
3076
      fi
3077
      ;;
3078
    none) break ;;
3079
    esac
3080
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3081
    # mode.  It turns out that the SunPro C++ compiler does not properly
3082
    # handle `-M -o', and we need to detect this.
3083
    if depmode=$depmode \
3084
       source=conftest.c object=conftest.o \
3085
       depfile=conftest.Po tmpdepfile=conftest.TPo \
3086
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3087
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
3088
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3089
      am_cv_CC_dependencies_compiler_type=$depmode
3090
      break
3091
    fi
3092
  done
3093
 
3094
  cd ..
3095
  rm -rf conftest.dir
3096
else
3097
  am_cv_CC_dependencies_compiler_type=none
3098
fi
3099
 
3100
fi
3101
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3102
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3103
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3104
 
3105
 
3106
 
3107
 
3108
        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3109 1249 lampret
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3110
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3111
  echo $ECHO_N "(cached) $ECHO_C" >&6
3112
else
3113
  ac_check_lib_save_LIBS=$LIBS
3114
LIBS="-lcposix  $LIBS"
3115
cat >conftest.$ac_ext <<_ACEOF
3116 1264 jurem
#line $LINENO "configure"
3117
/* confdefs.h.  */
3118
_ACEOF
3119
cat confdefs.h >>conftest.$ac_ext
3120
cat >>conftest.$ac_ext <<_ACEOF
3121
/* end confdefs.h.  */
3122 1249 lampret
 
3123
/* Override any gcc2 internal prototype to avoid an error.  */
3124
#ifdef __cplusplus
3125
extern "C"
3126
#endif
3127
/* We use char because int might match the return type of a gcc2
3128
   builtin and then its argument prototype would still apply.  */
3129
char strerror ();
3130
int
3131
main ()
3132
{
3133
strerror ();
3134
  ;
3135
  return 0;
3136
}
3137
_ACEOF
3138
rm -f conftest.$ac_objext conftest$ac_exeext
3139 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3140 1249 lampret
  (eval $ac_link) 2>&5
3141
  ac_status=$?
3142 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 1249 lampret
  (exit $ac_status); } &&
3144
         { ac_try='test -s conftest$ac_exeext'
3145 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 1249 lampret
  (eval $ac_try) 2>&5
3147
  ac_status=$?
3148 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 1249 lampret
  (exit $ac_status); }; }; then
3150
  ac_cv_lib_cposix_strerror=yes
3151
else
3152
  echo "$as_me: failed program was:" >&5
3153 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3154
 
3155 1249 lampret
ac_cv_lib_cposix_strerror=no
3156
fi
3157
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3158
LIBS=$ac_check_lib_save_LIBS
3159
fi
3160 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3161 1249 lampret
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3162
if test $ac_cv_lib_cposix_strerror = yes; then
3163
  LIBS="$LIBS -lcposix"
3164
fi
3165
 
3166 1264 jurem
 
3167
 
3168 1249 lampret
ac_ext=c
3169
ac_cpp='$CPP $CPPFLAGS'
3170
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3171
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3172
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3173 1264 jurem
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3174 1249 lampret
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3175
# On Suns, sometimes $CPP names a directory.
3176
if test -n "$CPP" && test -d "$CPP"; then
3177
  CPP=
3178
fi
3179
if test -z "$CPP"; then
3180
  if test "${ac_cv_prog_CPP+set}" = set; then
3181
  echo $ECHO_N "(cached) $ECHO_C" >&6
3182
else
3183
      # Double quotes because CPP needs to be expanded
3184
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3185
    do
3186
      ac_preproc_ok=false
3187
for ac_c_preproc_warn_flag in '' yes
3188
do
3189
  # Use a header file that comes with gcc, so configuring glibc
3190
  # with a fresh cross-compiler works.
3191 1264 jurem
  # Prefer  to  if __STDC__ is defined, since
3192
  #  exists even on freestanding compilers.
3193 1249 lampret
  # On the NeXT, cc -E runs the code through the compiler's parser,
3194
  # not just through cpp. "Syntax error" is here to catch this case.
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
#ifdef __STDC__
3203
# include 
3204
#else
3205
# include 
3206
#endif
3207 1249 lampret
                     Syntax error
3208
_ACEOF
3209 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3210 1249 lampret
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3211
  ac_status=$?
3212 1264 jurem
  grep -v '^ *+' conftest.er1 >conftest.err
3213 1249 lampret
  rm -f conftest.er1
3214
  cat conftest.err >&5
3215 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 1249 lampret
  (exit $ac_status); } >/dev/null; then
3217
  if test -s conftest.err; then
3218
    ac_cpp_err=$ac_c_preproc_warn_flag
3219
  else
3220
    ac_cpp_err=
3221
  fi
3222
else
3223
  ac_cpp_err=yes
3224
fi
3225
if test -z "$ac_cpp_err"; then
3226
  :
3227
else
3228
  echo "$as_me: failed program was:" >&5
3229 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3230
 
3231 1249 lampret
  # Broken: fails on valid input.
3232
continue
3233
fi
3234
rm -f conftest.err conftest.$ac_ext
3235
 
3236
  # OK, works on sane cases.  Now check whether non-existent headers
3237
  # can be detected and how.
3238
  cat >conftest.$ac_ext <<_ACEOF
3239 1264 jurem
#line $LINENO "configure"
3240
/* confdefs.h.  */
3241
_ACEOF
3242
cat confdefs.h >>conftest.$ac_ext
3243
cat >>conftest.$ac_ext <<_ACEOF
3244
/* end confdefs.h.  */
3245 1249 lampret
#include 
3246
_ACEOF
3247 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3248 1249 lampret
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3249
  ac_status=$?
3250 1264 jurem
  grep -v '^ *+' conftest.er1 >conftest.err
3251 1249 lampret
  rm -f conftest.er1
3252
  cat conftest.err >&5
3253 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 1249 lampret
  (exit $ac_status); } >/dev/null; then
3255
  if test -s conftest.err; then
3256
    ac_cpp_err=$ac_c_preproc_warn_flag
3257
  else
3258
    ac_cpp_err=
3259
  fi
3260
else
3261
  ac_cpp_err=yes
3262
fi
3263
if test -z "$ac_cpp_err"; then
3264
  # Broken: success on invalid input.
3265
continue
3266
else
3267
  echo "$as_me: failed program was:" >&5
3268 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3269
 
3270 1249 lampret
  # Passes both tests.
3271
ac_preproc_ok=:
3272
break
3273
fi
3274
rm -f conftest.err conftest.$ac_ext
3275
 
3276
done
3277
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3278
rm -f conftest.err conftest.$ac_ext
3279
if $ac_preproc_ok; then
3280
  break
3281
fi
3282
 
3283
    done
3284
    ac_cv_prog_CPP=$CPP
3285
 
3286
fi
3287
  CPP=$ac_cv_prog_CPP
3288
else
3289
  ac_cv_prog_CPP=$CPP
3290
fi
3291 1264 jurem
echo "$as_me:$LINENO: result: $CPP" >&5
3292 1249 lampret
echo "${ECHO_T}$CPP" >&6
3293
ac_preproc_ok=false
3294
for ac_c_preproc_warn_flag in '' yes
3295
do
3296
  # Use a header file that comes with gcc, so configuring glibc
3297
  # with a fresh cross-compiler works.
3298 1264 jurem
  # Prefer  to  if __STDC__ is defined, since
3299
  #  exists even on freestanding compilers.
3300 1249 lampret
  # On the NeXT, cc -E runs the code through the compiler's parser,
3301
  # not just through cpp. "Syntax error" is here to catch this case.
3302
  cat >conftest.$ac_ext <<_ACEOF
3303 1264 jurem
#line $LINENO "configure"
3304
/* confdefs.h.  */
3305
_ACEOF
3306
cat confdefs.h >>conftest.$ac_ext
3307
cat >>conftest.$ac_ext <<_ACEOF
3308
/* end confdefs.h.  */
3309
#ifdef __STDC__
3310
# include 
3311
#else
3312
# include 
3313
#endif
3314 1249 lampret
                     Syntax error
3315
_ACEOF
3316 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3317 1249 lampret
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3318
  ac_status=$?
3319 1264 jurem
  grep -v '^ *+' conftest.er1 >conftest.err
3320 1249 lampret
  rm -f conftest.er1
3321
  cat conftest.err >&5
3322 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 1249 lampret
  (exit $ac_status); } >/dev/null; then
3324
  if test -s conftest.err; then
3325
    ac_cpp_err=$ac_c_preproc_warn_flag
3326
  else
3327
    ac_cpp_err=
3328
  fi
3329
else
3330
  ac_cpp_err=yes
3331
fi
3332
if test -z "$ac_cpp_err"; then
3333
  :
3334
else
3335
  echo "$as_me: failed program was:" >&5
3336 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3337
 
3338 1249 lampret
  # Broken: fails on valid input.
3339
continue
3340
fi
3341
rm -f conftest.err conftest.$ac_ext
3342
 
3343
  # OK, works on sane cases.  Now check whether non-existent headers
3344
  # can be detected and how.
3345
  cat >conftest.$ac_ext <<_ACEOF
3346 1264 jurem
#line $LINENO "configure"
3347
/* confdefs.h.  */
3348
_ACEOF
3349
cat confdefs.h >>conftest.$ac_ext
3350
cat >>conftest.$ac_ext <<_ACEOF
3351
/* end confdefs.h.  */
3352 1249 lampret
#include 
3353
_ACEOF
3354 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3355 1249 lampret
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3356
  ac_status=$?
3357 1264 jurem
  grep -v '^ *+' conftest.er1 >conftest.err
3358 1249 lampret
  rm -f conftest.er1
3359
  cat conftest.err >&5
3360 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 1249 lampret
  (exit $ac_status); } >/dev/null; then
3362
  if test -s conftest.err; then
3363
    ac_cpp_err=$ac_c_preproc_warn_flag
3364
  else
3365
    ac_cpp_err=
3366
  fi
3367
else
3368
  ac_cpp_err=yes
3369
fi
3370
if test -z "$ac_cpp_err"; then
3371
  # Broken: success on invalid input.
3372
continue
3373
else
3374
  echo "$as_me: failed program was:" >&5
3375 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3376
 
3377 1249 lampret
  # Passes both tests.
3378
ac_preproc_ok=:
3379
break
3380
fi
3381
rm -f conftest.err conftest.$ac_ext
3382
 
3383
done
3384
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3385
rm -f conftest.err conftest.$ac_ext
3386
if $ac_preproc_ok; then
3387
  :
3388
else
3389 1264 jurem
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3390
See \`config.log' for more details." >&5
3391
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3392
See \`config.log' for more details." >&2;}
3393 1249 lampret
   { (exit 1); exit 1; }; }
3394
fi
3395
 
3396
ac_ext=c
3397
ac_cpp='$CPP $CPPFLAGS'
3398
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3401
 
3402 1264 jurem
 
3403
echo "$as_me:$LINENO: checking for egrep" >&5
3404
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3405
if test "${ac_cv_prog_egrep+set}" = set; then
3406
  echo $ECHO_N "(cached) $ECHO_C" >&6
3407
else
3408
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3409
    then ac_cv_prog_egrep='grep -E'
3410
    else ac_cv_prog_egrep='egrep'
3411
    fi
3412
fi
3413
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3414
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3415
 EGREP=$ac_cv_prog_egrep
3416
 
3417
 
3418
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3419 1249 lampret
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3420
if test "${ac_cv_header_stdc+set}" = set; then
3421
  echo $ECHO_N "(cached) $ECHO_C" >&6
3422
else
3423
  cat >conftest.$ac_ext <<_ACEOF
3424 1264 jurem
#line $LINENO "configure"
3425
/* confdefs.h.  */
3426
_ACEOF
3427
cat confdefs.h >>conftest.$ac_ext
3428
cat >>conftest.$ac_ext <<_ACEOF
3429
/* end confdefs.h.  */
3430 1249 lampret
#include 
3431
#include 
3432
#include 
3433
#include 
3434
 
3435 1264 jurem
int
3436
main ()
3437
{
3438
 
3439
  ;
3440
  return 0;
3441
}
3442 1249 lampret
_ACEOF
3443 1264 jurem
rm -f conftest.$ac_objext
3444
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3445
  (eval $ac_compile) 2>&5
3446 1249 lampret
  ac_status=$?
3447 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448
  (exit $ac_status); } &&
3449
         { ac_try='test -s conftest.$ac_objext'
3450
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3451
  (eval $ac_try) 2>&5
3452
  ac_status=$?
3453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454
  (exit $ac_status); }; }; then
3455 1249 lampret
  ac_cv_header_stdc=yes
3456
else
3457
  echo "$as_me: failed program was:" >&5
3458 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3459
 
3460
ac_cv_header_stdc=no
3461 1249 lampret
fi
3462 1264 jurem
rm -f conftest.$ac_objext conftest.$ac_ext
3463 1249 lampret
 
3464
if test $ac_cv_header_stdc = yes; then
3465
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3466
  cat >conftest.$ac_ext <<_ACEOF
3467 1264 jurem
#line $LINENO "configure"
3468
/* confdefs.h.  */
3469
_ACEOF
3470
cat confdefs.h >>conftest.$ac_ext
3471
cat >>conftest.$ac_ext <<_ACEOF
3472
/* end confdefs.h.  */
3473 1249 lampret
#include 
3474
 
3475
_ACEOF
3476
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3477 1264 jurem
  $EGREP "memchr" >/dev/null 2>&1; then
3478 1249 lampret
  :
3479
else
3480
  ac_cv_header_stdc=no
3481
fi
3482
rm -f conftest*
3483
 
3484
fi
3485
 
3486
if test $ac_cv_header_stdc = yes; then
3487
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3488
  cat >conftest.$ac_ext <<_ACEOF
3489 1264 jurem
#line $LINENO "configure"
3490
/* confdefs.h.  */
3491
_ACEOF
3492
cat confdefs.h >>conftest.$ac_ext
3493
cat >>conftest.$ac_ext <<_ACEOF
3494
/* end confdefs.h.  */
3495 1249 lampret
#include 
3496
 
3497
_ACEOF
3498
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3499 1264 jurem
  $EGREP "free" >/dev/null 2>&1; then
3500 1249 lampret
  :
3501
else
3502
  ac_cv_header_stdc=no
3503
fi
3504
rm -f conftest*
3505
 
3506
fi
3507
 
3508
if test $ac_cv_header_stdc = yes; then
3509
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3510
  if test "$cross_compiling" = yes; then
3511
  :
3512
else
3513
  cat >conftest.$ac_ext <<_ACEOF
3514 1264 jurem
#line $LINENO "configure"
3515
/* confdefs.h.  */
3516
_ACEOF
3517
cat confdefs.h >>conftest.$ac_ext
3518
cat >>conftest.$ac_ext <<_ACEOF
3519
/* end confdefs.h.  */
3520 1249 lampret
#include 
3521
#if ((' ' & 0x0FF) == 0x020)
3522
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3523
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3524
#else
3525 1264 jurem
# define ISLOWER(c) \
3526
                   (('a' <= (c) && (c) <= 'i') \
3527 1249 lampret
                     || ('j' <= (c) && (c) <= 'r') \
3528
                     || ('s' <= (c) && (c) <= 'z'))
3529
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3530
#endif
3531
 
3532
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3533
int
3534
main ()
3535
{
3536
  int i;
3537
  for (i = 0; i < 256; i++)
3538
    if (XOR (islower (i), ISLOWER (i))
3539
        || toupper (i) != TOUPPER (i))
3540
      exit(2);
3541
  exit (0);
3542
}
3543
_ACEOF
3544
rm -f conftest$ac_exeext
3545 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3546 1249 lampret
  (eval $ac_link) 2>&5
3547
  ac_status=$?
3548 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 1249 lampret
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3550 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551 1249 lampret
  (eval $ac_try) 2>&5
3552
  ac_status=$?
3553 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 1249 lampret
  (exit $ac_status); }; }; then
3555
  :
3556
else
3557
  echo "$as_me: program exited with status $ac_status" >&5
3558
echo "$as_me: failed program was:" >&5
3559 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3560
 
3561
( exit $ac_status )
3562 1249 lampret
ac_cv_header_stdc=no
3563
fi
3564 1264 jurem
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3565 1249 lampret
fi
3566
fi
3567
fi
3568 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3569 1249 lampret
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3570
if test $ac_cv_header_stdc = yes; then
3571
 
3572 1264 jurem
cat >>confdefs.h <<\_ACEOF
3573 1249 lampret
#define STDC_HEADERS 1
3574 1264 jurem
_ACEOF
3575 1249 lampret
 
3576
fi
3577
 
3578 1264 jurem
 
3579 1266 jurem
# By default we simply use the C compiler to build assembly code.
3580
 
3581
: ${CCAS='$(CC)'}
3582
# Set ASFLAGS if not already set.
3583
: ${CCASFLAGS='$(CFLAGS)'}
3584
 
3585
 
3586
 
3587 1249 lampret
MAKE_SHELL=/bin/sh
3588
 
3589 1264 jurem
 
3590 1249 lampret
if test $ac_cv_c_compiler_gnu = yes; then
3591 1264 jurem
    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3592 1249 lampret
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3593
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3594
  echo $ECHO_N "(cached) $ECHO_C" >&6
3595
else
3596 224 markom
    ac_pattern="Autoconf.*'x'"
3597 1249 lampret
  cat >conftest.$ac_ext <<_ACEOF
3598 1264 jurem
#line $LINENO "configure"
3599
/* confdefs.h.  */
3600
_ACEOF
3601
cat confdefs.h >>conftest.$ac_ext
3602
cat >>conftest.$ac_ext <<_ACEOF
3603
/* end confdefs.h.  */
3604 224 markom
#include 
3605
Autoconf TIOCGETP
3606 1249 lampret
_ACEOF
3607 224 markom
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3608 1264 jurem
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
3609 224 markom
  ac_cv_prog_gcc_traditional=yes
3610
else
3611
  ac_cv_prog_gcc_traditional=no
3612
fi
3613
rm -f conftest*
3614
 
3615 1264 jurem
 
3616 224 markom
  if test $ac_cv_prog_gcc_traditional = no; then
3617 1249 lampret
    cat >conftest.$ac_ext <<_ACEOF
3618 1264 jurem
#line $LINENO "configure"
3619
/* confdefs.h.  */
3620
_ACEOF
3621
cat confdefs.h >>conftest.$ac_ext
3622
cat >>conftest.$ac_ext <<_ACEOF
3623
/* end confdefs.h.  */
3624 224 markom
#include 
3625
Autoconf TCGETA
3626 1249 lampret
_ACEOF
3627 224 markom
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3628 1264 jurem
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
3629 224 markom
  ac_cv_prog_gcc_traditional=yes
3630
fi
3631
rm -f conftest*
3632
 
3633
  fi
3634
fi
3635 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3636 1249 lampret
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3637 224 markom
  if test $ac_cv_prog_gcc_traditional = yes; then
3638
    CC="$CC -traditional"
3639
  fi
3640
fi
3641
 
3642 568 markom
CFLAGS="-Wall -g"
3643 224 markom
 
3644
COMPILE_OR1K=unknown
3645 308 markom
 
3646 1264 jurem
 
3647 308 markom
TESTS_ENV=
3648 385 markom
 
3649 479 markom
OR1K_SRCDIR="./${top_srcdir}"
3650 229 erez
case $target in
3651 224 markom
        or1k*|or32*)
3652 381 markom
                CFLAGS="$CFLAGS -nostdlib -mhard-div"
3653 224 markom
                COMPILE=or1k
3654 308 markom
                TESTS_ENV="$SIM"
3655 224 markom
                ;;
3656
esac
3657
 
3658 1264 jurem
 
3659 224 markom
if test x$COMPILE = xor1k; then
3660
  OR1K_EXCEPT_TRUE=
3661
  OR1K_EXCEPT_FALSE='#'
3662
else
3663
  OR1K_EXCEPT_TRUE='#'
3664
  OR1K_EXCEPT_FALSE=
3665
fi
3666
 
3667 1264 jurem
 
3668
 
3669
echo "$as_me:$LINENO: checking whether to enable optimizations" >&5
3670 1249 lampret
echo $ECHO_N "checking whether to enable optimizations... $ECHO_C" >&6
3671 493 markom
# Check whether --enable-opt or --disable-opt was given.
3672
if test "${enable_opt+set}" = set; then
3673
  enableval="$enable_opt"
3674 1249 lampret
 
3675 493 markom
    case "$enableval" in
3676
        yes)
3677
            CFLAGS="$CFLAGS -O"
3678
            ;;
3679
        *)
3680
            CFLAGS="$CFLAGS -O$enableval"
3681
            ;;
3682
    esac
3683 410 simons
 
3684 1249 lampret
fi;
3685 1264 jurem
echo "$as_me:$LINENO: result: ${enable_opt-default}" >&5
3686 1249 lampret
echo "${ECHO_T}${enable_opt-default}" >&6
3687 493 markom
 
3688
case "$enable_debugging" in
3689 1249 lampret
    yes)
3690 1264 jurem
echo "$as_me:$LINENO: checking for malloc in -lefence" >&5
3691 1249 lampret
echo $ECHO_N "checking for malloc in -lefence... $ECHO_C" >&6
3692
if test "${ac_cv_lib_efence_malloc+set}" = set; then
3693
  echo $ECHO_N "(cached) $ECHO_C" >&6
3694 493 markom
else
3695 1249 lampret
  ac_check_lib_save_LIBS=$LIBS
3696 493 markom
LIBS="-lefence  $LIBS"
3697 1249 lampret
cat >conftest.$ac_ext <<_ACEOF
3698 1264 jurem
#line $LINENO "configure"
3699
/* confdefs.h.  */
3700
_ACEOF
3701
cat confdefs.h >>conftest.$ac_ext
3702
cat >>conftest.$ac_ext <<_ACEOF
3703
/* end confdefs.h.  */
3704 1249 lampret
 
3705 493 markom
/* Override any gcc2 internal prototype to avoid an error.  */
3706 1249 lampret
#ifdef __cplusplus
3707
extern "C"
3708
#endif
3709 493 markom
/* We use char because int might match the return type of a gcc2
3710 1249 lampret
   builtin and then its argument prototype would still apply.  */
3711
char malloc ();
3712
int
3713
main ()
3714
{
3715
malloc ();
3716
  ;
3717
  return 0;
3718
}
3719
_ACEOF
3720
rm -f conftest.$ac_objext conftest$ac_exeext
3721 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3722 1249 lampret
  (eval $ac_link) 2>&5
3723
  ac_status=$?
3724 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 1249 lampret
  (exit $ac_status); } &&
3726
         { ac_try='test -s conftest$ac_exeext'
3727 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 1249 lampret
  (eval $ac_try) 2>&5
3729
  ac_status=$?
3730 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 1249 lampret
  (exit $ac_status); }; }; then
3732
  ac_cv_lib_efence_malloc=yes
3733 493 markom
else
3734 1249 lampret
  echo "$as_me: failed program was:" >&5
3735 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3736
 
3737 1249 lampret
ac_cv_lib_efence_malloc=no
3738 493 markom
fi
3739 1249 lampret
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3740
LIBS=$ac_check_lib_save_LIBS
3741 493 markom
fi
3742 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_lib_efence_malloc" >&5
3743 1249 lampret
echo "${ECHO_T}$ac_cv_lib_efence_malloc" >&6
3744
if test $ac_cv_lib_efence_malloc = yes; then
3745 1264 jurem
  cat >>confdefs.h <<_ACEOF
3746 1249 lampret
#define HAVE_LIBEFENCE 1
3747 1264 jurem
_ACEOF
3748 493 markom
 
3749
  LIBS="-lefence $LIBS"
3750
 
3751
fi
3752
 ;;
3753
esac
3754
 
3755 1264 jurem
 
3756 224 markom
INCLUDES="-I\${top_srcdir}/support"
3757 1266 jurem
CCASFLAGS="${CFLAGS} ${INCLUDES}"
3758 224 markom
 
3759 1264 jurem
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3760 1249 lampret
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3761
if test "${ac_cv_c_const+set}" = set; then
3762
  echo $ECHO_N "(cached) $ECHO_C" >&6
3763
else
3764
  cat >conftest.$ac_ext <<_ACEOF
3765 1264 jurem
#line $LINENO "configure"
3766
/* confdefs.h.  */
3767
_ACEOF
3768
cat confdefs.h >>conftest.$ac_ext
3769
cat >>conftest.$ac_ext <<_ACEOF
3770
/* end confdefs.h.  */
3771 1249 lampret
 
3772
int
3773
main ()
3774
{
3775
/* FIXME: Include the comments suggested by Paul. */
3776
#ifndef __cplusplus
3777
  /* Ultrix mips cc rejects this.  */
3778
  typedef int charset[2];
3779
  const charset x;
3780
  /* SunOS 4.1.1 cc rejects this.  */
3781
  char const *const *ccp;
3782
  char **p;
3783
  /* NEC SVR4.0.2 mips cc rejects this.  */
3784
  struct point {int x, y;};
3785
  static struct point const zero = {0,0};
3786
  /* AIX XL C 1.02.0.0 rejects this.
3787
     It does not let you subtract one const X* pointer from another in
3788
     an arm of an if-expression whose if-part is not a constant
3789
     expression */
3790
  const char *g = "string";
3791
  ccp = &g + (g ? g-g : 0);
3792
  /* HPUX 7.0 cc rejects these. */
3793
  ++ccp;
3794
  p = (char**) ccp;
3795
  ccp = (char const *const *) p;
3796
  { /* SCO 3.2v4 cc rejects this.  */
3797
    char *t;
3798
    char const *s = 0 ? (char *) 0 : (char const *) 0;
3799
 
3800
    *t++ = 0;
3801
  }
3802
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3803
    int x[] = {25, 17};
3804
    const int *foo = &x[0];
3805
    ++foo;
3806
  }
3807
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3808
    typedef const int *iptr;
3809
    iptr p = 0;
3810
    ++p;
3811
  }
3812
  { /* AIX XL C 1.02.0.0 rejects this saying
3813
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3814
    struct s { int j; const int *ap[3]; };
3815
    struct s *b; b->j = 5;
3816
  }
3817
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3818
    const int foo = 10;
3819
  }
3820
#endif
3821
 
3822
  ;
3823
  return 0;
3824 224 markom
}
3825 1249 lampret
_ACEOF
3826
rm -f conftest.$ac_objext
3827 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3828 1249 lampret
  (eval $ac_compile) 2>&5
3829
  ac_status=$?
3830 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 1249 lampret
  (exit $ac_status); } &&
3832
         { ac_try='test -s conftest.$ac_objext'
3833 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 1249 lampret
  (eval $ac_try) 2>&5
3835
  ac_status=$?
3836 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 1249 lampret
  (exit $ac_status); }; }; then
3838 224 markom
  ac_cv_c_const=yes
3839
else
3840 1249 lampret
  echo "$as_me: failed program was:" >&5
3841 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3842
 
3843 1249 lampret
ac_cv_c_const=no
3844 224 markom
fi
3845 1249 lampret
rm -f conftest.$ac_objext conftest.$ac_ext
3846 224 markom
fi
3847 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3848 1249 lampret
echo "${ECHO_T}$ac_cv_c_const" >&6
3849
if test $ac_cv_c_const = no; then
3850 224 markom
 
3851 1264 jurem
cat >>confdefs.h <<\_ACEOF
3852 1249 lampret
#define const
3853 1264 jurem
_ACEOF
3854 224 markom
 
3855
fi
3856
 
3857 1264 jurem
echo "$as_me:$LINENO: checking for inline" >&5
3858 1249 lampret
echo $ECHO_N "checking for inline... $ECHO_C" >&6
3859
if test "${ac_cv_c_inline+set}" = set; then
3860
  echo $ECHO_N "(cached) $ECHO_C" >&6
3861 224 markom
else
3862
  ac_cv_c_inline=no
3863
for ac_kw in inline __inline__ __inline; do
3864 1249 lampret
  cat >conftest.$ac_ext <<_ACEOF
3865 1264 jurem
#line $LINENO "configure"
3866
/* confdefs.h.  */
3867
_ACEOF
3868
cat confdefs.h >>conftest.$ac_ext
3869
cat >>conftest.$ac_ext <<_ACEOF
3870
/* end confdefs.h.  */
3871 1249 lampret
#ifndef __cplusplus
3872 1264 jurem
typedef int foo_t;
3873
static $ac_kw foo_t static_foo () {return 0; }
3874
$ac_kw foo_t foo () {return 0; }
3875 1249 lampret
#endif
3876 224 markom
 
3877 1249 lampret
_ACEOF
3878
rm -f conftest.$ac_objext
3879 1264 jurem
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3880 1249 lampret
  (eval $ac_compile) 2>&5
3881
  ac_status=$?
3882 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 1249 lampret
  (exit $ac_status); } &&
3884
         { ac_try='test -s conftest.$ac_objext'
3885 1264 jurem
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886 1249 lampret
  (eval $ac_try) 2>&5
3887
  ac_status=$?
3888 1264 jurem
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 1249 lampret
  (exit $ac_status); }; }; then
3890 224 markom
  ac_cv_c_inline=$ac_kw; break
3891
else
3892 1249 lampret
  echo "$as_me: failed program was:" >&5
3893 1264 jurem
sed 's/^/| /' conftest.$ac_ext >&5
3894
 
3895 224 markom
fi
3896 1249 lampret
rm -f conftest.$ac_objext conftest.$ac_ext
3897 224 markom
done
3898
 
3899
fi
3900 1264 jurem
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3901 1249 lampret
echo "${ECHO_T}$ac_cv_c_inline" >&6
3902
case $ac_cv_c_inline in
3903 224 markom
  inline | yes) ;;
3904 1249 lampret
  no)
3905 1264 jurem
cat >>confdefs.h <<\_ACEOF
3906 1249 lampret
#define inline
3907 1264 jurem
_ACEOF
3908 224 markom
 ;;
3909 1264 jurem
  *)  cat >>confdefs.h <<_ACEOF
3910 224 markom
#define inline $ac_cv_c_inline
3911 1264 jurem
_ACEOF
3912 224 markom
 ;;
3913
esac
3914
 
3915 1264 jurem
 
3916
                              ac_config_files="$ac_config_files Makefile support/Makefile uos/Makefile"
3917 1249 lampret
cat >confcache <<\_ACEOF
3918 258 erez
# This file is a shell script that caches the results of configure
3919
# tests run on this system so they can be shared between configure
3920 1249 lampret
# scripts and configure runs, see configure's option --config-cache.
3921
# It is not useful on other systems.  If it contains results you don't
3922
# want to keep, you may remove or edit it.
3923 258 erez
#
3924 1249 lampret
# config.status only pays attention to the cache file if you give it
3925
# the --recheck option to rerun configure.
3926 258 erez
#
3927 1264 jurem
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3928 1249 lampret
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3929
# following values.
3930
 
3931
_ACEOF
3932
 
3933 258 erez
# The following way of writing the cache mishandles newlines in values,
3934
# but we know of no workaround that is simple, portable, and efficient.
3935
# So, don't put newlines in cache variables' values.
3936
# Ultrix sh set writes to stderr and can't be redirected directly,
3937
# and sets the high bit in the cache file unless we assign to the vars.
3938 1249 lampret
{
3939
  (set) 2>&1 |
3940
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3941
    *ac_space=\ *)
3942
      # `set' does not quote correctly, so add quotes (double-quote
3943
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3944
      sed -n \
3945
        "s/'/'\\\\''/g;
3946
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3947
      ;;
3948
    *)
3949
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3950
      sed -n \
3951
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3952
      ;;
3953
    esac;
3954
} |
3955
  sed '
3956
     t clear
3957
     : clear
3958
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3959
     t end
3960
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3961
     : end' >>confcache
3962 1264 jurem
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3963 258 erez
  if test -w $cache_file; then
3964 1249 lampret
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3965
    cat confcache >$cache_file
3966 258 erez
  else
3967
    echo "not updating unwritable cache $cache_file"
3968
  fi
3969
fi
3970
rm -f confcache
3971 224 markom
 
3972
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3973
# Let make expand exec_prefix.
3974
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3975
 
3976 1249 lampret
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3977
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3978
# trailing colons and then remove the whole line if VPATH becomes empty
3979
# (actually we leave an empty line to preserve line numbers).
3980 224 markom
if test "x$srcdir" = x.; then
3981 1249 lampret
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
3982
s/:*\$(srcdir):*/:/;
3983
s/:*\${srcdir}:*/:/;
3984
s/:*@srcdir@:*/:/;
3985
s/^\([^=]*=[    ]*\):*/\1/;
3986
s/:*$//;
3987
s/^[^=]*=[      ]*$//;
3988
}'
3989 224 markom
fi
3990
 
3991
# Transform confdefs.h into DEFS.
3992
# Protect against shell expansion while executing Makefile rules.
3993
# Protect against Makefile macro expansion.
3994 1249 lampret
#
3995
# If the first sed substitution is executed (which looks for macros that
3996
# take arguments), then we branch to the quote section.  Otherwise,
3997
# look for a macro that doesn't take arguments.
3998 1264 jurem
cat >confdef2opt.sed <<\_ACEOF
3999 1249 lampret
t clear
4000
: clear
4001
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
4002
t quote
4003
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
4004
t quote
4005
d
4006
: quote
4007
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
4008
s,\[,\\&,g
4009
s,\],\\&,g
4010
s,\$,$$,g
4011
p
4012 1264 jurem
_ACEOF
4013 1249 lampret
# We use echo to avoid assuming a particular line-breaking character.
4014
# The extra dot is to prevent the shell from consuming trailing
4015
# line-breaks from the sub-command output.  A line-break within
4016
# single-quotes doesn't work because, if this script is created in a
4017
# platform that uses two characters for line-breaks (e.g., DOS), tr
4018
# would break.
4019
ac_LF_and_DOT=`echo; echo .`
4020
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4021
rm -f confdef2opt.sed
4022 224 markom
 
4023 1264 jurem
 
4024
ac_libobjs=
4025
ac_ltlibobjs=
4026
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4027
  # 1. Remove the extension, and $U if already installed.
4028
  ac_i=`echo "$ac_i" |
4029
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4030
  # 2. Add them.
4031
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4032
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4033
done
4034
LIBOBJS=$ac_libobjs
4035
 
4036
LTLIBOBJS=$ac_ltlibobjs
4037
 
4038
 
4039
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4040
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4041
Usually this means the macro was only invoked conditionally." >&5
4042
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4043
Usually this means the macro was only invoked conditionally." >&2;}
4044
   { (exit 1); exit 1; }; }
4045
fi
4046
if test -z "${OR1K_EXCEPT_TRUE}" && test -z "${OR1K_EXCEPT_FALSE}"; then
4047
  { { echo "$as_me:$LINENO: error: conditional \"OR1K_EXCEPT\" was never defined.
4048
Usually this means the macro was only invoked conditionally." >&5
4049
echo "$as_me: error: conditional \"OR1K_EXCEPT\" was never defined.
4050
Usually this means the macro was only invoked conditionally." >&2;}
4051
   { (exit 1); exit 1; }; }
4052
fi
4053
 
4054 224 markom
: ${CONFIG_STATUS=./config.status}
4055 1249 lampret
ac_clean_files_save=$ac_clean_files
4056
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4057 1264 jurem
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4058 1249 lampret
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4059
cat >$CONFIG_STATUS <<_ACEOF
4060
#! $SHELL
4061 1264 jurem
# Generated by $as_me.
4062 224 markom
# Run this file to recreate the current configuration.
4063
# Compiler output produced by configure, useful for debugging
4064 1249 lampret
# configure, is in config.log if it exists.
4065 224 markom
 
4066 1249 lampret
debug=false
4067 1264 jurem
ac_cs_recheck=false
4068
ac_cs_silent=false
4069 1249 lampret
SHELL=\${CONFIG_SHELL-$SHELL}
4070
_ACEOF
4071
 
4072
cat >>$CONFIG_STATUS <<\_ACEOF
4073 1264 jurem
## --------------------- ##
4074
## M4sh Initialization.  ##
4075
## --------------------- ##
4076
 
4077 1249 lampret
# Be Bourne compatible
4078
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4079
  emulate sh
4080
  NULLCMD=:
4081 1264 jurem
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4082
  # is contrary to our usage.  Disable this feature.
4083
  alias -g '${1+"$@"}'='"$@"'
4084 1249 lampret
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4085
  set -o posix
4086
fi
4087
 
4088 1264 jurem
# Support unset when possible.
4089
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4090
  as_unset=unset
4091
else
4092
  as_unset=false
4093
fi
4094
 
4095
 
4096
# Work around bugs in pre-3.0 UWIN ksh.
4097
$as_unset ENV MAIL MAILPATH
4098
PS1='$ '
4099
PS2='> '
4100
PS4='+ '
4101
 
4102
# NLS nuisances.
4103
for as_var in \
4104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4106
  LC_TELEPHONE LC_TIME
4107
do
4108
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4109
    eval $as_var=C; export $as_var
4110
  else
4111
    $as_unset $as_var
4112
  fi
4113
done
4114
 
4115
# Required to use basename.
4116
if expr a : '\(a\)' >/dev/null 2>&1; then
4117
  as_expr=expr
4118
else
4119
  as_expr=false
4120
fi
4121
 
4122
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4123
  as_basename=basename
4124
else
4125
  as_basename=false
4126
fi
4127
 
4128
 
4129 1249 lampret
# Name of the executable.
4130 1264 jurem
as_me=`$as_basename "$0" ||
4131
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4132
         X"$0" : 'X\(//\)$' \| \
4133
         X"$0" : 'X\(/\)$' \| \
4134
         .     : '\(.\)' 2>/dev/null ||
4135
echo X/"$0" |
4136
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4137
          /^X\/\(\/\/\)$/{ s//\1/; q; }
4138
          /^X\/\(\/\).*/{ s//\1/; q; }
4139
          s/.*/./; q'`
4140 1249 lampret
 
4141 1264 jurem
 
4142
# PATH needs CR, and LINENO needs CR and PATH.
4143
# Avoid depending upon Character Ranges.
4144
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4145
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4146
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4147
as_cr_digits='0123456789'
4148
as_cr_alnum=$as_cr_Letters$as_cr_digits
4149
 
4150
# The user is always right.
4151
if test "${PATH_SEPARATOR+set}" != set; then
4152
  echo "#! /bin/sh" >conf$$.sh
4153
  echo  "exit 0"   >>conf$$.sh
4154
  chmod +x conf$$.sh
4155
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4156
    PATH_SEPARATOR=';'
4157
  else
4158
    PATH_SEPARATOR=:
4159
  fi
4160
  rm -f conf$$.sh
4161
fi
4162
 
4163
 
4164
  as_lineno_1=$LINENO
4165
  as_lineno_2=$LINENO
4166
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4167
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4168
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4169
  # Find who we are.  Look in the path if we contain no path at all
4170
  # relative or not.
4171
  case $0 in
4172
    *[\\/]* ) as_myself=$0 ;;
4173
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174
for as_dir in $PATH
4175
do
4176
  IFS=$as_save_IFS
4177
  test -z "$as_dir" && as_dir=.
4178
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4179
done
4180
 
4181
       ;;
4182
  esac
4183
  # We did not find ourselves, most probably we were run as `sh COMMAND'
4184
  # in which case we are not to be found in the path.
4185
  if test "x$as_myself" = x; then
4186
    as_myself=$0
4187
  fi
4188
  if test ! -f "$as_myself"; then
4189
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4190
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4191
   { (exit 1); exit 1; }; }
4192
  fi
4193
  case $CONFIG_SHELL in
4194
  '')
4195
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4197
do
4198
  IFS=$as_save_IFS
4199
  test -z "$as_dir" && as_dir=.
4200
  for as_base in sh bash ksh sh5; do
4201
         case $as_dir in
4202
         /*)
4203
           if ("$as_dir/$as_base" -c '
4204
  as_lineno_1=$LINENO
4205
  as_lineno_2=$LINENO
4206
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4207
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4208
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4209
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4210
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4211
             CONFIG_SHELL=$as_dir/$as_base
4212
             export CONFIG_SHELL
4213
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4214
           fi;;
4215
         esac
4216
       done
4217
done
4218
;;
4219
  esac
4220
 
4221
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4222
  # uniformly replaced by the line number.  The first 'sed' inserts a
4223
  # line-number line before each line; the second 'sed' does the real
4224
  # work.  The second script uses 'N' to pair each line-number line
4225
  # with the numbered line, and appends trailing '-' during
4226
  # substitution so that $LINENO is not a special case at line end.
4227
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4228
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4229
  sed '=' <$as_myself |
4230
    sed '
4231
      N
4232
      s,$,-,
4233
      : loop
4234
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4235
      t loop
4236
      s,-$,,
4237
      s,^['$as_cr_digits']*\n,,
4238
    ' >$as_me.lineno &&
4239
  chmod +x $as_me.lineno ||
4240
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4241
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4242
   { (exit 1); exit 1; }; }
4243
 
4244
  # Don't try to exec as it changes $[0], causing all sort of problems
4245
  # (the dirname of $[0] is not the place where we might find the
4246
  # original and so on.  Autoconf is especially sensible to this).
4247
  . ./$as_me.lineno
4248
  # Exit status is that of the last command.
4249
  exit
4250
}
4251
 
4252
 
4253
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4254
  *c*,-n*) ECHO_N= ECHO_C='
4255
' ECHO_T='      ' ;;
4256
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4257
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4258
esac
4259
 
4260 1249 lampret
if expr a : '\(a\)' >/dev/null 2>&1; then
4261
  as_expr=expr
4262
else
4263
  as_expr=false
4264
fi
4265
 
4266
rm -f conf$$ conf$$.exe conf$$.file
4267
echo >conf$$.file
4268
if ln -s conf$$.file conf$$ 2>/dev/null; then
4269
  # We could just check for DJGPP; but this test a) works b) is more generic
4270
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4271
  if test -f conf$$.exe; then
4272
    # Don't use ln at all; we don't have any links
4273
    as_ln_s='cp -p'
4274
  else
4275
    as_ln_s='ln -s'
4276
  fi
4277
elif ln conf$$.file conf$$ 2>/dev/null; then
4278
  as_ln_s=ln
4279
else
4280
  as_ln_s='cp -p'
4281
fi
4282
rm -f conf$$ conf$$.exe conf$$.file
4283
 
4284 1264 jurem
if mkdir -p . 2>/dev/null; then
4285
  as_mkdir_p=:
4286 1249 lampret
else
4287 1264 jurem
  as_mkdir_p=false
4288 1249 lampret
fi
4289
 
4290 1264 jurem
as_executable_p="test -f"
4291 1249 lampret
 
4292 1264 jurem
# Sed expression to map a string onto a valid CPP name.
4293
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4294
 
4295
# Sed expression to map a string onto a valid variable name.
4296
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4297
 
4298
 
4299 1249 lampret
# IFS
4300
# We need space, tab and new line, in precisely that order.
4301
as_nl='
4302
'
4303
IFS="   $as_nl"
4304
 
4305
# CDPATH.
4306 1264 jurem
$as_unset CDPATH
4307 1249 lampret
 
4308
exec 6>&1
4309
 
4310 1264 jurem
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4311
# report actual input values of CONFIG_FILES etc. instead of their
4312
# values after options handling.  Logging --version etc. is OK.
4313
exec 5>>config.log
4314
{
4315
  echo
4316
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4317
## Running $as_me. ##
4318
_ASBOX
4319
} >&5
4320
cat >&5 <<_CSEOF
4321
 
4322
This file was extended by $as_me, which was
4323
generated by GNU Autoconf 2.57.  Invocation command line was
4324
 
4325
  CONFIG_FILES    = $CONFIG_FILES
4326
  CONFIG_HEADERS  = $CONFIG_HEADERS
4327
  CONFIG_LINKS    = $CONFIG_LINKS
4328
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4329
  $ $0 $@
4330
 
4331
_CSEOF
4332
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4333
echo >&5
4334 1249 lampret
_ACEOF
4335
 
4336
# Files that config.status was made for.
4337
if test -n "$ac_config_files"; then
4338
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4339
fi
4340
 
4341
if test -n "$ac_config_headers"; then
4342
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4343
fi
4344
 
4345
if test -n "$ac_config_links"; then
4346
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4347
fi
4348
 
4349
if test -n "$ac_config_commands"; then
4350
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4351
fi
4352
 
4353 1264 jurem
cat >>$CONFIG_STATUS <<\_ACEOF
4354 1249 lampret
 
4355
ac_cs_usage="\
4356
\`$as_me' instantiates files from templates according to the
4357
current configuration.
4358
 
4359
Usage: $0 [OPTIONS] [FILE]...
4360
 
4361
  -h, --help       print this help, then exit
4362
  -V, --version    print version number, then exit
4363 1264 jurem
  -q, --quiet      do not print progress messages
4364 1249 lampret
  -d, --debug      don't remove temporary files
4365
      --recheck    update $as_me by reconfiguring in the same conditions
4366
  --file=FILE[:TEMPLATE]
4367
                   instantiate the configuration file FILE
4368
 
4369
Configuration files:
4370
$config_files
4371
 
4372 1264 jurem
Configuration commands:
4373
$config_commands
4374
 
4375 1249 lampret
Report bugs to ."
4376 1264 jurem
_ACEOF
4377 1249 lampret
 
4378 1264 jurem
cat >>$CONFIG_STATUS <<_ACEOF
4379 1249 lampret
ac_cs_version="\\
4380
config.status
4381 1264 jurem
configured by $0, generated by GNU Autoconf 2.57,
4382 1249 lampret
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4383
 
4384
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4385
Free Software Foundation, Inc.
4386
This config.status script is free software; the Free Software Foundation
4387
gives unlimited permission to copy, distribute and modify it."
4388
srcdir=$srcdir
4389
INSTALL="$INSTALL"
4390 1264 jurem
_ACEOF
4391 1249 lampret
 
4392 1264 jurem
cat >>$CONFIG_STATUS <<\_ACEOF
4393 1249 lampret
# If no file are specified by the user, then we need to provide default
4394
# value.  By we need to know if files were specified by the user.
4395
ac_need_defaults=:
4396
while test $# != 0
4397 224 markom
do
4398 1249 lampret
  case $1 in
4399
  --*=*)
4400
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4401
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4402 1264 jurem
    ac_shift=:
4403 1249 lampret
    ;;
4404 1264 jurem
  -*)
4405
    ac_option=$1
4406
    ac_optarg=$2
4407
    ac_shift=shift
4408
    ;;
4409 1249 lampret
  *) # This is not an option, so the user has probably given explicit
4410
     # arguments.
4411 1264 jurem
     ac_option=$1
4412 1249 lampret
     ac_need_defaults=false;;
4413
  esac
4414
 
4415 1264 jurem
  case $ac_option in
4416 1249 lampret
  # Handling of the options.
4417 1264 jurem
_ACEOF
4418
cat >>$CONFIG_STATUS <<\_ACEOF
4419 224 markom
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4420 1264 jurem
    ac_cs_recheck=: ;;
4421 1249 lampret
  --version | --vers* | -V )
4422
    echo "$ac_cs_version"; exit 0 ;;
4423
  --he | --h)
4424
    # Conflict between --help and --header
4425 1264 jurem
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4426 1249 lampret
Try \`$0 --help' for more information." >&5
4427
echo "$as_me: error: ambiguous option: $1
4428
Try \`$0 --help' for more information." >&2;}
4429
   { (exit 1); exit 1; }; };;
4430
  --help | --hel | -h )
4431
    echo "$ac_cs_usage"; exit 0 ;;
4432
  --debug | --d* | -d )
4433
    debug=: ;;
4434
  --file | --fil | --fi | --f )
4435 1264 jurem
    $ac_shift
4436
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4437 1249 lampret
    ac_need_defaults=false;;
4438
  --header | --heade | --head | --hea )
4439 1264 jurem
    $ac_shift
4440
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4441 1249 lampret
    ac_need_defaults=false;;
4442 1264 jurem
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4443
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4444
    ac_cs_silent=: ;;
4445 1249 lampret
 
4446
  # This is an error.
4447 1264 jurem
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4448 1249 lampret
Try \`$0 --help' for more information." >&5
4449
echo "$as_me: error: unrecognized option: $1
4450
Try \`$0 --help' for more information." >&2;}
4451
   { (exit 1); exit 1; }; } ;;
4452
 
4453
  *) ac_config_targets="$ac_config_targets $1" ;;
4454
 
4455 224 markom
  esac
4456 1249 lampret
  shift
4457 224 markom
done
4458
 
4459 1264 jurem
ac_configure_extra_args=
4460 224 markom
 
4461 1264 jurem
if $ac_cs_silent; then
4462
  exec 6>/dev/null
4463
  ac_configure_extra_args="$ac_configure_extra_args --silent"
4464
fi
4465 1249 lampret
 
4466 1264 jurem
_ACEOF
4467
cat >>$CONFIG_STATUS <<_ACEOF
4468
if \$ac_cs_recheck; then
4469
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4470
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4471
fi
4472 1249 lampret
 
4473
_ACEOF
4474 224 markom
 
4475 1264 jurem
cat >>$CONFIG_STATUS <<_ACEOF
4476
#
4477
# INIT-COMMANDS section.
4478
#
4479
 
4480
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4481
 
4482
_ACEOF
4483
 
4484
 
4485
 
4486
cat >>$CONFIG_STATUS <<\_ACEOF
4487 1249 lampret
for ac_config_target in $ac_config_targets
4488
do
4489
  case "$ac_config_target" in
4490
  # Handling of arguments.
4491
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4492
  "support/Makefile" ) CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
4493
  "uos/Makefile" ) CONFIG_FILES="$CONFIG_FILES uos/Makefile" ;;
4494 1264 jurem
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4495
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4496 1249 lampret
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4497
   { (exit 1); exit 1; }; };;
4498
  esac
4499
done
4500 224 markom
 
4501 1249 lampret
# If the user did not use the arguments to specify the items to instantiate,
4502
# then the envvar interface is used.  Set only those that are not.
4503
# We use the long form for the default assignment because of an extremely
4504
# bizarre bug on SunOS 4.1.3.
4505
if $ac_need_defaults; then
4506
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4507 1264 jurem
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4508 1249 lampret
fi
4509
 
4510 1264 jurem
# Have a temporary directory for convenience.  Make it in the build tree
4511
# simply because there is no reason to put it here, and in addition,
4512
# creating and moving files from /tmp can sometimes cause problems.
4513 1249 lampret
# Create a temporary directory, and hook for its removal unless debugging.
4514
$debug ||
4515
{
4516
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4517
  trap '{ (exit 1); exit 1; }' 1 2 13 15
4518
}
4519
 
4520
# Create a (secure) tmp directory for tmp files.
4521 1264 jurem
 
4522 1249 lampret
{
4523 1264 jurem
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4524 1249 lampret
  test -n "$tmp" && test -d "$tmp"
4525
}  ||
4526
{
4527 1264 jurem
  tmp=./confstat$$-$RANDOM
4528 1249 lampret
  (umask 077 && mkdir $tmp)
4529
} ||
4530
{
4531 1264 jurem
   echo "$me: cannot create a temporary directory in ." >&2
4532 1249 lampret
   { (exit 1); exit 1; }
4533
}
4534
 
4535 1264 jurem
_ACEOF
4536 1249 lampret
 
4537 1264 jurem
cat >>$CONFIG_STATUS <<_ACEOF
4538 1249 lampret
 
4539
#
4540
# CONFIG_FILES section.
4541
#
4542
 
4543
# No need to generate the scripts if there are no CONFIG_FILES.
4544
# This happens for instance when ./config.status config.h
4545
if test -n "\$CONFIG_FILES"; then
4546
  # Protect against being on the right side of a sed subst in config.status.
4547
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4548
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4549
s,@SHELL@,$SHELL,;t t
4550 1264 jurem
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4551
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4552
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4553
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4554
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4555
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4556 1249 lampret
s,@exec_prefix@,$exec_prefix,;t t
4557
s,@prefix@,$prefix,;t t
4558
s,@program_transform_name@,$program_transform_name,;t t
4559
s,@bindir@,$bindir,;t t
4560
s,@sbindir@,$sbindir,;t t
4561
s,@libexecdir@,$libexecdir,;t t
4562
s,@datadir@,$datadir,;t t
4563
s,@sysconfdir@,$sysconfdir,;t t
4564
s,@sharedstatedir@,$sharedstatedir,;t t
4565
s,@localstatedir@,$localstatedir,;t t
4566
s,@libdir@,$libdir,;t t
4567
s,@includedir@,$includedir,;t t
4568
s,@oldincludedir@,$oldincludedir,;t t
4569
s,@infodir@,$infodir,;t t
4570
s,@mandir@,$mandir,;t t
4571
s,@build_alias@,$build_alias,;t t
4572
s,@host_alias@,$host_alias,;t t
4573
s,@target_alias@,$target_alias,;t t
4574 1264 jurem
s,@DEFS@,$DEFS,;t t
4575 1249 lampret
s,@ECHO_C@,$ECHO_C,;t t
4576
s,@ECHO_N@,$ECHO_N,;t t
4577
s,@ECHO_T@,$ECHO_T,;t t
4578
s,@LIBS@,$LIBS,;t t
4579
s,@build@,$build,;t t
4580
s,@build_cpu@,$build_cpu,;t t
4581
s,@build_vendor@,$build_vendor,;t t
4582
s,@build_os@,$build_os,;t t
4583
s,@host@,$host,;t t
4584
s,@host_cpu@,$host_cpu,;t t
4585
s,@host_vendor@,$host_vendor,;t t
4586
s,@host_os@,$host_os,;t t
4587
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4588
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4589
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4590
s,@PACKAGE@,$PACKAGE,;t t
4591
s,@VERSION@,$VERSION,;t t
4592
s,@ACLOCAL@,$ACLOCAL,;t t
4593
s,@AUTOCONF@,$AUTOCONF,;t t
4594
s,@AUTOMAKE@,$AUTOMAKE,;t t
4595
s,@AUTOHEADER@,$AUTOHEADER,;t t
4596
s,@MAKEINFO@,$MAKEINFO,;t t
4597 1264 jurem
s,@AMTAR@,$AMTAR,;t t
4598
s,@install_sh@,$install_sh,;t t
4599
s,@STRIP@,$STRIP,;t t
4600
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4601
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4602
s,@AWK@,$AWK,;t t
4603 1249 lampret
s,@SET_MAKE@,$SET_MAKE,;t t
4604
s,@CC@,$CC,;t t
4605
s,@ac_ct_CC@,$ac_ct_CC,;t t
4606
s,@RANLIB@,$RANLIB,;t t
4607
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4608
s,@LD@,$LD,;t t
4609
s,@ac_ct_LD@,$ac_ct_LD,;t t
4610
s,@SIM@,$SIM,;t t
4611
s,@ac_ct_SIM@,$ac_ct_SIM,;t t
4612
s,@CFLAGS@,$CFLAGS,;t t
4613
s,@LDFLAGS@,$LDFLAGS,;t t
4614
s,@CPPFLAGS@,$CPPFLAGS,;t t
4615
s,@EXEEXT@,$EXEEXT,;t t
4616
s,@OBJEXT@,$OBJEXT,;t t
4617 1264 jurem
s,@DEPDIR@,$DEPDIR,;t t
4618
s,@am__include@,$am__include,;t t
4619
s,@am__quote@,$am__quote,;t t
4620
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4621
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4622
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4623
s,@CCDEPMODE@,$CCDEPMODE,;t t
4624 1249 lampret
s,@CPP@,$CPP,;t t
4625 1264 jurem
s,@EGREP@,$EGREP,;t t
4626 1266 jurem
s,@CCAS@,$CCAS,;t t
4627
s,@CCASFLAGS@,$CCASFLAGS,;t t
4628 1249 lampret
s,@MAKE_SHELL@,$MAKE_SHELL,;t t
4629
s,@TESTS_ENV@,$TESTS_ENV,;t t
4630
s,@OR1K_SRCDIR@,$OR1K_SRCDIR,;t t
4631
s,@OR1K_EXCEPT_TRUE@,$OR1K_EXCEPT_TRUE,;t t
4632
s,@OR1K_EXCEPT_FALSE@,$OR1K_EXCEPT_FALSE,;t t
4633
s,@INCLUDES@,$INCLUDES,;t t
4634 1264 jurem
s,@LIBOBJS@,$LIBOBJS,;t t
4635
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4636 224 markom
CEOF
4637 1249 lampret
 
4638 1264 jurem
_ACEOF
4639 224 markom
 
4640 1264 jurem
  cat >>$CONFIG_STATUS <<\_ACEOF
4641 1249 lampret
  # Split the substitutions into bite-sized pieces for seds with
4642
  # small command number limits, like on Digital OSF/1 and HP-UX.
4643
  ac_max_sed_lines=48
4644
  ac_sed_frag=1 # Number of current file.
4645
  ac_beg=1 # First line for current file.
4646
  ac_end=$ac_max_sed_lines # Line after last line for current file.
4647
  ac_more_lines=:
4648
  ac_sed_cmds=
4649
  while $ac_more_lines; do
4650
    if test $ac_beg -gt 1; then
4651
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4652 224 markom
    else
4653 1249 lampret
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4654 224 markom
    fi
4655 1249 lampret
    if test ! -s $tmp/subs.frag; then
4656
      ac_more_lines=false
4657
    else
4658
      # The purpose of the label and of the branching condition is to
4659
      # speed up the sed processing (if there are no `@' at all, there
4660
      # is no need to browse any of the substitutions).
4661
      # These are the two extra sed commands mentioned above.
4662
      (echo ':t
4663
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4664
      if test -z "$ac_sed_cmds"; then
4665
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4666
      else
4667
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4668
      fi
4669
      ac_sed_frag=`expr $ac_sed_frag + 1`
4670
      ac_beg=$ac_end
4671
      ac_end=`expr $ac_end + $ac_max_sed_lines`
4672
    fi
4673
  done
4674
  if test -z "$ac_sed_cmds"; then
4675
    ac_sed_cmds=cat
4676 224 markom
  fi
4677 1249 lampret
fi # test -n "$CONFIG_FILES"
4678 224 markom
 
4679 1264 jurem
_ACEOF
4680
cat >>$CONFIG_STATUS <<\_ACEOF
4681 1249 lampret
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4682 224 markom
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4683 1249 lampret
  case $ac_file in
4684
  - | *:- | *:-:* ) # input from stdin
4685
        cat >$tmp/stdin
4686
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4687
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4688
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4689
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4690
  * )   ac_file_in=$ac_file.in ;;
4691 224 markom
  esac
4692
 
4693 1249 lampret
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4694 1264 jurem
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4695
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4696 1249 lampret
         X"$ac_file" : 'X\(//\)[^/]' \| \
4697
         X"$ac_file" : 'X\(//\)$' \| \
4698
         X"$ac_file" : 'X\(/\)' \| \
4699
         .     : '\(.\)' 2>/dev/null ||
4700
echo X"$ac_file" |
4701
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4702
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4703
          /^X\(\/\/\)$/{ s//\1/; q; }
4704
          /^X\(\/\).*/{ s//\1/; q; }
4705
          s/.*/./; q'`
4706 1264 jurem
  { if $as_mkdir_p; then
4707
    mkdir -p "$ac_dir"
4708 224 markom
  else
4709 1264 jurem
    as_dir="$ac_dir"
4710
    as_dirs=
4711
    while test ! -d "$as_dir"; do
4712
      as_dirs="$as_dir $as_dirs"
4713
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4714
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4715
         X"$as_dir" : 'X\(//\)[^/]' \| \
4716
         X"$as_dir" : 'X\(//\)$' \| \
4717
         X"$as_dir" : 'X\(/\)' \| \
4718
         .     : '\(.\)' 2>/dev/null ||
4719
echo X"$as_dir" |
4720
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4721
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4722
          /^X\(\/\/\)$/{ s//\1/; q; }
4723
          /^X\(\/\).*/{ s//\1/; q; }
4724
          s/.*/./; q'`
4725
    done
4726
    test ! -n "$as_dirs" || mkdir $as_dirs
4727
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4728
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4729
   { (exit 1); exit 1; }; }; }
4730 224 markom
 
4731 1264 jurem
  ac_builddir=.
4732
 
4733
if test "$ac_dir" != .; then
4734
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4735
  # A "../" for each directory in $ac_dir_suffix.
4736
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4737
else
4738
  ac_dir_suffix= ac_top_builddir=
4739
fi
4740
 
4741
case $srcdir in
4742
  .)  # No --srcdir option.  We are building in place.
4743
    ac_srcdir=.
4744
    if test -z "$ac_top_builddir"; then
4745
       ac_top_srcdir=.
4746
    else
4747
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4748
    fi ;;
4749
  [\\/]* | ?:[\\/]* )  # Absolute path.
4750
    ac_srcdir=$srcdir$ac_dir_suffix;
4751
    ac_top_srcdir=$srcdir ;;
4752 224 markom
  *) # Relative path.
4753 1264 jurem
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4754
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4755
esac
4756
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4757
# absolute.
4758
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4759
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4760
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4761
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4762 224 markom
 
4763 1264 jurem
 
4764 1249 lampret
  case $INSTALL in
4765
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4766 1264 jurem
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4767 224 markom
  esac
4768
 
4769 1249 lampret
  if test x"$ac_file" != x-; then
4770 1264 jurem
    { echo "$as_me:$LINENO: creating $ac_file" >&5
4771 1249 lampret
echo "$as_me: creating $ac_file" >&6;}
4772
    rm -f "$ac_file"
4773
  fi
4774
  # Let's still pretend it is `configure' which instantiates (i.e., don't
4775
  # use $as_me), people would be surprised to read:
4776 1264 jurem
  #    /* config.h.  Generated by config.status.  */
4777
  if test x"$ac_file" = x-; then
4778
    configure_input=
4779
  else
4780
    configure_input="$ac_file.  "
4781
  fi
4782
  configure_input=$configure_input"Generated from `echo $ac_file_in |
4783
                                     sed 's,.*/,,'` by configure."
4784 224 markom
 
4785 1249 lampret
  # First look for the input files in the build tree, otherwise in the
4786
  # src tree.
4787
  ac_file_inputs=`IFS=:
4788
    for f in $ac_file_in; do
4789
      case $f in
4790
      -) echo $tmp/stdin ;;
4791
      [\\/$]*)
4792
         # Absolute (can't be DOS-style, as IFS=:)
4793 1264 jurem
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4794 1249 lampret
echo "$as_me: error: cannot find input file: $f" >&2;}
4795
   { (exit 1); exit 1; }; }
4796
         echo $f;;
4797
      *) # Relative
4798
         if test -f "$f"; then
4799
           # Build tree
4800
           echo $f
4801
         elif test -f "$srcdir/$f"; then
4802
           # Source tree
4803
           echo $srcdir/$f
4804
         else
4805
           # /dev/null tree
4806 1264 jurem
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4807 1249 lampret
echo "$as_me: error: cannot find input file: $f" >&2;}
4808
   { (exit 1); exit 1; }; }
4809
         fi;;
4810
      esac
4811
    done` || { (exit 1); exit 1; }
4812 1264 jurem
_ACEOF
4813
cat >>$CONFIG_STATUS <<_ACEOF
4814 1249 lampret
  sed "$ac_vpsub
4815
$extrasub
4816 1264 jurem
_ACEOF
4817
cat >>$CONFIG_STATUS <<\_ACEOF
4818 1249 lampret
:t
4819
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4820
s,@configure_input@,$configure_input,;t t
4821
s,@srcdir@,$ac_srcdir,;t t
4822 1264 jurem
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4823 1249 lampret
s,@top_srcdir@,$ac_top_srcdir,;t t
4824 1264 jurem
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4825
s,@builddir@,$ac_builddir,;t t
4826
s,@abs_builddir@,$ac_abs_builddir,;t t
4827
s,@top_builddir@,$ac_top_builddir,;t t
4828
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4829 1249 lampret
s,@INSTALL@,$ac_INSTALL,;t t
4830
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4831
  rm -f $tmp/stdin
4832
  if test x"$ac_file" != x-; then
4833
    mv $tmp/out $ac_file
4834
  else
4835
    cat $tmp/out
4836
    rm -f $tmp/out
4837
  fi
4838 224 markom
 
4839 1249 lampret
done
4840 1264 jurem
_ACEOF
4841
cat >>$CONFIG_STATUS <<\_ACEOF
4842 224 markom
 
4843 1264 jurem
#
4844
# CONFIG_COMMANDS section.
4845
#
4846
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4847
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4848
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4849
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4850
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4851
         X"$ac_dest" : 'X\(//\)[^/]' \| \
4852
         X"$ac_dest" : 'X\(//\)$' \| \
4853
         X"$ac_dest" : 'X\(/\)' \| \
4854
         .     : '\(.\)' 2>/dev/null ||
4855
echo X"$ac_dest" |
4856
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4857
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4858
          /^X\(\/\/\)$/{ s//\1/; q; }
4859
          /^X\(\/\).*/{ s//\1/; q; }
4860
          s/.*/./; q'`
4861
  ac_builddir=.
4862 1249 lampret
 
4863 1264 jurem
if test "$ac_dir" != .; then
4864
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4865
  # A "../" for each directory in $ac_dir_suffix.
4866
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4867
else
4868
  ac_dir_suffix= ac_top_builddir=
4869
fi
4870
 
4871
case $srcdir in
4872
  .)  # No --srcdir option.  We are building in place.
4873
    ac_srcdir=.
4874
    if test -z "$ac_top_builddir"; then
4875
       ac_top_srcdir=.
4876
    else
4877
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4878
    fi ;;
4879
  [\\/]* | ?:[\\/]* )  # Absolute path.
4880
    ac_srcdir=$srcdir$ac_dir_suffix;
4881
    ac_top_srcdir=$srcdir ;;
4882
  *) # Relative path.
4883
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4884
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4885
esac
4886
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4887
# absolute.
4888
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4889
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4890
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4891
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4892
 
4893
 
4894
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4895
echo "$as_me: executing $ac_dest commands" >&6;}
4896
  case $ac_dest in
4897
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4898
  # Strip MF so we end up with the name of the file.
4899
  mf=`echo "$mf" | sed -e 's/:.*$//'`
4900
  # Check whether this is an Automake generated Makefile or not.
4901
  # We used to match only the files named `Makefile.in', but
4902
  # some people rename them; so instead we look at the file content.
4903
  # Grep'ing the first line is not enough: some people post-process
4904
  # each Makefile.in and add a new line on top of each file to say so.
4905
  # So let's grep whole file.
4906
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4907
    dirpart=`(dirname "$mf") 2>/dev/null ||
4908
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4909
         X"$mf" : 'X\(//\)[^/]' \| \
4910
         X"$mf" : 'X\(//\)$' \| \
4911
         X"$mf" : 'X\(/\)' \| \
4912
         .     : '\(.\)' 2>/dev/null ||
4913
echo X"$mf" |
4914
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4915
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4916
          /^X\(\/\/\)$/{ s//\1/; q; }
4917
          /^X\(\/\).*/{ s//\1/; q; }
4918
          s/.*/./; q'`
4919
  else
4920
    continue
4921
  fi
4922
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4923
  # Extract the definition of DEP_FILES from the Makefile without
4924
  # running `make'.
4925
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4926
  test -z "$DEPDIR" && continue
4927
  # When using ansi2knr, U may be empty or an underscore; expand it
4928
  U=`sed -n -e '/^U = / s///p' < "$mf"`
4929
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4930
  # We invoke sed twice because it is the simplest approach to
4931
  # changing $(DEPDIR) to its actual value in the expansion.
4932
  for file in `sed -n -e '
4933
    /^DEP_FILES = .*\\\\$/ {
4934
      s/^DEP_FILES = //
4935
      :loop
4936
        s/\\\\$//
4937
        p
4938
        n
4939
        /\\\\$/ b loop
4940
      p
4941
    }
4942
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4943
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4944
    # Make sure the directory exists.
4945
    test -f "$dirpart/$file" && continue
4946
    fdir=`(dirname "$file") 2>/dev/null ||
4947
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4948
         X"$file" : 'X\(//\)[^/]' \| \
4949
         X"$file" : 'X\(//\)$' \| \
4950
         X"$file" : 'X\(/\)' \| \
4951
         .     : '\(.\)' 2>/dev/null ||
4952
echo X"$file" |
4953
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4954
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4955
          /^X\(\/\/\)$/{ s//\1/; q; }
4956
          /^X\(\/\).*/{ s//\1/; q; }
4957
          s/.*/./; q'`
4958
    { if $as_mkdir_p; then
4959
    mkdir -p $dirpart/$fdir
4960
  else
4961
    as_dir=$dirpart/$fdir
4962
    as_dirs=
4963
    while test ! -d "$as_dir"; do
4964
      as_dirs="$as_dir $as_dirs"
4965
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4966
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4967
         X"$as_dir" : 'X\(//\)[^/]' \| \
4968
         X"$as_dir" : 'X\(//\)$' \| \
4969
         X"$as_dir" : 'X\(/\)' \| \
4970
         .     : '\(.\)' 2>/dev/null ||
4971
echo X"$as_dir" |
4972
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4973
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4974
          /^X\(\/\/\)$/{ s//\1/; q; }
4975
          /^X\(\/\).*/{ s//\1/; q; }
4976
          s/.*/./; q'`
4977
    done
4978
    test ! -n "$as_dirs" || mkdir $as_dirs
4979
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4980
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4981
   { (exit 1); exit 1; }; }; }
4982
 
4983
    # echo "creating $dirpart/$file"
4984
    echo '# dummy' > "$dirpart/$file"
4985
  done
4986
done
4987
 ;;
4988
  esac
4989
done
4990
_ACEOF
4991
 
4992
cat >>$CONFIG_STATUS <<\_ACEOF
4993
 
4994 1249 lampret
{ (exit 0); exit 0; }
4995 1264 jurem
_ACEOF
4996 224 markom
chmod +x $CONFIG_STATUS
4997 1249 lampret
ac_clean_files=$ac_clean_files_save
4998 224 markom
 
4999 1264 jurem
 
5000 1249 lampret
# configure is writing to config.log, and then calls config.status.
5001
# config.status does its own redirection, appending to config.log.
5002
# Unfortunately, on DOS this fails, as config.log is still kept open
5003
# by configure, so config.status won't be able to write to it; its
5004
# output is simply discarded.  So we exec the FD to /dev/null,
5005
# effectively closing config.log, so it can be properly (re)opened and
5006
# appended to by config.status.  When coming back to configure, we
5007
# need to make the FD available again.
5008
if test "$no_create" != yes; then
5009
  ac_cs_success=:
5010 1264 jurem
  ac_config_status_args=
5011
  test "$silent" = yes &&
5012
    ac_config_status_args="$ac_config_status_args --quiet"
5013 1249 lampret
  exec 5>/dev/null
5014 1264 jurem
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5015 1249 lampret
  exec 5>>config.log
5016
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5017
  # would make configure fail if this is the last instruction.
5018
  $ac_cs_success || { (exit 1); exit 1; }
5019
fi
5020
 

powered by: WebSVN 2.1.0

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