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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code-or1k/] [configure] - Blame information for rev 792

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

Line No. Rev Author Line
1 90 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3 792 jeremybenn
# Generated by GNU Autoconf 2.68 for or1ksim-testsuite 2012-04-07.
4 90 jeremybenn
#
5
# Report bugs to .
6
#
7 625 jeremybenn
#
8 90 jeremybenn
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 625 jeremybenn
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 538 julius
# Foundation, Inc.
11 346 jeremybenn
#
12 625 jeremybenn
#
13 90 jeremybenn
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15 346 jeremybenn
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
18 90 jeremybenn
 
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21 346 jeremybenn
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 90 jeremybenn
  emulate sh
23
  NULLCMD=:
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
  # is contrary to our usage.  Disable this feature.
26
  alias -g '${1+"$@"}'='"$@"'
27
  setopt NO_GLOB_SUBST
28
else
29 346 jeremybenn
  case `(set -o) 2>/dev/null` in #(
30
  *posix*) :
31
    set -o posix ;; #(
32
  *) :
33
     ;;
34 90 jeremybenn
esac
35
fi
36
 
37
 
38
as_nl='
39
'
40
export as_nl
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 346 jeremybenn
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
  as_echo='print -r --'
50
  as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 90 jeremybenn
  as_echo='printf %s\n'
53
  as_echo_n='printf %s'
54
else
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
    as_echo_n='/usr/ucb/echo -n'
58
  else
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
    as_echo_n_body='eval
61
      arg=$1;
62 346 jeremybenn
      case $arg in #(
63 90 jeremybenn
      *"$as_nl"*)
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
      esac;
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
    '
69
    export as_echo_n_body
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
  fi
72
  export as_echo_body
73
  as_echo='sh -c $as_echo_body as_echo'
74
fi
75
 
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
78
  PATH_SEPARATOR=:
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
      PATH_SEPARATOR=';'
82
  }
83
fi
84
 
85
 
86
# IFS
87
# We need space, tab and new line, in precisely that order.  Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
91
IFS=" ""        $as_nl"
92
 
93
# Find who we are.  Look in the path if we contain no directory separator.
94 625 jeremybenn
as_myself=
95 346 jeremybenn
case $0 in #((
96 90 jeremybenn
  *[\\/]* ) as_myself=$0 ;;
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
for as_dir in $PATH
99
do
100
  IFS=$as_save_IFS
101
  test -z "$as_dir" && as_dir=.
102 346 jeremybenn
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
  done
104 90 jeremybenn
IFS=$as_save_IFS
105
 
106
     ;;
107
esac
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
111
  as_myself=$0
112
fi
113
if test ! -f "$as_myself"; then
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 346 jeremybenn
  exit 1
116 90 jeremybenn
fi
117
 
118 346 jeremybenn
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there.  '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 90 jeremybenn
done
126
PS1='$ '
127
PS2='> '
128
PS4='+ '
129
 
130
# NLS nuisances.
131
LC_ALL=C
132
export LC_ALL
133
LANGUAGE=C
134
export LANGUAGE
135
 
136
# CDPATH.
137 346 jeremybenn
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 90 jeremybenn
 
139
if test "x$CONFIG_SHELL" = x; then
140 346 jeremybenn
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
  emulate sh
142
  NULLCMD=:
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
  # is contrary to our usage.  Disable this feature.
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
  setopt NO_GLOB_SUBST
147 90 jeremybenn
else
148 346 jeremybenn
  case \`(set -o) 2>/dev/null\` in #(
149
  *posix*) :
150
    set -o posix ;; #(
151
  *) :
152
     ;;
153
esac
154 90 jeremybenn
fi
155 346 jeremybenn
"
156
  as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
161 90 jeremybenn
 
162
exitcode=0
163 346 jeremybenn
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 90 jeremybenn
 
169
else
170 346 jeremybenn
  exitcode=1; echo positional parameters were not saved.
171 90 jeremybenn
fi
172 346 jeremybenn
test x\$exitcode = x0 || exit 1"
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 784 jeremybenn
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
    PATH=/empty FPATH=/empty; export PATH FPATH
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 346 jeremybenn
test \$(( 1 + 1 )) = 2 || exit 1"
186
  if (eval "$as_required") 2>/dev/null; then :
187
  as_have_required=yes
188 90 jeremybenn
else
189 346 jeremybenn
  as_have_required=no
190 90 jeremybenn
fi
191 346 jeremybenn
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 90 jeremybenn
 
193
else
194 346 jeremybenn
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195
as_found=false
196 90 jeremybenn
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
do
198
  IFS=$as_save_IFS
199
  test -z "$as_dir" && as_dir=.
200 346 jeremybenn
  as_found=:
201
  case $as_dir in #(
202 90 jeremybenn
         /*)
203
           for as_base in sh bash ksh sh5; do
204 346 jeremybenn
             # Try only shells that exist, to save several forks.
205
             as_shell=$as_dir/$as_base
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
  CONFIG_SHELL=$as_shell as_have_required=yes
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210
  break 2
211
fi
212
fi
213 90 jeremybenn
           done;;
214
       esac
215 346 jeremybenn
  as_found=false
216 90 jeremybenn
done
217 346 jeremybenn
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
  CONFIG_SHELL=$SHELL as_have_required=yes
220
fi; }
221 90 jeremybenn
IFS=$as_save_IFS
222
 
223
 
224 346 jeremybenn
      if test "x$CONFIG_SHELL" != x; then :
225
  # We cannot yet assume a decent shell, so we have to provide a
226
        # neutralization value for shells without unset; and this also
227
        # works around shells that cannot unset nonexistent variables.
228 625 jeremybenn
        # Preserve -v and -x to the replacement shell.
229 346 jeremybenn
        BASH_ENV=/dev/null
230
        ENV=/dev/null
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
        export CONFIG_SHELL
233 625 jeremybenn
        case $- in # ((((
234
          *v*x* | *x*v* ) as_opts=-vx ;;
235
          *v* ) as_opts=-v ;;
236
          *x* ) as_opts=-x ;;
237
          * ) as_opts= ;;
238
        esac
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 90 jeremybenn
fi
241
 
242 346 jeremybenn
    if test x$as_have_required = xno; then :
243
  $as_echo "$0: This script requires a shell more modern than all"
244
  $as_echo "$0: the shells that I found on your system."
245
  if test x${ZSH_VERSION+set} = xset ; then
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248
  else
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: openrisc@opencores.org about your system, including any
251
$0: error possibly output before this message. Then install
252
$0: a modern shell, or manually run the script under such a
253
$0: shell if you do have one."
254
  fi
255
  exit 1
256 90 jeremybenn
fi
257
fi
258
fi
259 346 jeremybenn
SHELL=${CONFIG_SHELL-/bin/sh}
260
export SHELL
261
# Unset more variables known to interfere with behavior of common tools.
262
CLICOLOR_FORCE= GREP_OPTIONS=
263
unset CLICOLOR_FORCE GREP_OPTIONS
264 90 jeremybenn
 
265 346 jeremybenn
## --------------------- ##
266
## M4sh Shell Functions. ##
267
## --------------------- ##
268
# as_fn_unset VAR
269
# ---------------
270
# Portably unset VAR.
271
as_fn_unset ()
272
{
273
  { eval $1=; unset $1;}
274
}
275
as_unset=as_fn_unset
276 90 jeremybenn
 
277 346 jeremybenn
# as_fn_set_status STATUS
278
# -----------------------
279
# Set $? to STATUS, without forking.
280
as_fn_set_status ()
281
{
282
  return $1
283
} # as_fn_set_status
284 90 jeremybenn
 
285 346 jeremybenn
# as_fn_exit STATUS
286
# -----------------
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288
as_fn_exit ()
289
{
290
  set +e
291
  as_fn_set_status $1
292
  exit $1
293
} # as_fn_exit
294 90 jeremybenn
 
295 346 jeremybenn
# as_fn_mkdir_p
296
# -------------
297
# Create "$as_dir" as a directory, including parents if necessary.
298
as_fn_mkdir_p ()
299
{
300 90 jeremybenn
 
301 346 jeremybenn
  case $as_dir in #(
302
  -*) as_dir=./$as_dir;;
303
  esac
304
  test -d "$as_dir" || eval $as_mkdir_p || {
305
    as_dirs=
306
    while :; do
307
      case $as_dir in #(
308
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309
      *) as_qdir=$as_dir;;
310
      esac
311
      as_dirs="'$as_qdir' $as_dirs"
312
      as_dir=`$as_dirname -- "$as_dir" ||
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314
         X"$as_dir" : 'X\(//\)[^/]' \| \
315
         X"$as_dir" : 'X\(//\)$' \| \
316
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317
$as_echo X"$as_dir" |
318
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
            s//\1/
320
            q
321
          }
322
          /^X\(\/\/\)[^/].*/{
323
            s//\1/
324
            q
325
          }
326
          /^X\(\/\/\)$/{
327
            s//\1/
328
            q
329
          }
330
          /^X\(\/\).*/{
331
            s//\1/
332
            q
333
          }
334
          s/.*/./; q'`
335
      test -d "$as_dir" && break
336
    done
337
    test -z "$as_dirs" || eval "mkdir $as_dirs"
338 625 jeremybenn
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 90 jeremybenn
 
340
 
341 346 jeremybenn
} # as_fn_mkdir_p
342
# as_fn_append VAR VALUE
343
# ----------------------
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
345
# advantage of any shell optimizations that allow amortized linear growth over
346
# repeated appends, instead of the typical quadratic growth present in naive
347
# implementations.
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349
  eval 'as_fn_append ()
350
  {
351
    eval $1+=\$2
352
  }'
353
else
354
  as_fn_append ()
355
  {
356
    eval $1=\$$1\$2
357
  }
358
fi # as_fn_append
359 90 jeremybenn
 
360 346 jeremybenn
# as_fn_arith ARG...
361
# ------------------
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
364
# must be portable across $(()) and expr.
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366
  eval 'as_fn_arith ()
367
  {
368
    as_val=$(( $* ))
369
  }'
370
else
371
  as_fn_arith ()
372
  {
373
    as_val=`expr "$@" || test $? -eq 1`
374
  }
375
fi # as_fn_arith
376 90 jeremybenn
 
377
 
378 625 jeremybenn
# as_fn_error STATUS ERROR [LINENO LOG_FD]
379
# ----------------------------------------
380 346 jeremybenn
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 625 jeremybenn
# script with STATUS, using 1 if that was 0.
383 346 jeremybenn
as_fn_error ()
384
{
385 625 jeremybenn
  as_status=$1; test $as_status -eq 0 && as_status=1
386
  if test "$4"; then
387
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389 346 jeremybenn
  fi
390 625 jeremybenn
  $as_echo "$as_me: error: $2" >&2
391 346 jeremybenn
  as_fn_exit $as_status
392
} # as_fn_error
393 90 jeremybenn
 
394 346 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
395
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
396
  as_expr=expr
397 90 jeremybenn
else
398 346 jeremybenn
  as_expr=false
399 90 jeremybenn
fi
400
 
401 346 jeremybenn
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402
  as_basename=basename
403 90 jeremybenn
else
404 346 jeremybenn
  as_basename=false
405 90 jeremybenn
fi
406
 
407 346 jeremybenn
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408
  as_dirname=dirname
409 90 jeremybenn
else
410 346 jeremybenn
  as_dirname=false
411 90 jeremybenn
fi
412
 
413 346 jeremybenn
as_me=`$as_basename -- "$0" ||
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415
         X"$0" : 'X\(//\)$' \| \
416
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417
$as_echo X/"$0" |
418
    sed '/^.*\/\([^/][^/]*\)\/*$/{
419
            s//\1/
420
            q
421
          }
422
          /^X\/\(\/\/\)$/{
423
            s//\1/
424
            q
425
          }
426
          /^X\/\(\/\).*/{
427
            s//\1/
428
            q
429
          }
430
          s/.*/./; q'`
431 90 jeremybenn
 
432 346 jeremybenn
# Avoid depending upon Character Ranges.
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436
as_cr_digits='0123456789'
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
438 90 jeremybenn
 
439
 
440 346 jeremybenn
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
441
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
442
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445 90 jeremybenn
  sed -n '
446
    p
447
    /[$]LINENO/=
448
  ' <$as_myself |
449
    sed '
450
      s/[$]LINENO.*/&-/
451
      t lineno
452
      b
453
      :lineno
454
      N
455
      :loop
456
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457
      t loop
458
      s/-\n.*//
459
    ' >$as_me.lineno &&
460
  chmod +x "$as_me.lineno" ||
461 346 jeremybenn
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462 90 jeremybenn
 
463
  # Don't try to exec as it changes $[0], causing all sort of problems
464
  # (the dirname of $[0] is not the place where we might find the
465
  # original and so on.  Autoconf is especially sensitive to this).
466
  . "./$as_me.lineno"
467
  # Exit status is that of the last command.
468
  exit
469
}
470
 
471
ECHO_C= ECHO_N= ECHO_T=
472 346 jeremybenn
case `echo -n x` in #(((((
473 90 jeremybenn
-n*)
474 346 jeremybenn
  case `echo 'xy\c'` in
475 90 jeremybenn
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476 346 jeremybenn
  xy)  ECHO_C='\c';;
477
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478
       ECHO_T=' ';;
479 90 jeremybenn
  esac;;
480
*)
481
  ECHO_N='-n';;
482
esac
483
 
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
  rm -f conf$$.dir/conf$$.file
487
else
488
  rm -f conf$$.dir
489
  mkdir conf$$.dir 2>/dev/null
490
fi
491
if (echo >conf$$.file) 2>/dev/null; then
492
  if ln -s conf$$.file conf$$ 2>/dev/null; then
493
    as_ln_s='ln -s'
494
    # ... but there are two gotchas:
495
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
    # In both cases, we have to default to `cp -p'.
498
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499
      as_ln_s='cp -p'
500
  elif ln conf$$.file conf$$ 2>/dev/null; then
501
    as_ln_s=ln
502
  else
503
    as_ln_s='cp -p'
504
  fi
505
else
506
  as_ln_s='cp -p'
507
fi
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
rmdir conf$$.dir 2>/dev/null
510
 
511
if mkdir -p . 2>/dev/null; then
512 346 jeremybenn
  as_mkdir_p='mkdir -p "$as_dir"'
513 90 jeremybenn
else
514
  test -d ./-p && rmdir ./-p
515
  as_mkdir_p=false
516
fi
517
 
518
if test -x / >/dev/null 2>&1; then
519
  as_test_x='test -x'
520
else
521
  if ls -dL / >/dev/null 2>&1; then
522
    as_ls_L_option=L
523
  else
524
    as_ls_L_option=
525
  fi
526
  as_test_x='
527
    eval sh -c '\''
528
      if test -d "$1"; then
529
        test -d "$1/.";
530
      else
531 346 jeremybenn
        case $1 in #(
532 90 jeremybenn
        -*)set "./$1";;
533
        esac;
534 346 jeremybenn
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 90 jeremybenn
        ???[sx]*):;;*)false;;esac;fi
536
    '\'' sh
537
  '
538
fi
539
as_executable_p=$as_test_x
540
 
541
# Sed expression to map a string onto a valid CPP name.
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
 
544
# Sed expression to map a string onto a valid variable name.
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
 
547
SHELL=${CONFIG_SHELL-/bin/sh}
548
 
549
 
550 625 jeremybenn
test -n "$DJDIR" || exec 7<&0 
551
exec 6>&1
552 90 jeremybenn
 
553
# Name of the host.
554 625 jeremybenn
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 90 jeremybenn
# so uname gets run too.
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
 
558
#
559
# Initializations.
560
#
561
ac_default_prefix=/usr/local
562
ac_clean_files=
563
ac_config_libobj_dir=.
564
LIBOBJS=
565
cross_compiling=no
566
subdirs=
567
MFLAGS=
568
MAKEFLAGS=
569
 
570
# Identity of this package.
571
PACKAGE_NAME='or1ksim-testsuite'
572
PACKAGE_TARNAME='or1ksim-testsuite'
573 792 jeremybenn
PACKAGE_VERSION='2012-04-07'
574
PACKAGE_STRING='or1ksim-testsuite 2012-04-07'
575 90 jeremybenn
PACKAGE_BUGREPORT='openrisc@opencores.org'
576 346 jeremybenn
PACKAGE_URL=''
577 90 jeremybenn
 
578
# Factoring default headers for most tests.
579
ac_includes_default="\
580
#include 
581
#ifdef HAVE_SYS_TYPES_H
582
# include 
583
#endif
584
#ifdef HAVE_SYS_STAT_H
585
# include 
586
#endif
587
#ifdef STDC_HEADERS
588
# include 
589
# include 
590
#else
591
# ifdef HAVE_STDLIB_H
592
#  include 
593
# endif
594
#endif
595
#ifdef HAVE_STRING_H
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
597
#  include 
598
# endif
599
# include 
600
#endif
601
#ifdef HAVE_STRINGS_H
602
# include 
603
#endif
604
#ifdef HAVE_INTTYPES_H
605
# include 
606
#endif
607
#ifdef HAVE_STDINT_H
608
# include 
609
#endif
610
#ifdef HAVE_UNISTD_H
611
# include 
612
#endif"
613
 
