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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [or32/] [configure] - Blame information for rev 853

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

Line No. Rev Author Line
1 207 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3 540 jeremybenn
# Generated by GNU Autoconf 2.65 for libor32.a 0.2.0.
4 207 jeremybenn
#
5 540 jeremybenn
#
6 207 jeremybenn
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 540 jeremybenn
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
# Inc.
9
#
10
#
11 207 jeremybenn
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13 540 jeremybenn
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
16 207 jeremybenn
 
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19 540 jeremybenn
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 207 jeremybenn
  emulate sh
21
  NULLCMD=:
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
  # is contrary to our usage.  Disable this feature.
24
  alias -g '${1+"$@"}'='"$@"'
25
  setopt NO_GLOB_SUBST
26
else
27 540 jeremybenn
  case `(set -o) 2>/dev/null` in #(
28
  *posix*) :
29
    set -o posix ;; #(
30
  *) :
31
     ;;
32 207 jeremybenn
esac
33
fi
34
 
35
 
36
as_nl='
37
'
38
export as_nl
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 540 jeremybenn
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
  as_echo='print -r --'
48
  as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 207 jeremybenn
  as_echo='printf %s\n'
51
  as_echo_n='printf %s'
52
else
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
    as_echo_n='/usr/ucb/echo -n'
56
  else
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
    as_echo_n_body='eval
59
      arg=$1;
60 540 jeremybenn
      case $arg in #(
61 207 jeremybenn
      *"$as_nl"*)
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
      esac;
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
    '
67
    export as_echo_n_body
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
  fi
70
  export as_echo_body
71
  as_echo='sh -c $as_echo_body as_echo'
72
fi
73
 
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
76
  PATH_SEPARATOR=:
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
      PATH_SEPARATOR=';'
80
  }
81
fi
82
 
83
 
84
# IFS
85
# We need space, tab and new line, in precisely that order.  Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
89
IFS=" ""        $as_nl"
90
 
91
# Find who we are.  Look in the path if we contain no directory separator.
92 540 jeremybenn
case $0 in #((
93 207 jeremybenn
  *[\\/]* ) as_myself=$0 ;;
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
for as_dir in $PATH
96
do
97
  IFS=$as_save_IFS
98
  test -z "$as_dir" && as_dir=.
99 540 jeremybenn
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
  done
101 207 jeremybenn
IFS=$as_save_IFS
102
 
103
     ;;
104
esac
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
108
  as_myself=$0
109
fi
110
if test ! -f "$as_myself"; then
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 540 jeremybenn
  exit 1
113 207 jeremybenn
fi
114
 
115 540 jeremybenn
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there.  '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 207 jeremybenn
done
123
PS1='$ '
124
PS2='> '
125
PS4='+ '
126
 
127
# NLS nuisances.
128
LC_ALL=C
129
export LC_ALL
130
LANGUAGE=C
131
export LANGUAGE
132
 
133
# CDPATH.
134 540 jeremybenn
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 207 jeremybenn
 
136
if test "x$CONFIG_SHELL" = x; then
137 540 jeremybenn
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
  emulate sh
139
  NULLCMD=:
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
  # is contrary to our usage.  Disable this feature.
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
  setopt NO_GLOB_SUBST
144 207 jeremybenn
else
145 540 jeremybenn
  case \`(set -o) 2>/dev/null\` in #(
146
  *posix*) :
147
    set -o posix ;; #(
148
  *) :
149
     ;;
150
esac
151 207 jeremybenn
fi
152 540 jeremybenn
"
153
  as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
158 207 jeremybenn
 
159
exitcode=0
160 540 jeremybenn
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 207 jeremybenn
 
166
else
167 540 jeremybenn
  exitcode=1; echo positional parameters were not saved.
168 207 jeremybenn
fi
169 540 jeremybenn
test x\$exitcode = x0 || exit 1"
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174
  if (eval "$as_required") 2>/dev/null; then :
175
  as_have_required=yes
176 207 jeremybenn
else
177 540 jeremybenn
  as_have_required=no
178 207 jeremybenn
fi
179 540 jeremybenn
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 207 jeremybenn
 
181
else
182 540 jeremybenn
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183
as_found=false
184 207 jeremybenn
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185
do
186
  IFS=$as_save_IFS
187
  test -z "$as_dir" && as_dir=.
188 540 jeremybenn
  as_found=:
189
  case $as_dir in #(
190 207 jeremybenn
         /*)
191
           for as_base in sh bash ksh sh5; do
192 540 jeremybenn
             # Try only shells that exist, to save several forks.
193
             as_shell=$as_dir/$as_base
194
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196
  CONFIG_SHELL=$as_shell as_have_required=yes
197
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198
  break 2
199
fi
200
fi
201 207 jeremybenn
           done;;
202
       esac
203 540 jeremybenn
  as_found=false
204 207 jeremybenn
done
205 540 jeremybenn
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207
  CONFIG_SHELL=$SHELL as_have_required=yes
208
fi; }
209 207 jeremybenn
IFS=$as_save_IFS
210
 
211
 
212 540 jeremybenn
      if test "x$CONFIG_SHELL" != x; then :
213
  # We cannot yet assume a decent shell, so we have to provide a
214
        # neutralization value for shells without unset; and this also
215
        # works around shells that cannot unset nonexistent variables.
216
        BASH_ENV=/dev/null
217
        ENV=/dev/null
218
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219
        export CONFIG_SHELL
220
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 207 jeremybenn
fi
222
 
223 540 jeremybenn
    if test x$as_have_required = xno; then :
224
  $as_echo "$0: This script requires a shell more modern than all"
225
  $as_echo "$0: the shells that I found on your system."
226
  if test x${ZSH_VERSION+set} = xset ; then
227
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229
  else
230
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231
$0: including any error possibly output before this
232
$0: message. Then install a modern shell, or manually run
233
$0: the script under such a shell if you do have one."
234
  fi
235
  exit 1
236 207 jeremybenn
fi
237
fi
238
fi
239 540 jeremybenn
SHELL=${CONFIG_SHELL-/bin/sh}
240
export SHELL
241
# Unset more variables known to interfere with behavior of common tools.
242
CLICOLOR_FORCE= GREP_OPTIONS=
243
unset CLICOLOR_FORCE GREP_OPTIONS
244 207 jeremybenn
 
245 540 jeremybenn
## --------------------- ##
246
## M4sh Shell Functions. ##
247
## --------------------- ##
248
# as_fn_unset VAR
249
# ---------------
250
# Portably unset VAR.
251
as_fn_unset ()
252
{
253
  { eval $1=; unset $1;}
254
}
255
as_unset=as_fn_unset
256 207 jeremybenn
 
257 540 jeremybenn
# as_fn_set_status STATUS
258
# -----------------------
259
# Set $? to STATUS, without forking.
260
as_fn_set_status ()
261
{
262
  return $1
263
} # as_fn_set_status
264 207 jeremybenn
 
265 540 jeremybenn
# as_fn_exit STATUS
266
# -----------------
267
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268
as_fn_exit ()
269
{
270
  set +e
271
  as_fn_set_status $1
272
  exit $1
273
} # as_fn_exit
274 207 jeremybenn
 
275 540 jeremybenn
# as_fn_mkdir_p
276
# -------------
277
# Create "$as_dir" as a directory, including parents if necessary.
278
as_fn_mkdir_p ()
279
{
280 207 jeremybenn
 
281 540 jeremybenn
  case $as_dir in #(
282
  -*) as_dir=./$as_dir;;
283
  esac
284
  test -d "$as_dir" || eval $as_mkdir_p || {
285
    as_dirs=
286
    while :; do
287
      case $as_dir in #(
288
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289
      *) as_qdir=$as_dir;;
290
      esac
291
      as_dirs="'$as_qdir' $as_dirs"
292
      as_dir=`$as_dirname -- "$as_dir" ||
293
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294
         X"$as_dir" : 'X\(//\)[^/]' \| \
295
         X"$as_dir" : 'X\(//\)$' \| \
296
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297
$as_echo X"$as_dir" |
298
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299
            s//\1/
300
            q
301
          }
302
          /^X\(\/\/\)[^/].*/{
303
            s//\1/
304
            q
305
          }
306
          /^X\(\/\/\)$/{
307
            s//\1/
308
            q
309
          }
310
          /^X\(\/\).*/{
311
            s//\1/
312
            q
313
          }
314
          s/.*/./; q'`
315
      test -d "$as_dir" && break
316
    done
317
    test -z "$as_dirs" || eval "mkdir $as_dirs"
318
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319 207 jeremybenn
 
320
 
321 540 jeremybenn
} # as_fn_mkdir_p
322
# as_fn_append VAR VALUE
323
# ----------------------
324
# Append the text in VALUE to the end of the definition contained in VAR. Take
325
# advantage of any shell optimizations that allow amortized linear growth over
326
# repeated appends, instead of the typical quadratic growth present in naive
327
# implementations.
328
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329
  eval 'as_fn_append ()
330
  {
331
    eval $1+=\$2
332
  }'
333
else
334
  as_fn_append ()
335
  {
336
    eval $1=\$$1\$2
337
  }
338
fi # as_fn_append
339 207 jeremybenn
 
340 540 jeremybenn
# as_fn_arith ARG...
341
# ------------------
342
# Perform arithmetic evaluation on the ARGs, and store the result in the
343
# global $as_val. Take advantage of shells that can avoid forks. The arguments
344
# must be portable across $(()) and expr.
345
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346
  eval 'as_fn_arith ()
347
  {
348
    as_val=$(( $* ))
349
  }'
350
else
351
  as_fn_arith ()
352
  {
353
    as_val=`expr "$@" || test $? -eq 1`
354
  }
355
fi # as_fn_arith
356 207 jeremybenn
 
357
 
358 540 jeremybenn
# as_fn_error ERROR [LINENO LOG_FD]
359
# ---------------------------------
360
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362
# script with status $?, using 1 if that was 0.
363
as_fn_error ()
364
{
365
  as_status=$?; test $as_status -eq 0 && as_status=1
366
  if test "$3"; then
367
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369
  fi
370
  $as_echo "$as_me: error: $1" >&2
371
  as_fn_exit $as_status
372
} # as_fn_error
373 207 jeremybenn
 
374 540 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
375
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
376
  as_expr=expr
377 207 jeremybenn
else
378 540 jeremybenn
  as_expr=false
379 207 jeremybenn
fi
380
 
381 540 jeremybenn
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
382
  as_basename=basename
383 207 jeremybenn
else
384 540 jeremybenn
  as_basename=false
385 207 jeremybenn
fi
386
 
387 540 jeremybenn
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388
  as_dirname=dirname
389 207 jeremybenn
else
390 540 jeremybenn
  as_dirname=false
391 207 jeremybenn
fi
392
 
393 540 jeremybenn
as_me=`$as_basename -- "$0" ||
394
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395
         X"$0" : 'X\(//\)$' \| \
396
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397
$as_echo X/"$0" |
398
    sed '/^.*\/\([^/][^/]*\)\/*$/{
399
            s//\1/
400
            q
401
          }
402
          /^X\/\(\/\/\)$/{
403
            s//\1/
404
            q
405
          }
406
          /^X\/\(\/\).*/{
407
            s//\1/
408
            q
409
          }
410
          s/.*/./; q'`
411 207 jeremybenn
 
412 540 jeremybenn
# Avoid depending upon Character Ranges.
413
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416
as_cr_digits='0123456789'
417
as_cr_alnum=$as_cr_Letters$as_cr_digits
418 207 jeremybenn
 
419
 
420 540 jeremybenn
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
421
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
422
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
425 207 jeremybenn
  sed -n '
426
    p
427
    /[$]LINENO/=
428
  ' <$as_myself |
429
    sed '
430
      s/[$]LINENO.*/&-/
431
      t lineno
432
      b
433
      :lineno
434
      N
435
      :loop
436
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
437
      t loop
438
      s/-\n.*//
439
    ' >$as_me.lineno &&
440
  chmod +x "$as_me.lineno" ||
441 540 jeremybenn
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 207 jeremybenn
 
443
  # Don't try to exec as it changes $[0], causing all sort of problems
444
  # (the dirname of $[0] is not the place where we might find the
445
  # original and so on.  Autoconf is especially sensitive to this).
446
  . "./$as_me.lineno"
447
  # Exit status is that of the last command.
448
  exit
449
}
450
 
451
ECHO_C= ECHO_N= ECHO_T=
452 540 jeremybenn
case `echo -n x` in #(((((
453 207 jeremybenn
-n*)
454 540 jeremybenn
  case `echo 'xy\c'` in
455 207 jeremybenn
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
456 540 jeremybenn
  xy)  ECHO_C='\c';;
457
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
458
       ECHO_T=' ';;
459 207 jeremybenn
  esac;;
460
*)
461
  ECHO_N='-n';;
462
esac
463
 
464
rm -f conf$$ conf$$.exe conf$$.file
465
if test -d conf$$.dir; then
466
  rm -f conf$$.dir/conf$$.file
467
else
468
  rm -f conf$$.dir
469
  mkdir conf$$.dir 2>/dev/null
470
fi
471
if (echo >conf$$.file) 2>/dev/null; then
472
  if ln -s conf$$.file conf$$ 2>/dev/null; then
473
    as_ln_s='ln -s'
474
    # ... but there are two gotchas:
475
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477
    # In both cases, we have to default to `cp -p'.
478
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479
      as_ln_s='cp -p'
480
  elif ln conf$$.file conf$$ 2>/dev/null; then
481
    as_ln_s=ln
482
  else
483
    as_ln_s='cp -p'
484
  fi
485
else
486
  as_ln_s='cp -p'
487
fi
488
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489
rmdir conf$$.dir 2>/dev/null
490
 
491
if mkdir -p . 2>/dev/null; then
492 540 jeremybenn
  as_mkdir_p='mkdir -p "$as_dir"'
493 207 jeremybenn
else
494
  test -d ./-p && rmdir ./-p
495
  as_mkdir_p=false
496
fi
497
 
498
if test -x / >/dev/null 2>&1; then
499
  as_test_x='test -x'
500
else
501
  if ls -dL / >/dev/null 2>&1; then
502
    as_ls_L_option=L
503
  else
504
    as_ls_L_option=
505
  fi
506
  as_test_x='
507
    eval sh -c '\''
508
      if test -d "$1"; then
509
        test -d "$1/.";
510
      else
511 540 jeremybenn
        case $1 in #(
512 207 jeremybenn
        -*)set "./$1";;
513
        esac;
514 540 jeremybenn
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 207 jeremybenn
        ???[sx]*):;;*)false;;esac;fi
516
    '\'' sh
517
  '
518
fi
519
as_executable_p=$as_test_x
520
 
521
# Sed expression to map a string onto a valid CPP name.
522
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523
 
524
# Sed expression to map a string onto a valid variable name.
525
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526
 
527
 
528 540 jeremybenn
test -n "$DJDIR" || exec 7<&0 
529
exec 6>&1
530 207 jeremybenn
 
531
# Name of the host.
532
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533
# so uname gets run too.
534
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
535
 
536
#
537
# Initializations.
538
#
539
ac_default_prefix=/usr/local
540
ac_clean_files=
541
ac_config_libobj_dir=.
542
LIBOBJS=
543
cross_compiling=no
544
subdirs=
545
MFLAGS=
546
MAKEFLAGS=
547
 
548
# Identity of this package.
549
PACKAGE_NAME='libor32.a'
550
PACKAGE_TARNAME='libor32-a'
551
PACKAGE_VERSION='0.2.0'
552
PACKAGE_STRING='libor32.a 0.2.0'
553
PACKAGE_BUGREPORT=''
554 540 jeremybenn
PACKAGE_URL=''
555 207 jeremybenn
 
