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 1765

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

powered by: WebSVN 2.1.0

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