614
ac_subst_vars='am__EXEEXT_FALSE
615
am__EXEEXT_TRUE
616
LTLIBOBJS
617
LIBOBJS
618
am__fastdepCCAS_FALSE
619
am__fastdepCCAS_TRUE
620
CCASDEPMODE
621
CCASFLAGS
622
CCAS
623
SIM
624
BUILD_ALL_TESTS_FALSE
625
BUILD_ALL_TESTS_TRUE
626 625 jeremybenn
AM_BACKSLASH
627
AM_DEFAULT_VERBOSITY
628 90 jeremybenn
am__fastdepCC_FALSE
629
am__fastdepCC_TRUE
630
CCDEPMODE
631
AMDEPBACKSLASH
632
AMDEP_FALSE
633
AMDEP_TRUE
634
am__quote
635
am__include
636
DEPDIR
637
am__untar
638
am__tar
639
AMTAR
640
am__leading_dot
641
SET_MAKE
642
mkdir_p
643
MKDIR_P
644
INSTALL_STRIP_PROGRAM
645
install_sh
646
MAKEINFO
647
AUTOHEADER
648
AUTOMAKE
649
AUTOCONF
650
ACLOCAL
651
VERSION
652
PACKAGE
653
CYGPATH_W
654
am__isrc
655
INSTALL_DATA
656
INSTALL_SCRIPT
657
INSTALL_PROGRAM
658
CPP
659
OTOOL64
660
OTOOL
661
LIPO
662
NMEDIT
663
DSYMUTIL
664 784 jeremybenn
MANIFEST_TOOL
665
AWK
666 90 jeremybenn
RANLIB
667
STRIP
668 784 jeremybenn
ac_ct_AR
669 90 jeremybenn
AR
670 784 jeremybenn
DLLTOOL
671 90 jeremybenn
OBJDUMP
672
LN_S
673
NM
674
ac_ct_DUMPBIN
675
DUMPBIN
676
LD
677
FGREP
678
EGREP
679
GREP
680
SED
681
OBJEXT
682
EXEEXT
683
ac_ct_CC
684
CPPFLAGS
685
LDFLAGS
686
CFLAGS
687
CC
688
host_os
689
host_vendor
690
host_cpu
691
host
692
build_os
693
build_vendor
694
build_cpu
695
build
696
LIBTOOL
697
target_alias
698
host_alias
699
build_alias
700
LIBS
701
ECHO_T
702
ECHO_N
703
ECHO_C
704
DEFS
705
mandir
706
localedir
707
libdir
708
psdir
709
pdfdir
710
dvidir
711
htmldir
712
infodir
713
docdir
714
oldincludedir
715
includedir
716
localstatedir
717
sharedstatedir
718
sysconfdir
719
datadir
720
datarootdir
721
libexecdir
722
sbindir
723
bindir
724
program_transform_name
725
prefix
726
exec_prefix
727 346 jeremybenn
PACKAGE_URL
728 90 jeremybenn
PACKAGE_BUGREPORT
729
PACKAGE_STRING
730
PACKAGE_VERSION
731
PACKAGE_TARNAME
732
PACKAGE_NAME
733
PATH_SEPARATOR
734
SHELL'
735
ac_subst_files=''
736
ac_user_opts='
737
enable_option_checking
738
enable_shared
739
enable_static
740
with_pic
741
enable_fast_install
742
with_gnu_ld
743 784 jeremybenn
with_sysroot
744 90 jeremybenn
enable_libtool_lock
745
enable_dependency_tracking
746 625 jeremybenn
enable_silent_rules
747 90 jeremybenn
enable_all_tests
748 458 julius
enable_check_opt
749 90 jeremybenn
'
750
      ac_precious_vars='build_alias
751
host_alias
752
target_alias
753
CC
754
CFLAGS
755
LDFLAGS
756
LIBS
757
CPPFLAGS
758
CPP
759
CCAS
760
CCASFLAGS'
761
 
762
 
763
# Initialize some variables set by options.
764
ac_init_help=
765
ac_init_version=false
766
ac_unrecognized_opts=
767
ac_unrecognized_sep=
768
# The variables have the same names as the options, with
769
# dashes changed to underlines.
770
cache_file=/dev/null
771
exec_prefix=NONE
772
no_create=
773
no_recursion=
774
prefix=NONE
775
program_prefix=NONE
776
program_suffix=NONE
777
program_transform_name=s,x,x,
778
silent=
779
site=
780
srcdir=
781
verbose=
782
x_includes=NONE
783
x_libraries=NONE
784
 
785
# Installation directory options.
786
# These are left unexpanded so users can "make install exec_prefix=/foo"
787
# and all the variables that are supposed to be based on exec_prefix
788
# by default will actually change.
789
# Use braces instead of parens because sh, perl, etc. also accept them.
790
# (The list follows the same order as the GNU Coding Standards.)
791
bindir='${exec_prefix}/bin'
792
sbindir='${exec_prefix}/sbin'
793
libexecdir='${exec_prefix}/libexec'
794
datarootdir='${prefix}/share'
795
datadir='${datarootdir}'
796
sysconfdir='${prefix}/etc'
797
sharedstatedir='${prefix}/com'
798
localstatedir='${prefix}/var'
799
includedir='${prefix}/include'
800
oldincludedir='/usr/include'
801
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
802
infodir='${datarootdir}/info'
803
htmldir='${docdir}'
804
dvidir='${docdir}'
805
pdfdir='${docdir}'
806
psdir='${docdir}'
807
libdir='${exec_prefix}/lib'
808
localedir='${datarootdir}/locale'
809
mandir='${datarootdir}/man'
810
 
811
ac_prev=
812
ac_dashdash=
813
for ac_option
814
do
815
  # If the previous option needs an argument, assign it.
816
  if test -n "$ac_prev"; then
817
    eval $ac_prev=\$ac_option
818
    ac_prev=
819
    continue
820
  fi
821
 
822
  case $ac_option in
823 625 jeremybenn
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824
  *=)   ac_optarg= ;;
825
  *)    ac_optarg=yes ;;
826 90 jeremybenn
  esac
827
 
828
  # Accept the important Cygnus configure options, so we can diagnose typos.
829
 
830
  case $ac_dashdash$ac_option in
831
  --)
832
    ac_dashdash=yes ;;
833
 
834
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
835
    ac_prev=bindir ;;
836
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
837
    bindir=$ac_optarg ;;
838
 
839
  -build | --build | --buil | --bui | --bu)
840
    ac_prev=build_alias ;;
841
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
842
    build_alias=$ac_optarg ;;
843
 
844
  -cache-file | --cache-file | --cache-fil | --cache-fi \
845
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
846
    ac_prev=cache_file ;;
847
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
848
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
849
    cache_file=$ac_optarg ;;
850
 
851
  --config-cache | -C)
852
    cache_file=config.cache ;;
853
 
854
  -datadir | --datadir | --datadi | --datad)
855
    ac_prev=datadir ;;
856
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
857
    datadir=$ac_optarg ;;
858
 
859
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
860
  | --dataroo | --dataro | --datar)
861
    ac_prev=datarootdir ;;
862
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
863
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
864
    datarootdir=$ac_optarg ;;
865
 
866
  -disable-* | --disable-*)
867
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868
    # Reject names that are not valid shell variable names.
869
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870 625 jeremybenn
      as_fn_error $? "invalid feature name: $ac_useropt"
871 90 jeremybenn
    ac_useropt_orig=$ac_useropt
872
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873
    case $ac_user_opts in
874
      *"
875
"enable_$ac_useropt"
876
"*) ;;
877
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
878
         ac_unrecognized_sep=', ';;
879
    esac
880
    eval enable_$ac_useropt=no ;;
881
 
882
  -docdir | --docdir | --docdi | --doc | --do)
883
    ac_prev=docdir ;;
884
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
885
    docdir=$ac_optarg ;;
886
 
887
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
888
    ac_prev=dvidir ;;
889
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
890
    dvidir=$ac_optarg ;;
891
 
892
  -enable-* | --enable-*)
893
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894
    # Reject names that are not valid shell variable names.
895
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
896 625 jeremybenn
      as_fn_error $? "invalid feature name: $ac_useropt"
897 90 jeremybenn
    ac_useropt_orig=$ac_useropt
898
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899
    case $ac_user_opts in
900
      *"
901
"enable_$ac_useropt"
902
"*) ;;
903
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
904
         ac_unrecognized_sep=', ';;
905
    esac
906
    eval enable_$ac_useropt=\$ac_optarg ;;
907
 
908
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910
  | --exec | --exe | --ex)
911
    ac_prev=exec_prefix ;;
912
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914
  | --exec=* | --exe=* | --ex=*)
915
    exec_prefix=$ac_optarg ;;
916
 
917
  -gas | --gas | --ga | --g)
918
    # Obsolete; use --with-gas.
919
    with_gas=yes ;;
920
 
921
  -help | --help | --hel | --he | -h)
922
    ac_init_help=long ;;
923
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924
    ac_init_help=recursive ;;
925
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926
    ac_init_help=short ;;
927
 
928
  -host | --host | --hos | --ho)
929
    ac_prev=host_alias ;;
930
  -host=* | --host=* | --hos=* | --ho=*)
931
    host_alias=$ac_optarg ;;
932
 
933
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934
    ac_prev=htmldir ;;
935
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936
  | --ht=*)
937
    htmldir=$ac_optarg ;;
938
 
939
  -includedir | --includedir | --includedi | --included | --include \
940
  | --includ | --inclu | --incl | --inc)
941
    ac_prev=includedir ;;
942
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943
  | --includ=* | --inclu=* | --incl=* | --inc=*)
944
    includedir=$ac_optarg ;;
945
 
946
  -infodir | --infodir | --infodi | --infod | --info | --inf)
947
    ac_prev=infodir ;;
948
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949
    infodir=$ac_optarg ;;
950
 
951
  -libdir | --libdir | --libdi | --libd)
952
    ac_prev=libdir ;;
953
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
954
    libdir=$ac_optarg ;;
955
 
956
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957
  | --libexe | --libex | --libe)
958
    ac_prev=libexecdir ;;
959
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960
  | --libexe=* | --libex=* | --libe=*)
961
    libexecdir=$ac_optarg ;;
962
 
963
  -localedir | --localedir | --localedi | --localed | --locale)
964
    ac_prev=localedir ;;
965
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966
    localedir=$ac_optarg ;;
967
 
968
  -localstatedir | --localstatedir | --localstatedi | --localstated \
969
  | --localstate | --localstat | --localsta | --localst | --locals)
970
    ac_prev=localstatedir ;;
971
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973
    localstatedir=$ac_optarg ;;
974
 
975
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976
    ac_prev=mandir ;;
977
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
978
    mandir=$ac_optarg ;;
979
 
980
  -nfp | --nfp | --nf)
981
    # Obsolete; use --without-fp.
982
    with_fp=no ;;
983
 
984
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985
  | --no-cr | --no-c | -n)
986
    no_create=yes ;;
987
 
988
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
990
    no_recursion=yes ;;
991
 
992
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994
  | --oldin | --oldi | --old | --ol | --o)
995
    ac_prev=oldincludedir ;;
996
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999
    oldincludedir=$ac_optarg ;;
1000
 
1001
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002
    ac_prev=prefix ;;
1003
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004
    prefix=$ac_optarg ;;
1005
 
1006
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007
  | --program-pre | --program-pr | --program-p)
1008
    ac_prev=program_prefix ;;
1009
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011
    program_prefix=$ac_optarg ;;
1012
 
1013
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014
  | --program-suf | --program-su | --program-s)
1015
    ac_prev=program_suffix ;;
1016
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018
    program_suffix=$ac_optarg ;;
1019
 
1020
  -program-transform-name | --program-transform-name \
1021
  | --program-transform-nam | --program-transform-na \
1022
  | --program-transform-n | --program-transform- \
1023
  | --program-transform | --program-transfor \
1024
  | --program-transfo | --program-transf \
1025
  | --program-trans | --program-tran \
1026
  | --progr-tra | --program-tr | --program-t)
1027
    ac_prev=program_transform_name ;;
1028
  -program-transform-name=* | --program-transform-name=* \
1029
  | --program-transform-nam=* | --program-transform-na=* \
1030
  | --program-transform-n=* | --program-transform-=* \
1031
  | --program-transform=* | --program-transfor=* \
1032
  | --program-transfo=* | --program-transf=* \
1033
  | --program-trans=* | --program-tran=* \
1034
  | --progr-tra=* | --program-tr=* | --program-t=*)
1035
    program_transform_name=$ac_optarg ;;
1036
 
1037
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038
    ac_prev=pdfdir ;;
1039
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040
    pdfdir=$ac_optarg ;;
1041
 
1042
  -psdir | --psdir | --psdi | --psd | --ps)
1043
    ac_prev=psdir ;;
1044
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1045
    psdir=$ac_optarg ;;
1046
 
1047
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048
  | -silent | --silent | --silen | --sile | --sil)
1049
    silent=yes ;;
1050
 
1051
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052
    ac_prev=sbindir ;;
1053
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054
  | --sbi=* | --sb=*)
1055
    sbindir=$ac_optarg ;;
1056
 
1057
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059
  | --sharedst | --shareds | --shared | --share | --shar \
1060
  | --sha | --sh)
1061
    ac_prev=sharedstatedir ;;
1062
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065
  | --sha=* | --sh=*)
1066
    sharedstatedir=$ac_optarg ;;
1067
 
1068
  -site | --site | --sit)
1069
    ac_prev=site ;;
1070
  -site=* | --site=* | --sit=*)
1071
    site=$ac_optarg ;;
1072
 
1073
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074
    ac_prev=srcdir ;;
1075
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076
    srcdir=$ac_optarg ;;
1077
 
1078
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079
  | --syscon | --sysco | --sysc | --sys | --sy)
1080
    ac_prev=sysconfdir ;;
1081
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083
    sysconfdir=$ac_optarg ;;
1084
 
1085
  -target | --target | --targe | --targ | --tar | --ta | --t)
1086
    ac_prev=target_alias ;;
1087
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088
    target_alias=$ac_optarg ;;
1089
 
1090
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1091
    verbose=yes ;;
1092
 
1093
  -version | --version | --versio | --versi | --vers | -V)
1094
    ac_init_version=: ;;
1095
 
1096
  -with-* | --with-*)
1097
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098
    # Reject names that are not valid shell variable names.
1099
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 625 jeremybenn
      as_fn_error $? "invalid package name: $ac_useropt"
1101 90 jeremybenn
    ac_useropt_orig=$ac_useropt
1102
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103
    case $ac_user_opts in
1104
      *"
1105
"with_$ac_useropt"
1106
"*) ;;
1107
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108
         ac_unrecognized_sep=', ';;
1109
    esac
1110
    eval with_$ac_useropt=\$ac_optarg ;;
1111
 
1112
  -without-* | --without-*)
1113
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114
    # Reject names that are not valid shell variable names.
1115
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 625 jeremybenn
      as_fn_error $? "invalid package name: $ac_useropt"
1117 90 jeremybenn
    ac_useropt_orig=$ac_useropt
1118
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119
    case $ac_user_opts in
1120
      *"
1121
"with_$ac_useropt"
1122
"*) ;;
1123
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1124
         ac_unrecognized_sep=', ';;
1125
    esac
1126
    eval with_$ac_useropt=no ;;
1127
 
1128
  --x)
1129
    # Obsolete; use --with-x.
1130
    with_x=yes ;;
1131
 
1132
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133
  | --x-incl | --x-inc | --x-in | --x-i)
1134
    ac_prev=x_includes ;;
1135
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137
    x_includes=$ac_optarg ;;
1138
 
1139
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141
    ac_prev=x_libraries ;;
1142
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144
    x_libraries=$ac_optarg ;;
1145
 