556
ac_subst_vars='LTLIBOBJS
557
LIBOBJS
558
host_makefile_frag_path
559
CCASFLAGS
560
CCAS
561
RANLIB
562
LD
563
AR
564
AS
565
am__fastdepCC_FALSE
566
am__fastdepCC_TRUE
567
CCDEPMODE
568
AMDEPBACKSLASH
569
AMDEP_FALSE
570
AMDEP_TRUE
571
am__quote
572
am__include
573
DEPDIR
574
am__leading_dot
575
CC
576
INSTALL_DATA
577
INSTALL_SCRIPT
578
INSTALL_PROGRAM
579
target_os
580
target_vendor
581
target_cpu
582
target
583
host_os
584
host_vendor
585
host_cpu
586
host
587
build_os
588
build_vendor
589
build_cpu
590
build
591
target_alias
592
host_alias
593
build_alias
594
LIBS
595
ECHO_T
596
ECHO_N
597
ECHO_C
598
DEFS
599
mandir
600
localedir
601
libdir
602
psdir
603
pdfdir
604
dvidir
605
htmldir
606
infodir
607
docdir
608
oldincludedir
609
includedir
610
localstatedir
611
sharedstatedir
612
sysconfdir
613
datadir
614
datarootdir
615
libexecdir
616
sbindir
617
bindir
618
program_transform_name
619
prefix
620
exec_prefix
621 540 jeremybenn
PACKAGE_URL
622 207 jeremybenn
PACKAGE_BUGREPORT
623
PACKAGE_STRING
624
PACKAGE_VERSION
625
PACKAGE_TARNAME
626
PACKAGE_NAME
627
PATH_SEPARATOR
628
SHELL'
629
ac_subst_files='host_makefile_frag'
630
ac_user_opts='
631
enable_option_checking
632
enable_dependency_tracking
633
'
634
      ac_precious_vars='build_alias
635
host_alias
636
target_alias
637
CCAS
638
CCASFLAGS'
639
 
640
 
641
# Initialize some variables set by options.
642
ac_init_help=
643
ac_init_version=false
644
ac_unrecognized_opts=
645
ac_unrecognized_sep=
646
# The variables have the same names as the options, with
647
# dashes changed to underlines.
648
cache_file=/dev/null
649
exec_prefix=NONE
650
no_create=
651
no_recursion=
652
prefix=NONE
653
program_prefix=NONE
654
program_suffix=NONE
655
program_transform_name=s,x,x,
656
silent=
657
site=
658
srcdir=
659
verbose=
660
x_includes=NONE
661
x_libraries=NONE
662
 
663
# Installation directory options.
664
# These are left unexpanded so users can "make install exec_prefix=/foo"
665
# and all the variables that are supposed to be based on exec_prefix
666
# by default will actually change.
667
# Use braces instead of parens because sh, perl, etc. also accept them.
668
# (The list follows the same order as the GNU Coding Standards.)
669
bindir='${exec_prefix}/bin'
670
sbindir='${exec_prefix}/sbin'
671
libexecdir='${exec_prefix}/libexec'
672
datarootdir='${prefix}/share'
673
datadir='${datarootdir}'
674
sysconfdir='${prefix}/etc'
675
sharedstatedir='${prefix}/com'
676
localstatedir='${prefix}/var'
677
includedir='${prefix}/include'
678
oldincludedir='/usr/include'
679
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
680
infodir='${datarootdir}/info'
681
htmldir='${docdir}'
682
dvidir='${docdir}'
683
pdfdir='${docdir}'
684
psdir='${docdir}'
685
libdir='${exec_prefix}/lib'
686
localedir='${datarootdir}/locale'
687
mandir='${datarootdir}/man'
688
 
689
ac_prev=
690
ac_dashdash=
691
for ac_option
692
do
693
  # If the previous option needs an argument, assign it.
694
  if test -n "$ac_prev"; then
695
    eval $ac_prev=\$ac_option
696
    ac_prev=
697
    continue
698
  fi
699
 
700
  case $ac_option in
701
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
702
  *)    ac_optarg=yes ;;
703
  esac
704
 
705
  # Accept the important Cygnus configure options, so we can diagnose typos.
706
 
707
  case $ac_dashdash$ac_option in
708
  --)
709
    ac_dashdash=yes ;;
710
 
711
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
712
    ac_prev=bindir ;;
713
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
714
    bindir=$ac_optarg ;;
715
 
716
  -build | --build | --buil | --bui | --bu)
717
    ac_prev=build_alias ;;
718
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
719
    build_alias=$ac_optarg ;;
720
 
721
  -cache-file | --cache-file | --cache-fil | --cache-fi \
722
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
723
    ac_prev=cache_file ;;
724
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
725
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
726
    cache_file=$ac_optarg ;;
727
 
728
  --config-cache | -C)
729
    cache_file=config.cache ;;
730
 
731
  -datadir | --datadir | --datadi | --datad)
732
    ac_prev=datadir ;;
733
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
734
    datadir=$ac_optarg ;;
735
 
736
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
737
  | --dataroo | --dataro | --datar)
738
    ac_prev=datarootdir ;;
739
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
740
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
741
    datarootdir=$ac_optarg ;;
742
 
743
  -disable-* | --disable-*)
744
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
745
    # Reject names that are not valid shell variable names.
746
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
747 540 jeremybenn
      as_fn_error "invalid feature name: $ac_useropt"
748 207 jeremybenn
    ac_useropt_orig=$ac_useropt
749
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
750
    case $ac_user_opts in
751
      *"
752
"enable_$ac_useropt"
753
"*) ;;
754
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
755
         ac_unrecognized_sep=', ';;
756
    esac
757
    eval enable_$ac_useropt=no ;;
758
 
759
  -docdir | --docdir | --docdi | --doc | --do)
760
    ac_prev=docdir ;;
761
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
762
    docdir=$ac_optarg ;;
763
 
764
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
765
    ac_prev=dvidir ;;
766
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
767
    dvidir=$ac_optarg ;;
768
 
769
  -enable-* | --enable-*)
770
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
771
    # Reject names that are not valid shell variable names.
772
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
773 540 jeremybenn
      as_fn_error "invalid feature name: $ac_useropt"
774 207 jeremybenn
    ac_useropt_orig=$ac_useropt
775
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
776
    case $ac_user_opts in
777
      *"
778
"enable_$ac_useropt"
779
"*) ;;
780
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
781
         ac_unrecognized_sep=', ';;
782
    esac
783
    eval enable_$ac_useropt=\$ac_optarg ;;
784
 
785
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
786
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
787
  | --exec | --exe | --ex)
788
    ac_prev=exec_prefix ;;
789
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
790
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
791
  | --exec=* | --exe=* | --ex=*)
792
    exec_prefix=$ac_optarg ;;
793
 
794
  -gas | --gas | --ga | --g)
795
    # Obsolete; use --with-gas.
796
    with_gas=yes ;;
797
 
798
  -help | --help | --hel | --he | -h)
799
    ac_init_help=long ;;
800
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
801
    ac_init_help=recursive ;;
802
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
803
    ac_init_help=short ;;
804
 
805
  -host | --host | --hos | --ho)
806
    ac_prev=host_alias ;;
807
  -host=* | --host=* | --hos=* | --ho=*)
808
    host_alias=$ac_optarg ;;
809
 
810
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
811
    ac_prev=htmldir ;;
812
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
813
  | --ht=*)
814
    htmldir=$ac_optarg ;;
815
 
816
  -includedir | --includedir | --includedi | --included | --include \
817
  | --includ | --inclu | --incl | --inc)
818
    ac_prev=includedir ;;
819
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
820
  | --includ=* | --inclu=* | --incl=* | --inc=*)
821
    includedir=$ac_optarg ;;
822
 
823
  -infodir | --infodir | --infodi | --infod | --info | --inf)
824
    ac_prev=infodir ;;
825
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
826
    infodir=$ac_optarg ;;
827
 
828
  -libdir | --libdir | --libdi | --libd)
829
    ac_prev=libdir ;;
830
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
831
    libdir=$ac_optarg ;;
832
 
833
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
834
  | --libexe | --libex | --libe)
835
    ac_prev=libexecdir ;;
836
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
837
  | --libexe=* | --libex=* | --libe=*)
838
    libexecdir=$ac_optarg ;;
839
 
840
  -localedir | --localedir | --localedi | --localed | --locale)
841
    ac_prev=localedir ;;
842
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
843
    localedir=$ac_optarg ;;
844
 
845
  -localstatedir | --localstatedir | --localstatedi | --localstated \
846
  | --localstate | --localstat | --localsta | --localst | --locals)
847
    ac_prev=localstatedir ;;
848
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
849
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
850
    localstatedir=$ac_optarg ;;
851
 
852
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
853
    ac_prev=mandir ;;
854
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
855
    mandir=$ac_optarg ;;
856
 
857
  -nfp | --nfp | --nf)
858
    # Obsolete; use --without-fp.
859
    with_fp=no ;;
860
 
861
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
862
  | --no-cr | --no-c | -n)
863
    no_create=yes ;;
864
 
865
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
866
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
867
    no_recursion=yes ;;
868
 
869
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
870
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
871
  | --oldin | --oldi | --old | --ol | --o)
872
    ac_prev=oldincludedir ;;
873
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
874
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
875
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
876
    oldincludedir=$ac_optarg ;;
877
 
878
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
879
    ac_prev=prefix ;;
880
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
881
    prefix=$ac_optarg ;;
882
 
883
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
884
  | --program-pre | --program-pr | --program-p)
885
    ac_prev=program_prefix ;;
886
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
887
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
888
    program_prefix=$ac_optarg ;;
889
 
890
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
891
  | --program-suf | --program-su | --program-s)
892
    ac_prev=program_suffix ;;
893
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
894
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
895
    program_suffix=$ac_optarg ;;
896
 
897
  -program-transform-name | --program-transform-name \
898
  | --program-transform-nam | --program-transform-na \
899
  | --program-transform-n | --program-transform- \
900
  | --program-transform | --program-transfor \
901
  | --program-transfo | --program-transf \
902
  | --program-trans | --program-tran \
903
  | --progr-tra | --program-tr | --program-t)
904
    ac_prev=program_transform_name ;;
905
  -program-transform-name=* | --program-transform-name=* \
906
  | --program-transform-nam=* | --program-transform-na=* \
907
  | --program-transform-n=* | --program-transform-=* \
908
  | --program-transform=* | --program-transfor=* \
909
  | --program-transfo=* | --program-transf=* \
910
  | --program-trans=* | --program-tran=* \
911
  | --progr-tra=* | --program-tr=* | --program-t=*)
912
    program_transform_name=$ac_optarg ;;
913
 
914
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
915
    ac_prev=pdfdir ;;
916
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
917
    pdfdir=$ac_optarg ;;
918
 
919
  -psdir | --psdir | --psdi | --psd | --ps)
920
    ac_prev=psdir ;;
921
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
922
    psdir=$ac_optarg ;;
923
 
924
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
925
  | -silent | --silent | --silen | --sile | --sil)
926
    silent=yes ;;
927
 
928
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
929
    ac_prev=sbindir ;;
930
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
931
  | --sbi=* | --sb=*)
932
    sbindir=$ac_optarg ;;
933
 
934
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
935
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
936
  | --sharedst | --shareds | --shared | --share | --shar \
937
  | --sha | --sh)
938
    ac_prev=sharedstatedir ;;
939
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
940
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
941
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
942
  | --sha=* | --sh=*)
943
    sharedstatedir=$ac_optarg ;;
944
 
945
  -site | --site | --sit)
946
    ac_prev=site ;;
947
  -site=* | --site=* | --sit=*)
948
    site=$ac_optarg ;;
949
 
950
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
951
    ac_prev=srcdir ;;
952
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
953
    srcdir=$ac_optarg ;;
954
 
955
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
956
  | --syscon | --sysco | --sysc | --sys | --sy)
957
    ac_prev=sysconfdir ;;
958
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
959
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
960
    sysconfdir=$ac_optarg ;;
961
 
962
  -target | --target | --targe | --targ | --tar | --ta | --t)
963
    ac_prev=target_alias ;;
964
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
965
    target_alias=$ac_optarg ;;
966
 
967
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
968
    verbose=yes ;;
969
 
970
  -version | --version | --versio | --versi | --vers | -V)
971
    ac_init_version=: ;;
972
 
973
  -with-* | --with-*)
974
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
975
    # Reject names that are not valid shell variable names.
976
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977 540 jeremybenn
      as_fn_error "invalid package name: $ac_useropt"
978 207 jeremybenn
    ac_useropt_orig=$ac_useropt
979
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980
    case $ac_user_opts in
981
      *"
982
"with_$ac_useropt"
983
"*) ;;
984
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
985
         ac_unrecognized_sep=', ';;
986
    esac
987
    eval with_$ac_useropt=\$ac_optarg ;;
988
 
989
  -without-* | --without-*)
990
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
991
    # Reject names that are not valid shell variable names.
992
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 540 jeremybenn
      as_fn_error "invalid package name: $ac_useropt"
994 207 jeremybenn
    ac_useropt_orig=$ac_useropt
995
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996
    case $ac_user_opts in
997
      *"
998
"with_$ac_useropt"
999
"*) ;;
1000
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1001
         ac_unrecognized_sep=', ';;
1002
    esac
1003
    eval with_$ac_useropt=no ;;
1004
 
1005
  --x)
1006
    # Obsolete; use --with-x.
1007
    with_x=yes ;;
1008
 
1009
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1010
  | --x-incl | --x-inc | --x-in | --x-i)
1011
    ac_prev=x_includes ;;
1012
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1013
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1014
    x_includes=$ac_optarg ;;
1015
 
1016
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1017
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1018
    ac_prev=x_libraries ;;
1019
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1020
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1021
    x_libraries=$ac_optarg ;;
1022
 
1023 540 jeremybenn
  -*) as_fn_error "unrecognized option: \`$ac_option'
1024
Try \`$0 --help' for more information."
1025 207 jeremybenn
    ;;
1026
 
1027
  *=*)
1028
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1029
    # Reject names that are not valid shell variable names.
1030 540 jeremybenn
    case $ac_envvar in #(
1031
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1032
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1033
    esac
1034 207 jeremybenn
    eval $ac_envvar=\$ac_optarg
1035
    export $ac_envvar ;;
1036
 
1037
  *)
1038
    # FIXME: should be removed in autoconf 3.0.
1039
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1043
    ;;
1044
 
1045
  esac
1046
done
1047
 
1048
if test -n "$ac_prev"; then
1049
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1050 540 jeremybenn
  as_fn_error "missing argument to $ac_option"
1051 207 jeremybenn
fi
1052
 
1053
if test -n "$ac_unrecognized_opts"; then
1054
  case $enable_option_checking in
1055
    no) ;;
1056 540 jeremybenn
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1057 207 jeremybenn
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1058
  esac
1059
fi
1060
 
1061
# Check all directory arguments for consistency.
1062
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1063
                datadir sysconfdir sharedstatedir localstatedir includedir \
1064
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1065
                libdir localedir mandir
1066
do
1067
  eval ac_val=\$$ac_var
1068
  # Remove trailing slashes.
1069
  case $ac_val in
1070
    */ )
1071
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1072
      eval $ac_var=\$ac_val;;
1073
  esac
1074
  # Be sure to have absolute directory names.
1075
  case $ac_val in
1076
    [\\/$]* | ?:[\\/]* )  continue;;
1077
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1078
  esac
1079 540 jeremybenn
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1080 207 jeremybenn
done
1081
 
1082
# There might be people who depend on the old broken behavior: `$host'
1083
# used to hold the argument of --host etc.
1084
# FIXME: To remove some day.
1085
build=$build_alias
1086
host=$host_alias
1087
target=$target_alias
1088
 
1089
# FIXME: To remove some day.
1090
if test "x$host_alias" != x; then
1091
  if test "x$build_alias" = x; then
1092
    cross_compiling=maybe
1093
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1094
    If a cross compiler is detected then cross compile mode will be used." >&2
1095
  elif test "x$build_alias" != "x$host_alias"; then
1096
    cross_compiling=yes
1097
  fi
1098
fi
1099
 
1100
ac_tool_prefix=
1101
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1102
 
1103
test "$silent" = yes && exec 6>/dev/null
1104
 
1105
 
1106
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1107
ac_ls_di=`ls -di .` &&
1108
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1109 540 jeremybenn
  as_fn_error "working directory cannot be determined"
1110 207 jeremybenn
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1111 540 jeremybenn
  as_fn_error "pwd does not report name of working directory"
1112 207 jeremybenn
 
1113
 
1114
# Find the source files, if location was not specified.
1115
if test -z "$srcdir"; then
1116
  ac_srcdir_defaulted=yes
1117
  # Try the directory containing this script, then the parent directory.
1118
  ac_confdir=`$as_dirname -- "$as_myself" ||
1119
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1120
         X"$as_myself" : 'X\(//\)[^/]' \| \
1121
         X"$as_myself" : 'X\(//\)$' \| \
1122
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1123
$as_echo X"$as_myself" |
1124
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1125
            s//\1/
1126
            q
1127
          }
1128
          /^X\(\/\/\)[^/].*/{
1129
            s//\1/
1130
            q
1131
          }
1132
          /^X\(\/\/\)$/{
1133
            s//\1/
1134
            q
1135
          }
1136
          /^X\(\/\).*/{
1137
            s//\1/
1138
            q
1139
          }
1140
          s/.*/./; q'`
1141
  srcdir=$ac_confdir
1142
  if test ! -r "$srcdir/$ac_unique_file"; then
1143
    srcdir=..
1144
  fi
1145
else
1146
  ac_srcdir_defaulted=no
1147
fi
1148
if test ! -r "$srcdir/$ac_unique_file"; then
1149
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1150 540 jeremybenn
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1151 207 jeremybenn
fi
1152
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1153
ac_abs_confdir=`(
1154 540 jeremybenn
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1155 207 jeremybenn
        pwd)`
1156
# When building in place, set srcdir=.
1157
if test "$ac_abs_confdir" = "$ac_pwd"; then
1158
  srcdir=.
1159
fi
1160
# Remove unnecessary trailing slashes from srcdir.
1161
# Double slashes in file names in object file debugging info
1162
# mess up M-x gdb in Emacs.
1163
case $srcdir in
1164
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1165
esac
1166
for ac_var in $ac_precious_vars; do
1167
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1168
  eval ac_env_${ac_var}_value=\$${ac_var}
1169
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1170
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1171
done
1172
 
1173
#
1174
# Report the --help message.
1175
#
1176
if test "$ac_init_help" = "long"; then
1177
  # Omit some internal or obsolete options to make the list less imposing.
1178
  # This message is too long to be a string in the A/UX 3.1 sh.
1179
  cat <<_ACEOF
1180
\`configure' configures libor32.a 0.2.0 to adapt to many kinds of systems.
1181
 
1182
Usage: $0 [OPTION]... [VAR=VALUE]...
1183
 
1184
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1185
VAR=VALUE.  See below for descriptions of some of the useful variables.
1186
 
1187
Defaults for the options are specified in brackets.
1188
 
1189
Configuration:
1190
  -h, --help              display this help and exit
1191
      --help=short        display options specific to this package
1192
      --help=recursive    display the short help of all the included packages
1193
  -V, --version           display version information and exit
1194
  -q, --quiet, --silent   do not print \`checking...' messages
1195
      --cache-file=FILE   cache test results in FILE [disabled]
1196
  -C, --config-cache      alias for \`--cache-file=config.cache'
1197
  -n, --no-create         do not create output files
1198
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1199
 
1200
Installation directories:
1201
  --prefix=PREFIX         install architecture-independent files in PREFIX
1202
                          [$ac_default_prefix]
1203
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1204
                          [PREFIX]
1205
 
1206
By default, \`make install' will install all the files in
1207
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1208
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1209
for instance \`--prefix=\$HOME'.
1210
 
1211
For better control, use the options below.
1212
 
1213
Fine tuning of the installation directories:
1214
  --bindir=DIR            user executables [EPREFIX/bin]
1215
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1216
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1217
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1218
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1219
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1220
  --libdir=DIR            object code libraries [EPREFIX/lib]
1221
  --includedir=DIR        C header files [PREFIX/include]
1222
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1223
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1224
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1225
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1226
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1227
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1228
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libor32-a]
1229
  --htmldir=DIR           html documentation [DOCDIR]
1230
  --dvidir=DIR            dvi documentation [DOCDIR]
1231
  --pdfdir=DIR            pdf documentation [DOCDIR]
1232
  --psdir=DIR             ps documentation [DOCDIR]
1233
_ACEOF
1234
 
1235
  cat <<\_ACEOF
1236
 
1237
Program names:
1238
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1239
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1240
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1241
 
1242
System types:
1243
  --build=BUILD     configure for building on BUILD [guessed]
1244
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1245
  --target=TARGET   configure for building compilers for TARGET [HOST]
1246
_ACEOF
1247
fi
1248
 
1249
if test -n "$ac_init_help"; then
1250
  case $ac_init_help in
1251
     short | recursive ) echo "Configuration of libor32.a 0.2.0:";;
1252
   esac
1253
  cat <<\_ACEOF
1254
 
1255
Optional Features:
1256
  --disable-option-checking  ignore unrecognized --enable/--with options
1257
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1258
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1259
  --disable-dependency-tracking  speeds up one-time build
1260
  --enable-dependency-tracking   do not reject slow dependency extractors
1261
 
1262
Some influential environment variables:
1263
  CCAS        assembler compiler command (defaults to CC)
1264
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1265
 
1266
Use these variables to override the choices made by `configure' or to help
1267
it to find libraries and programs with nonstandard names/locations.
1268
 
1269 540 jeremybenn
Report bugs to the package provider.
1270 207 jeremybenn
_ACEOF
1271
ac_status=$?
1272
fi
1273
 
1274
if test "$ac_init_help" = "recursive"; then
1275
  # If there are subdirs, report their specific --help.
1276
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1277
    test -d "$ac_dir" ||
1278
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1279
      continue
1280
    ac_builddir=.
1281
 
1282
case "$ac_dir" in
1283
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1284
*)
1285
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1286
  # A ".." for each directory in $ac_dir_suffix.
1287
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1288
  case $ac_top_builddir_sub in
1289
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1290
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1291
  esac ;;
1292
esac
1293
ac_abs_top_builddir=$ac_pwd
1294
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1295
# for backward compatibility:
1296
ac_top_builddir=$ac_top_build_prefix
1297
 
1298
case $srcdir in
1299
  .)  # We are building in place.
1300
    ac_srcdir=.
1301
    ac_top_srcdir=$ac_top_builddir_sub
1302
    ac_abs_top_srcdir=$ac_pwd ;;
1303
  [\\/]* | ?:[\\/]* )  # Absolute name.
1304
    ac_srcdir=$srcdir$ac_dir_suffix;
1305
    ac_top_srcdir=$srcdir
1306
    ac_abs_top_srcdir=$srcdir ;;
1307
  *) # Relative name.
1308
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1309
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1310
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1311
esac
1312
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1313
 
1314
    cd "$ac_dir" || { ac_status=$?; continue; }
1315
    # Check for guested configure.
1316
    if test -f "$ac_srcdir/configure.gnu"; then
1317
      echo &&
1318
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1319
    elif test -f "$ac_srcdir/configure"; then
1320
      echo &&
1321
      $SHELL "$ac_srcdir/configure" --help=recursive
1322
    else
1323
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1324
    fi || ac_status=$?
1325
    cd "$ac_pwd" || { ac_status=$?; break; }
1326
  done
1327
fi
1328
 
1329
test -n "$ac_init_help" && exit $ac_status
1330
if $ac_init_version; then
1331
  cat <<\_ACEOF
1332
libor32.a configure 0.2.0
1333 540 jeremybenn
generated by GNU Autoconf 2.65
1334 207 jeremybenn
 
1335 540 jeremybenn
Copyright (C) 2009 Free Software Foundation, Inc.
1336 207 jeremybenn
This configure script is free software; the Free Software Foundation
1337
gives unlimited permission to copy, distribute and modify it.
1338
_ACEOF
1339
  exit
1340
fi
1341 540 jeremybenn
 
1342
## ------------------------ ##
1343
## Autoconf initialization. ##
1344
## ------------------------ ##
1345
 
1346
# ac_fn_c_try_compile LINENO
1347
# --------------------------
1348
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1349
ac_fn_c_try_compile ()
1350
{
1351
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1352
  rm -f conftest.$ac_objext
1353
  if { { ac_try="$ac_compile"
1354
case "(($ac_try" in
1355
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1356
  *) ac_try_echo=$ac_try;;
1357
esac
1358
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1359
$as_echo "$ac_try_echo"; } >&5
1360
  (eval "$ac_compile") 2>conftest.err
1361
  ac_status=$?
1362
  if test -s conftest.err; then
1363
    grep -v '^ *+' conftest.err >conftest.er1
1364
    cat conftest.er1 >&5
1365
    mv -f conftest.er1 conftest.err
1366
  fi
1367
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1368
  test $ac_status = 0; } && {
1369
         test -z "$ac_c_werror_flag" ||
1370
         test ! -s conftest.err
1371
       } && test -s conftest.$ac_objext; then :
1372
  ac_retval=0
1373
else
1374
  $as_echo "$as_me: failed program was:" >&5
1375
sed 's/^/| /' conftest.$ac_ext >&5
1376
 
1377
        ac_retval=1
1378
fi
1379
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1380
  as_fn_set_status $ac_retval
1381
 
1382
} # ac_fn_c_try_compile
1383 207 jeremybenn
cat >config.log <<_ACEOF
1384
This file contains any messages produced by compilers while
1385
running configure, to aid debugging if configure makes a mistake.
1386
 
1387
It was created by libor32.a $as_me 0.2.0, which was
1388 540 jeremybenn
generated by GNU Autoconf 2.65.  Invocation command line was
1389 207 jeremybenn
 
1390
  $ $0 $@
1391
 
1392
_ACEOF
1393
exec 5>>config.log
1394
{
1395
cat <<_ASUNAME
1396
## --------- ##
1397
## Platform. ##
1398
## --------- ##
1399
 
1400
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1401
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1402
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1403
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1404
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1405
 
1406
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1407
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1408
 
1409
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1410
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1411
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1412
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1413
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1414
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1415
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1416
 
1417
_ASUNAME
1418
 
1419
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1420
for as_dir in $PATH
1421
do
1422
  IFS=$as_save_IFS
1423
  test -z "$as_dir" && as_dir=.
1424 540 jeremybenn
    $as_echo "PATH: $as_dir"
1425
  done
1426 207 jeremybenn
IFS=$as_save_IFS
1427
 
1428
} >&5
1429
 
1430
cat >&5 <<_ACEOF
1431
 
1432
 
1433
## ----------- ##
1434
## Core tests. ##
1435
## ----------- ##
1436
 
1437
_ACEOF
1438
 
1439
 
1440
# Keep a trace of the command line.
1441
# Strip out --no-create and --no-recursion so they do not pile up.
1442
# Strip out --silent because we don't want to record it for future runs.
1443
# Also quote any args containing shell meta-characters.
1444
# Make two passes to allow for proper duplicate-argument suppression.
1445
ac_configure_args=
1446
ac_configure_args0=
1447
ac_configure_args1=
1448
ac_must_keep_next=false
1449
for ac_pass in 1 2
1450
do
1451
  for ac_arg
1452
  do
1453
    case $ac_arg in
1454
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1455
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1456
    | -silent | --silent | --silen | --sile | --sil)
1457
      continue ;;
1458
    *\'*)
1459
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1460
    esac
1461
    case $ac_pass in
1462 540 jeremybenn
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1463 207 jeremybenn
    2)
1464 540 jeremybenn
      as_fn_append ac_configure_args1 " '$ac_arg'"
1465 207 jeremybenn
      if test $ac_must_keep_next = true; then
1466
        ac_must_keep_next=false # Got value, back to normal.
1467
      else
1468
        case $ac_arg in
1469
          *=* | --config-cache | -C | -disable-* | --disable-* \
1470
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1471
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1472
          | -with-* | --with-* | -without-* | --without-* | --x)
1473
            case "$ac_configure_args0 " in
1474
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1475
            esac
1476
            ;;
1477
          -* ) ac_must_keep_next=true ;;
1478
        esac
1479
      fi
1480 540 jeremybenn
      as_fn_append ac_configure_args " '$ac_arg'"
1481 207 jeremybenn
      ;;
1482
    esac
1483
  done
1484
done
1485 540 jeremybenn
{ ac_configure_args0=; unset ac_configure_args0;}
1486
{ ac_configure_args1=; unset ac_configure_args1;}
1487 207 jeremybenn
 
1488
# When interrupted or exit'd, cleanup temporary files, and complete
1489
# config.log.  We remove comments because anyway the quotes in there
1490
# would cause problems or look ugly.
1491
# WARNING: Use '\'' to represent an apostrophe within the trap.
1492
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1493
trap 'exit_status=$?
1494
  # Save into config.log some information that might help in debugging.
1495
  {
1496
    echo
1497
 
1498
    cat <<\_ASBOX
1499
## ---------------- ##
1500
## Cache variables. ##
1501
## ---------------- ##
1502
_ASBOX
1503
    echo
1504
    # The following way of writing the cache mishandles newlines in values,
1505
(
1506
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1507
    eval ac_val=\$$ac_var
1508
    case $ac_val in #(
1509
    *${as_nl}*)
1510
      case $ac_var in #(
1511 540 jeremybenn
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1512 207 jeremybenn
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1513
      esac
1514
      case $ac_var in #(
1515
      _ | IFS | as_nl) ;; #(
1516
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1517 540 jeremybenn
      *) { eval $ac_var=; unset $ac_var;} ;;
1518 207 jeremybenn
      esac ;;
1519
    esac
1520
  done
1521
  (set) 2>&1 |
1522
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1523
    *${as_nl}ac_space=\ *)
1524
      sed -n \
1525
        "s/'\''/'\''\\\\'\'''\''/g;
1526
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1527
      ;; #(
1528
    *)
1529
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1530
      ;;
1531
    esac |
1532
    sort
1533
)
1534
    echo
1535
 
1536
    cat <<\_ASBOX
1537
## ----------------- ##
1538
## Output variables. ##
1539
## ----------------- ##
1540
_ASBOX
1541
    echo
1542
    for ac_var in $ac_subst_vars
1543
    do
1544
      eval ac_val=\$$ac_var
1545
      case $ac_val in
1546
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1547
      esac
1548
      $as_echo "$ac_var='\''$ac_val'\''"
1549
    done | sort
1550
    echo
1551
 
1552
    if test -n "$ac_subst_files"; then
1553
      cat <<\_ASBOX
1554
## ------------------- ##
1555
## File substitutions. ##
1556
## ------------------- ##
1557
_ASBOX
1558
      echo
1559
      for ac_var in $ac_subst_files
1560
      do
1561
        eval ac_val=\$$ac_var
1562
        case $ac_val in
1563
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1564
        esac
1565
        $as_echo "$ac_var='\''$ac_val'\''"
1566
      done | sort
1567
      echo
1568
    fi
1569
 
1570
    if test -s confdefs.h; then
1571
      cat <<\_ASBOX
1572
## ----------- ##
1573
## confdefs.h. ##
1574
## ----------- ##
1575
_ASBOX
1576
      echo
1577
      cat confdefs.h
1578
      echo
1579
    fi
1580
    test "$ac_signal" != 0 &&
1581
      $as_echo "$as_me: caught signal $ac_signal"
1582
    $as_echo "$as_me: exit $exit_status"
1583
  } >&5
1584
  rm -f core *.core core.conftest.* &&
1585
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1586
    exit $exit_status