1146 625 jeremybenn
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1147
Try \`$0 --help' for more information"
1148 90 jeremybenn
    ;;
1149
 
1150
  *=*)
1151
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152
    # Reject names that are not valid shell variable names.
1153 346 jeremybenn
    case $ac_envvar in #(
1154
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1155 625 jeremybenn
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1156 346 jeremybenn
    esac
1157 90 jeremybenn
    eval $ac_envvar=\$ac_optarg
1158
    export $ac_envvar ;;
1159
 
1160
  *)
1161
    # FIXME: should be removed in autoconf 3.0.
1162
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 625 jeremybenn
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1166 90 jeremybenn
    ;;
1167
 
1168
  esac
1169
done
1170
 
1171
if test -n "$ac_prev"; then
1172
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 625 jeremybenn
  as_fn_error $? "missing argument to $ac_option"
1174 90 jeremybenn
fi
1175
 
1176
if test -n "$ac_unrecognized_opts"; then
1177
  case $enable_option_checking in
1178
    no) ;;
1179 625 jeremybenn
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1180 90 jeremybenn
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1181
  esac
1182
fi
1183
 
1184
# Check all directory arguments for consistency.
1185
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186
                datadir sysconfdir sharedstatedir localstatedir includedir \
1187
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188
                libdir localedir mandir
1189
do
1190
  eval ac_val=\$$ac_var
1191
  # Remove trailing slashes.
1192
  case $ac_val in
1193
    */ )
1194
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1195
      eval $ac_var=\$ac_val;;
1196
  esac
1197
  # Be sure to have absolute directory names.
1198
  case $ac_val in
1199
    [\\/$]* | ?:[\\/]* )  continue;;
1200
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1201
  esac
1202 625 jeremybenn
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1203 90 jeremybenn
done
1204
 
1205
# There might be people who depend on the old broken behavior: `$host'
1206
# used to hold the argument of --host etc.
1207
# FIXME: To remove some day.
1208
build=$build_alias
1209
host=$host_alias
1210
target=$target_alias
1211
 
1212
# FIXME: To remove some day.
1213
if test "x$host_alias" != x; then
1214
  if test "x$build_alias" = x; then
1215
    cross_compiling=maybe
1216 625 jeremybenn
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1217
    If a cross compiler is detected then cross compile mode will be used" >&2
1218 90 jeremybenn
  elif test "x$build_alias" != "x$host_alias"; then
1219
    cross_compiling=yes
1220
  fi
1221
fi
1222
 
1223
ac_tool_prefix=
1224
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1225
 
1226
test "$silent" = yes && exec 6>/dev/null
1227
 
1228
 
1229
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1230
ac_ls_di=`ls -di .` &&
1231
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1232 625 jeremybenn
  as_fn_error $? "working directory cannot be determined"
1233 90 jeremybenn
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1234 625 jeremybenn
  as_fn_error $? "pwd does not report name of working directory"
1235 90 jeremybenn
 
1236
 
1237
# Find the source files, if location was not specified.
1238
if test -z "$srcdir"; then
1239
  ac_srcdir_defaulted=yes
1240
  # Try the directory containing this script, then the parent directory.
1241
  ac_confdir=`$as_dirname -- "$as_myself" ||
1242
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1243
         X"$as_myself" : 'X\(//\)[^/]' \| \
1244
         X"$as_myself" : 'X\(//\)$' \| \
1245
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1246
$as_echo X"$as_myself" |
1247
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1248
            s//\1/
1249
            q
1250
          }
1251
          /^X\(\/\/\)[^/].*/{
1252
            s//\1/
1253
            q
1254
          }
1255
          /^X\(\/\/\)$/{
1256
            s//\1/
1257
            q
1258
          }
1259
          /^X\(\/\).*/{
1260
            s//\1/
1261
            q
1262
          }
1263
          s/.*/./; q'`
1264
  srcdir=$ac_confdir
1265
  if test ! -r "$srcdir/$ac_unique_file"; then
1266
    srcdir=..
1267
  fi
1268
else
1269
  ac_srcdir_defaulted=no
1270
fi
1271
if test ! -r "$srcdir/$ac_unique_file"; then
1272
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1273 625 jeremybenn
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1274 90 jeremybenn
fi
1275
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1276
ac_abs_confdir=`(
1277 625 jeremybenn
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1278 90 jeremybenn
        pwd)`
1279
# When building in place, set srcdir=.
1280
if test "$ac_abs_confdir" = "$ac_pwd"; then
1281
  srcdir=.
1282
fi
1283
# Remove unnecessary trailing slashes from srcdir.
1284
# Double slashes in file names in object file debugging info
1285
# mess up M-x gdb in Emacs.
1286
case $srcdir in
1287
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288
esac
1289
for ac_var in $ac_precious_vars; do
1290
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1291
  eval ac_env_${ac_var}_value=\$${ac_var}
1292
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1293
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1294
done
1295
 
1296
#
1297
# Report the --help message.
1298
#
1299
if test "$ac_init_help" = "long"; then
1300
  # Omit some internal or obsolete options to make the list less imposing.
1301
  # This message is too long to be a string in the A/UX 3.1 sh.
1302
  cat <<_ACEOF
1303 792 jeremybenn
\`configure' configures or1ksim-testsuite 2012-04-07 to adapt to many kinds of systems.
1304 90 jeremybenn
 
1305
Usage: $0 [OPTION]... [VAR=VALUE]...
1306
 
1307
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1308
VAR=VALUE.  See below for descriptions of some of the useful variables.
1309
 
1310
Defaults for the options are specified in brackets.
1311
 
1312
Configuration:
1313
  -h, --help              display this help and exit
1314
      --help=short        display options specific to this package
1315
      --help=recursive    display the short help of all the included packages
1316
  -V, --version           display version information and exit
1317 625 jeremybenn
  -q, --quiet, --silent   do not print \`checking ...' messages
1318 90 jeremybenn
      --cache-file=FILE   cache test results in FILE [disabled]
1319
  -C, --config-cache      alias for \`--cache-file=config.cache'
1320
  -n, --no-create         do not create output files
1321
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1322
 
1323
Installation directories:
1324
  --prefix=PREFIX         install architecture-independent files in PREFIX
1325
                          [$ac_default_prefix]
1326
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1327
                          [PREFIX]
1328
 
1329
By default, \`make install' will install all the files in
1330
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1331
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1332
for instance \`--prefix=\$HOME'.
1333
 
1334
For better control, use the options below.
1335
 
1336
Fine tuning of the installation directories:
1337
  --bindir=DIR            user executables [EPREFIX/bin]
1338
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1339
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1340
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1341
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1342
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1343
  --libdir=DIR            object code libraries [EPREFIX/lib]
1344
  --includedir=DIR        C header files [PREFIX/include]
1345
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1346
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1347
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1348
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1349
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1350
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1351
  --docdir=DIR            documentation root
1352
                          [DATAROOTDIR/doc/or1ksim-testsuite]
1353
  --htmldir=DIR           html documentation [DOCDIR]
1354
  --dvidir=DIR            dvi documentation [DOCDIR]
1355
  --pdfdir=DIR            pdf documentation [DOCDIR]
1356
  --psdir=DIR             ps documentation [DOCDIR]
1357
_ACEOF
1358
 
1359
  cat <<\_ACEOF
1360
 
1361
Program names:
1362
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1363
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1364
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1365
 
1366
System types:
1367
  --build=BUILD     configure for building on BUILD [guessed]
1368
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1369
_ACEOF
1370
fi
1371
 
1372
if test -n "$ac_init_help"; then
1373
  case $ac_init_help in
1374 792 jeremybenn
     short | recursive ) echo "Configuration of or1ksim-testsuite 2012-04-07:";;
1375 90 jeremybenn
   esac
1376
  cat <<\_ACEOF
1377
 
1378
Optional Features:
1379
  --disable-option-checking  ignore unrecognized --enable/--with options
1380
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1381
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1382
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1383
  --enable-static[=PKGS]  build static libraries [default=yes]
1384
  --enable-fast-install[=PKGS]
1385
                          optimize for fast installation [default=yes]
1386
  --disable-libtool-lock  avoid locking (might break parallel builds)
1387
  --disable-dependency-tracking  speeds up one-time build
1388
  --enable-dependency-tracking   do not reject slow dependency extractors
1389 625 jeremybenn
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1390
  --disable-silent-rules         verbose build output (undo: `make V=0')
1391 90 jeremybenn
  --enable-all-tests      enable all tests, including those which do not
1392
                          compile
1393
  --enable-check-opt      enable optimizations
1394
  --enable-check-opt=level     same as gcc -O switch
1395
 
1396
Optional Packages:
1397
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1398
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1399
  --with-pic              try to use only PIC/non-PIC objects [default=use
1400
                          both]
1401
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1402 784 jeremybenn
  --with-sysroot=DIR Search for dependent libraries within DIR