1587
' 0
1588
for ac_signal in 1 2 13 15; do
1589 540 jeremybenn
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1590 207 jeremybenn
done
1591
ac_signal=0
1592
 
1593
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1594
rm -f -r conftest* confdefs.h
1595
 
1596 540 jeremybenn
$as_echo "/* confdefs.h */" > confdefs.h
1597
 
1598 207 jeremybenn
# Predefined preprocessor variables.
1599
 
1600
cat >>confdefs.h <<_ACEOF
1601
#define PACKAGE_NAME "$PACKAGE_NAME"
1602
_ACEOF
1603
 
1604
cat >>confdefs.h <<_ACEOF
1605
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1606
_ACEOF
1607
 
1608
cat >>confdefs.h <<_ACEOF
1609
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1610
_ACEOF
1611
 
1612
cat >>confdefs.h <<_ACEOF
1613
#define PACKAGE_STRING "$PACKAGE_STRING"
1614
_ACEOF
1615
 
1616
cat >>confdefs.h <<_ACEOF
1617
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1618
_ACEOF
1619
 
1620 540 jeremybenn
cat >>confdefs.h <<_ACEOF
1621
#define PACKAGE_URL "$PACKAGE_URL"
1622
_ACEOF
1623 207 jeremybenn
 
1624 540 jeremybenn
 
1625 207 jeremybenn
# Let the site file select an alternate cache file if it wants to.
1626
# Prefer an explicitly selected file to automatically selected ones.
1627
ac_site_file1=NONE
1628
ac_site_file2=NONE
1629
if test -n "$CONFIG_SITE"; then
1630
  ac_site_file1=$CONFIG_SITE
1631
elif test "x$prefix" != xNONE; then
1632
  ac_site_file1=$prefix/share/config.site
1633
  ac_site_file2=$prefix/etc/config.site
1634
else
1635
  ac_site_file1=$ac_default_prefix/share/config.site
1636
  ac_site_file2=$ac_default_prefix/etc/config.site
1637
fi
1638
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1639
do
1640
  test "x$ac_site_file" = xNONE && continue
1641 540 jeremybenn
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1642
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1643 207 jeremybenn
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1644
    sed 's/^/| /' "$ac_site_file" >&5
1645
    . "$ac_site_file"
1646
  fi
1647
done
1648
 
1649
if test -r "$cache_file"; then
1650 540 jeremybenn
  # Some versions of bash will fail to source /dev/null (special files
1651
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1652
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1653
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1654 207 jeremybenn
$as_echo "$as_me: loading cache $cache_file" >&6;}
1655
    case $cache_file in
1656
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1657
      *)                      . "./$cache_file";;
1658
    esac
1659
  fi
1660
else
1661 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1662 207 jeremybenn
$as_echo "$as_me: creating cache $cache_file" >&6;}
1663
  >$cache_file
1664
fi
1665
 
1666
# Check that the precious variables saved in the cache have kept the same
1667
# value.
1668
ac_cache_corrupted=false
1669
for ac_var in $ac_precious_vars; do
1670
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1671
  eval ac_new_set=\$ac_env_${ac_var}_set
1672
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1673
  eval ac_new_val=\$ac_env_${ac_var}_value
1674
  case $ac_old_set,$ac_new_set in
1675
    set,)
1676 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1677 207 jeremybenn
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1678
      ac_cache_corrupted=: ;;
1679
    ,set)
1680 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1681 207 jeremybenn
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1682
      ac_cache_corrupted=: ;;
1683
    ,);;
1684
    *)
1685
      if test "x$ac_old_val" != "x$ac_new_val"; then
1686
        # differences in whitespace do not lead to failure.
1687
        ac_old_val_w=`echo x $ac_old_val`
1688
        ac_new_val_w=`echo x $ac_new_val`
1689
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1690 540 jeremybenn
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1691 207 jeremybenn
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1692
          ac_cache_corrupted=:
1693
        else
1694 540 jeremybenn
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1695 207 jeremybenn
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1696
          eval $ac_var=\$ac_old_val
1697
        fi
1698 540 jeremybenn
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1699 207 jeremybenn
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1700 540 jeremybenn
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1701 207 jeremybenn
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1702
      fi;;
1703
  esac
1704
  # Pass precious variables to config.status.
1705
  if test "$ac_new_set" = set; then
1706
    case $ac_new_val in
1707
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1708
    *) ac_arg=$ac_var=$ac_new_val ;;
1709
    esac
1710
    case " $ac_configure_args " in
1711
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1712 540 jeremybenn
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1713 207 jeremybenn
    esac
1714
  fi
1715
done
1716
if $ac_cache_corrupted; then
1717 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1718 207 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1719 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1720 207 jeremybenn
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1721 540 jeremybenn
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1722 207 jeremybenn
fi
1723 540 jeremybenn
## -------------------- ##
1724
## Main body of script. ##
1725
## -------------------- ##
1726 207 jeremybenn
 
1727
ac_ext=c
1728
ac_cpp='$CPP $CPPFLAGS'
1729
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1730
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1731
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1732
 
1733
 
1734
ac_config_headers="$ac_config_headers config.h"
1735
 
1736
 
1737
# No shared libraries allowed
1738
if test "${enable_shared}" = "yes" ; then
1739
    echo "Shared libraries not supported for cross compiling, ignored"
1740
fi
1741
 
1742
# Where are the auxillary tools (confg.sub etc)?
1743
if test "$srcdir" = "." ; then
1744
  if test "${with_target_subdir}" != "." ; then
1745
    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
1746
  else
1747
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1748
  fi
1749
else
1750
  libgloss_topdir="${srcdir}/../.."
1751
fi
1752
ac_aux_dir=
1753
for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
1754 540 jeremybenn
  for ac_t in install-sh install.sh shtool; do
1755
    if test -f "$ac_dir/$ac_t"; then
1756
      ac_aux_dir=$ac_dir
1757
      ac_install_sh="$ac_aux_dir/$ac_t -c"
1758
      break 2
1759
    fi
1760
  done
1761 207 jeremybenn
done
1762
if test -z "$ac_aux_dir"; then
1763 540 jeremybenn
  as_fn_error "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
1764 207 jeremybenn
fi
1765
 
1766
# These three variables are undocumented and unsupported,
1767
# and are intended to be withdrawn in a future Autoconf release.
1768
# They can cause serious problems if a builder's source tree is in a directory
1769
# whose full name contains unusual characters.
1770
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1771
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1772
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1773
 
1774
 
1775
 
1776
# Make sure we can run config.sub.
1777
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1778 540 jeremybenn
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1779 207 jeremybenn
 
1780 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1781 207 jeremybenn
$as_echo_n "checking build system type... " >&6; }
1782 540 jeremybenn
if test "${ac_cv_build+set}" = set; then :
1783 207 jeremybenn
  $as_echo_n "(cached) " >&6
1784
else
1785
  ac_build_alias=$build_alias
1786
test "x$ac_build_alias" = x &&
1787
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1788
test "x$ac_build_alias" = x &&
1789 540 jeremybenn
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1790 207 jeremybenn
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1791 540 jeremybenn
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1792 207 jeremybenn
 
1793
fi
1794 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1795 207 jeremybenn
$as_echo "$ac_cv_build" >&6; }
1796
case $ac_cv_build in
1797
*-*-*) ;;
1798 540 jeremybenn
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1799 207 jeremybenn
esac
1800
build=$ac_cv_build
1801
ac_save_IFS=$IFS; IFS='-'
1802
set x $ac_cv_build
1803
shift
1804
build_cpu=$1
1805
build_vendor=$2
1806
shift; shift
1807
# Remember, the first character of IFS is used to create $*,
1808
# except with old shells:
1809
build_os=$*
1810
IFS=$ac_save_IFS
1811
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1812
 
1813
 
1814 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1815 207 jeremybenn
$as_echo_n "checking host system type... " >&6; }
1816 540 jeremybenn
if test "${ac_cv_host+set}" = set; then :
1817 207 jeremybenn
  $as_echo_n "(cached) " >&6
1818
else
1819
  if test "x$host_alias" = x; then
1820
  ac_cv_host=$ac_cv_build
1821
else
1822
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1823 540 jeremybenn
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1824 207 jeremybenn
fi
1825
 
1826
fi
1827 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1828 207 jeremybenn
$as_echo "$ac_cv_host" >&6; }
1829
case $ac_cv_host in
1830
*-*-*) ;;
1831 540 jeremybenn
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1832 207 jeremybenn
esac
1833
host=$ac_cv_host
1834
ac_save_IFS=$IFS; IFS='-'
1835
set x $ac_cv_host
1836
shift
1837
host_cpu=$1
1838
host_vendor=$2
1839
shift; shift
1840
# Remember, the first character of IFS is used to create $*,
1841
# except with old shells:
1842
host_os=$*
1843
IFS=$ac_save_IFS
1844
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1845
 
1846
 
1847 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1848 207 jeremybenn
$as_echo_n "checking target system type... " >&6; }
1849 540 jeremybenn
if test "${ac_cv_target+set}" = set; then :
1850 207 jeremybenn
  $as_echo_n "(cached) " >&6
1851
else
1852
  if test "x$target_alias" = x; then
1853
  ac_cv_target=$ac_cv_host
1854
else
1855
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1856 540 jeremybenn
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1857 207 jeremybenn
fi
1858
 
1859
fi
1860 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1861 207 jeremybenn
$as_echo "$ac_cv_target" >&6; }
1862
case $ac_cv_target in
1863
*-*-*) ;;
1864 540 jeremybenn
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1865 207 jeremybenn
esac
1866
target=$ac_cv_target
1867
ac_save_IFS=$IFS; IFS='-'
1868
set x $ac_cv_target
1869
shift
1870
target_cpu=$1
1871
target_vendor=$2
1872
shift; shift
1873
# Remember, the first character of IFS is used to create $*,
1874
# except with old shells:
1875
target_os=$*
1876
IFS=$ac_save_IFS
1877
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1878
 
1879
 
1880
# The aliases save the names the user supplied, while $host etc.
1881
# will get canonicalized.
1882
test -n "$target_alias" &&
1883
  test "$program_prefix$program_suffix$program_transform_name" = \
1884
    NONENONEs,x,x, &&
1885
  program_prefix=${target_alias}-
1886
 
1887
test "$program_prefix" != NONE &&
1888
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1889
# Use a double $ so make ignores it.
1890
test "$program_suffix" != NONE &&
1891
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1892
# Double any \ or $.
1893
# By default was `s,x,x', remove it if useless.
1894
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1895
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1896
 
1897
# Find a good install program.  We prefer a C program (faster),
1898
# so one script is as good as another.  But avoid the broken or
1899
# incompatible versions:
1900
# SysV /etc/install, /usr/sbin/install
1901
# SunOS /usr/etc/install
1902
# IRIX /sbin/install
1903
# AIX /bin/install
1904
# AmigaOS /C/install, which installs bootblocks on floppy discs
1905
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1906
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1907
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1908
# OS/2's system install, which has a completely different semantic
1909
# ./install, which can be erroneously created by make from ./install.sh.
1910
# Reject install programs that cannot install multiple files.
1911 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1912 207 jeremybenn
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1913
if test -z "$INSTALL"; then
1914 540 jeremybenn
if test "${ac_cv_path_install+set}" = set; then :
1915 207 jeremybenn
  $as_echo_n "(cached) " >&6
1916
else
1917
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918
for as_dir in $PATH
1919
do
1920
  IFS=$as_save_IFS
1921
  test -z "$as_dir" && as_dir=.
1922 540 jeremybenn
    # Account for people who put trailing slashes in PATH elements.
1923
case $as_dir/ in #((
1924
  ./ | .// | /[cC]/* | \