1403
                        (or the compiler's sysroot if not specified).
1404 90 jeremybenn
 
1405
Some influential environment variables:
1406
  CC          C compiler command
1407
  CFLAGS      C compiler flags
1408
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1409
              nonstandard directory 
1410
  LIBS        libraries to pass to the linker, e.g. -l
1411 625 jeremybenn
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I if
1412 90 jeremybenn
              you have headers in a nonstandard directory 
1413
  CPP         C preprocessor
1414
  CCAS        assembler compiler command (defaults to CC)
1415
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1416
 
1417
Use these variables to override the choices made by `configure' or to help
1418
it to find libraries and programs with nonstandard names/locations.
1419
 
1420
Report bugs to .
1421
_ACEOF
1422
ac_status=$?
1423
fi
1424
 
1425
if test "$ac_init_help" = "recursive"; then
1426
  # If there are subdirs, report their specific --help.
1427
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1428
    test -d "$ac_dir" ||
1429
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1430
      continue
1431
    ac_builddir=.
1432
 
1433
case "$ac_dir" in
1434
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435
*)
1436
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1437
  # A ".." for each directory in $ac_dir_suffix.
1438
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1439
  case $ac_top_builddir_sub in
1440
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1442
  esac ;;
1443
esac
1444
ac_abs_top_builddir=$ac_pwd
1445
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1446
# for backward compatibility:
1447
ac_top_builddir=$ac_top_build_prefix
1448
 
1449
case $srcdir in
1450
  .)  # We are building in place.
1451
    ac_srcdir=.
1452
    ac_top_srcdir=$ac_top_builddir_sub
1453
    ac_abs_top_srcdir=$ac_pwd ;;
1454
  [\\/]* | ?:[\\/]* )  # Absolute name.
1455
    ac_srcdir=$srcdir$ac_dir_suffix;
1456
    ac_top_srcdir=$srcdir
1457
    ac_abs_top_srcdir=$srcdir ;;
1458
  *) # Relative name.
1459
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1460
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1461
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1462
esac
1463
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1464
 
1465
    cd "$ac_dir" || { ac_status=$?; continue; }
1466
    # Check for guested configure.
1467
    if test -f "$ac_srcdir/configure.gnu"; then
1468
      echo &&
1469
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1470
    elif test -f "$ac_srcdir/configure"; then
1471
      echo &&
1472
      $SHELL "$ac_srcdir/configure" --help=recursive
1473
    else
1474
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1475
    fi || ac_status=$?
1476
    cd "$ac_pwd" || { ac_status=$?; break; }
1477
  done
1478
fi
1479
 
1480
test -n "$ac_init_help" && exit $ac_status
1481
if $ac_init_version; then
1482
  cat <<\_ACEOF
1483 792 jeremybenn
or1ksim-testsuite configure 2012-04-07
1484 625 jeremybenn
generated by GNU Autoconf 2.68
1485 90 jeremybenn
 
1486 625 jeremybenn
Copyright (C) 2010 Free Software Foundation, Inc.
1487 90 jeremybenn
This configure script is free software; the Free Software Foundation
1488
gives unlimited permission to copy, distribute and modify it.
1489
_ACEOF
1490
  exit
1491
fi
1492 346 jeremybenn
 
1493
## ------------------------ ##
1494
## Autoconf initialization. ##
1495
## ------------------------ ##
1496
 
1497
# ac_fn_c_try_compile LINENO
1498
# --------------------------
1499
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1500
ac_fn_c_try_compile ()
1501
{
1502
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503
  rm -f conftest.$ac_objext
1504
  if { { ac_try="$ac_compile"
1505
case "(($ac_try" in
1506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1507
  *) ac_try_echo=$ac_try;;
1508
esac
1509
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510
$as_echo "$ac_try_echo"; } >&5
1511
  (eval "$ac_compile") 2>conftest.err
1512
  ac_status=$?
1513
  if test -s conftest.err; then
1514
    grep -v '^ *+' conftest.err >conftest.er1
1515
    cat conftest.er1 >&5
1516
    mv -f conftest.er1 conftest.err
1517
  fi
1518
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519
  test $ac_status = 0; } && {
1520
         test -z "$ac_c_werror_flag" ||
1521
         test ! -s conftest.err
1522
       } && test -s conftest.$ac_objext; then :
1523
  ac_retval=0
1524
else
1525
  $as_echo "$as_me: failed program was:" >&5
1526
sed 's/^/| /' conftest.$ac_ext >&5
1527
 
1528
        ac_retval=1
1529
fi
1530 625 jeremybenn
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1531
  as_fn_set_status $ac_retval
1532 346 jeremybenn
 
1533
} # ac_fn_c_try_compile
1534
 
1535
# ac_fn_c_try_link LINENO
1536
# -----------------------
1537
# Try to link conftest.$ac_ext, and return whether this succeeded.
1538
ac_fn_c_try_link ()
1539
{
1540
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541
  rm -f conftest.$ac_objext conftest$ac_exeext
1542
  if { { ac_try="$ac_link"
1543
case "(($ac_try" in
1544
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545
  *) ac_try_echo=$ac_try;;
1546
esac
1547
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548
$as_echo "$ac_try_echo"; } >&5
1549
  (eval "$ac_link") 2>conftest.err
1550
  ac_status=$?
1551
  if test -s conftest.err; then
1552
    grep -v '^ *+' conftest.err >conftest.er1
1553
    cat conftest.er1 >&5
1554
    mv -f conftest.er1 conftest.err
1555
  fi
1556
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557
  test $ac_status = 0; } && {
1558
         test -z "$ac_c_werror_flag" ||
1559
         test ! -s conftest.err
1560
       } && test -s conftest$ac_exeext && {
1561
         test "$cross_compiling" = yes ||
1562
         $as_test_x conftest$ac_exeext
1563
       }; then :
1564
  ac_retval=0
1565
else
1566
  $as_echo "$as_me: failed program was:" >&5
1567
sed 's/^/| /' conftest.$ac_ext >&5
1568
 
1569
        ac_retval=1
1570
fi
1571
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1572
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1573
  # interfere with the next link command; also delete a directory that is
1574
  # left behind by Apple's compiler.  We do this before executing the actions.
1575
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1576 625 jeremybenn
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577
  as_fn_set_status $ac_retval
1578 346 jeremybenn
 
1579
} # ac_fn_c_try_link
1580
 
1581
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1582
# -------------------------------------------------------
1583
# Tests whether HEADER exists and can be compiled using the include files in
1584
# INCLUDES, setting the cache variable VAR accordingly.
1585
ac_fn_c_check_header_compile ()
1586
{
1587
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1589
$as_echo_n "checking for $2... " >&6; }
1590 625 jeremybenn
if eval \${$3+:} false; then :
1591 346 jeremybenn
  $as_echo_n "(cached) " >&6
1592
else
1593
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594
/* end confdefs.h.  */
1595
$4
1596
#include <$2>
1597
_ACEOF
1598
if ac_fn_c_try_compile "$LINENO"; then :
1599
  eval "$3=yes"
1600
else
1601
  eval "$3=no"
1602
fi
1603
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604
fi
1605
eval ac_res=\$$3
1606
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1607
$as_echo "$ac_res" >&6; }
1608 625 jeremybenn
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609 346 jeremybenn
 
1610
} # ac_fn_c_check_header_compile
1611
 
1612
# ac_fn_c_try_cpp LINENO
1613
# ----------------------
1614
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615
ac_fn_c_try_cpp ()
1616
{
1617
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1619
case "(($ac_try" in
1620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621
  *) ac_try_echo=$ac_try;;
1622
esac
1623
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624
$as_echo "$ac_try_echo"; } >&5
1625
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1626
  ac_status=$?
1627
  if test -s conftest.err; then
1628
    grep -v '^ *+' conftest.err >conftest.er1
1629
    cat conftest.er1 >&5
1630
    mv -f conftest.er1 conftest.err
1631
  fi
1632
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 625 jeremybenn
  test $ac_status = 0; } > conftest.i && {
1634 346 jeremybenn
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1635
         test ! -s conftest.err
1636
       }; then :
1637
  ac_retval=0
1638
else
1639
  $as_echo "$as_me: failed program was:" >&5
1640
sed 's/^/| /' conftest.$ac_ext >&5
1641
 
1642
    ac_retval=1
1643
fi
1644 625 jeremybenn
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645
  as_fn_set_status $ac_retval
1646 346 jeremybenn
 
1647
} # ac_fn_c_try_cpp
1648
 
1649
# ac_fn_c_try_run LINENO
1650
# ----------------------
1651
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1652
# that executables *can* be run.
1653
ac_fn_c_try_run ()
1654
{
1655
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656
  if { { ac_try="$ac_link"
1657
case "(($ac_try" in
1658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659
  *) ac_try_echo=$ac_try;;
1660
esac
1661
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662
$as_echo "$ac_try_echo"; } >&5
1663
  (eval "$ac_link") 2>&5
1664
  ac_status=$?
1665
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1667
  { { case "(($ac_try" in
1668
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669
  *) ac_try_echo=$ac_try;;
1670
esac
1671
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672
$as_echo "$ac_try_echo"; } >&5
1673
  (eval "$ac_try") 2>&5
1674
  ac_status=$?
1675
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676
  test $ac_status = 0; }; }; then :
1677
  ac_retval=0
1678
else
1679
  $as_echo "$as_me: program exited with status $ac_status" >&5
1680
       $as_echo "$as_me: failed program was:" >&5
1681
sed 's/^/| /' conftest.$ac_ext >&5
1682
 
1683
       ac_retval=$ac_status
1684
fi
1685
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1686 625 jeremybenn
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687
  as_fn_set_status $ac_retval
1688 346 jeremybenn
 
1689
} # ac_fn_c_try_run
1690
 
1691
# ac_fn_c_check_func LINENO FUNC VAR
1692
# ----------------------------------
1693
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1694
ac_fn_c_check_func ()
1695
{
1696
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698
$as_echo_n "checking for $2... " >&6; }
1699 625 jeremybenn
if eval \${$3+:} false; then :
1700 346 jeremybenn
  $as_echo_n "(cached) " >&6
1701
else
1702
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703
/* end confdefs.h.  */
1704
/* Define $2 to an innocuous variant, in case  declares $2.
1705
   For example, HP-UX 11i  declares gettimeofday.  */
1706
#define $2 innocuous_$2
1707
 
1708
/* System header to define __stub macros and hopefully few prototypes,
1709
    which can conflict with char $2 (); below.
1710
    Prefer  to  if __STDC__ is defined, since
1711
     exists even on freestanding compilers.  */
1712
 
1713
#ifdef __STDC__
1714
# include 
1715
#else
1716
# include 
1717
#endif
1718
 
1719
#undef $2
1720
 
1721
/* Override any GCC internal prototype to avoid an error.
1722
   Use char because int might match the return type of a GCC
1723
   builtin and then its argument prototype would still apply.  */
1724
#ifdef __cplusplus
1725
extern "C"
1726
#endif
1727
char $2 ();
1728
/* The GNU C library defines this for functions which it implements
1729
    to always fail with ENOSYS.  Some functions are actually named
1730
    something starting with __ and the normal name is an alias.  */
1731
#if defined __stub_$2 || defined __stub___$2
1732
choke me
1733
#endif
1734
 
1735
int
1736
main ()
1737
{
1738
return $2 ();
1739
  ;
1740
  return 0;
1741
}
1742
_ACEOF
1743
if ac_fn_c_try_link "$LINENO"; then :
1744
  eval "$3=yes"
1745
else
1746
  eval "$3=no"
1747
fi
1748
rm -f core conftest.err conftest.$ac_objext \
1749
    conftest$ac_exeext conftest.$ac_ext
1750
fi
1751
eval ac_res=\$$3
1752
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1753
$as_echo "$ac_res" >&6; }
1754 625 jeremybenn
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 346 jeremybenn
 
1756
} # ac_fn_c_check_func
1757
 
1758
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1759
# -------------------------------------------------------
1760
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1761
# the include files in INCLUDES and setting the cache variable VAR
1762
# accordingly.
1763
ac_fn_c_check_header_mongrel ()
1764
{
1765
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 625 jeremybenn
  if eval \${$3+:} false; then :
1767 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768
$as_echo_n "checking for $2... " >&6; }
1769 625 jeremybenn
if eval \${$3+:} false; then :
1770 346 jeremybenn
  $as_echo_n "(cached) " >&6
1771
fi
1772
eval ac_res=\$$3
1773
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774
$as_echo "$ac_res" >&6; }
1775
else
1776
  # Is the header compilable?
1777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1778
$as_echo_n "checking $2 usability... " >&6; }
1779
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780
/* end confdefs.h.  */
1781
$4
1782
#include <$2>
1783
_ACEOF
1784
if ac_fn_c_try_compile "$LINENO"; then :
1785
  ac_header_compiler=yes
1786
else
1787
  ac_header_compiler=no
1788
fi
1789
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1791
$as_echo "$ac_header_compiler" >&6; }
1792
 
1793
# Is the header present?
1794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1795
$as_echo_n "checking $2 presence... " >&6; }
1796
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797
/* end confdefs.h.  */
1798
#include <$2>
1799
_ACEOF
1800
if ac_fn_c_try_cpp "$LINENO"; then :
1801
  ac_header_preproc=yes
1802
else
1803
  ac_header_preproc=no
1804
fi
1805 625 jeremybenn
rm -f conftest.err conftest.i conftest.$ac_ext
1806 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1807
$as_echo "$ac_header_preproc" >&6; }
1808
 
1809
# So?  What about this header?
1810
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1811
  yes:no: )
1812
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1813
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1814
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1815
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1816
    ;;
1817
  no:yes:* )
1818
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1819
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1820
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1821
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1822
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1823
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1824
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1825
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1826
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1827
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1828 625 jeremybenn
( $as_echo "## ------------------------------------- ##
1829 346 jeremybenn
## Report this to openrisc@opencores.org ##
1830 625 jeremybenn
## ------------------------------------- ##"
1831 346 jeremybenn
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1832
    ;;
1833
esac
1834
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835
$as_echo_n "checking for $2... " >&6; }
1836 625 jeremybenn
if eval \${$3+:} false; then :
1837 346 jeremybenn
  $as_echo_n "(cached) " >&6
1838
else
1839
  eval "$3=\$ac_header_compiler"
1840
fi
1841
eval ac_res=\$$3
1842
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843
$as_echo "$ac_res" >&6; }
1844
fi
1845 625 jeremybenn
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 346 jeremybenn
 
1847
} # ac_fn_c_check_header_mongrel
1848
 
1849
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1850
# -------------------------------------------
1851
# Tests whether TYPE exists after having included INCLUDES, setting cache
1852
# variable VAR accordingly.
1853
ac_fn_c_check_type ()
1854
{
1855
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857
$as_echo_n "checking for $2... " >&6; }
1858 625 jeremybenn
if eval \${$3+:} false; then :
1859 346 jeremybenn
  $as_echo_n "(cached) " >&6
1860
else
1861
  eval "$3=no"
1862
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863
/* end confdefs.h.  */
1864
$4
1865
int
1866
main ()
1867
{
1868
if (sizeof ($2))
1869
         return 0;
1870
  ;
1871
  return 0;
1872
}
1873
_ACEOF
1874
if ac_fn_c_try_compile "$LINENO"; then :
1875
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876
/* end confdefs.h.  */
1877
$4
1878
int
1879
main ()
1880
{
1881
if (sizeof (($2)))
1882
            return 0;
1883
  ;
1884
  return 0;
1885
}
1886
_ACEOF
1887
if ac_fn_c_try_compile "$LINENO"; then :
1888
 
1889
else
1890
  eval "$3=yes"
1891
fi
1892
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893
fi
1894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895
fi
1896
eval ac_res=\$$3
1897
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898
$as_echo "$ac_res" >&6; }
1899 625 jeremybenn
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 346 jeremybenn
 
1901
} # ac_fn_c_check_type
1902 90 jeremybenn
cat >config.log <<_ACEOF
1903
This file contains any messages produced by compilers while
1904
running configure, to aid debugging if configure makes a mistake.
1905
 
1906 792 jeremybenn
It was created by or1ksim-testsuite $as_me 2012-04-07, which was
1907 625 jeremybenn
generated by GNU Autoconf 2.68.  Invocation command line was
1908 90 jeremybenn
 
1909
  $ $0 $@
1910
 
1911
_ACEOF
1912
exec 5>>config.log
1913
{
1914
cat <<_ASUNAME
1915
## --------- ##
1916
## Platform. ##
1917
## --------- ##
1918
 
1919
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1920
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1921
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1922
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1923
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1924
 
1925
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1926
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1927
 
1928
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1929
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1930
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1931
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1932
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1933
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1934
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1935
 
1936
_ASUNAME
1937
 
1938
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939
for as_dir in $PATH
1940
do
1941
  IFS=$as_save_IFS
1942
  test -z "$as_dir" && as_dir=.
1943 346 jeremybenn
    $as_echo "PATH: $as_dir"
1944
  done
1945 90 jeremybenn
IFS=$as_save_IFS
1946
 
1947
} >&5
1948
 
1949
cat >&5 <<_ACEOF
1950
 
1951
 
1952
## ----------- ##
1953
## Core tests. ##
1954
## ----------- ##
1955
 
1956
_ACEOF
1957
 
1958
 
1959
# Keep a trace of the command line.
1960
# Strip out --no-create and --no-recursion so they do not pile up.
1961
# Strip out --silent because we don't want to record it for future runs.
1962
# Also quote any args containing shell meta-characters.
1963
# Make two passes to allow for proper duplicate-argument suppression.
1964
ac_configure_args=
1965
ac_configure_args0=
1966
ac_configure_args1=
1967
ac_must_keep_next=false
1968
for ac_pass in 1 2
1969
do
1970
  for ac_arg
1971
  do
1972
    case $ac_arg in
1973
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1974
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1975
    | -silent | --silent | --silen | --sile | --sil)
1976
      continue ;;
1977
    *\'*)
1978
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1979
    esac
1980
    case $ac_pass in
1981 346 jeremybenn
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1982 90 jeremybenn
    2)
1983 346 jeremybenn
      as_fn_append ac_configure_args1 " '$ac_arg'"
1984 90 jeremybenn
      if test $ac_must_keep_next = true; then
1985
        ac_must_keep_next=false # Got value, back to normal.
1986
      else
1987
        case $ac_arg in
1988
          *=* | --config-cache | -C | -disable-* | --disable-* \
1989
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1990
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1991
          | -with-* | --with-* | -without-* | --without-* | --x)
1992
            case "$ac_configure_args0 " in
1993
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1994
            esac
1995
            ;;
1996
          -* ) ac_must_keep_next=true ;;
1997
        esac
1998
      fi
1999 346 jeremybenn
      as_fn_append ac_configure_args " '$ac_arg'"
2000 90 jeremybenn
      ;;
2001
    esac
2002
  done
2003
done
2004 346 jeremybenn
{ ac_configure_args0=; unset ac_configure_args0;}
2005
{ ac_configure_args1=; unset ac_configure_args1;}
2006 90 jeremybenn
 
2007
# When interrupted or exit'd, cleanup temporary files, and complete
2008
# config.log.  We remove comments because anyway the quotes in there
2009
# would cause problems or look ugly.
2010
# WARNING: Use '\'' to represent an apostrophe within the trap.
2011
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2012
trap 'exit_status=$?
2013
  # Save into config.log some information that might help in debugging.
2014
  {
2015
    echo
2016
 
2017 625 jeremybenn
    $as_echo "## ---------------- ##
2018 90 jeremybenn
## Cache variables. ##
2019 625 jeremybenn
## ---------------- ##"
2020 90 jeremybenn
    echo
2021
    # The following way of writing the cache mishandles newlines in values,
2022
(
2023
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2024
    eval ac_val=\$$ac_var
2025
    case $ac_val in #(
2026
    *${as_nl}*)
2027
      case $ac_var in #(
2028 346 jeremybenn
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2029 90 jeremybenn
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2030
      esac
2031
      case $ac_var in #(
2032
      _ | IFS | as_nl) ;; #(
2033
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2034 346 jeremybenn
      *) { eval $ac_var=; unset $ac_var;} ;;
2035 90 jeremybenn
      esac ;;
2036
    esac
2037
  done
2038
  (set) 2>&1 |
2039
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2040
    *${as_nl}ac_space=\ *)
2041
      sed -n \
2042
        "s/'\''/'\''\\\\'\'''\''/g;
2043
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2044
      ;; #(
2045
    *)
2046
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2047
      ;;
2048
    esac |
2049
    sort
2050
)
2051
    echo
2052
 
2053 625 jeremybenn
    $as_echo "## ----------------- ##
2054 90 jeremybenn
## Output variables. ##
2055 625 jeremybenn
## ----------------- ##"
2056 90 jeremybenn
    echo
2057
    for ac_var in $ac_subst_vars
2058
    do
2059
      eval ac_val=\$$ac_var
2060
      case $ac_val in
2061
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2062
      esac
2063
      $as_echo "$ac_var='\''$ac_val'\''"
2064
    done | sort
2065
    echo
2066
 
2067
    if test -n "$ac_subst_files"; then
2068 625 jeremybenn
      $as_echo "## ------------------- ##
2069 90 jeremybenn
## File substitutions. ##
2070 625 jeremybenn
## ------------------- ##"
2071 90 jeremybenn
      echo
2072
      for ac_var in $ac_subst_files
2073
      do
2074
        eval ac_val=\$$ac_var
2075
        case $ac_val in
2076
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2077
        esac
2078
        $as_echo "$ac_var='\''$ac_val'\''"
2079
      done | sort
2080
      echo
2081
    fi
2082
 
2083
    if test -s confdefs.h; then
2084 625 jeremybenn
      $as_echo "## ----------- ##
2085 90 jeremybenn
## confdefs.h. ##
2086 625 jeremybenn
## ----------- ##"
2087 90 jeremybenn
      echo
2088
      cat confdefs.h
2089
      echo
2090
    fi
2091
    test "$ac_signal" != 0 &&
2092
      $as_echo "$as_me: caught signal $ac_signal"
2093
    $as_echo "$as_me: exit $exit_status"
2094
  } >&5
2095
  rm -f core *.core core.conftest.* &&
2096
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2097
    exit $exit_status
2098
' 0
2099
for ac_signal in 1 2 13 15; do
2100 346 jeremybenn
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2101 90 jeremybenn
done
2102
ac_signal=0
2103
 
2104
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2105
rm -f -r conftest* confdefs.h
2106
 
2107 346 jeremybenn
$as_echo "/* confdefs.h */" > confdefs.h
2108
 
2109 90 jeremybenn
# Predefined preprocessor variables.
2110
 
2111
cat >>confdefs.h <<_ACEOF
2112
#define PACKAGE_NAME "$PACKAGE_NAME"
2113
_ACEOF
2114
 
2115
cat >>confdefs.h <<_ACEOF
2116
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2117
_ACEOF
2118
 
2119
cat >>confdefs.h <<_ACEOF
2120
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2121
_ACEOF
2122
 
2123
cat >>confdefs.h <<_ACEOF
2124
#define PACKAGE_STRING "$PACKAGE_STRING"
2125
_ACEOF
2126
 
2127
cat >>confdefs.h <<_ACEOF
2128
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2129
_ACEOF
2130
 
2131 346 jeremybenn
cat >>confdefs.h <<_ACEOF
2132
#define PACKAGE_URL "$PACKAGE_URL"
2133
_ACEOF
2134 90 jeremybenn
 
2135 346 jeremybenn
 
2136 90 jeremybenn
# Let the site file select an alternate cache file if it wants to.
2137
# Prefer an explicitly selected file to automatically selected ones.
2138
ac_site_file1=NONE
2139
ac_site_file2=NONE
2140
if test -n "$CONFIG_SITE"; then
2141 625 jeremybenn
  # We do not want a PATH search for config.site.
2142
  case $CONFIG_SITE in #((
2143
    -*)  ac_site_file1=./$CONFIG_SITE;;
2144
    */*) ac_site_file1=$CONFIG_SITE;;
2145
    *)   ac_site_file1=./$CONFIG_SITE;;
2146
  esac
2147 90 jeremybenn
elif test "x$prefix" != xNONE; then
2148
  ac_site_file1=$prefix/share/config.site
2149
  ac_site_file2=$prefix/etc/config.site
2150
else
2151
  ac_site_file1=$ac_default_prefix/share/config.site
2152
  ac_site_file2=$ac_default_prefix/etc/config.site
2153
fi
2154
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2155
do
2156
  test "x$ac_site_file" = xNONE && continue
2157 625 jeremybenn
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2158 346 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2159 90 jeremybenn
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2160
    sed 's/^/| /' "$ac_site_file" >&5
2161 625 jeremybenn
    . "$ac_site_file" \
2162
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2163
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2164
as_fn_error $? "failed to load site script $ac_site_file
2165
See \`config.log' for more details" "$LINENO" 5; }
2166 90 jeremybenn
  fi
2167
done
2168
 
2169
if test -r "$cache_file"; then
2170 625 jeremybenn
  # Some versions of bash will fail to source /dev/null (special files
2171
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2172
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2173 346 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2174 90 jeremybenn
$as_echo "$as_me: loading cache $cache_file" >&6;}
2175
    case $cache_file in
2176
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2177
      *)                      . "./$cache_file";;
2178
    esac
2179
  fi
2180
else
2181 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2182 90 jeremybenn
$as_echo "$as_me: creating cache $cache_file" >&6;}
2183
  >$cache_file
2184
fi
2185
 
2186
# Check that the precious variables saved in the cache have kept the same
2187
# value.
2188
ac_cache_corrupted=false
2189
for ac_var in $ac_precious_vars; do
2190
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2191
  eval ac_new_set=\$ac_env_${ac_var}_set
2192
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2193
  eval ac_new_val=\$ac_env_${ac_var}_value
2194
  case $ac_old_set,$ac_new_set in
2195
    set,)
2196 346 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2197 90 jeremybenn
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2198
      ac_cache_corrupted=: ;;
2199
    ,set)
2200 346 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2201 90 jeremybenn
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2202
      ac_cache_corrupted=: ;;
2203
    ,);;
2204
    *)
2205
      if test "x$ac_old_val" != "x$ac_new_val"; then
2206
        # differences in whitespace do not lead to failure.
2207
        ac_old_val_w=`echo x $ac_old_val`
2208
        ac_new_val_w=`echo x $ac_new_val`
2209
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2210 346 jeremybenn
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2211 90 jeremybenn
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2212
          ac_cache_corrupted=:
2213
        else
2214 346 jeremybenn
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2215 90 jeremybenn
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2216
          eval $ac_var=\$ac_old_val
2217
        fi
2218 346 jeremybenn
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2219 90 jeremybenn
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2220 346 jeremybenn
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2221 90 jeremybenn
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2222
      fi;;
2223
  esac
2224
  # Pass precious variables to config.status.
2225
  if test "$ac_new_set" = set; then
2226
    case $ac_new_val in
2227
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2228
    *) ac_arg=$ac_var=$ac_new_val ;;
2229
    esac
2230
    case " $ac_configure_args " in
2231
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2232 346 jeremybenn
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2233 90 jeremybenn
    esac
2234
  fi
2235
done
2236
if $ac_cache_corrupted; then
2237 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2238 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2239 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2240 90 jeremybenn
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2241 625 jeremybenn
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2242 90 jeremybenn
fi
2243 346 jeremybenn
## -------------------- ##
2244
## Main body of script. ##
2245
## -------------------- ##
2246 90 jeremybenn
 
2247
ac_ext=c
2248
ac_cpp='$CPP $CPPFLAGS'
2249
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2250
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2251
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2252
 
2253
 
2254
 
2255
 
2256
ac_aux_dir=
2257
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2258 625 jeremybenn
  if test -f "$ac_dir/install-sh"; then
2259
    ac_aux_dir=$ac_dir
2260
    ac_install_sh="$ac_aux_dir/install-sh -c"
2261
    break
2262
  elif test -f "$ac_dir/install.sh"; then
2263
    ac_aux_dir=$ac_dir
2264
    ac_install_sh="$ac_aux_dir/install.sh -c"
2265
    break
2266
  elif test -f "$ac_dir/shtool"; then
2267
    ac_aux_dir=$ac_dir
2268
    ac_install_sh="$ac_aux_dir/shtool install -c"
2269
    break
2270
  fi
2271 90 jeremybenn
done
2272
if test -z "$ac_aux_dir"; then
2273 625 jeremybenn
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2274 90 jeremybenn
fi
2275
 
2276
# These three variables are undocumented and unsupported,
2277
# and are intended to be withdrawn in a future Autoconf release.
2278
# They can cause serious problems if a builder's source tree is in a directory
2279
# whose full name contains unusual characters.
2280
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2281
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2282
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2283
 
2284
 
2285 784 jeremybenn
case `pwd` in
2286
  *\ * | *\     *)
2287
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2288
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2289
esac
2290
 
2291
 
2292
 
2293
macro_version='2.4'
2294
macro_revision='1.3293'
2295
 
2296
 
2297
 
2298
 
2299
 
2300
 
2301
 
2302
 
2303
 
2304
 
2305
 
2306
 
2307
 
2308
ltmain="$ac_aux_dir/ltmain.sh"
2309
 
2310 90 jeremybenn
# Make sure we can run config.sub.
2311
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2312 625 jeremybenn
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2313 90 jeremybenn
 
2314 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2315 90 jeremybenn
$as_echo_n "checking build system type... " >&6; }
2316 625 jeremybenn
if ${ac_cv_build+:} false; then :
2317 90 jeremybenn
  $as_echo_n "(cached) " >&6
2318
else
2319
  ac_build_alias=$build_alias
2320
test "x$ac_build_alias" = x &&
2321
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2322
test "x$ac_build_alias" = x &&
2323 625 jeremybenn
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2324 90 jeremybenn
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2325 625 jeremybenn
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2326 90 jeremybenn
 
2327
fi
2328 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2329 90 jeremybenn
$as_echo "$ac_cv_build" >&6; }
2330
case $ac_cv_build in
2331
*-*-*) ;;
2332 625 jeremybenn
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2333 90 jeremybenn
esac
2334
build=$ac_cv_build
2335
ac_save_IFS=$IFS; IFS='-'
2336
set x $ac_cv_build
2337
shift
2338
build_cpu=$1
2339
build_vendor=$2
2340
shift; shift
2341
# Remember, the first character of IFS is used to create $*,
2342
# except with old shells:
2343
build_os=$*
2344
IFS=$ac_save_IFS
2345
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2346
 
2347
 
2348 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2349 90 jeremybenn
$as_echo_n "checking host system type... " >&6; }
2350 625 jeremybenn
if ${ac_cv_host+:} false; then :
2351 90 jeremybenn
  $as_echo_n "(cached) " >&6
2352
else
2353
  if test "x$host_alias" = x; then
2354
  ac_cv_host=$ac_cv_build
2355
else
2356
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2357 625 jeremybenn
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2358 90 jeremybenn
fi
2359
 
2360
fi
2361 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2362 90 jeremybenn
$as_echo "$ac_cv_host" >&6; }
2363
case $ac_cv_host in
2364
*-*-*) ;;
2365 625 jeremybenn
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2366 90 jeremybenn
esac
2367
host=$ac_cv_host
2368
ac_save_IFS=$IFS; IFS='-'
2369
set x $ac_cv_host
2370
shift
2371
host_cpu=$1
2372
host_vendor=$2
2373
shift; shift
2374
# Remember, the first character of IFS is used to create $*,
2375
# except with old shells:
2376
host_os=$*
2377
IFS=$ac_save_IFS
2378
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2379
 
2380
 
2381 784 jeremybenn
# Backslashify metacharacters that are still active within
2382
# double-quoted strings.
2383
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2384
 
2385
# Same as above, but do not quote variable references.
2386
double_quote_subst='s/\(["`\\]\)/\\\1/g'
2387
 
2388
# Sed substitution to delay expansion of an escaped shell variable in a
2389
# double_quote_subst'ed string.
2390
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2391
 
2392
# Sed substitution to delay expansion of an escaped single quote.
2393
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2394
 
2395
# Sed substitution to avoid accidental globbing in evaled expressions
2396
no_glob_subst='s/\*/\\\*/g'
2397
 
2398
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2399
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2400
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2401
 
2402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2403
$as_echo_n "checking how to print strings... " >&6; }
2404
# Test print first, because it will be a builtin if present.
2405
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2406
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2407
  ECHO='print -r --'
2408
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2409
  ECHO='printf %s\n'
2410
else
2411
  # Use this function as a fallback that always works.
2412
  func_fallback_echo ()
2413
  {
2414
    eval 'cat <<_LTECHO_EOF
2415
$1
2416
_LTECHO_EOF'
2417
  }
2418
  ECHO='func_fallback_echo'
2419
fi
2420
 
2421
# func_echo_all arg...
2422
# Invoke $ECHO with all args, space-separated.
2423
func_echo_all ()
2424
{
2425
    $ECHO ""
2426
}
2427
 
2428
case "$ECHO" in
2429
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2430
$as_echo "printf" >&6; } ;;
2431
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2432
$as_echo "print -r" >&6; } ;;
2433
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2434
$as_echo "cat" >&6; } ;;
2435
esac
2436
 
2437
 
2438
 
2439
 
2440
 
2441
 
2442
 
2443
 
2444
 
2445
 
2446
 
2447
 
2448
 
2449
 
2450 90 jeremybenn
ac_ext=c
2451
ac_cpp='$CPP $CPPFLAGS'
2452
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2453
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2454
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455
if test -n "$ac_tool_prefix"; then
2456
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2457
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2458 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2459 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2460 625 jeremybenn
if ${ac_cv_prog_CC+:} false; then :
2461 90 jeremybenn
  $as_echo_n "(cached) " >&6
2462
else
2463
  if test -n "$CC"; then
2464
  ac_cv_prog_CC="$CC" # Let the user override the test.
2465
else
2466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467
for as_dir in $PATH
2468
do
2469
  IFS=$as_save_IFS
2470
  test -z "$as_dir" && as_dir=.
2471 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2472 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2473
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2474 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 90 jeremybenn
    break 2
2476
  fi
2477
done
2478 346 jeremybenn
  done
2479 90 jeremybenn
IFS=$as_save_IFS
2480
 
2481
fi
2482
fi
2483
CC=$ac_cv_prog_CC
2484
if test -n "$CC"; then
2485 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2486 90 jeremybenn
$as_echo "$CC" >&6; }
2487
else
2488 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2489 90 jeremybenn
$as_echo "no" >&6; }
2490
fi
2491
 
2492
 
2493
fi
2494
if test -z "$ac_cv_prog_CC"; then
2495
  ac_ct_CC=$CC
2496
  # Extract the first word of "gcc", so it can be a program name with args.
2497
set dummy gcc; ac_word=$2
2498 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2500 625 jeremybenn
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2501 90 jeremybenn
  $as_echo_n "(cached) " >&6
2502
else
2503
  if test -n "$ac_ct_CC"; then
2504
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2505
else
2506
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507
for as_dir in $PATH
2508
do
2509
  IFS=$as_save_IFS
2510
  test -z "$as_dir" && as_dir=.
2511 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2512 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513
    ac_cv_prog_ac_ct_CC="gcc"
2514 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 90 jeremybenn
    break 2
2516
  fi
2517
done
2518 346 jeremybenn
  done
2519 90 jeremybenn
IFS=$as_save_IFS
2520
 
2521
fi
2522
fi
2523
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2524
if test -n "$ac_ct_CC"; then
2525 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2526 90 jeremybenn
$as_echo "$ac_ct_CC" >&6; }
2527
else
2528 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 90 jeremybenn
$as_echo "no" >&6; }
2530
fi
2531
 
2532
  if test "x$ac_ct_CC" = x; then
2533
    CC=""
2534
  else
2535
    case $cross_compiling:$ac_tool_warned in
2536
yes:)
2537 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2538 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2539
ac_tool_warned=yes ;;
2540
esac
2541
    CC=$ac_ct_CC
2542
  fi
2543
else
2544
  CC="$ac_cv_prog_CC"
2545
fi
2546
 
2547
if test -z "$CC"; then
2548
          if test -n "$ac_tool_prefix"; then
2549
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2550
set dummy ${ac_tool_prefix}cc; ac_word=$2
2551 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2552 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2553 625 jeremybenn
if ${ac_cv_prog_CC+:} false; then :
2554 90 jeremybenn
  $as_echo_n "(cached) " >&6
2555
else
2556
  if test -n "$CC"; then
2557
  ac_cv_prog_CC="$CC" # Let the user override the test.
2558
else
2559
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560
for as_dir in $PATH
2561
do
2562
  IFS=$as_save_IFS
2563
  test -z "$as_dir" && as_dir=.
2564 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2565 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2566
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2567 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 90 jeremybenn
    break 2
2569
  fi
2570
done
2571 346 jeremybenn
  done
2572 90 jeremybenn
IFS=$as_save_IFS
2573
 
2574
fi
2575
fi
2576
CC=$ac_cv_prog_CC
2577
if test -n "$CC"; then
2578 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2579 90 jeremybenn
$as_echo "$CC" >&6; }
2580
else
2581 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582 90 jeremybenn
$as_echo "no" >&6; }
2583
fi
2584
 
2585
 
2586
  fi
2587
fi
2588
if test -z "$CC"; then
2589
  # Extract the first word of "cc", so it can be a program name with args.
2590
set dummy cc; ac_word=$2
2591 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2592 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2593 625 jeremybenn
if ${ac_cv_prog_CC+:} false; then :
2594 90 jeremybenn
  $as_echo_n "(cached) " >&6
2595
else
2596
  if test -n "$CC"; then
2597
  ac_cv_prog_CC="$CC" # Let the user override the test.
2598
else
2599
  ac_prog_rejected=no
2600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601
for as_dir in $PATH
2602
do
2603
  IFS=$as_save_IFS
2604
  test -z "$as_dir" && as_dir=.
2605 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2606 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2608
       ac_prog_rejected=yes
2609
       continue
2610
     fi
2611
    ac_cv_prog_CC="cc"
2612 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 90 jeremybenn
    break 2
2614
  fi
2615
done
2616 346 jeremybenn
  done
2617 90 jeremybenn
IFS=$as_save_IFS
2618
 
2619
if test $ac_prog_rejected = yes; then
2620
  # We found a bogon in the path, so make sure we never use it.
2621
  set dummy $ac_cv_prog_CC
2622
  shift
2623
  if test $# != 0; then
2624
    # We chose a different compiler from the bogus one.
2625
    # However, it has the same basename, so the bogon will be chosen
2626
    # first if we set CC to just the basename; use the full file name.
2627
    shift
2628
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2629
  fi
2630
fi
2631
fi
2632
fi
2633
CC=$ac_cv_prog_CC
2634
if test -n "$CC"; then
2635 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2636 90 jeremybenn
$as_echo "$CC" >&6; }
2637
else
2638 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 90 jeremybenn
$as_echo "no" >&6; }
2640
fi
2641
 
2642
 
2643
fi
2644
if test -z "$CC"; then
2645
  if test -n "$ac_tool_prefix"; then
2646
  for ac_prog in cl.exe
2647
  do
2648
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2649
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2650 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2652 625 jeremybenn
if ${ac_cv_prog_CC+:} false; then :
2653 90 jeremybenn
  $as_echo_n "(cached) " >&6
2654
else
2655
  if test -n "$CC"; then
2656
  ac_cv_prog_CC="$CC" # Let the user override the test.
2657
else
2658
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659
for as_dir in $PATH
2660
do
2661
  IFS=$as_save_IFS
2662
  test -z "$as_dir" && as_dir=.
2663 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2664 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2665
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2666 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 90 jeremybenn
    break 2
2668
  fi
2669
done
2670 346 jeremybenn
  done
2671 90 jeremybenn
IFS=$as_save_IFS
2672
 
2673
fi
2674
fi
2675
CC=$ac_cv_prog_CC
2676
if test -n "$CC"; then
2677 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2678 90 jeremybenn
$as_echo "$CC" >&6; }
2679
else
2680 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 90 jeremybenn
$as_echo "no" >&6; }
2682
fi
2683
 
2684
 
2685
    test -n "$CC" && break
2686
  done
2687
fi
2688
if test -z "$CC"; then
2689
  ac_ct_CC=$CC
2690
  for ac_prog in cl.exe
2691
do
2692
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2693
set dummy $ac_prog; ac_word=$2
2694 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2696 625 jeremybenn
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2697 90 jeremybenn
  $as_echo_n "(cached) " >&6
2698
else
2699
  if test -n "$ac_ct_CC"; then
2700
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2701
else
2702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703
for as_dir in $PATH
2704
do
2705
  IFS=$as_save_IFS
2706
  test -z "$as_dir" && as_dir=.
2707 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2708 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709
    ac_cv_prog_ac_ct_CC="$ac_prog"
2710 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 90 jeremybenn
    break 2
2712
  fi
2713
done
2714 346 jeremybenn
  done
2715 90 jeremybenn
IFS=$as_save_IFS
2716
 
2717
fi
2718
fi
2719
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2720
if test -n "$ac_ct_CC"; then
2721 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2722 90 jeremybenn
$as_echo "$ac_ct_CC" >&6; }
2723
else
2724 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 90 jeremybenn
$as_echo "no" >&6; }
2726
fi
2727
 
2728
 
2729
  test -n "$ac_ct_CC" && break
2730
done
2731
 
2732
  if test "x$ac_ct_CC" = x; then
2733
    CC=""
2734
  else
2735
    case $cross_compiling:$ac_tool_warned in
2736
yes:)
2737 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2738 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2739
ac_tool_warned=yes ;;
2740
esac
2741
    CC=$ac_ct_CC
2742
  fi
2743
fi
2744
 
2745
fi
2746
 
2747
 