1925 207 jeremybenn
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1926 540 jeremybenn
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1927 207 jeremybenn
  /usr/ucb/* ) ;;
1928
  *)
1929
    # OSF1 and SCO ODT 3.0 have their own names for install.
1930
    # Don't use installbsd from OSF since it installs stuff as root
1931
    # by default.
1932
    for ac_prog in ginstall scoinst install; do
1933
      for ac_exec_ext in '' $ac_executable_extensions; do
1934
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1935
          if test $ac_prog = install &&
1936
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1937
            # AIX install.  It has an incompatible calling convention.
1938
            :
1939
          elif test $ac_prog = install &&
1940
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1941
            # program-specific install script used by HP pwplus--don't use.
1942
            :
1943
          else
1944
            rm -rf conftest.one conftest.two conftest.dir
1945
            echo one > conftest.one
1946
            echo two > conftest.two
1947
            mkdir conftest.dir
1948
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1949
              test -s conftest.one && test -s conftest.two &&
1950
              test -s conftest.dir/conftest.one &&
1951
              test -s conftest.dir/conftest.two
1952
            then
1953
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1954
              break 3
1955
            fi
1956
          fi
1957
        fi
1958
      done
1959
    done
1960
    ;;
1961
esac
1962
 
1963 540 jeremybenn
  done
1964 207 jeremybenn
IFS=$as_save_IFS
1965
 
1966
rm -rf conftest.one conftest.two conftest.dir
1967
 
1968
fi
1969
  if test "${ac_cv_path_install+set}" = set; then
1970
    INSTALL=$ac_cv_path_install
1971
  else
1972
    # As a last resort, use the slow shell script.  Don't cache a
1973
    # value for INSTALL within a source directory, because that will
1974
    # break other packages using the cache if that directory is
1975
    # removed, or if the value is a relative name.
1976
    INSTALL=$ac_install_sh
1977
  fi
1978
fi
1979 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1980 207 jeremybenn
$as_echo "$INSTALL" >&6; }
1981
 
1982
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1983
# It thinks the first close brace ends the variable substitution.
1984
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1985
 
1986
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1987
 
1988
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1989
 
1990
 
1991
 
1992 540 jeremybenn
$as_echo "#define HAVE_GNU_LD 1" >>confdefs.h
1993 207 jeremybenn
 
1994
 
1995
# We always use ELF, define various useful associated things.
1996
 
1997 540 jeremybenn
$as_echo "#define HAVE_ELF 1" >>confdefs.h
1998 207 jeremybenn
 
1999
 
2000
# Sort out what the symbol prefix is (we could just fix it as '_', but let the
2001
# script work it out.
2002 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
2003 207 jeremybenn
$as_echo_n "checking for symbol prefix... " >&6; }
2004 540 jeremybenn
if test "${libc_cv_symbol_prefix+set}" = set; then :
2005 207 jeremybenn
  $as_echo_n "(cached) " >&6
2006
else
2007
  cat > conftest.c <<\EOF
2008
foo () { }
2009
EOF
2010
libc_cv_symbol_prefix=none
2011
if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null'
2012 540 jeremybenn
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2013 207 jeremybenn
  (eval $ac_try) 2>&5
2014
  ac_status=$?
2015 540 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2016
  test $ac_status = 0; }; };
2017 207 jeremybenn
then
2018
  libc_cv_symbol_prefix='$'
2019
else
2020
  if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null'
2021 540 jeremybenn
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2022 207 jeremybenn
  (eval $ac_try) 2>&5
2023
  ac_status=$?
2024 540 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025
  test $ac_status = 0; }; };
2026 207 jeremybenn
  then
2027
    libc_cv_symbol_prefix=_
2028
  fi
2029
fi
2030
rm -f conftest*
2031
fi
2032 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_symbol_prefix" >&5
2033 207 jeremybenn
$as_echo "$libc_cv_symbol_prefix" >&6; }
2034
if test $libc_cv_symbol_prefix != none; then
2035
 
2036
cat >>confdefs.h <<_ACEOF
2037
#define __SYMBOL_PREFIX "$libc_cv_symbol_prefix"
2038
_ACEOF
2039
 
2040
else
2041
 
2042 540 jeremybenn
$as_echo "#define __SYMBOL_PREFIX \"\"" >>confdefs.h
2043 207 jeremybenn
 
2044
fi
2045
 
2046
# Standard stuff copied from libnosys. For this we'll need an aclocal.m4
2047
rm -rf .tst 2>/dev/null
2048
mkdir .tst 2>/dev/null
2049
if test -d .tst; then
2050
  am__leading_dot=.
2051
else
2052
  am__leading_dot=_
2053
fi
2054
rmdir .tst 2>/dev/null
2055
 
2056
DEPDIR="${am__leading_dot}deps"
2057
 
2058
ac_config_commands="$ac_config_commands depfiles"
2059
 
2060
 
2061
am_make=${MAKE-make}
2062
cat > confinc << 'END'
2063
am__doit:
2064
        @echo done
2065
.PHONY: am__doit
2066
END
2067
# If we don't find an include directive, just comment out the code.
2068 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2069 207 jeremybenn
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2070
am__include="#"
2071
am__quote=
2072
_am_result=none
2073
# First try GNU make style include.
2074
echo "include confinc" > confmf
2075
# We grep out `Entering directory' and `Leaving directory'
2076
# messages which can occur if `w' ends up in MAKEFLAGS.
2077
# In particular we don't look at `^make:' because GNU make might
2078
# be invoked under some other name (usually "gmake"), in which
2079
# case it prints its new name instead of `make'.
2080
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2081
   am__include=include
2082
   am__quote=
2083
   _am_result=GNU
2084
fi
2085
# Now try BSD make style include.
2086
if test "$am__include" = "#"; then
2087
   echo '.include "confinc"' > confmf
2088
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2089
      am__include=.include
2090
      am__quote="\""
2091
      _am_result=BSD
2092
   fi
2093
fi
2094
 
2095
 
2096 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2097 207 jeremybenn
$as_echo "$_am_result" >&6; }
2098
rm -f confinc confmf
2099
 
2100
# Check whether --enable-dependency-tracking was given.
2101 540 jeremybenn
if test "${enable_dependency_tracking+set}" = set; then :
2102 207 jeremybenn
  enableval=$enable_dependency_tracking;
2103
fi
2104
 
2105
if test "x$enable_dependency_tracking" != xno; then
2106
  am_depcomp="$ac_aux_dir/depcomp"
2107
  AMDEPBACKSLASH='\'
2108
fi
2109
 
2110
 
2111
if test "x$enable_dependency_tracking" != xno; then
2112
  AMDEP_TRUE=
2113
  AMDEP_FALSE='#'
2114
else
2115
  AMDEP_TRUE='#'
2116
  AMDEP_FALSE=
2117
fi
2118
 
2119
 
2120
 
2121
# Extract the first word of "gcc", so it can be a program name with args.
2122
set dummy gcc; ac_word=$2
2123 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2124 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2125 540 jeremybenn
if test "${ac_cv_prog_CC+set}" = set; then :
2126 207 jeremybenn
  $as_echo_n "(cached) " >&6
2127
else
2128
  if test -n "$CC"; then
2129
  ac_cv_prog_CC="$CC" # Let the user override the test.
2130
else
2131
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132
for as_dir in $PATH
2133
do
2134
  IFS=$as_save_IFS
2135
  test -z "$as_dir" && as_dir=.
2136 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2137 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2138
    ac_cv_prog_CC="gcc"
2139 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 207 jeremybenn
    break 2
2141
  fi
2142
done
2143 540 jeremybenn
  done
2144 207 jeremybenn
IFS=$as_save_IFS
2145
 
2146
fi
2147
fi
2148
CC=$ac_cv_prog_CC
2149
if test -n "$CC"; then
2150 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2151 207 jeremybenn
$as_echo "$CC" >&6; }
2152
else
2153 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2154 207 jeremybenn
$as_echo "no" >&6; }
2155
fi
2156
 
2157
 
2158
 
2159
depcc="$CC"   am_compiler_list=
2160
 
2161 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2162 207 jeremybenn
$as_echo_n "checking dependency style of $depcc... " >&6; }
2163 540 jeremybenn
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
2164 207 jeremybenn
  $as_echo_n "(cached) " >&6
2165
else
2166
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2167
  # We make a subdir and do the tests there.  Otherwise we can end up
2168
  # making bogus files that we don't know about and never remove.  For
2169
  # instance it was reported that on HP-UX the gcc test will end up
2170
  # making a dummy file named `D' -- because `-MD' means `put the output
2171
  # in D'.
2172
  mkdir conftest.dir
2173
  # Copy depcomp to subdir because otherwise we won't find it if we're
2174
  # using a relative directory.
2175
  cp "$am_depcomp" conftest.dir
2176
  cd conftest.dir
2177
  # We will build objects and dependencies in a subdirectory because
2178
  # it helps to detect inapplicable dependency modes.  For instance
2179
  # both Tru64's cc and ICC support -MD to output dependencies as a
2180
  # side effect of compilation, but ICC will put the dependencies in
2181
  # the current directory while Tru64 will put them in the object
2182
  # directory.
2183
  mkdir sub
2184
 
2185
  am_cv_CC_dependencies_compiler_type=none
2186
  if test "$am_compiler_list" = ""; then
2187
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2188
  fi
2189
  for depmode in $am_compiler_list; do
2190
    # Setup a source with many dependencies, because some compilers
2191
    # like to wrap large dependency lists on column 80 (with \), and
2192
    # we should not choose a depcomp mode which is confused by this.
2193
    #
2194
    # We need to recreate these files for each test, as the compiler may
2195
    # overwrite some of them when testing with obscure command lines.
2196
    # This happens at least with the AIX C compiler.
2197
    : > sub/conftest.c
2198
    for i in 1 2 3 4 5 6; do
2199
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2200
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2201
      # Solaris 8's {/usr,}/bin/sh.
2202
      touch sub/conftst$i.h
2203
    done
2204
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2205
 
2206
    case $depmode in
2207
    nosideeffect)
2208
      # after this tag, mechanisms are not by side-effect, so they'll
2209
      # only be used when explicitly requested
2210
      if test "x$enable_dependency_tracking" = xyes; then
2211
        continue
2212
      else
2213
        break
2214
      fi
2215
      ;;
2216
    none) break ;;
2217
    esac
2218
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2219
    # mode.  It turns out that the SunPro C++ compiler does not properly
2220
    # handle `-M -o', and we need to detect this.
2221
    if depmode=$depmode \
2222
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2223
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2224
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2225
         >/dev/null 2>conftest.err &&
2226
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2227
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2228
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2229
      # icc doesn't choke on unknown options, it will just issue warnings
2230
      # or remarks (even with -Werror).  So we grep stderr for any message
2231
      # that says an option was ignored or not supported.
2232
      # When given -MP, icc 7.0 and 7.1 complain thusly:
2233
      #   icc: Command line warning: ignoring option '-M'; no argument required
2234
      # The diagnosis changed in icc 8.0:
2235
      #   icc: Command line remark: option '-MP' not supported
2236
      if (grep 'ignoring option' conftest.err ||
2237
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2238
        am_cv_CC_dependencies_compiler_type=$depmode
2239
        break
2240
      fi
2241
    fi
2242
  done
2243
 
2244
  cd ..
2245
  rm -rf conftest.dir
2246
else
2247
  am_cv_CC_dependencies_compiler_type=none
2248
fi
2249
 
2250
fi
2251 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2252 207 jeremybenn
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2253
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2254
 
2255
 
2256
 
2257
if
2258
  test "x$enable_dependency_tracking" != xno \
2259
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2260
  am__fastdepCC_TRUE=
2261
  am__fastdepCC_FALSE='#'
2262
else
2263
  am__fastdepCC_TRUE='#'
2264
  am__fastdepCC_FALSE=
2265
fi
2266
 
2267
 
2268
if test -z "$CC"; then
2269
  # Extract the first word of "cc", so it can be a program name with args.
2270
set dummy cc; ac_word=$2
2271 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2272 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2273 540 jeremybenn
if test "${ac_cv_prog_CC+set}" = set; then :
2274 207 jeremybenn
  $as_echo_n "(cached) " >&6
2275
else
2276
  if test -n "$CC"; then
2277
  ac_cv_prog_CC="$CC" # Let the user override the test.
2278
else
2279
  ac_prog_rejected=no
2280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281
for as_dir in $PATH
2282
do
2283
  IFS=$as_save_IFS
2284
  test -z "$as_dir" && as_dir=.
2285 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2286 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2287
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2288
       ac_prog_rejected=yes
2289
       continue
2290
     fi
2291
    ac_cv_prog_CC="cc"
2292 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 207 jeremybenn
    break 2
2294
  fi
2295
done
2296 540 jeremybenn
  done
2297 207 jeremybenn
IFS=$as_save_IFS
2298
 
2299
if test $ac_prog_rejected = yes; then
2300
  # We found a bogon in the path, so make sure we never use it.
2301
  set dummy $ac_cv_prog_CC
2302
  shift
2303
  if test $# != 0; then
2304
    # We chose a different compiler from the bogus one.
2305
    # However, it has the same basename, so the bogon will be chosen
2306
    # first if we set CC to just the basename; use the full file name.
2307
    shift
2308
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2309
  fi
2310
fi
2311
fi
2312
fi
2313
CC=$ac_cv_prog_CC
2314
if test -n "$CC"; then
2315 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2316 207 jeremybenn
$as_echo "$CC" >&6; }
2317
else
2318 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2319 207 jeremybenn
$as_echo "no" >&6; }
2320
fi
2321
 
2322
 
2323 540 jeremybenn
  test -z "$CC" && as_fn_error "no acceptable cc found in \$PATH" "$LINENO" 5
2324 207 jeremybenn
fi
2325
 
2326 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
2327 207 jeremybenn
$as_echo_n "checking whether we are using GNU C... " >&6; }
2328 540 jeremybenn
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2329 207 jeremybenn
  $as_echo_n "(cached) " >&6
2330
else
2331
  cat > conftest.c <
2332
#ifdef __GNUC__
2333
  yes;
2334
#endif
2335
EOF
2336
if { ac_try='${CC-cc} -E conftest.c'
2337 540 jeremybenn
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2338 207 jeremybenn
  (eval $ac_try) 2>&5
2339
  ac_status=$?
2340 540 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2341
  test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
2342 207 jeremybenn
  ac_cv_c_compiler_gnu=yes
2343
else
2344
  ac_cv_c_compiler_gnu=no
2345
fi
2346
fi
2347 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2348 207 jeremybenn
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2349
 
2350
if test $ac_cv_c_compiler_gnu = yes; then
2351
  GCC=yes
2352
  ac_test_CFLAGS="${CFLAGS+set}"
2353
  ac_save_CFLAGS="$CFLAGS"
2354
  CFLAGS=
2355
  ac_test_CFLAGS=${CFLAGS+set}
2356
ac_save_CFLAGS=$CFLAGS
2357 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2358 207 jeremybenn
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2359 540 jeremybenn
if test "${ac_cv_prog_cc_g+set}" = set; then :
2360 207 jeremybenn
  $as_echo_n "(cached) " >&6
2361
else
2362
  ac_save_c_werror_flag=$ac_c_werror_flag
2363
   ac_c_werror_flag=yes
2364
   ac_cv_prog_cc_g=no
2365
   CFLAGS="-g"
2366 540 jeremybenn
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 207 jeremybenn
/* end confdefs.h.  */
2368
 
2369
int
2370
main ()
2371
{
2372
 
2373
  ;
2374
  return 0;
2375
}
2376
_ACEOF
2377 540 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
2378 207 jeremybenn
  ac_cv_prog_cc_g=yes
2379
else
2380 540 jeremybenn
  CFLAGS=""
2381
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 207 jeremybenn
/* end confdefs.h.  */
2383
 
2384
int
2385
main ()
2386
{
2387
 
2388
  ;
2389
  return 0;
2390
}
2391
_ACEOF
2392 540 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
2393
 
2394 207 jeremybenn
else
2395 540 jeremybenn
  ac_c_werror_flag=$ac_save_c_werror_flag
2396 207 jeremybenn
         CFLAGS="-g"
2397 540 jeremybenn
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 207 jeremybenn
/* end confdefs.h.  */
2399
 
2400
int
2401
main ()
2402
{
2403
 
2404
  ;
2405
  return 0;
2406
}
2407
_ACEOF
2408 540 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
2409 207 jeremybenn
  ac_cv_prog_cc_g=yes
2410
fi
2411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2412
fi
2413
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2414
fi
2415
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2416
   ac_c_werror_flag=$ac_save_c_werror_flag
2417
fi
2418 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2419 207 jeremybenn
$as_echo "$ac_cv_prog_cc_g" >&6; }
2420
if test "$ac_test_CFLAGS" = set; then
2421
  CFLAGS=$ac_save_CFLAGS
2422
elif test $ac_cv_prog_cc_g = yes; then
2423
  if test "$GCC" = yes; then
2424
    CFLAGS="-g -O2"
2425
  else
2426
    CFLAGS="-g"
2427
  fi
2428
else
2429
  if test "$GCC" = yes; then
2430
    CFLAGS="-O2"
2431
  else
2432
    CFLAGS=
2433
  fi
2434
fi
2435
  if test "$ac_test_CFLAGS" = set; then
2436
    CFLAGS="$ac_save_CFLAGS"
2437
  elif test $ac_cv_prog_cc_g = yes; then
2438
    CFLAGS="-g -O2"
2439
  else
2440
    CFLAGS="-O2"
2441
  fi
2442
else
2443
  GCC=
2444
  test "${CFLAGS+set}" = set || CFLAGS="-g"
2445
fi
2446
 
2447
AS=${AS-as}
2448
 
2449
AR=${AR-ar}
2450
 
2451
LD=${LD-ld}
2452
 
2453
if test -n "$ac_tool_prefix"; then
2454
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2455
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2456 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2458 540 jeremybenn
if test "${ac_cv_prog_RANLIB+set}" = set; then :
2459 207 jeremybenn
  $as_echo_n "(cached) " >&6
2460
else
2461
  if test -n "$RANLIB"; then
2462
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2463
else
2464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465
for as_dir in $PATH
2466
do
2467
  IFS=$as_save_IFS
2468
  test -z "$as_dir" && as_dir=.
2469 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2470 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2472 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 207 jeremybenn
    break 2
2474
  fi
2475
done
2476 540 jeremybenn
  done
2477 207 jeremybenn
IFS=$as_save_IFS
2478
 
2479
fi
2480
fi
2481
RANLIB=$ac_cv_prog_RANLIB
2482
if test -n "$RANLIB"; then
2483 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2484 207 jeremybenn
$as_echo "$RANLIB" >&6; }
2485
else
2486 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 207 jeremybenn
$as_echo "no" >&6; }
2488
fi
2489
 
2490
 
2491
fi
2492
if test -z "$ac_cv_prog_RANLIB"; then
2493
  ac_ct_RANLIB=$RANLIB
2494
  # Extract the first word of "ranlib", so it can be a program name with args.
2495
set dummy ranlib; ac_word=$2
2496 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2497 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2498 540 jeremybenn
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2499 207 jeremybenn
  $as_echo_n "(cached) " >&6
2500
else
2501
  if test -n "$ac_ct_RANLIB"; then
2502
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2503
else
2504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505
for as_dir in $PATH
2506
do
2507
  IFS=$as_save_IFS
2508
  test -z "$as_dir" && as_dir=.
2509 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2510 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2511
    ac_cv_prog_ac_ct_RANLIB="ranlib"
2512 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 207 jeremybenn
    break 2
2514
  fi
2515
done
2516 540 jeremybenn
  done
2517 207 jeremybenn
IFS=$as_save_IFS
2518
 
2519
fi
2520
fi
2521
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2522
if test -n "$ac_ct_RANLIB"; then
2523 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2524 207 jeremybenn
$as_echo "$ac_ct_RANLIB" >&6; }
2525
else
2526 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2527 207 jeremybenn
$as_echo "no" >&6; }
2528
fi
2529
 