2748 346 jeremybenn
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2749 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2750 625 jeremybenn
as_fn_error $? "no acceptable C compiler found in \$PATH
2751
See \`config.log' for more details" "$LINENO" 5; }
2752 90 jeremybenn
 
2753
# Provide some information about the compiler.
2754 346 jeremybenn
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2755 90 jeremybenn
set X $ac_compile
2756
ac_compiler=$2
2757 346 jeremybenn
for ac_option in --version -v -V -qversion; do
2758
  { { ac_try="$ac_compiler $ac_option >&5"
2759 90 jeremybenn
case "(($ac_try" in
2760
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761
  *) ac_try_echo=$ac_try;;
2762
esac
2763 346 jeremybenn
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2764
$as_echo "$ac_try_echo"; } >&5
2765
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2766 90 jeremybenn
  ac_status=$?
2767 346 jeremybenn
  if test -s conftest.err; then
2768
    sed '10a\
2769
... rest of stderr output deleted ...
2770
         10q' conftest.err >conftest.er1
2771
    cat conftest.er1 >&5
2772
  fi
2773 625 jeremybenn
  rm -f conftest.er1 conftest.err
2774 346 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2775
  test $ac_status = 0; }
2776
done
2777 90 jeremybenn
 
2778 346 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 90 jeremybenn
/* end confdefs.h.  */
2780 625 jeremybenn
 
2781 90 jeremybenn
int
2782
main ()
2783
{
2784
 
2785
  ;
2786
  return 0;
2787
}
2788
_ACEOF
2789
ac_clean_files_save=$ac_clean_files
2790 625 jeremybenn
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2791 90 jeremybenn
# Try to create an executable without -o first, disregard a.out.
2792
# It will help us diagnose broken compilers, and finding out an intuition
2793
# of exeext.
2794 625 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2795
$as_echo_n "checking whether the C compiler works... " >&6; }
2796 90 jeremybenn
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2797
 
2798
# The possible output files:
2799
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2800
 
2801
ac_rmfiles=
2802
for ac_file in $ac_files
2803
do
2804
  case $ac_file in
2805
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2806
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2807
  esac
2808
done
2809
rm -f $ac_rmfiles
2810
 
2811 346 jeremybenn
if { { ac_try="$ac_link_default"
2812 90 jeremybenn
case "(($ac_try" in
2813
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814
  *) ac_try_echo=$ac_try;;
2815
esac
2816 346 jeremybenn
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2817
$as_echo "$ac_try_echo"; } >&5
2818 90 jeremybenn
  (eval "$ac_link_default") 2>&5
2819
  ac_status=$?
2820 346 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2821
  test $ac_status = 0; }; then :
2822 90 jeremybenn
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2823
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2824
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2825
# so that the user can short-circuit this test for compilers unknown to
2826
# Autoconf.
2827
for ac_file in $ac_files ''
2828
do
2829
  test -f "$ac_file" || continue
2830
  case $ac_file in
2831
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2832
        ;;
2833
    [ab].out )
2834
        # We found the default executable, but exeext='' is most
2835
        # certainly right.
2836
        break;;
2837
    *.* )
2838 346 jeremybenn
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2839 90 jeremybenn
        then :; else
2840
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2841
        fi
2842
        # We set ac_cv_exeext here because the later test for it is not
2843
        # safe: cross compilers may not add the suffix if given an `-o'
2844
        # argument, so we may need to know it at that point already.
2845
        # Even if this section looks crufty: it has the advantage of
2846
        # actually working.
2847
        break;;
2848
    * )
2849
        break;;
2850
  esac
2851
done
2852
test "$ac_cv_exeext" = no && ac_cv_exeext=
2853
 
2854
else
2855
  ac_file=''
2856
fi
2857 346 jeremybenn
if test -z "$ac_file"; then :
2858 625 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859
$as_echo "no" >&6; }
2860
$as_echo "$as_me: failed program was:" >&5
2861 90 jeremybenn
sed 's/^/| /' conftest.$ac_ext >&5
2862
 
2863 346 jeremybenn
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2864 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2865 625 jeremybenn
as_fn_error 77 "C compiler cannot create executables
2866
See \`config.log' for more details" "$LINENO" 5; }
2867
else
2868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2869
$as_echo "yes" >&6; }
2870 90 jeremybenn
fi
2871 625 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2872
$as_echo_n "checking for C compiler default output file name... " >&6; }
2873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2874
$as_echo "$ac_file" >&6; }
2875 90 jeremybenn
ac_exeext=$ac_cv_exeext
2876
 
2877 625 jeremybenn
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2878 90 jeremybenn
ac_clean_files=$ac_clean_files_save
2879 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2880 90 jeremybenn
$as_echo_n "checking for suffix of executables... " >&6; }
2881 346 jeremybenn
if { { ac_try="$ac_link"
2882 90 jeremybenn
case "(($ac_try" in
2883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884
  *) ac_try_echo=$ac_try;;
2885
esac
2886 346 jeremybenn
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887
$as_echo "$ac_try_echo"; } >&5
2888 90 jeremybenn
  (eval "$ac_link") 2>&5
2889
  ac_status=$?
2890 346 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891
  test $ac_status = 0; }; then :
2892 90 jeremybenn
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2893
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2894
# work properly (i.e., refer to `conftest.exe'), while it won't with
2895
# `rm'.
2896
for ac_file in conftest.exe conftest conftest.*; do
2897
  test -f "$ac_file" || continue
2898
  case $ac_file in
2899
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2900
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2901
          break;;
2902
    * ) break;;
2903
  esac
2904
done
2905
else
2906 346 jeremybenn
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2907 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2908 625 jeremybenn
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2909
See \`config.log' for more details" "$LINENO" 5; }
2910 90 jeremybenn
fi
2911 625 jeremybenn
rm -f conftest conftest$ac_cv_exeext
2912 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2913 90 jeremybenn
$as_echo "$ac_cv_exeext" >&6; }
2914
 
2915
rm -f conftest.$ac_ext
2916
EXEEXT=$ac_cv_exeext
2917
ac_exeext=$EXEEXT
2918 625 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919
/* end confdefs.h.  */
2920
#include 
2921
int
2922
main ()
2923
{
2924
FILE *f = fopen ("conftest.out", "w");
2925
 return ferror (f) || fclose (f) != 0;
2926
 
2927
  ;
2928
  return 0;
2929
}
2930
_ACEOF
2931
ac_clean_files="$ac_clean_files conftest.out"
2932
# Check that the compiler produces executables we can run.  If not, either
2933
# the compiler is broken, or we cross compile.
2934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2935
$as_echo_n "checking whether we are cross compiling... " >&6; }
2936
if test "$cross_compiling" != yes; then
2937
  { { ac_try="$ac_link"
2938
case "(($ac_try" in
2939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940
  *) ac_try_echo=$ac_try;;
2941
esac
2942
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943
$as_echo "$ac_try_echo"; } >&5
2944
  (eval "$ac_link") 2>&5
2945
  ac_status=$?
2946
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2947
  test $ac_status = 0; }
2948
  if { ac_try='./conftest$ac_cv_exeext'
2949
  { { case "(($ac_try" in
2950
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951
  *) ac_try_echo=$ac_try;;
2952
esac
2953
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954
$as_echo "$ac_try_echo"; } >&5
2955
  (eval "$ac_try") 2>&5
2956
  ac_status=$?
2957
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958
  test $ac_status = 0; }; }; then
2959
    cross_compiling=no
2960
  else
2961
    if test "$cross_compiling" = maybe; then
2962
        cross_compiling=yes
2963
    else
2964
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2965
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966
as_fn_error $? "cannot run C compiled programs.
2967
If you meant to cross compile, use \`--host'.
2968
See \`config.log' for more details" "$LINENO" 5; }
2969
    fi
2970
  fi
2971
fi
2972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2973
$as_echo "$cross_compiling" >&6; }
2974
 
2975
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2976
ac_clean_files=$ac_clean_files_save
2977 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2978 90 jeremybenn
$as_echo_n "checking for suffix of object files... " >&6; }
2979 625 jeremybenn
if ${ac_cv_objext+:} false; then :
2980 90 jeremybenn
  $as_echo_n "(cached) " >&6
2981
else
2982 346 jeremybenn
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 90 jeremybenn
/* end confdefs.h.  */
2984
 
2985
int
2986
main ()
2987
{
2988
 
2989
  ;
2990
  return 0;
2991
}
2992
_ACEOF
2993
rm -f conftest.o conftest.obj
2994 346 jeremybenn
if { { ac_try="$ac_compile"
2995 90 jeremybenn
case "(($ac_try" in
2996
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997
  *) ac_try_echo=$ac_try;;
2998
esac
2999 346 jeremybenn
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000
$as_echo "$ac_try_echo"; } >&5
3001 90 jeremybenn
  (eval "$ac_compile") 2>&5
3002
  ac_status=$?
3003 346 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004
  test $ac_status = 0; }; then :
3005 90 jeremybenn
  for ac_file in conftest.o conftest.obj conftest.*; do
3006
  test -f "$ac_file" || continue;
3007
  case $ac_file in
3008
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3009
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3010
       break;;
3011
  esac
3012
done
3013
else
3014
  $as_echo "$as_me: failed program was:" >&5
3015
sed 's/^/| /' conftest.$ac_ext >&5
3016
 
3017 346 jeremybenn
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3018 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3019 625 jeremybenn
as_fn_error $? "cannot compute suffix of object files: cannot compile
3020
See \`config.log' for more details" "$LINENO" 5; }
3021 90 jeremybenn
fi
3022
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3023
fi
3024 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3025 90 jeremybenn
$as_echo "$ac_cv_objext" >&6; }
3026
OBJEXT=$ac_cv_objext
3027
ac_objext=$OBJEXT
3028 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3029 90 jeremybenn
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3030 625 jeremybenn
if ${ac_cv_c_compiler_gnu+:} false; then :
3031 90 jeremybenn
  $as_echo_n "(cached) " >&6
3032
else
3033 346 jeremybenn
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 90 jeremybenn
/* end confdefs.h.  */
3035
 
3036
int
3037
main ()
3038
{
3039
#ifndef __GNUC__
3040
       choke me
3041
#endif
3042
 
3043
  ;
3044
  return 0;
3045
}
3046
_ACEOF
3047 346 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
3048 90 jeremybenn
  ac_compiler_gnu=yes
3049
else
3050 346 jeremybenn
  ac_compiler_gnu=no
3051 90 jeremybenn
fi
3052
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3054
 
3055
fi
3056 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3057 90 jeremybenn
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3058
if test $ac_compiler_gnu = yes; then
3059
  GCC=yes
3060
else
3061
  GCC=
3062
fi
3063
ac_test_CFLAGS=${CFLAGS+set}
3064
ac_save_CFLAGS=$CFLAGS
3065 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3066 90 jeremybenn
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3067 625 jeremybenn
if ${ac_cv_prog_cc_g+:} false; then :
3068 90 jeremybenn
  $as_echo_n "(cached) " >&6
3069
else
3070
  ac_save_c_werror_flag=$ac_c_werror_flag
3071
   ac_c_werror_flag=yes
3072
   ac_cv_prog_cc_g=no
3073
   CFLAGS="-g"
3074 346 jeremybenn
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 90 jeremybenn
/* end confdefs.h.  */
3076
 
3077
int
3078
main ()
3079
{
3080
 
3081
  ;
3082
  return 0;
3083
}
3084
_ACEOF
3085 346 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
3086 90 jeremybenn
  ac_cv_prog_cc_g=yes
3087
else
3088 346 jeremybenn
  CFLAGS=""
3089
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 90 jeremybenn
/* end confdefs.h.  */
3091
 
3092
int
3093
main ()
3094
{
3095
 
3096
  ;
3097
  return 0;
3098
}
3099
_ACEOF
3100 346 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
3101
 
3102 236 jeremybenn
else
3103 346 jeremybenn
  ac_c_werror_flag=$ac_save_c_werror_flag
3104 90 jeremybenn
         CFLAGS="-g"
3105 346 jeremybenn
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 90 jeremybenn
/* end confdefs.h.  */
3107
 
3108
int
3109
main ()
3110
{
3111
 
3112
  ;
3113
  return 0;
3114
}
3115
_ACEOF
3116 346 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
3117 90 jeremybenn
  ac_cv_prog_cc_g=yes
3118
fi
3119
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120
fi
3121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3122
fi
3123
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124
   ac_c_werror_flag=$ac_save_c_werror_flag
3125
fi
3126 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3127 90 jeremybenn
$as_echo "$ac_cv_prog_cc_g" >&6; }
3128
if test "$ac_test_CFLAGS" = set; then
3129
  CFLAGS=$ac_save_CFLAGS
3130
elif test $ac_cv_prog_cc_g = yes; then
3131
  if test "$GCC" = yes; then
3132
    CFLAGS="-g -O2"
3133
  else
3134
    CFLAGS="-g"
3135
  fi
3136
else
3137
  if test "$GCC" = yes; then
3138
    CFLAGS="-O2"
3139
  else
3140
    CFLAGS=
3141
  fi
3142
fi
3143 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3144 90 jeremybenn
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3145 625 jeremybenn
if ${ac_cv_prog_cc_c89+:} false; then :
3146 90 jeremybenn
  $as_echo_n "(cached) " >&6
3147
else
3148
  ac_cv_prog_cc_c89=no
3149
ac_save_CC=$CC
3150 346 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151 90 jeremybenn
/* end confdefs.h.  */
3152
#include 
3153
#include 
3154
#include 
3155
#include 
3156
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3157
struct buf { int x; };
3158
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3159
static char *e (p, i)
3160
     char **p;
3161
     int i;
3162
{
3163
  return p[i];
3164
}
3165
static char *f (char * (*g) (char **, int), char **p, ...)
3166
{
3167
  char *s;
3168
  va_list v;
3169
  va_start (v,p);
3170
  s = g (p, va_arg (v,int));
3171
  va_end (v);
3172
  return s;
3173
}
3174
 
3175
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3176
   function prototypes and stuff, but not '\xHH' hex character constants.
3177
   These don't provoke an error unfortunately, instead are silently treated
3178
   as 'x'.  The following induces an error, until -std is added to get
3179
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3180
   array size at least.  It's necessary to write '\x00'==0 to get something
3181
   that's true only with -std.  */
3182
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3183
 
3184
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3185
   inside strings and character constants.  */
3186
#define FOO(x) 'x'
3187
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3188
 
3189
int test (int i, double x);
3190
struct s1 {int (*f) (int a);};
3191
struct s2 {int (*f) (double a);};
3192
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3193
int argc;
3194
char **argv;
3195
int
3196
main ()
3197
{
3198
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3199
  ;
3200
  return 0;
3201
}
3202
_ACEOF
3203
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3204
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3205
do
3206
  CC="$ac_save_CC $ac_arg"
3207 346 jeremybenn
  if ac_fn_c_try_compile "$LINENO"; then :
3208 90 jeremybenn
  ac_cv_prog_cc_c89=$ac_arg
3209
fi
3210
rm -f core conftest.err conftest.$ac_objext
3211
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3212
done
3213
rm -f conftest.$ac_ext
3214
CC=$ac_save_CC
3215
 
3216
fi
3217
# AC_CACHE_VAL
3218
case "x$ac_cv_prog_cc_c89" in
3219
  x)
3220 346 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3221 90 jeremybenn
$as_echo "none needed" >&6; } ;;
3222
  xno)
3223 346 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3224 90 jeremybenn
$as_echo "unsupported" >&6; } ;;
3225
  *)
3226
    CC="$CC $ac_cv_prog_cc_c89"
3227 346 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3228 90 jeremybenn
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3229
esac
3230 346 jeremybenn
if test "x$ac_cv_prog_cc_c89" != xno; then :
3231 90 jeremybenn
 
3232 346 jeremybenn
fi
3233 90 jeremybenn
 
3234
ac_ext=c
3235
ac_cpp='$CPP $CPPFLAGS'
3236
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3237
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3238
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239
 
3240 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3241 90 jeremybenn
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3242 625 jeremybenn
if ${ac_cv_path_SED+:} false; then :
3243 90 jeremybenn
  $as_echo_n "(cached) " >&6
3244
else
3245
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3246
     for ac_i in 1 2 3 4 5 6 7; do
3247
       ac_script="$ac_script$as_nl$ac_script"
3248
     done
3249
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3250 346 jeremybenn
     { ac_script=; unset ac_script;}
3251 90 jeremybenn
     if test -z "$SED"; then
3252
  ac_path_SED_found=false
3253
  # Loop through the user's path and test for each of PROGNAME-LIST
3254
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3255
for as_dir in $PATH
3256
do
3257
  IFS=$as_save_IFS
3258
  test -z "$as_dir" && as_dir=.
3259 346 jeremybenn
    for ac_prog in sed gsed; do
3260 90 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3261
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3262
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3263
# Check for GNU ac_path_SED and select it if it is found.
3264
  # Check for GNU $ac_path_SED
3265
case `"$ac_path_SED" --version 2>&1` in
3266
*GNU*)
3267
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3268
*)
3269
  ac_count=0
3270
  $as_echo_n 0123456789 >"conftest.in"
3271
  while :
3272
  do
3273
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3274
    mv "conftest.tmp" "conftest.in"
3275
    cp "conftest.in" "conftest.nl"
3276
    $as_echo '' >> "conftest.nl"
3277
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3278
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3279 346 jeremybenn
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3280 90 jeremybenn
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3281
      # Best one so far, save it but keep looking for a better one
3282
      ac_cv_path_SED="$ac_path_SED"
3283
      ac_path_SED_max=$ac_count
3284
    fi
3285
    # 10*(2^10) chars as input seems more than enough
3286
    test $ac_count -gt 10 && break
3287
  done
3288
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3289
esac
3290
 
3291
      $ac_path_SED_found && break 3
3292
    done
3293
  done
3294 346 jeremybenn
  done
3295 90 jeremybenn
IFS=$as_save_IFS
3296
  if test -z "$ac_cv_path_SED"; then
3297 625 jeremybenn
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3298 90 jeremybenn
  fi
3299
else
3300
  ac_cv_path_SED=$SED
3301
fi
3302
 
3303
fi
3304 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3305 90 jeremybenn
$as_echo "$ac_cv_path_SED" >&6; }
3306
 SED="$ac_cv_path_SED"
3307
  rm -f conftest.sed
3308
 
3309
test -z "$SED" && SED=sed
3310
Xsed="$SED -e 1s/^X//"
3311
 
3312
 
3313
 
3314
 
3315
 
3316
 
3317
 
3318
 
3319
 
3320
 
3321
 
3322 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3323 90 jeremybenn
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3324 625 jeremybenn
if ${ac_cv_path_GREP+:} false; then :
3325 90 jeremybenn
  $as_echo_n "(cached) " >&6
3326
else
3327
  if test -z "$GREP"; then
3328
  ac_path_GREP_found=false
3329
  # Loop through the user's path and test for each of PROGNAME-LIST
3330
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3331
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3332
do
3333
  IFS=$as_save_IFS
3334
  test -z "$as_dir" && as_dir=.
3335 346 jeremybenn
    for ac_prog in grep ggrep; do
3336 90 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3337
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3338
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3339
# Check for GNU ac_path_GREP and select it if it is found.
3340
  # Check for GNU $ac_path_GREP
3341
case `"$ac_path_GREP" --version 2>&1` in
3342
*GNU*)
3343
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3344
*)
3345
  ac_count=0
3346
  $as_echo_n 0123456789 >"conftest.in"
3347
  while :
3348
  do
3349
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3350
    mv "conftest.tmp" "conftest.in"
3351
    cp "conftest.in" "conftest.nl"
3352
    $as_echo 'GREP' >> "conftest.nl"
3353
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3354
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3355 346 jeremybenn
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3356 90 jeremybenn
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3357
      # Best one so far, save it but keep looking for a better one
3358
      ac_cv_path_GREP="$ac_path_GREP"
3359
      ac_path_GREP_max=$ac_count
3360
    fi
3361
    # 10*(2^10) chars as input seems more than enough
3362
    test $ac_count -gt 10 && break
3363
  done
3364
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3365
esac
3366
 
3367
      $ac_path_GREP_found && break 3
3368
    done
3369
  done
3370 346 jeremybenn
  done
3371 90 jeremybenn
IFS=$as_save_IFS
3372
  if test -z "$ac_cv_path_GREP"; then
3373 625 jeremybenn
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3374 90 jeremybenn
  fi
3375
else
3376
  ac_cv_path_GREP=$GREP
3377
fi
3378
 
3379
fi
3380 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3381 90 jeremybenn
$as_echo "$ac_cv_path_GREP" >&6; }
3382
 GREP="$ac_cv_path_GREP"
3383
 
3384
 
3385 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3386 90 jeremybenn
$as_echo_n "checking for egrep... " >&6; }
3387 625 jeremybenn
if ${ac_cv_path_EGREP+:} false; then :
3388 90 jeremybenn
  $as_echo_n "(cached) " >&6
3389
else
3390
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3391
   then ac_cv_path_EGREP="$GREP -E"
3392
   else
3393
     if test -z "$EGREP"; then
3394
  ac_path_EGREP_found=false
3395
  # Loop through the user's path and test for each of PROGNAME-LIST
3396
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3398
do
3399
  IFS=$as_save_IFS
3400
  test -z "$as_dir" && as_dir=.
3401 346 jeremybenn
    for ac_prog in egrep; do
3402 90 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3403
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3404
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3405
# Check for GNU ac_path_EGREP and select it if it is found.
3406
  # Check for GNU $ac_path_EGREP
3407
case `"$ac_path_EGREP" --version 2>&1` in
3408
*GNU*)
3409
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3410
*)
3411
  ac_count=0
3412
  $as_echo_n 0123456789 >"conftest.in"
3413
  while :
3414
  do
3415
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3416
    mv "conftest.tmp" "conftest.in"
3417
    cp "conftest.in" "conftest.nl"
3418
    $as_echo 'EGREP' >> "conftest.nl"
3419
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3420
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3421 346 jeremybenn
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3422 90 jeremybenn
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3423
      # Best one so far, save it but keep looking for a better one
3424
      ac_cv_path_EGREP="$ac_path_EGREP"
3425
      ac_path_EGREP_max=$ac_count
3426
    fi
3427
    # 10*(2^10) chars as input seems more than enough
3428
    test $ac_count -gt 10 && break
3429
  done
3430
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3431
esac
3432
 
3433
      $ac_path_EGREP_found && break 3
3434
    done
3435
  done
3436 346 jeremybenn
  done
3437 90 jeremybenn
IFS=$as_save_IFS
3438
  if test -z "$ac_cv_path_EGREP"; then
3439 625 jeremybenn
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3440 90 jeremybenn
  fi
3441
else
3442
  ac_cv_path_EGREP=$EGREP
3443
fi
3444
 
3445
   fi
3446
fi
3447 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3448 90 jeremybenn
$as_echo "$ac_cv_path_EGREP" >&6; }
3449
 EGREP="$ac_cv_path_EGREP"
3450
 
3451
 
3452 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3453 90 jeremybenn
$as_echo_n "checking for fgrep... " >&6; }
3454 625 jeremybenn
if ${ac_cv_path_FGREP+:} false; then :
3455 90 jeremybenn
  $as_echo_n "(cached) " >&6
3456
else
3457
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3458
   then ac_cv_path_FGREP="$GREP -F"
3459
   else
3460
     if test -z "$FGREP"; then
3461
  ac_path_FGREP_found=false
3462
  # Loop through the user's path and test for each of PROGNAME-LIST
3463
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3464
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3465
do
3466
  IFS=$as_save_IFS
3467
  test -z "$as_dir" && as_dir=.
3468 346 jeremybenn
    for ac_prog in fgrep; do
3469 90 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3470
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3471
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3472
# Check for GNU ac_path_FGREP and select it if it is found.
3473
  # Check for GNU $ac_path_FGREP
3474
case `"$ac_path_FGREP" --version 2>&1` in
3475
*GNU*)
3476
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3477
*)
3478
  ac_count=0
3479
  $as_echo_n 0123456789 >"conftest.in"
3480
  while :
3481
  do
3482
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3483
    mv "conftest.tmp" "conftest.in"
3484
    cp "conftest.in" "conftest.nl"
3485
    $as_echo 'FGREP' >> "conftest.nl"
3486
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3487
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3488 346 jeremybenn
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3489 90 jeremybenn
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3490
      # Best one so far, save it but keep looking for a better one
3491
      ac_cv_path_FGREP="$ac_path_FGREP"
3492
      ac_path_FGREP_max=$ac_count
3493
    fi
3494
    # 10*(2^10) chars as input seems more than enough
3495
    test $ac_count -gt 10 && break
3496
  done
3497
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3498
esac
3499
 
3500
      $ac_path_FGREP_found && break 3
3501
    done
3502
  done
3503 346 jeremybenn
  done
3504 90 jeremybenn
IFS=$as_save_IFS
3505
  if test -z "$ac_cv_path_FGREP"; then
3506 625 jeremybenn
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3507 90 jeremybenn
  fi
3508
else
3509
  ac_cv_path_FGREP=$FGREP
3510
fi
3511
 
3512
   fi
3513
fi
3514 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3515 90 jeremybenn
$as_echo "$ac_cv_path_FGREP" >&6; }
3516
 FGREP="$ac_cv_path_FGREP"
3517
 
3518
 
3519
test -z "$GREP" && GREP=grep
3520
 
3521
 
3522
 
3523
 
3524
 
3525
 
3526
 
3527
 
3528
 
3529
 
3530
 
3531
 
3532
 
3533
 
3534
 
3535
 
3536
 
3537
 
3538
 
3539
# Check whether --with-gnu-ld was given.
3540 346 jeremybenn
if test "${with_gnu_ld+set}" = set; then :
3541 90 jeremybenn
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3542
else
3543
  with_gnu_ld=no
3544
fi
3545
 
3546
ac_prog=ld
3547
if test "$GCC" = yes; then
3548
  # Check if gcc -print-prog-name=ld gives a path.
3549 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3550 90 jeremybenn
$as_echo_n "checking for ld used by $CC... " >&6; }
3551
  case $host in
3552
  *-*-mingw*)
3553
    # gcc leaves a trailing carriage return which upsets mingw
3554
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3555
  *)
3556
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3557
  esac
3558
  case $ac_prog in
3559
    # Accept absolute paths.
3560
    [\\/]* | ?:[\\/]*)
3561
      re_direlt='/[^/][^/]*/\.\./'
3562
      # Canonicalize the pathname of ld
3563
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3564
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3565
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3566
      done
3567
      test -z "$LD" && LD="$ac_prog"
3568
      ;;
3569
  "")
3570
    # If it fails, then pretend we aren't using GCC.
3571
    ac_prog=ld
3572
    ;;
3573
  *)
3574
    # If it is relative, then search for the first ld in PATH.
3575
    with_gnu_ld=unknown
3576
    ;;
3577
  esac
3578
elif test "$with_gnu_ld" = yes; then
3579 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3580 90 jeremybenn
$as_echo_n "checking for GNU ld... " >&6; }
3581
else
3582 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3583 90 jeremybenn
$as_echo_n "checking for non-GNU ld... " >&6; }
3584
fi
3585 625 jeremybenn
if ${lt_cv_path_LD+:} false; then :
3586 90 jeremybenn
  $as_echo_n "(cached) " >&6
3587
else
3588
  if test -z "$LD"; then
3589
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3590
  for ac_dir in $PATH; do
3591
    IFS="$lt_save_ifs"
3592
    test -z "$ac_dir" && ac_dir=.
3593
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3594
      lt_cv_path_LD="$ac_dir/$ac_prog"
3595
      # Check to see if the program is GNU ld.  I'd rather use --version,
3596
      # but apparently some variants of GNU ld only accept -v.
3597
      # Break only if it was the GNU/non-GNU ld that we prefer.
3598
      case `"$lt_cv_path_LD" -v 2>&1 
3599
      *GNU* | *'with BFD'*)
3600
        test "$with_gnu_ld" != no && break
3601
        ;;
3602
      *)
3603
        test "$with_gnu_ld" != yes && break
3604
        ;;
3605
      esac
3606
    fi
3607
  done
3608
  IFS="$lt_save_ifs"
3609
else
3610
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
3611
fi
3612
fi
3613
 
3614
LD="$lt_cv_path_LD"
3615
if test -n "$LD"; then
3616 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3617 90 jeremybenn
$as_echo "$LD" >&6; }
3618
else
3619 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 90 jeremybenn
$as_echo "no" >&6; }
3621
fi
3622 625 jeremybenn
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3623 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3624 90 jeremybenn
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3625 625 jeremybenn
if ${lt_cv_prog_gnu_ld+:} false; then :
3626 90 jeremybenn
  $as_echo_n "(cached) " >&6
3627
else
3628
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3629
case `$LD -v 2>&1 
3630
*GNU* | *'with BFD'*)
3631
  lt_cv_prog_gnu_ld=yes
3632
  ;;
3633
*)
3634
  lt_cv_prog_gnu_ld=no
3635
  ;;
3636
esac
3637
fi
3638 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3639 90 jeremybenn
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
3640
with_gnu_ld=$lt_cv_prog_gnu_ld
3641
 
3642
 
3643
 
3644
 
3645
 
3646
 
3647
 
3648
 
3649
 
3650 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3651 90 jeremybenn
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3652 625 jeremybenn
if ${lt_cv_path_NM+:} false; then :
3653 90 jeremybenn
  $as_echo_n "(cached) " >&6
3654
else
3655
  if test -n "$NM"; then
3656
  # Let the user override the test.
3657
  lt_cv_path_NM="$NM"
3658
else
3659
  lt_nm_to_check="${ac_tool_prefix}nm"
3660
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3661
    lt_nm_to_check="$lt_nm_to_check nm"
3662
  fi
3663
  for lt_tmp_nm in $lt_nm_to_check; do
3664
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3665
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3666
      IFS="$lt_save_ifs"
3667
      test -z "$ac_dir" && ac_dir=.
3668
      tmp_nm="$ac_dir/$lt_tmp_nm"
3669
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3670
        # Check to see if the nm accepts a BSD-compat flag.
3671
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3672
        #   nm: unknown option "B" ignored
3673
        # Tru64's nm complains that /dev/null is an invalid object file
3674
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3675
        */dev/null* | *'Invalid file or object type'*)
3676
          lt_cv_path_NM="$tmp_nm -B"
3677
          break
3678
          ;;
3679
        *)
3680
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3681
          */dev/null*)
3682
            lt_cv_path_NM="$tmp_nm -p"
3683
            break
3684
            ;;
3685
          *)
3686
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3687
            continue # so that we can try to find one that supports BSD flags
3688
            ;;
3689
          esac
3690
          ;;
3691
        esac
3692
      fi
3693
    done
3694
    IFS="$lt_save_ifs"
3695
  done
3696
  : ${lt_cv_path_NM=no}
3697
fi
3698
fi
3699 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3700 90 jeremybenn
$as_echo "$lt_cv_path_NM" >&6; }
3701
if test "$lt_cv_path_NM" != "no"; then
3702
  NM="$lt_cv_path_NM"
3703
else
3704
  # Didn't find any BSD compatible name lister, look for dumpbin.
3705 784 jeremybenn
  if test -n "$DUMPBIN"; then :
3706
    # Let the user override the test.
3707
  else
3708
    if test -n "$ac_tool_prefix"; then
3709
  for ac_prog in dumpbin "link -dump"
3710 90 jeremybenn
  do
3711
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3712
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3713 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3714 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
3715 625 jeremybenn
if ${ac_cv_prog_DUMPBIN+:} false; then :
3716 90 jeremybenn
  $as_echo_n "(cached) " >&6
3717
else
3718
  if test -n "$DUMPBIN"; then
3719
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3720
else
3721
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722
for as_dir in $PATH
3723
do
3724
  IFS=$as_save_IFS
3725
  test -z "$as_dir" && as_dir=.
3726 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3727 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3728
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3729 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 90 jeremybenn
    break 2
3731
  fi
3732
done
3733 346 jeremybenn
  done
3734 90 jeremybenn
IFS=$as_save_IFS
3735
 
3736
fi
3737
fi
3738
DUMPBIN=$ac_cv_prog_DUMPBIN
3739
if test -n "$DUMPBIN"; then
3740 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3741 90 jeremybenn
$as_echo "$DUMPBIN" >&6; }
3742
else
3743 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 90 jeremybenn
$as_echo "no" >&6; }
3745
fi
3746
 
3747
 
3748
    test -n "$DUMPBIN" && break
3749
  done
3750
fi
3751
if test -z "$DUMPBIN"; then
3752
  ac_ct_DUMPBIN=$DUMPBIN
3753 784 jeremybenn
  for ac_prog in dumpbin "link -dump"
3754 90 jeremybenn
do
3755
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3756
set dummy $ac_prog; ac_word=$2
3757 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3758 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
3759 625 jeremybenn
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
3760 90 jeremybenn
  $as_echo_n "(cached) " >&6
3761
else
3762
  if test -n "$ac_ct_DUMPBIN"; then
3763
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
3764
else
3765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766
for as_dir in $PATH
3767
do
3768
  IFS=$as_save_IFS
3769
  test -z "$as_dir" && as_dir=.
3770 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3771 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3772
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3773 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 90 jeremybenn
    break 2
3775
  fi
3776
done
3777 346 jeremybenn
  done
3778 90 jeremybenn
IFS=$as_save_IFS
3779
 
3780
fi
3781
fi
3782
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3783
if test -n "$ac_ct_DUMPBIN"; then
3784 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3785 90 jeremybenn
$as_echo "$ac_ct_DUMPBIN" >&6; }
3786
else
3787 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 90 jeremybenn
$as_echo "no" >&6; }
3789
fi
3790
 
3791
 
3792
  test -n "$ac_ct_DUMPBIN" && break
3793
done
3794
 
3795
  if test "x$ac_ct_DUMPBIN" = x; then
3796
    DUMPBIN=":"
3797
  else
3798
    case $cross_compiling:$ac_tool_warned in
3799
yes:)
3800 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3801 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3802
ac_tool_warned=yes ;;
3803
esac
3804
    DUMPBIN=$ac_ct_DUMPBIN
3805
  fi
3806
fi
3807
 
3808 784 jeremybenn
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
3809
    *COFF*)
3810
      DUMPBIN="$DUMPBIN -symbols"
3811
      ;;
3812
    *)
3813
      DUMPBIN=:
3814
      ;;
3815
    esac
3816
  fi
3817 90 jeremybenn
 
3818
  if test "$DUMPBIN" != ":"; then
3819
    NM="$DUMPBIN"
3820
  fi
3821
fi
3822
test -z "$NM" && NM=nm
3823
 
3824
 
3825
 
3826
 
3827
 
3828
 
3829 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3830 90 jeremybenn
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
3831 625 jeremybenn
if ${lt_cv_nm_interface+:} false; then :
3832 90 jeremybenn
  $as_echo_n "(cached) " >&6
3833
else
3834
  lt_cv_nm_interface="BSD nm"
3835
  echo "int some_variable = 0;" > conftest.$ac_ext
3836 784 jeremybenn
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
3837 90 jeremybenn
  (eval "$ac_compile" 2>conftest.err)
3838
  cat conftest.err >&5
3839 784 jeremybenn
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3840 90 jeremybenn
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3841
  cat conftest.err >&5
3842 784 jeremybenn
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
3843 90 jeremybenn
  cat conftest.out >&5
3844
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3845
    lt_cv_nm_interface="MS dumpbin"
3846
  fi
3847
  rm -f conftest*
3848
fi
3849 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3850 90 jeremybenn
$as_echo "$lt_cv_nm_interface" >&6; }
3851
 
3852 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3853 90 jeremybenn
$as_echo_n "checking whether ln -s works... " >&6; }
3854
LN_S=$as_ln_s
3855
if test "$LN_S" = "ln -s"; then
3856 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3857 90 jeremybenn
$as_echo "yes" >&6; }
3858
else
3859 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3860 90 jeremybenn
$as_echo "no, using $LN_S" >&6; }
3861
fi
3862
 
3863
# find the maximum length of command line arguments
3864 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3865 90 jeremybenn
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
3866 625 jeremybenn
if ${lt_cv_sys_max_cmd_len+:} false; then :
3867 90 jeremybenn
  $as_echo_n "(cached) " >&6
3868
else
3869
    i=0
3870
  teststring="ABCD"
3871
 
3872
  case $build_os in
3873
  msdosdjgpp*)
3874
    # On DJGPP, this test can blow up pretty badly due to problems in libc
3875
    # (any single argument exceeding 2000 bytes causes a buffer overrun
3876
    # during glob expansion).  Even if it were fixed, the result of this
3877
    # check would be larger than it should be.
3878
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
3879
    ;;
3880
 
3881
  gnu*)
3882
    # Under GNU Hurd, this test is not required because there is
3883
    # no limit to the length of command line arguments.
3884
    # Libtool will interpret -1 as no limit whatsoever
3885
    lt_cv_sys_max_cmd_len=-1;
3886
    ;;
3887
 
3888
  cygwin* | mingw* | cegcc*)
3889
    # On Win9x/ME, this test blows up -- it succeeds, but takes
3890
    # about 5 minutes as the teststring grows exponentially.
3891
    # Worse, since 9x/ME are not pre-emptively multitasking,
3892
    # you end up with a "frozen" computer, even though with patience
3893
    # the test eventually succeeds (with a max line length of 256k).
3894
    # Instead, let's just punt: use the minimum linelength reported by
3895
    # all of the supported platforms: 8192 (on NT/2K/XP).
3896
    lt_cv_sys_max_cmd_len=8192;
3897
    ;;
3898
 
3899 784 jeremybenn
  mint*)
3900
    # On MiNT this can take a long time and run out of memory.
3901
    lt_cv_sys_max_cmd_len=8192;
3902
    ;;
3903
 
3904 90 jeremybenn
  amigaos*)
3905
    # On AmigaOS with pdksh, this test takes hours, literally.
3906
    # So we just punt and use a minimum line length of 8192.
3907
    lt_cv_sys_max_cmd_len=8192;
3908
    ;;
3909
 
3910
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3911
    # This has been around since 386BSD, at least.  Likely further.
3912
    if test -x /sbin/sysctl; then
3913
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3914
    elif test -x /usr/sbin/sysctl; then
3915
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3916
    else
3917
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
3918
    fi
3919
    # And add a safety zone
3920
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3921
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3922
    ;;
3923
 
3924
  interix*)
3925
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
3926
    lt_cv_sys_max_cmd_len=196608
3927
    ;;
3928
 
3929
  osf*)
3930
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3931
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3932
    # nice to cause kernel panics so lets avoid the loop below.
3933
    # First set a reasonable default.
3934
    lt_cv_sys_max_cmd_len=16384
3935
    #
3936
    if test -x /sbin/sysconfig; then
3937
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3938
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
3939
      esac
3940
    fi
3941
    ;;
3942
  sco3.2v5*)
3943
    lt_cv_sys_max_cmd_len=102400
3944
    ;;
3945
  sysv5* | sco5v6* | sysv4.2uw2*)
3946
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3947
    if test -n "$kargmax"; then
3948
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
3949
    else
3950
      lt_cv_sys_max_cmd_len=32768
3951
    fi
3952
    ;;
3953
  *)
3954
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3955
    if test -n "$lt_cv_sys_max_cmd_len"; then
3956
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3957
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3958
    else
3959
      # Make teststring a little bigger before we do anything with it.
3960
      # a 1K string should be a reasonable start.
3961
      for i in 1 2 3 4 5 6 7 8 ; do
3962
        teststring=$teststring$teststring
3963
      done
3964
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3965
      # If test is not a shell built-in, we'll probably end up computing a
3966
      # maximum length that is only half of the actual maximum length, but
3967
      # we can't tell.
3968 784 jeremybenn
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
3969
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
3970 90 jeremybenn
              test $i != 17 # 1/2 MB should be enough
3971
      do
3972
        i=`expr $i + 1`
3973
        teststring=$teststring$teststring
3974
      done
3975
      # Only check the string length outside the loop.
3976
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3977
      teststring=
3978
      # Add a significant safety factor because C++ compilers can tack on
3979
      # massive amounts of additional arguments before passing them to the
3980
      # linker.  It appears as though 1/2 is a usable value.
3981
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3982
    fi
3983
    ;;
3984
  esac
3985
 
3986
fi
3987
 
3988
if test -n $lt_cv_sys_max_cmd_len ; then
3989 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
3990 90 jeremybenn
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
3991
else
3992 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
3993 90 jeremybenn
$as_echo "none" >&6; }
3994
fi
3995
max_cmd_len=$lt_cv_sys_max_cmd_len
3996
 
3997
 
3998
 
3999
 
4000
 
4001
 
4002
: ${CP="cp -f"}
4003
: ${MV="mv -f"}
4004
: ${RM="rm -f"}
4005
 
4006 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4007 90 jeremybenn
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4008
# Try some XSI features
4009
xsi_shell=no
4010
( _lt_dummy="a/b/c"
4011 784 jeremybenn
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4012
      = c,a/b,b/c, \
4013 90 jeremybenn
    && eval 'test $(( 1 + 1 )) -eq 2 \
4014
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4015
  && xsi_shell=yes
4016 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4017 90 jeremybenn
$as_echo "$xsi_shell" >&6; }
4018
 
4019
 
4020 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4021 90 jeremybenn
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4022
lt_shell_append=no
4023
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4024
    >/dev/null 2>&1 \
4025
  && lt_shell_append=yes
4026 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4027 90 jeremybenn
$as_echo "$lt_shell_append" >&6; }
4028
 
4029
 
4030
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4031
  lt_unset=unset
4032
else
4033
  lt_unset=false
4034
fi
4035
 
4036
 
4037
 
4038
 
4039
 
4040
# test EBCDIC or ASCII
4041
case `echo X|tr X '\101'` in
4042
 A) # ASCII based system
4043
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4044
  lt_SP2NL='tr \040 \012'
4045
  lt_NL2SP='tr \015\012 \040\040'
4046
  ;;
4047
 *) # EBCDIC based system
4048
  lt_SP2NL='tr \100 \n'
4049
  lt_NL2SP='tr \r\n \100\100'
4050
  ;;
4051
esac
4052
 
4053
 
4054
 
4055
 
4056
 
4057
 
4058
 
4059
 
4060
 
4061 784 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4062
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4063
if ${lt_cv_to_host_file_cmd+:} false; then :
4064
  $as_echo_n "(cached) " >&6
4065
else
4066
  case $host in
4067
  *-*-mingw* )
4068
    case $build in
4069
      *-*-mingw* ) # actually msys
4070
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4071
        ;;
4072
      *-*-cygwin* )
4073
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4074
        ;;
4075
      * ) # otherwise, assume *nix
4076
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4077
        ;;
4078
    esac
4079
    ;;
4080
  *-*-cygwin* )
4081
    case $build in
4082
      *-*-mingw* ) # actually msys
4083
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4084
        ;;
4085
      *-*-cygwin* )
4086
        lt_cv_to_host_file_cmd=func_convert_file_noop
4087
        ;;
4088
      * ) # otherwise, assume *nix
4089
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4090
        ;;
4091
    esac
4092
    ;;
4093
  * ) # unhandled hosts (and "normal" native builds)
4094
    lt_cv_to_host_file_cmd=func_convert_file_noop
4095
    ;;
4096
esac
4097
 
4098
fi
4099
 
4100
to_host_file_cmd=$lt_cv_to_host_file_cmd
4101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4102
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4103
 
4104
 
4105
 
4106
 
4107
 
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4109
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4110
if ${lt_cv_to_tool_file_cmd+:} false; then :
4111
  $as_echo_n "(cached) " >&6
4112
else
4113
  #assume ordinary cross tools, or native build.
4114
lt_cv_to_tool_file_cmd=func_convert_file_noop
4115
case $host in
4116
  *-*-mingw* )
4117
    case $build in
4118
      *-*-mingw* ) # actually msys
4119
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4120
        ;;
4121
    esac
4122
    ;;
4123
esac
4124
 
4125
fi
4126
 
4127
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4129
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4130
 
4131
 
4132
 
4133
 
4134
 
4135 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4136 90 jeremybenn
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4137 625 jeremybenn
if ${lt_cv_ld_reload_flag+:} false; then :
4138 90 jeremybenn
  $as_echo_n "(cached) " >&6
4139
else
4140
  lt_cv_ld_reload_flag='-r'
4141
fi
4142 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4143 90 jeremybenn
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4144
reload_flag=$lt_cv_ld_reload_flag
4145
case $reload_flag in
4146
"" | " "*) ;;
4147
*) reload_flag=" $reload_flag" ;;
4148
esac
4149
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4150
case $host_os in
4151 784 jeremybenn
  cygwin* | mingw* | pw32* | cegcc*)
4152
    if test "$GCC" != yes; then
4153
      reload_cmds=false
4154
    fi
4155
    ;;
4156 90 jeremybenn
  darwin*)
4157
    if test "$GCC" = yes; then
4158
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4159
    else
4160
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4161
    fi
4162
    ;;
4163
esac
4164
 
4165
 
4166
 
4167
 
4168
 
4169
 
4170
 
4171
 
4172
 
4173
if test -n "$ac_tool_prefix"; then
4174
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4175
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4176 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
4178 625 jeremybenn
if ${ac_cv_prog_OBJDUMP+:} false; then :
4179 90 jeremybenn
  $as_echo_n "(cached) " >&6
4180
else
4181
  if test -n "$OBJDUMP"; then
4182
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4183
else
4184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4185
for as_dir in $PATH
4186
do
4187
  IFS=$as_save_IFS
4188
  test -z "$as_dir" && as_dir=.
4189 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
4190 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4192 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4193 90 jeremybenn
    break 2
4194
  fi
4195
done
4196 346 jeremybenn
  done
4197 90 jeremybenn
IFS=$as_save_IFS
4198
 
4199
fi
4200
fi
4201
OBJDUMP=$ac_cv_prog_OBJDUMP
4202
if test -n "$OBJDUMP"; then
4203 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4204 90 jeremybenn
$as_echo "$OBJDUMP" >&6; }
4205
else
4206 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 90 jeremybenn
$as_echo "no" >&6; }
4208
fi
4209
 
4210
 
4211
fi
4212
if test -z "$ac_cv_prog_OBJDUMP"; then
4213
  ac_ct_OBJDUMP=$OBJDUMP
4214
  # Extract the first word of "objdump", so it can be a program name with args.
4215
set dummy objdump; ac_word=$2
4216 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
4218 625 jeremybenn
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4219 90 jeremybenn
  $as_echo_n "(cached) " >&6
4220
else
4221
  if test -n "$ac_ct_OBJDUMP"; then
4222
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4223
else
4224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225
for as_dir in $PATH
4226
do
4227
  IFS=$as_save_IFS
4228
  test -z "$as_dir" && as_dir=.
4229 346 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
4230 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4231
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4232 346 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 90 jeremybenn
    break 2
4234
  fi
4235
done
4236 346 jeremybenn
  done
4237 90 jeremybenn
IFS=$as_save_IFS
4238
 
4239
fi
4240
fi
4241
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4242
if test -n "$ac_ct_OBJDUMP"; then
4243 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4244 90 jeremybenn
$as_echo "$ac_ct_OBJDUMP" >&6; }
4245
else
4246 346 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 90 jeremybenn
$as_echo "no" >&6; }
4248
fi
4249
 
4250
  if test "x$ac_ct_OBJDUMP" = x; then
4251
    OBJDUMP="false"
4252
  else
4253
    case $cross_compiling:$ac_tool_warned in
4254
yes:)
4255 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4256 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4257
ac_tool_warned=yes ;;
4258
esac
4259
    OBJDUMP=$ac_ct_OBJDUMP
4260
  fi
4261
else
4262
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4263
fi
4264
 
4265
test -z "$OBJDUMP" && OBJDUMP=objdump
4266
 
4267
 
4268
 
4269
 
4270
 
4271
 
4272
 
4273
 
4274
 
4275 346 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4276 90 jeremybenn
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4277 625 jeremybenn
if ${lt_cv_deplibs_check_method+:} false; then :
4278 90 jeremybenn
  $as_echo_n "(cached) " >&6
4279
else
4280
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4281
lt_cv_file_magic_test_file=
4282
lt_cv_deplibs_check_method='unknown'
4283
# Need to set the preceding variable on all platforms that support
4284
# interlibrary dependencies.
4285
# 'none' -- dependencies not supported.
4286
# `unknown' -- same as none, but documents that we really don't know.
4287
# 'pass_all' -- all dependencies passed with no checks.
4288
# 'test_compile' -- check by making test program.
4289
# 'file_magic [[regex]]' -- check by looking for files in library path
4290
# which responds to the $file_magic_cmd with a given extended regex.
4291
# If you have `file' or equivalent on your system and you're not sure
4292
# whether `pass_all' will *always* work, you probably want this one.
4293
 