2530
  if test "x$ac_ct_RANLIB" = x; then
2531
    RANLIB=":"
2532
  else
2533
    case $cross_compiling:$ac_tool_warned in
2534
yes:)
2535 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2536 207 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2537
ac_tool_warned=yes ;;
2538
esac
2539
    RANLIB=$ac_ct_RANLIB
2540
  fi
2541
else
2542
  RANLIB="$ac_cv_prog_RANLIB"
2543
fi
2544
 
2545
# By default we simply use the C compiler to build assembly code.
2546
 
2547
test "${CCAS+set}" = set || CCAS=$CC
2548
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2549
 
2550
 
2551
 
2552
 
2553
host_makefile_frag=${srcdir}/../config/default.mh
2554
 
2555
host_makefile_frag_path=$host_makefile_frag
2556
 
2557
 
2558
 
2559
ac_config_files="$ac_config_files Makefile"
2560
 
2561
cat >confcache <<\_ACEOF
2562
# This file is a shell script that caches the results of configure
2563
# tests run on this system so they can be shared between configure
2564
# scripts and configure runs, see configure's option --config-cache.
2565
# It is not useful on other systems.  If it contains results you don't
2566
# want to keep, you may remove or edit it.
2567
#
2568
# config.status only pays attention to the cache file if you give it
2569
# the --recheck option to rerun configure.
2570
#
2571
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2572
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2573
# following values.
2574
 
2575
_ACEOF
2576
 
2577
# The following way of writing the cache mishandles newlines in values,
2578
# but we know of no workaround that is simple, portable, and efficient.
2579
# So, we kill variables containing newlines.
2580
# Ultrix sh set writes to stderr and can't be redirected directly,
2581
# and sets the high bit in the cache file unless we assign to the vars.
2582
(
2583
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2584
    eval ac_val=\$$ac_var
2585
    case $ac_val in #(
2586
    *${as_nl}*)
2587
      case $ac_var in #(
2588 540 jeremybenn
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2589 207 jeremybenn
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2590
      esac
2591
      case $ac_var in #(
2592
      _ | IFS | as_nl) ;; #(
2593
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2594 540 jeremybenn
      *) { eval $ac_var=; unset $ac_var;} ;;
2595 207 jeremybenn
      esac ;;
2596
    esac
2597
  done
2598
 
2599
  (set) 2>&1 |
2600
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2601
    *${as_nl}ac_space=\ *)
2602 540 jeremybenn
      # `set' does not quote correctly, so add quotes: double-quote
2603
      # substitution turns \\\\ into \\, and sed turns \\ into \.
2604 207 jeremybenn
      sed -n \
2605
        "s/'/'\\\\''/g;
2606
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2607
      ;; #(
2608
    *)
2609
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2610
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2611
      ;;
2612
    esac |
2613
    sort
2614
) |
2615
  sed '
2616
     /^ac_cv_env_/b end
2617
     t clear
2618
     :clear
2619
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2620
     t end
2621
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2622
     :end' >>confcache
2623
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2624
  if test -w "$cache_file"; then
2625
    test "x$cache_file" != "x/dev/null" &&
2626 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2627 207 jeremybenn
$as_echo "$as_me: updating cache $cache_file" >&6;}
2628
    cat confcache >$cache_file
2629
  else
2630 540 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2631 207 jeremybenn
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2632
  fi
2633
fi
2634
rm -f confcache
2635
 
2636
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2637
# Let make expand exec_prefix.
2638
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2639
 
2640
DEFS=-DHAVE_CONFIG_H
2641
 
2642
ac_libobjs=
2643
ac_ltlibobjs=
2644
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2645
  # 1. Remove the extension, and $U if already installed.
2646
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2647
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2648
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2649
  #    will be set to the directory where LIBOBJS objects are built.
2650 540 jeremybenn
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2651
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2652 207 jeremybenn
done
2653
LIBOBJS=$ac_libobjs
2654
 
2655
LTLIBOBJS=$ac_ltlibobjs
2656
 
2657
 
2658
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2659 540 jeremybenn
  as_fn_error "conditional \"AMDEP\" was never defined.
2660
Usually this means the macro was only invoked conditionally." "$LINENO" 5
2661 207 jeremybenn
fi
2662
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2663 540 jeremybenn
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
2664
Usually this means the macro was only invoked conditionally." "$LINENO" 5
2665 207 jeremybenn
fi
2666
 
2667
: ${CONFIG_STATUS=./config.status}
2668
ac_write_fail=0
2669
ac_clean_files_save=$ac_clean_files
2670
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2671 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2672 207 jeremybenn
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2673 540 jeremybenn
as_write_fail=0
2674
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2675 207 jeremybenn
#! $SHELL
2676
# Generated by $as_me.
2677
# Run this file to recreate the current configuration.
2678
# Compiler output produced by configure, useful for debugging
2679
# configure, is in config.log if it exists.
2680
 
2681
debug=false
2682
ac_cs_recheck=false
2683
ac_cs_silent=false
2684 540 jeremybenn
 
2685 207 jeremybenn
SHELL=\${CONFIG_SHELL-$SHELL}
2686 540 jeremybenn
export SHELL
2687
_ASEOF
2688
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2689
## -------------------- ##
2690
## M4sh Initialization. ##
2691
## -------------------- ##
2692 207 jeremybenn
 
2693
# Be more Bourne compatible
2694
DUALCASE=1; export DUALCASE # for MKS sh
2695 540 jeremybenn
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2696 207 jeremybenn
  emulate sh
2697
  NULLCMD=:
2698
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2699
  # is contrary to our usage.  Disable this feature.
2700
  alias -g '${1+"$@"}'='"$@"'
2701
  setopt NO_GLOB_SUBST
2702
else
2703 540 jeremybenn
  case `(set -o) 2>/dev/null` in #(
2704
  *posix*) :
2705
    set -o posix ;; #(
2706
  *) :
2707
     ;;
2708 207 jeremybenn
esac
2709
fi
2710
 
2711
 
2712
as_nl='
2713
'
2714
export as_nl
2715
# Printing a long string crashes Solaris 7 /usr/bin/printf.
2716
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2717
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2718
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2719 540 jeremybenn
# Prefer a ksh shell builtin over an external printf program on Solaris,
2720
# but without wasting forks for bash or zsh.
2721
if test -z "$BASH_VERSION$ZSH_VERSION" \
2722
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2723
  as_echo='print -r --'
2724
  as_echo_n='print -rn --'
2725
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2726 207 jeremybenn
  as_echo='printf %s\n'
2727
  as_echo_n='printf %s'
2728
else
2729
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2730
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2731
    as_echo_n='/usr/ucb/echo -n'
2732
  else
2733
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2734
    as_echo_n_body='eval
2735
      arg=$1;
2736 540 jeremybenn
      case $arg in #(
2737 207 jeremybenn
      *"$as_nl"*)
2738
        expr "X$arg" : "X\\(.*\\)$as_nl";
2739
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2740
      esac;
2741
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2742
    '
2743
    export as_echo_n_body
2744
    as_echo_n='sh -c $as_echo_n_body as_echo'
2745
  fi
2746
  export as_echo_body
2747
  as_echo='sh -c $as_echo_body as_echo'
2748
fi
2749
 
2750
# The user is always right.
2751
if test "${PATH_SEPARATOR+set}" != set; then
2752
  PATH_SEPARATOR=:
2753
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2754
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2755
      PATH_SEPARATOR=';'
2756
  }
2757
fi
2758
 
2759
 
2760
# IFS
2761
# We need space, tab and new line, in precisely that order.  Quoting is
2762
# there to prevent editors from complaining about space-tab.
2763
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2764
# splitting by setting IFS to empty value.)
2765
IFS=" ""        $as_nl"
2766
 
2767
# Find who we are.  Look in the path if we contain no directory separator.
2768 540 jeremybenn
case $0 in #((
2769 207 jeremybenn
  *[\\/]* ) as_myself=$0 ;;
2770
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771
for as_dir in $PATH
2772
do
2773
  IFS=$as_save_IFS
2774
  test -z "$as_dir" && as_dir=.
2775 540 jeremybenn
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2776
  done
2777 207 jeremybenn
IFS=$as_save_IFS
2778
 
2779
     ;;
2780
esac
2781
# We did not find ourselves, most probably we were run as `sh COMMAND'
2782
# in which case we are not to be found in the path.
2783
if test "x$as_myself" = x; then
2784
  as_myself=$0
2785
fi
2786
if test ! -f "$as_myself"; then
2787
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2788 540 jeremybenn
  exit 1
2789 207 jeremybenn
fi
2790
 
2791 540 jeremybenn
# Unset variables that we do not need and which cause bugs (e.g. in
2792
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2793
# suppresses any "Segmentation fault" message there.  '((' could
2794
# trigger a bug in pdksh 5.2.14.
2795
for as_var in BASH_ENV ENV MAIL MAILPATH
2796
do eval test x\${$as_var+set} = xset \
2797
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2798 207 jeremybenn
done
2799
PS1='$ '
2800
PS2='> '
2801
PS4='+ '
2802
 
2803
# NLS nuisances.
2804
LC_ALL=C
2805
export LC_ALL
2806
LANGUAGE=C
2807
export LANGUAGE
2808
 
2809 540 jeremybenn
# CDPATH.
2810
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2811
 
2812
 
2813
# as_fn_error ERROR [LINENO LOG_FD]
2814
# ---------------------------------
2815
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2816
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2817
# script with status $?, using 1 if that was 0.
2818
as_fn_error ()
2819
{
2820
  as_status=$?; test $as_status -eq 0 && as_status=1
2821
  if test "$3"; then
2822
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2823
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2824
  fi
2825
  $as_echo "$as_me: error: $1" >&2
2826
  as_fn_exit $as_status
2827
} # as_fn_error
2828
 
2829
 
2830
# as_fn_set_status STATUS
2831
# -----------------------
2832
# Set $? to STATUS, without forking.
2833
as_fn_set_status ()
2834
{
2835
  return $1
2836
} # as_fn_set_status
2837
 
2838
# as_fn_exit STATUS
2839
# -----------------
2840
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2841
as_fn_exit ()
2842
{
2843
  set +e
2844
  as_fn_set_status $1
2845
  exit $1
2846
} # as_fn_exit
2847
 
2848
# as_fn_unset VAR
2849
# ---------------
2850
# Portably unset VAR.
2851
as_fn_unset ()
2852
{
2853
  { eval $1=; unset $1;}
2854
}
2855
as_unset=as_fn_unset
2856
# as_fn_append VAR VALUE
2857
# ----------------------
2858
# Append the text in VALUE to the end of the definition contained in VAR. Take
2859
# advantage of any shell optimizations that allow amortized linear growth over
2860
# repeated appends, instead of the typical quadratic growth present in naive
2861
# implementations.
2862
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2863
  eval 'as_fn_append ()
2864
  {
2865
    eval $1+=\$2
2866
  }'
2867
else
2868
  as_fn_append ()
2869
  {
2870
    eval $1=\$$1\$2
2871
  }
2872
fi # as_fn_append
2873
 
2874
# as_fn_arith ARG...
2875
# ------------------
2876
# Perform arithmetic evaluation on the ARGs, and store the result in the
2877
# global $as_val. Take advantage of shells that can avoid forks. The arguments
2878
# must be portable across $(()) and expr.
2879
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2880
  eval 'as_fn_arith ()
2881
  {
2882
    as_val=$(( $* ))
2883
  }'
2884
else
2885
  as_fn_arith ()
2886
  {
2887
    as_val=`expr "$@" || test $? -eq 1`
2888
  }
2889
fi # as_fn_arith
2890
 
2891
 
2892 207 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
2893
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2894
  as_expr=expr
2895
else
2896
  as_expr=false
2897
fi
2898
 
2899
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2900
  as_basename=basename
2901
else
2902
  as_basename=false
2903
fi
2904
 
2905 540 jeremybenn
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2906
  as_dirname=dirname
2907
else
2908
  as_dirname=false
2909
fi
2910 207 jeremybenn
 
2911
as_me=`$as_basename -- "$0" ||
2912
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2913
         X"$0" : 'X\(//\)$' \| \
2914
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2915
$as_echo X/"$0" |
2916
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2917
            s//\1/
2918
            q
2919
          }
2920
          /^X\/\(\/\/\)$/{
2921
            s//\1/
2922
            q
2923
          }
2924
          /^X\/\(\/\).*/{
2925
            s//\1/
2926
            q
2927
          }
2928
          s/.*/./; q'`
2929
 
2930 540 jeremybenn
# Avoid depending upon Character Ranges.
2931
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2932
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2933
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2934
as_cr_digits='0123456789'
2935
as_cr_alnum=$as_cr_Letters$as_cr_digits
2936 207 jeremybenn
 
2937
ECHO_C= ECHO_N= ECHO_T=
2938 540 jeremybenn
case `echo -n x` in #(((((
2939 207 jeremybenn
-n*)
2940 540 jeremybenn
  case `echo 'xy\c'` in
2941 207 jeremybenn
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2942 540 jeremybenn
  xy)  ECHO_C='\c';;
2943
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2944
       ECHO_T=' ';;
2945 207 jeremybenn
  esac;;
2946
*)
2947
  ECHO_N='-n';;
2948
esac
2949
 
2950
rm -f conf$$ conf$$.exe conf$$.file
2951
if test -d conf$$.dir; then
2952
  rm -f conf$$.dir/conf$$.file
2953
else
2954
  rm -f conf$$.dir
2955
  mkdir conf$$.dir 2>/dev/null
2956
fi
2957
if (echo >conf$$.file) 2>/dev/null; then
2958
  if ln -s conf$$.file conf$$ 2>/dev/null; then
2959
    as_ln_s='ln -s'
2960
    # ... but there are two gotchas:
2961
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2962
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2963
    # In both cases, we have to default to `cp -p'.
2964
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2965
      as_ln_s='cp -p'
2966
  elif ln conf$$.file conf$$ 2>/dev/null; then
2967
    as_ln_s=ln
2968
  else
2969
    as_ln_s='cp -p'
2970
  fi
2971
else
2972
  as_ln_s='cp -p'
2973
fi
2974
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2975
rmdir conf$$.dir 2>/dev/null
2976
 
2977 540 jeremybenn
 
2978
# as_fn_mkdir_p
2979
# -------------
2980
# Create "$as_dir" as a directory, including parents if necessary.
2981
as_fn_mkdir_p ()
2982
{
2983
 
2984
  case $as_dir in #(
2985
  -*) as_dir=./$as_dir;;
2986
  esac
2987
  test -d "$as_dir" || eval $as_mkdir_p || {
2988
    as_dirs=
2989
    while :; do
2990
      case $as_dir in #(
2991
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2992
      *) as_qdir=$as_dir;;
2993
      esac
2994
      as_dirs="'$as_qdir' $as_dirs"
2995
      as_dir=`$as_dirname -- "$as_dir" ||
2996
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2997
         X"$as_dir" : 'X\(//\)[^/]' \| \
2998
         X"$as_dir" : 'X\(//\)$' \| \
2999
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3000
$as_echo X"$as_dir" |
3001
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3002
            s//\1/
3003
            q
3004
          }
3005
          /^X\(\/\/\)[^/].*/{
3006
            s//\1/
3007
            q
3008
          }
3009
          /^X\(\/\/\)$/{
3010
            s//\1/
3011
            q
3012
          }
3013
          /^X\(\/\).*/{
3014
            s//\1/
3015
            q
3016
          }
3017
          s/.*/./; q'`
3018
      test -d "$as_dir" && break
3019
    done
3020
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3021
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3022
 
3023
 
3024
} # as_fn_mkdir_p
3025 207 jeremybenn
if mkdir -p . 2>/dev/null; then
3026 540 jeremybenn
  as_mkdir_p='mkdir -p "$as_dir"'
3027 207 jeremybenn
else
3028
  test -d ./-p && rmdir ./-p