4294
case $host_os in
4295
aix[4-9]*)
4296
  lt_cv_deplibs_check_method=pass_all
4297
  ;;
4298
 
4299
beos*)
4300
  lt_cv_deplibs_check_method=pass_all
4301
  ;;
4302
 
4303
bsdi[45]*)
4304
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4305
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4306
  lt_cv_file_magic_test_file=/shlib/libc.so
4307
  ;;
4308
 
4309
cygwin*)
4310
  # func_win32_libid is a shell function defined in ltmain.sh
4311
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4312
  lt_cv_file_magic_cmd='func_win32_libid'
4313
  ;;
4314
 
4315
mingw* | pw32*)
4316
  # Base MSYS/MinGW do not provide the 'file' command needed by
4317
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4318
  # unless we find 'file', for example because we are cross-compiling.
4319 784 jeremybenn
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4320
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4321 90 jeremybenn
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4322
    lt_cv_file_magic_cmd='func_win32_libid'
4323
  else
4324 784 jeremybenn
    # Keep this pattern in sync with the one in func_win32_libid.
4325
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4326 90 jeremybenn
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4327
  fi
4328
  ;;
4329
 
4330 784 jeremybenn
cegcc*)
4331 90 jeremybenn
  # use the weaker test based on 'objdump'. See mingw*.
4332
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4333
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4334
  ;;
4335
 
4336
darwin* | rhapsody*)
4337
  lt_cv_deplibs_check_method=pass_all
4338
  ;;
4339
 
4340
freebsd* | dragonfly*)
4341
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4342
    case $host_cpu in
4343
    i*86 )
4344
      # Not sure whether the presence of OpenBSD here was a mistake.
4345
      # Let's accept both of them until this is cleared up.
4346
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4347
      lt_cv_file_magic_cmd=/usr/bin/file
4348
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4349
      ;;
4350
    esac
4351
  else
4352
    lt_cv_deplibs_check_method=pass_all
4353
  fi
4354
  ;;
4355
 
4356
gnu*)
4357
  lt_cv_deplibs_check_method=pass_all
4358
  ;;
4359
 
4360 784 jeremybenn
haiku*)
4361
  lt_cv_deplibs_check_method=pass_all
4362
  ;;
4363
 
4364