3029
  as_mkdir_p=false
3030
fi
3031
 
3032
if test -x / >/dev/null 2>&1; then
3033
  as_test_x='test -x'
3034
else
3035
  if ls -dL / >/dev/null 2>&1; then
3036
    as_ls_L_option=L
3037
  else
3038
    as_ls_L_option=
3039
  fi
3040
  as_test_x='
3041
    eval sh -c '\''
3042
      if test -d "$1"; then
3043
        test -d "$1/.";
3044
      else
3045 540 jeremybenn
        case $1 in #(
3046 207 jeremybenn
        -*)set "./$1";;
3047
        esac;
3048 540 jeremybenn
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3049 207 jeremybenn
        ???[sx]*):;;*)false;;esac;fi
3050
    '\'' sh
3051
  '
3052
fi
3053
as_executable_p=$as_test_x
3054
 
3055
# Sed expression to map a string onto a valid CPP name.
3056
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3057
 
3058
# Sed expression to map a string onto a valid variable name.
3059
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3060
 
3061
 
3062
exec 6>&1
3063 540 jeremybenn
## ----------------------------------- ##
3064
## Main body of $CONFIG_STATUS script. ##
3065
## ----------------------------------- ##
3066
_ASEOF
3067
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3068 207 jeremybenn
 
3069 540 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3070
# Save the log message, to keep $0 and so on meaningful, and to
3071 207 jeremybenn
# report actual input values of CONFIG_FILES etc. instead of their
3072
# values after options handling.
3073
ac_log="
3074
This file was extended by libor32.a $as_me 0.2.0, which was
3075 540 jeremybenn
generated by GNU Autoconf 2.65.  Invocation command line was
3076 207 jeremybenn
 
3077
  CONFIG_FILES    = $CONFIG_FILES
3078
  CONFIG_HEADERS  = $CONFIG_HEADERS
3079
  CONFIG_LINKS    = $CONFIG_LINKS
3080
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3081
  $ $0 $@
3082
 
3083
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3084
"
3085
 
3086
_ACEOF
3087
 
3088
case $ac_config_files in *"
3089
"*) set x $ac_config_files; shift; ac_config_files=$*;;
3090
esac
3091
 
3092
case $ac_config_headers in *"
3093
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3094
esac
3095
 
3096
 
3097
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3098
# Files that config.status was made for.
3099
config_files="$ac_config_files"
3100
config_headers="$ac_config_headers"
3101
config_commands="$ac_config_commands"
3102
 
3103
_ACEOF
3104
 
3105
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3106
ac_cs_usage="\
3107 540 jeremybenn
\`$as_me' instantiates files and other configuration actions
3108
from templates according to the current configuration.  Unless the files
3109
and actions are specified as TAGs, all are instantiated by default.
3110 207 jeremybenn
 
3111 540 jeremybenn
Usage: $0 [OPTION]... [TAG]...
3112 207 jeremybenn
 
3113
  -h, --help       print this help, then exit
3114
  -V, --version    print version number and configuration settings, then exit
3115 540 jeremybenn
      --config     print configuration, then exit
3116 207 jeremybenn
  -q, --quiet, --silent
3117
                   do not print progress messages
3118
  -d, --debug      don't remove temporary files
3119
      --recheck    update $as_me by reconfiguring in the same conditions
3120
      --file=FILE[:TEMPLATE]
3121
                   instantiate the configuration file FILE
3122
      --header=FILE[:TEMPLATE]
3123
                   instantiate the configuration header FILE
3124
 
3125
Configuration files:
3126
$config_files
3127
 
3128
Configuration headers:
3129
$config_headers
3130
 
3131
Configuration commands:
3132
$config_commands
3133
 
3134 540 jeremybenn
Report bugs to the package provider."
3135 207 jeremybenn
 
3136
_ACEOF
3137
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3138 540 jeremybenn
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3139 207 jeremybenn
ac_cs_version="\\
3140
libor32.a config.status 0.2.0
3141 540 jeremybenn
configured by $0, generated by GNU Autoconf 2.65,
3142
  with options \\"\$ac_cs_config\\"
3143 207 jeremybenn
 
3144 540 jeremybenn
Copyright (C) 2009 Free Software Foundation, Inc.
3145 207 jeremybenn
This config.status script is free software; the Free Software Foundation
3146
gives unlimited permission to copy, distribute and modify it."
3147
 
3148
ac_pwd='$ac_pwd'
3149
srcdir='$srcdir'
3150
INSTALL='$INSTALL'
3151
test -n "\$AWK" || AWK=awk
3152
_ACEOF
3153
 
3154
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3155
# The default lists apply if the user does not specify any file.
3156
ac_need_defaults=:
3157
while test $# != 0
3158
do
3159
  case $1 in
3160
  --*=*)
3161
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3162
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3163
    ac_shift=:
3164
    ;;
3165
  *)
3166
    ac_option=$1
3167
    ac_optarg=$2
3168
    ac_shift=shift
3169
    ;;
3170
  esac
3171
 
3172
  case $ac_option in
3173
  # Handling of the options.
3174
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3175
    ac_cs_recheck=: ;;
3176
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3177
    $as_echo "$ac_cs_version"; exit ;;
3178 540 jeremybenn
  --config | --confi | --conf | --con | --co | --c )
3179
    $as_echo "$ac_cs_config"; exit ;;
3180 207 jeremybenn
  --debug | --debu | --deb | --de | --d | -d )
3181
    debug=: ;;
3182
  --file | --fil | --fi | --f )
3183
    $ac_shift
3184
    case $ac_optarg in
3185
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3186
    esac
3187 540 jeremybenn
    as_fn_append CONFIG_FILES " '$ac_optarg'"
3188 207 jeremybenn
    ac_need_defaults=false;;
3189
  --header | --heade | --head | --hea )
3190
    $ac_shift
3191
    case $ac_optarg in
3192
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3193
    esac
3194 540 jeremybenn
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3195 207 jeremybenn
    ac_need_defaults=false;;
3196
  --he | --h)
3197
    # Conflict between --help and --header
3198 540 jeremybenn
    as_fn_error "ambiguous option: \`$1'
3199
Try \`$0 --help' for more information.";;
3200 207 jeremybenn
  --help | --hel | -h )
3201
    $as_echo "$ac_cs_usage"; exit ;;
3202
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3203
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3204
    ac_cs_silent=: ;;
3205
 
3206
  # This is an error.
3207 540 jeremybenn
  -*) as_fn_error "unrecognized option: \`$1'
3208
Try \`$0 --help' for more information." ;;
3209 207 jeremybenn
 
3210 540 jeremybenn
  *) as_fn_append ac_config_targets " $1"
3211 207 jeremybenn
     ac_need_defaults=false ;;
3212
 
3213
  esac
3214
  shift
3215
done
3216
 
3217
ac_configure_extra_args=
3218
 
3219
if $ac_cs_silent; then
3220
  exec 6>/dev/null
3221
  ac_configure_extra_args="$ac_configure_extra_args --silent"
3222
fi
3223
 
3224
_ACEOF
3225
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3226
if \$ac_cs_recheck; then
3227
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3228
  shift
3229
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3230
  CONFIG_SHELL='$SHELL'
3231
  export CONFIG_SHELL
3232
  exec "\$@"
3233
fi
3234
 
3235
_ACEOF
3236
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3237
exec 5>>config.log
3238
{
3239
  echo
3240
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3241
## Running $as_me. ##
3242
_ASBOX
3243
  $as_echo "$ac_log"
3244
} >&5
3245
 
3246
_ACEOF
3247
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3248
#
3249
# INIT-COMMANDS
3250
#
3251
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3252
srcdir=${srcdir}
3253
                target=${target}
3254
                with_multisubdir=${with_multisubdir}
3255
                ac_configure_args="${ac_configure_args} --enable-multilib"
3256
                CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3257
                libgloss_topdir=${libgloss_topdir}
3258
 
3259
 
3260
_ACEOF
3261
 
3262
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3263
 
3264
# Handling of arguments.
3265
for ac_config_target in $ac_config_targets
3266
do
3267
  case $ac_config_target in
3268
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3269
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3270
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3271
 
3272 540 jeremybenn
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3273 207 jeremybenn
  esac
3274
done
3275
 
3276
 
3277
# If the user did not use the arguments to specify the items to instantiate,
3278
# then the envvar interface is used.  Set only those that are not.
3279
# We use the long form for the default assignment because of an extremely
3280
# bizarre bug on SunOS 4.1.3.
3281
if $ac_need_defaults; then
3282
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3283
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3284
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3285
fi
3286
 
3287
# Have a temporary directory for convenience.  Make it in the build tree
3288
# simply because there is no reason against having it here, and in addition,
3289
# creating and moving files from /tmp can sometimes cause problems.
3290
# Hook for its removal unless debugging.
3291
# Note that there is a small window in which the directory will not be cleaned:
3292
# after its creation but before its name has been assigned to `$tmp'.
3293
$debug ||
3294
{
3295
  tmp=
3296
  trap 'exit_status=$?
3297
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3298
' 0
3299 540 jeremybenn
  trap 'as_fn_exit 1' 1 2 13 15
3300 207 jeremybenn
}
3301
# Create a (secure) tmp directory for tmp files.
3302
 
3303
{
3304
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3305
  test -n "$tmp" && test -d "$tmp"
3306
}  ||
3307
{
3308
  tmp=./conf$$-$RANDOM
3309
  (umask 077 && mkdir "$tmp")
3310 540 jeremybenn
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3311 207 jeremybenn
 
3312
# Set up the scripts for CONFIG_FILES section.
3313
# No need to generate them if there are no CONFIG_FILES.
3314
# This happens for instance with `./config.status config.h'.
3315
if test -n "$CONFIG_FILES"; then
3316
 
3317
if $AWK 'BEGIN { getline <"/dev/null" }' /dev/null; then
3318
  ac_cs_awk_getline=:
3319
  ac_cs_awk_pipe_init=
3320
  ac_cs_awk_read_file='
3321
      while ((getline aline < (F[key])) > 0)
3322
        print(aline)
3323
      close(F[key])'
3324
  ac_cs_awk_pipe_fini=
3325
else
3326
  ac_cs_awk_getline=false
3327
  ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
3328
  ac_cs_awk_read_file='
3329
      print "|#_!!_#|"
3330
      print "cat " F[key] " &&"
3331
      '$ac_cs_awk_pipe_init
3332
  # The final `:' finishes the AND list.
3333
  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
3334
fi
3335 540 jeremybenn
ac_cr=`echo X | tr X '\015'`
3336
# On cygwin, bash can eat \r inside `` if the user requested igncr.
3337
# But we know of no other shell where ac_cr would be empty at this
3338
# point, so we can use a bashism as a fallback.
3339
if test "x$ac_cr" = x; then
3340
  eval ac_cr=\$\'\\r\'
3341
fi
3342 207 jeremybenn
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
3343
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3344 540 jeremybenn
  ac_cs_awk_cr='\r'
3345 207 jeremybenn
else
3346
  ac_cs_awk_cr=$ac_cr
3347
fi
3348
 
3349
echo 'BEGIN {' >"$tmp/subs1.awk" &&
3350
_ACEOF
3351
 
3352
# Create commands to substitute file output variables.
3353
{
3354
  echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
3355
  echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
3356
  echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
3357
  echo "_ACAWK" &&
3358
  echo "_ACEOF"
3359
} >conf$$files.sh &&
3360
. ./conf$$files.sh ||
3361 540 jeremybenn
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3362 207 jeremybenn
rm -f conf$$files.sh
3363
 
3364
{
3365
  echo "cat >conf$$subs.awk <<_ACEOF" &&
3366
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3367
  echo "_ACEOF"
3368
} >conf$$subs.sh ||
3369 540 jeremybenn
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3370 207 jeremybenn
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3371
ac_delim='%!_!# '
3372
for ac_last_try in false false false false false :; do
3373
  . ./conf$$subs.sh ||
3374 540 jeremybenn
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3375 207 jeremybenn
 
3376
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3377
  if test $ac_delim_n = $ac_delim_num; then
3378
    break
3379
  elif $ac_last_try; then
3380 540 jeremybenn
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3381 207 jeremybenn
  else
3382
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3383
  fi
3384
done
3385
rm -f conf$$subs.sh
3386
 
3387
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3388
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3389
_ACEOF
3390
sed -n '
3391
h
3392
s/^/S["/; s/!.*/"]=/
3393
p
3394
g
3395
s/^[^!]*!//
3396
:repl
3397
t repl
3398
s/'"$ac_delim"'$//
3399
t delim
3400
:nl
3401
h
3402 540 jeremybenn
s/\(.\{148\}\)..*/\1/
3403 207 jeremybenn
t more1
3404
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3405
p
3406
n
3407
b repl
3408
:more1
3409
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3410
p
3411
g
3412
s/.\{148\}//
3413
t nl
3414
:delim
3415
h
3416 540 jeremybenn
s/\(.\{148\}\)..*/\1/
3417 207 jeremybenn
t more2
3418
s/["\\]/\\&/g; s/^/"/; s/$/"/
3419
p
3420
b
3421
:more2
3422
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3423
p
3424
g
3425
s/.\{148\}//
3426
t delim
3427
' 
3428
/^[^""]/{
3429
  N
3430
  s/\n//
3431
}
3432
' >>$CONFIG_STATUS || ac_write_fail=1
3433
rm -f conf$$subs.awk
3434
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3435
_ACAWK
3436
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3437
  for (key in S) S_is_set[key] = 1
3438
  FS = ""
3439
  \$ac_cs_awk_pipe_init
3440
}
3441
{
3442
  line = $ 0
3443
  nfields = split(line, field, "@")
3444
  substed = 0
3445
  len = length(field[1])
3446
  for (i = 2; i < nfields; i++) {
3447
    key = field[i]
3448
    keylen = length(key)
3449
    if (S_is_set[key]) {
3450
      value = S[key]
3451
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3452
      len += length(value) + length(field[++i])
3453
      substed = 1
3454
    } else
3455
      len += 1 + keylen
3456
  }
3457
  if (nfields == 3 && !substed) {
3458
    key = field[2]
3459
    if (F[key] != "" && line ~ /^[       ]*@.*@[         ]*$/) {
3460
      \$ac_cs_awk_read_file
3461
      next
3462
    }
3463
  }
3464
  print line
3465
}
3466
\$ac_cs_awk_pipe_fini
3467
_ACAWK
3468
_ACEOF
3469
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3470
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3471
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3472
else
3473
  cat
3474
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3475 540 jeremybenn
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
3476 207 jeremybenn
_ACEOF
3477
 
3478
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3479
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3480
# trailing colons and then remove the whole line if VPATH becomes empty
3481
# (actually we leave an empty line to preserve line numbers).
3482
if test "x$srcdir" = x.; then
3483
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3484
s/:*\$(srcdir):*/:/
3485
s/:*\${srcdir}:*/:/
3486
s/:*@srcdir@:*/:/
3487
s/^\([^=]*=[     ]*\):*/\1/
3488
s/:*$//
3489
s/^[^=]*=[       ]*$//
3490
}'
3491
fi
3492
 
3493
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3494
fi # test -n "$CONFIG_FILES"
3495
 
3496
# Set up the scripts for CONFIG_HEADERS section.
3497
# No need to generate them if there are no CONFIG_HEADERS.
3498
# This happens for instance with `./config.status Makefile'.
3499
if test -n "$CONFIG_HEADERS"; then
3500
cat >"$tmp/defines.awk" <<\_ACAWK ||
3501
BEGIN {
3502
_ACEOF
3503
 
3504
# Transform confdefs.h into an awk script `defines.awk', embedded as
3505
# here-document in config.status, that substitutes the proper values into
3506
# config.h.in to produce config.h.
3507
 
3508
# Create a delimiter string that does not exist in confdefs.h, to ease
3509
# handling of long lines.
3510
ac_delim='%!_!# '
3511
for ac_last_try in false false :; do
3512
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
3513
  if test -z "$ac_t"; then
3514
    break
3515
  elif $ac_last_try; then
3516 540 jeremybenn
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
3517 207 jeremybenn
  else
3518
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3519
  fi
3520
done
3521
 
3522
# For the awk script, D is an array of macro values keyed by name,
3523
# likewise P contains macro parameters if any.  Preserve backslash
3524
# newline sequences.
3525
 
3526
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3527
sed -n '
3528
s/.\{148\}/&'"$ac_delim"'/g
3529
t rset
3530
:rset
3531
s/^[     ]*#[    ]*define[       ][      ]*/ /
3532
t def
3533
d
3534
:def
3535
s/\\$//
3536
t bsnl
3537
s/["\\]/\\&/g
3538
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
3539
D["\1"]=" \3"/p
3540
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
3541
d
3542
:bsnl
3543
s/["\\]/\\&/g
3544
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
3545
D["\1"]=" \3\\\\\\n"\\/p
3546
t cont
3547
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3548
t cont
3549
d
3550
:cont
3551
n
3552
s/.\{148\}/&'"$ac_delim"'/g
3553
t clear
3554
:clear
3555
s/\\$//
3556
t bsnlc
3557
s/["\\]/\\&/g; s/^/"/; s/$/"/p
3558
d
3559
:bsnlc
3560
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3561
b cont
3562
' 
3563
s/'"$ac_delim"'/"\\\
3564
"/g' >>$CONFIG_STATUS || ac_write_fail=1
3565
 
3566
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3567
  for (key in D) D_is_set[key] = 1
3568
  FS = ""
3569
}
3570
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3571
  line = \$ 0
3572
  split(line, arg, " ")
3573
  if (arg[1] == "#") {
3574
    defundef = arg[2]
3575
    mac1 = arg[3]
3576
  } else {
3577
    defundef = substr(arg[1], 2)
3578
    mac1 = arg[2]
3579
  }
3580
  split(mac1, mac2, "(") #)
3581
  macro = mac2[1]
3582
  prefix = substr(line, 1, index(line, defundef) - 1)
3583
  if (D_is_set[macro]) {
3584
    # Preserve the white space surrounding the "#".
3585
    print prefix "define", macro P[macro] D[macro]
3586
    next
3587
  } else {
3588
    # Replace #undef with comments.  This is necessary, for example,
3589
    # in the case of _POSIX_SOURCE, which is predefined and required
3590
    # on some systems where configure will not decide to define it.
3591
    if (defundef == "undef") {
3592
      print "/*", prefix defundef, macro, "*/"
3593
      next
3594
    }
3595
  }
3596
}
3597
{ print }
3598
_ACAWK
3599
_ACEOF
3600
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3601 540 jeremybenn
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
3602 207 jeremybenn
fi # test -n "$CONFIG_HEADERS"
3603
 
3604
 
3605
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
3606
shift
3607
for ac_tag
3608
do
3609
  case $ac_tag in
3610
  :[FHLC]) ac_mode=$ac_tag; continue;;
3611
  esac
3612
  case $ac_mode$ac_tag in
3613
  :[FHL]*:*);;
3614 540 jeremybenn
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3615 207 jeremybenn
  :[FH]-) ac_tag=-:-;;
3616
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3617
  esac
3618
  ac_save_IFS=$IFS
3619
  IFS=:
3620
  set x $ac_tag
3621
  IFS=$ac_save_IFS
3622
  shift
3623
  ac_file=$1
3624
  shift
3625
 
3626
  case $ac_mode in
3627
  :L) ac_source=$1;;
3628
  :[FH])
3629
    ac_file_inputs=
3630
    for ac_f
3631
    do
3632
      case $ac_f in
3633
      -) ac_f="$tmp/stdin";;
3634
      *) # Look for the file first in the build tree, then in the source tree
3635
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
3636
         # because $ac_f cannot contain `:'.
3637
         test -f "$ac_f" ||
3638
           case $ac_f in
3639
           [\\/$]*) false;;
3640
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3641
           esac ||
3642 540 jeremybenn
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3643 207 jeremybenn
      esac
3644
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3645 540 jeremybenn
      as_fn_append ac_file_inputs " '$ac_f'"
3646 207 jeremybenn
    done
3647
 
3648
    # Let's still pretend it is `configure' which instantiates (i.e., don't
3649
    # use $as_me), people would be surprised to read:
3650
    #    /* config.h.  Generated by config.status.  */
3651
    configure_input='Generated from '`
3652
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3653
        `' by configure.'
3654
    if test x"$ac_file" != x-; then
3655
      configure_input="$ac_file.  $configure_input"
3656 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3657 207 jeremybenn
$as_echo "$as_me: creating $ac_file" >&6;}
3658
    fi
3659
    # Neutralize special characters interpreted by sed in replacement strings.
3660
    case $configure_input in #(
3661
    *\&* | *\|* | *\\* )
3662
       ac_sed_conf_input=`$as_echo "$configure_input" |
3663
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3664
    *) ac_sed_conf_input=$configure_input;;
3665
    esac
3666
 
3667
    case $ac_tag in
3668
    *:-:* | *:-) cat >"$tmp/stdin" \
3669 540 jeremybenn
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3670 207 jeremybenn
    esac
3671
    ;;
3672
  esac
3673
 
3674
  ac_dir=`$as_dirname -- "$ac_file" ||
3675
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3676
         X"$ac_file" : 'X\(//\)[^/]' \| \
3677
         X"$ac_file" : 'X\(//\)$' \| \
3678
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3679
$as_echo X"$ac_file" |
3680
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3681
            s//\1/
3682
            q
3683
          }
3684
          /^X\(\/\/\)[^/].*/{
3685
            s//\1/
3686
            q
3687
          }
3688
          /^X\(\/\/\)$/{
3689
            s//\1/
3690
            q
3691
          }
3692
          /^X\(\/\).*/{
3693
            s//\1/
3694
            q
3695
          }
3696
          s/.*/./; q'`
3697 540 jeremybenn
  as_dir="$ac_dir"; as_fn_mkdir_p
3698 207 jeremybenn
  ac_builddir=.
3699
 
3700
case "$ac_dir" in
3701
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3702
*)
3703
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3704
  # A ".." for each directory in $ac_dir_suffix.
3705
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3706
  case $ac_top_builddir_sub in
3707
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3708
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3709
  esac ;;
3710
esac
3711
ac_abs_top_builddir=$ac_pwd
3712
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3713
# for backward compatibility:
3714
ac_top_builddir=$ac_top_build_prefix
3715
 
3716
case $srcdir in
3717
  .)  # We are building in place.
3718
    ac_srcdir=.
3719
    ac_top_srcdir=$ac_top_builddir_sub
3720
    ac_abs_top_srcdir=$ac_pwd ;;
3721
  [\\/]* | ?:[\\/]* )  # Absolute name.
3722
    ac_srcdir=$srcdir$ac_dir_suffix;
3723
    ac_top_srcdir=$srcdir
3724
    ac_abs_top_srcdir=$srcdir ;;
3725
  *) # Relative name.
3726
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3727
    ac_top_srcdir=$ac_top_build_prefix$srcdir
3728
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3729
esac
3730
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3731
 
3732
 
3733
  case $ac_mode in
3734
  :F)
3735
  #
3736
  # CONFIG_FILE
3737
  #
3738
 
3739
  case $INSTALL in
3740
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3741
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3742
  esac
3743
_ACEOF
3744
 
3745
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3746
# If the template does not know about datarootdir, expand it.
3747
# FIXME: This hack should be removed a few years after 2.60.
3748
ac_datarootdir_hack=; ac_datarootdir_seen=
3749
ac_sed_dataroot='
3750
/datarootdir/ {
3751
  p
3752
  q
3753
}
3754
/@datadir@/p
3755
/@docdir@/p
3756
/@infodir@/p
3757
/@localedir@/p
3758 540 jeremybenn
/@mandir@/p'
3759 207 jeremybenn
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3760
*datarootdir*) ac_datarootdir_seen=yes;;
3761
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3762 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3763 207 jeremybenn
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3764
_ACEOF
3765
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3766
  ac_datarootdir_hack='
3767
  s&@datadir@&$datadir&g
3768
  s&@docdir@&$docdir&g
3769
  s&@infodir@&$infodir&g
3770
  s&@localedir@&$localedir&g
3771
  s&@mandir@&$mandir&g
3772 540 jeremybenn
  s&\\\${datarootdir}&$datarootdir&g' ;;
3773 207 jeremybenn
esac
3774
_ACEOF
3775
 
3776
# Neutralize VPATH when `$srcdir' = `.'.
3777
# Shell code in configure.ac might set extrasub.
3778
# FIXME: do we really want to maintain this feature?
3779
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3780
ac_sed_extra="$ac_vpsub
3781
$extrasub
3782
_ACEOF
3783
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3784
:t
3785
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3786
s|@configure_input@|$ac_sed_conf_input|;t t
3787
s&@top_builddir@&$ac_top_builddir_sub&;t t
3788
s&@top_build_prefix@&$ac_top_build_prefix&;t t
3789
s&@srcdir@&$ac_srcdir&;t t
3790
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3791
s&@top_srcdir@&$ac_top_srcdir&;t t
3792
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3793
s&@builddir@&$ac_builddir&;t t
3794
s&@abs_builddir@&$ac_abs_builddir&;t t
3795
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3796
s&@INSTALL@&$ac_INSTALL&;t t
3797
$ac_datarootdir_hack
3798
"
3799
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
3800
if $ac_cs_awk_getline; then
3801
  $AWK -f "$tmp/subs.awk"
3802
else
3803
  $AWK -f "$tmp/subs.awk" | $SHELL
3804
fi >$tmp/out \
3805 540 jeremybenn
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3806 207 jeremybenn
 
3807
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3808
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3809
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3810 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3811 207 jeremybenn
which seems to be undefined.  Please make sure it is defined." >&5
3812
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3813
which seems to be undefined.  Please make sure it is defined." >&2;}
3814
 
3815
  rm -f "$tmp/stdin"
3816
  case $ac_file in
3817
  -) cat "$tmp/out" && rm -f "$tmp/out";;
3818
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3819
  esac \
3820 540 jeremybenn
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3821 207 jeremybenn
 ;;
3822
  :H)
3823
  #
3824
  # CONFIG_HEADER
3825
  #
3826
  if test x"$ac_file" != x-; then
3827
    {
3828
      $as_echo "/* $configure_input  */" \
3829
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
3830
    } >"$tmp/config.h" \
3831 540 jeremybenn
      || as_fn_error "could not create $ac_file" "$LINENO" 5
3832 207 jeremybenn
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
3833 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3834 207 jeremybenn
$as_echo "$as_me: $ac_file is unchanged" >&6;}
3835
    else
3836
      rm -f "$ac_file"
3837
      mv "$tmp/config.h" "$ac_file" \
3838 540 jeremybenn
        || as_fn_error "could not create $ac_file" "$LINENO" 5
3839 207 jeremybenn
    fi
3840
  else
3841
    $as_echo "/* $configure_input  */" \
3842
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
3843 540 jeremybenn
      || as_fn_error "could not create -" "$LINENO" 5
3844 207 jeremybenn
  fi
3845
 ;;
3846
 
3847 540 jeremybenn
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3848 207 jeremybenn
$as_echo "$as_me: executing $ac_file commands" >&6;}
3849
 ;;
3850
  esac
3851
 
3852
 
3853
  case $ac_file$ac_mode in
3854
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3855
  # Strip MF so we end up with the name of the file.
3856
  mf=`echo "$mf" | sed -e 's/:.*$//'`
3857
  # Check whether this is an Automake generated Makefile or not.
3858
  # We used to match only the files named `Makefile.in', but
3859
  # some people rename them; so instead we look at the file content.
3860
  # Grep'ing the first line is not enough: some people post-process
3861
  # each Makefile.in and add a new line on top of each file to say so.
3862
  # So let's grep whole file.
3863
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3864
    dirpart=`$as_dirname -- "$mf" ||
3865
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3866
         X"$mf" : 'X\(//\)[^/]' \| \
3867
         X"$mf" : 'X\(//\)$' \| \
3868
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
3869
$as_echo X"$mf" |
3870
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3871
            s//\1/
3872
            q
3873
          }
3874
          /^X\(\/\/\)[^/].*/{
3875
            s//\1/
3876
            q
3877
          }
3878
          /^X\(\/\/\)$/{
3879
            s//\1/
3880
            q
3881
          }
3882
          /^X\(\/\).*/{
3883
            s//\1/
3884
            q
3885
          }
3886
          s/.*/./; q'`
3887
  else
3888
    continue
3889
  fi
3890
  # Extract the definition of DEPDIR, am__include, and am__quote
3891
  # from the Makefile without running `make'.
3892
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3893
  test -z "$DEPDIR" && continue
3894
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
3895
  test -z "am__include" && continue
3896
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3897
  # When using ansi2knr, U may be empty or an underscore; expand it
3898
  U=`sed -n 's/^U = //p' < "$mf"`
3899
  # Find all dependency output files, they are included files with
3900
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
3901
  # simplest approach to changing $(DEPDIR) to its actual value in the
3902
  # expansion.
3903
  for file in `sed -n "
3904
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3905
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3906
    # Make sure the directory exists.
3907
    test -f "$dirpart/$file" && continue
3908
    fdir=`$as_dirname -- "$file" ||
3909
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3910
         X"$file" : 'X\(//\)[^/]' \| \
3911
         X"$file" : 'X\(//\)$' \| \
3912
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
3913
$as_echo X"$file" |
3914
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3915
            s//\1/
3916
            q
3917
          }
3918
          /^X\(\/\/\)[^/].*/{
3919
            s//\1/
3920
            q
3921
          }
3922
          /^X\(\/\/\)$/{
3923
            s//\1/
3924
            q
3925
          }
3926
          /^X\(\/\).*/{
3927
            s//\1/
3928
            q
3929
          }
3930
          s/.*/./; q'`
3931 540 jeremybenn
    as_dir=$dirpart/$fdir; as_fn_mkdir_p
3932 207 jeremybenn
    # echo "creating $dirpart/$file"
3933
    echo '# dummy' > "$dirpart/$file"
3934
  done
3935
done
3936
 ;;
3937
    "Makefile":F) ac_file=Makefile . ${libgloss_topdir}/config-ml.in ;;
3938
 
3939
  esac
3940
done # for ac_tag
3941
 
3942
 
3943 540 jeremybenn
as_fn_exit 0
3944 207 jeremybenn
_ACEOF
3945
ac_clean_files=$ac_clean_files_save
3946
 
3947
test $ac_write_fail = 0 ||
3948 540 jeremybenn
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3949 207 jeremybenn
 
3950
 
3951
# configure is writing to config.log, and then calls config.status.
3952
# config.status does its own redirection, appending to config.log.
3953
# Unfortunately, on DOS this fails, as config.log is still kept open
3954
# by configure, so config.status won't be able to write to it; its
3955
# output is simply discarded.  So we exec the FD to /dev/null,
3956
# effectively closing config.log, so it can be properly (re)opened and
3957
# appended to by config.status.  When coming back to configure, we
3958
# need to make the FD available again.
3959
if test "$no_create" != yes; then
3960
  ac_cs_success=:
3961
  ac_config_status_args=
3962
  test "$silent" = yes &&
3963
    ac_config_status_args="$ac_config_status_args --quiet"
3964
  exec 5>/dev/null
3965
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3966
  exec 5>>config.log
3967
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3968
  # would make configure fail if this is the last instruction.
3969 540 jeremybenn
  $ac_cs_success || as_fn_exit $?
3970 207 jeremybenn
fi
3971
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3972 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3973 207 jeremybenn
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3974
fi
3975
 

powered by: WebSVN 2.1.0

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