OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [configure] - Blame information for rev 617

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 libgloss LIBGLOSS_VERSION.
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='libgloss'
550
PACKAGE_TARNAME='libgloss'
551
PACKAGE_VERSION='LIBGLOSS_VERSION'
552
PACKAGE_STRING='libgloss LIBGLOSS_VERSION'
553
PACKAGE_BUGREPORT=''
554 540 jeremybenn
PACKAGE_URL=''
555 207 jeremybenn
 
556
ac_unique_file="libnosys"
557
enable_option_checking=no
558
ac_subst_vars='LTLIBOBJS
559
LIBOBJS
560
host_makefile_frag_path
561
CCASFLAGS
562
CCAS
563
RANLIB
564
LD
565
AR
566
AS
567
am__fastdepCC_FALSE
568
am__fastdepCC_TRUE
569
CCDEPMODE
570
AMDEPBACKSLASH
571
AMDEP_FALSE
572
AMDEP_TRUE
573
am__quote
574
am__include
575
DEPDIR
576
CC
577
subdirs
578
am__untar
579
am__tar
580
AMTAR
581
am__leading_dot
582
SET_MAKE
583
AWK
584
mkdir_p
585
INSTALL_STRIP_PROGRAM
586
STRIP
587
install_sh
588
MAKEINFO
589
AUTOHEADER
590
AUTOMAKE
591
AUTOCONF
592
ACLOCAL
593
VERSION
594
PACKAGE
595
CYGPATH_W
596
target_os
597
target_vendor
598
target_cpu
599
target
600
host_os
601
host_vendor
602
host_cpu
603
host
604
build_os
605
build_vendor
606
build_cpu
607
build
608
INSTALL_DATA
609
INSTALL_SCRIPT
610
INSTALL_PROGRAM
611
target_alias
612
host_alias
613
build_alias
614
LIBS
615
ECHO_T
616
ECHO_N
617
ECHO_C
618
DEFS
619
mandir
620
localedir
621
libdir
622
psdir
623
pdfdir
624
dvidir
625
htmldir
626
infodir
627
docdir
628
oldincludedir
629
includedir
630
localstatedir
631
sharedstatedir
632
sysconfdir
633
datadir
634
datarootdir
635
libexecdir
636
sbindir
637
bindir
638
program_transform_name
639
prefix
640
exec_prefix
641 540 jeremybenn
PACKAGE_URL
642 207 jeremybenn
PACKAGE_BUGREPORT
643
PACKAGE_STRING
644
PACKAGE_VERSION
645
PACKAGE_TARNAME
646
PACKAGE_NAME
647
PATH_SEPARATOR
648
SHELL'
649
ac_subst_files='host_makefile_frag'
650
ac_user_opts='
651
enable_option_checking
652
enable_dependency_tracking
653
'
654
      ac_precious_vars='build_alias
655
host_alias
656
target_alias
657
CCAS
658
CCASFLAGS'
659
ac_subdirs_all='doc
660
i386
661
m32r
662
m68hc11
663
m68k
664
pa
665
i960
666
sparc
667
wince
668
mips
669
rs6000
670
mn10200
671
mn10300
672
bfin
673
cris
674
crx
675
d30v
676
fr30
677
frv
678
lm32
679
mcore
680
mep
681
moxie
682
microblaze
683
mt
684
xc16x
685
xstormy16
686
m32c
687
rx
688
arm
689
spu
690
or32
691
iq2000
692
libnosys'
693
 
694
# Initialize some variables set by options.
695
ac_init_help=
696
ac_init_version=false
697
ac_unrecognized_opts=
698
ac_unrecognized_sep=
699
# The variables have the same names as the options, with
700
# dashes changed to underlines.
701
cache_file=/dev/null
702
exec_prefix=NONE
703
no_create=
704
no_recursion=
705
prefix=NONE
706
program_prefix=NONE
707
program_suffix=NONE
708
program_transform_name=s,x,x,
709
silent=
710
site=
711
srcdir=
712
verbose=
713
x_includes=NONE
714
x_libraries=NONE
715
 
716
# Installation directory options.
717
# These are left unexpanded so users can "make install exec_prefix=/foo"
718
# and all the variables that are supposed to be based on exec_prefix
719
# by default will actually change.
720
# Use braces instead of parens because sh, perl, etc. also accept them.
721
# (The list follows the same order as the GNU Coding Standards.)
722
bindir='${exec_prefix}/bin'
723
sbindir='${exec_prefix}/sbin'
724
libexecdir='${exec_prefix}/libexec'
725
datarootdir='${prefix}/share'
726
datadir='${datarootdir}'
727
sysconfdir='${prefix}/etc'
728
sharedstatedir='${prefix}/com'
729
localstatedir='${prefix}/var'
730
includedir='${prefix}/include'
731
oldincludedir='/usr/include'
732
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
733
infodir='${datarootdir}/info'
734
htmldir='${docdir}'
735
dvidir='${docdir}'
736
pdfdir='${docdir}'
737
psdir='${docdir}'
738
libdir='${exec_prefix}/lib'
739
localedir='${datarootdir}/locale'
740
mandir='${datarootdir}/man'
741
 
742
ac_prev=
743
ac_dashdash=
744
for ac_option
745
do
746
  # If the previous option needs an argument, assign it.
747
  if test -n "$ac_prev"; then
748
    eval $ac_prev=\$ac_option
749
    ac_prev=
750
    continue
751
  fi
752
 
753
  case $ac_option in
754
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
755
  *)    ac_optarg=yes ;;
756
  esac
757
 
758
  # Accept the important Cygnus configure options, so we can diagnose typos.
759
 
760
  case $ac_dashdash$ac_option in
761
  --)
762
    ac_dashdash=yes ;;
763
 
764
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
765
    ac_prev=bindir ;;
766
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
767
    bindir=$ac_optarg ;;
768
 
769
  -build | --build | --buil | --bui | --bu)
770
    ac_prev=build_alias ;;
771
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
772
    build_alias=$ac_optarg ;;
773
 
774
  -cache-file | --cache-file | --cache-fil | --cache-fi \
775
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
776
    ac_prev=cache_file ;;
777
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
778
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
779
    cache_file=$ac_optarg ;;
780
 
781
  --config-cache | -C)
782
    cache_file=config.cache ;;
783
 
784
  -datadir | --datadir | --datadi | --datad)
785
    ac_prev=datadir ;;
786
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
787
    datadir=$ac_optarg ;;
788
 
789
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
790
  | --dataroo | --dataro | --datar)
791
    ac_prev=datarootdir ;;
792
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
793
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
794
    datarootdir=$ac_optarg ;;
795
 
796
  -disable-* | --disable-*)
797
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798
    # Reject names that are not valid shell variable names.
799
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
800 540 jeremybenn
      as_fn_error "invalid feature name: $ac_useropt"
801 207 jeremybenn
    ac_useropt_orig=$ac_useropt
802
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803
    case $ac_user_opts in
804
      *"
805
"enable_$ac_useropt"
806
"*) ;;
807
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
808
         ac_unrecognized_sep=', ';;
809
    esac
810
    eval enable_$ac_useropt=no ;;
811
 
812
  -docdir | --docdir | --docdi | --doc | --do)
813
    ac_prev=docdir ;;
814
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
815
    docdir=$ac_optarg ;;
816
 
817
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
818
    ac_prev=dvidir ;;
819
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
820
    dvidir=$ac_optarg ;;
821
 
822
  -enable-* | --enable-*)
823
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
824
    # Reject names that are not valid shell variable names.
825
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 540 jeremybenn
      as_fn_error "invalid feature name: $ac_useropt"
827 207 jeremybenn
    ac_useropt_orig=$ac_useropt
828
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829
    case $ac_user_opts in
830
      *"
831
"enable_$ac_useropt"
832
"*) ;;
833
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
834
         ac_unrecognized_sep=', ';;
835
    esac
836
    eval enable_$ac_useropt=\$ac_optarg ;;
837
 
838
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
839
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
840
  | --exec | --exe | --ex)
841
    ac_prev=exec_prefix ;;
842
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
843
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
844
  | --exec=* | --exe=* | --ex=*)
845
    exec_prefix=$ac_optarg ;;
846
 
847
  -gas | --gas | --ga | --g)
848
    # Obsolete; use --with-gas.
849
    with_gas=yes ;;
850
 
851
  -help | --help | --hel | --he | -h)
852
    ac_init_help=long ;;
853
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
854
    ac_init_help=recursive ;;
855
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
856
    ac_init_help=short ;;
857
 
858
  -host | --host | --hos | --ho)
859
    ac_prev=host_alias ;;
860
  -host=* | --host=* | --hos=* | --ho=*)
861
    host_alias=$ac_optarg ;;
862
 
863
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
864
    ac_prev=htmldir ;;
865
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
866
  | --ht=*)
867
    htmldir=$ac_optarg ;;
868
 
869
  -includedir | --includedir | --includedi | --included | --include \
870
  | --includ | --inclu | --incl | --inc)
871
    ac_prev=includedir ;;
872
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
873
  | --includ=* | --inclu=* | --incl=* | --inc=*)
874
    includedir=$ac_optarg ;;
875
 
876
  -infodir | --infodir | --infodi | --infod | --info | --inf)
877
    ac_prev=infodir ;;
878
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
879
    infodir=$ac_optarg ;;
880
 
881
  -libdir | --libdir | --libdi | --libd)
882
    ac_prev=libdir ;;
883
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
884
    libdir=$ac_optarg ;;
885
 
886
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
887
  | --libexe | --libex | --libe)
888
    ac_prev=libexecdir ;;
889
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
890
  | --libexe=* | --libex=* | --libe=*)
891
    libexecdir=$ac_optarg ;;
892
 
893
  -localedir | --localedir | --localedi | --localed | --locale)
894
    ac_prev=localedir ;;
895
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
896
    localedir=$ac_optarg ;;
897
 
898
  -localstatedir | --localstatedir | --localstatedi | --localstated \
899
  | --localstate | --localstat | --localsta | --localst | --locals)
900
    ac_prev=localstatedir ;;
901
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
902
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
903
    localstatedir=$ac_optarg ;;
904
 
905
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
906
    ac_prev=mandir ;;
907
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
908
    mandir=$ac_optarg ;;
909
 
910
  -nfp | --nfp | --nf)
911
    # Obsolete; use --without-fp.
912
    with_fp=no ;;
913
 
914
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
915
  | --no-cr | --no-c | -n)
916
    no_create=yes ;;
917
 
918
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
919
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
920
    no_recursion=yes ;;
921
 
922
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
923
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
924
  | --oldin | --oldi | --old | --ol | --o)
925
    ac_prev=oldincludedir ;;
926
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
927
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
928
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
929
    oldincludedir=$ac_optarg ;;
930
 
931
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
932
    ac_prev=prefix ;;
933
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
934
    prefix=$ac_optarg ;;
935
 
936
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
937
  | --program-pre | --program-pr | --program-p)
938
    ac_prev=program_prefix ;;
939
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
940
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
941
    program_prefix=$ac_optarg ;;
942
 
943
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
944
  | --program-suf | --program-su | --program-s)
945
    ac_prev=program_suffix ;;
946
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
947
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
948
    program_suffix=$ac_optarg ;;
949
 
950
  -program-transform-name | --program-transform-name \
951
  | --program-transform-nam | --program-transform-na \
952
  | --program-transform-n | --program-transform- \
953
  | --program-transform | --program-transfor \
954
  | --program-transfo | --program-transf \
955
  | --program-trans | --program-tran \
956
  | --progr-tra | --program-tr | --program-t)
957
    ac_prev=program_transform_name ;;
958
  -program-transform-name=* | --program-transform-name=* \
959
  | --program-transform-nam=* | --program-transform-na=* \
960
  | --program-transform-n=* | --program-transform-=* \
961
  | --program-transform=* | --program-transfor=* \
962
  | --program-transfo=* | --program-transf=* \
963
  | --program-trans=* | --program-tran=* \
964
  | --progr-tra=* | --program-tr=* | --program-t=*)
965
    program_transform_name=$ac_optarg ;;
966
 
967
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
968
    ac_prev=pdfdir ;;
969
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
970
    pdfdir=$ac_optarg ;;
971
 
972
  -psdir | --psdir | --psdi | --psd | --ps)
973
    ac_prev=psdir ;;
974
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
975
    psdir=$ac_optarg ;;
976
 
977
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978
  | -silent | --silent | --silen | --sile | --sil)
979
    silent=yes ;;
980
 
981
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
982
    ac_prev=sbindir ;;
983
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
984
  | --sbi=* | --sb=*)
985
    sbindir=$ac_optarg ;;
986
 
987
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
988
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
989
  | --sharedst | --shareds | --shared | --share | --shar \
990
  | --sha | --sh)
991
    ac_prev=sharedstatedir ;;
992
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
993
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
994
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
995
  | --sha=* | --sh=*)
996
    sharedstatedir=$ac_optarg ;;
997
 
998
  -site | --site | --sit)
999
    ac_prev=site ;;
1000
  -site=* | --site=* | --sit=*)
1001
    site=$ac_optarg ;;
1002
 
1003
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1004
    ac_prev=srcdir ;;
1005
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1006
    srcdir=$ac_optarg ;;
1007
 
1008
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1009
  | --syscon | --sysco | --sysc | --sys | --sy)
1010
    ac_prev=sysconfdir ;;
1011
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1012
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1013
    sysconfdir=$ac_optarg ;;
1014
 
1015
  -target | --target | --targe | --targ | --tar | --ta | --t)
1016
    ac_prev=target_alias ;;
1017
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1018
    target_alias=$ac_optarg ;;
1019
 
1020
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1021
    verbose=yes ;;
1022
 
1023
  -version | --version | --versio | --versi | --vers | -V)
1024
    ac_init_version=: ;;
1025
 
1026
  -with-* | --with-*)
1027
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028
    # Reject names that are not valid shell variable names.
1029
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 540 jeremybenn
      as_fn_error "invalid package name: $ac_useropt"
1031 207 jeremybenn
    ac_useropt_orig=$ac_useropt
1032
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033
    case $ac_user_opts in
1034
      *"
1035
"with_$ac_useropt"
1036
"*) ;;
1037
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1038
         ac_unrecognized_sep=', ';;
1039
    esac
1040
    eval with_$ac_useropt=\$ac_optarg ;;
1041
 
1042
  -without-* | --without-*)
1043
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1044
    # Reject names that are not valid shell variable names.
1045
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 540 jeremybenn
      as_fn_error "invalid package name: $ac_useropt"
1047 207 jeremybenn
    ac_useropt_orig=$ac_useropt
1048
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049
    case $ac_user_opts in
1050
      *"
1051
"with_$ac_useropt"
1052
"*) ;;
1053
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1054
         ac_unrecognized_sep=', ';;
1055
    esac
1056
    eval with_$ac_useropt=no ;;
1057
 
1058
  --x)
1059
    # Obsolete; use --with-x.
1060
    with_x=yes ;;
1061
 
1062
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1063
  | --x-incl | --x-inc | --x-in | --x-i)
1064
    ac_prev=x_includes ;;
1065
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1066
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1067
    x_includes=$ac_optarg ;;
1068
 
1069
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1070
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1071
    ac_prev=x_libraries ;;
1072
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1073
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1074
    x_libraries=$ac_optarg ;;
1075
 
1076 540 jeremybenn
  -*) as_fn_error "unrecognized option: \`$ac_option'
1077
Try \`$0 --help' for more information."
1078 207 jeremybenn
    ;;
1079
 
1080
  *=*)
1081
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1082
    # Reject names that are not valid shell variable names.
1083 540 jeremybenn
    case $ac_envvar in #(
1084
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1085
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1086
    esac
1087 207 jeremybenn
    eval $ac_envvar=\$ac_optarg
1088
    export $ac_envvar ;;
1089
 
1090
  *)
1091
    # FIXME: should be removed in autoconf 3.0.
1092
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1096
    ;;
1097
 
1098
  esac
1099
done
1100
 
1101
if test -n "$ac_prev"; then
1102
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1103 540 jeremybenn
  as_fn_error "missing argument to $ac_option"
1104 207 jeremybenn
fi
1105
 
1106
if test -n "$ac_unrecognized_opts"; then
1107
  case $enable_option_checking in
1108
    no) ;;
1109 540 jeremybenn
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1110 207 jeremybenn
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1111
  esac
1112
fi
1113
 
1114
# Check all directory arguments for consistency.
1115
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1116
                datadir sysconfdir sharedstatedir localstatedir includedir \
1117
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1118
                libdir localedir mandir
1119
do
1120
  eval ac_val=\$$ac_var
1121
  # Remove trailing slashes.
1122
  case $ac_val in
1123
    */ )
1124
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1125
      eval $ac_var=\$ac_val;;
1126
  esac
1127
  # Be sure to have absolute directory names.
1128
  case $ac_val in
1129
    [\\/$]* | ?:[\\/]* )  continue;;
1130
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1131
  esac
1132 540 jeremybenn
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1133 207 jeremybenn
done
1134
 
1135
# There might be people who depend on the old broken behavior: `$host'
1136
# used to hold the argument of --host etc.
1137
# FIXME: To remove some day.
1138
build=$build_alias
1139
host=$host_alias
1140
target=$target_alias
1141
 
1142
# FIXME: To remove some day.
1143
if test "x$host_alias" != x; then
1144
  if test "x$build_alias" = x; then
1145
    cross_compiling=maybe
1146
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1147
    If a cross compiler is detected then cross compile mode will be used." >&2
1148
  elif test "x$build_alias" != "x$host_alias"; then
1149
    cross_compiling=yes
1150
  fi
1151
fi
1152
 
1153
ac_tool_prefix=
1154
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1155
 
1156
test "$silent" = yes && exec 6>/dev/null
1157
 
1158
 
1159
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1160
ac_ls_di=`ls -di .` &&
1161
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1162 540 jeremybenn
  as_fn_error "working directory cannot be determined"
1163 207 jeremybenn
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164 540 jeremybenn
  as_fn_error "pwd does not report name of working directory"
1165 207 jeremybenn
 
1166
 
1167
# Find the source files, if location was not specified.
1168
if test -z "$srcdir"; then
1169
  ac_srcdir_defaulted=yes
1170
  # Try the directory containing this script, then the parent directory.
1171
  ac_confdir=`$as_dirname -- "$as_myself" ||
1172
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1173
         X"$as_myself" : 'X\(//\)[^/]' \| \
1174
         X"$as_myself" : 'X\(//\)$' \| \
1175
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1176
$as_echo X"$as_myself" |
1177
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1178
            s//\1/
1179
            q
1180
          }
1181
          /^X\(\/\/\)[^/].*/{
1182
            s//\1/
1183
            q
1184
          }
1185
          /^X\(\/\/\)$/{
1186
            s//\1/
1187
            q
1188
          }
1189
          /^X\(\/\).*/{
1190
            s//\1/
1191
            q
1192
          }
1193
          s/.*/./; q'`
1194
  srcdir=$ac_confdir
1195
  if test ! -r "$srcdir/$ac_unique_file"; then
1196
    srcdir=..
1197
  fi
1198
else
1199
  ac_srcdir_defaulted=no
1200
fi
1201
if test ! -r "$srcdir/$ac_unique_file"; then
1202
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1203 540 jeremybenn
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1204 207 jeremybenn
fi
1205
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1206
ac_abs_confdir=`(
1207 540 jeremybenn
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1208 207 jeremybenn
        pwd)`
1209
# When building in place, set srcdir=.
1210
if test "$ac_abs_confdir" = "$ac_pwd"; then
1211
  srcdir=.
1212
fi
1213
# Remove unnecessary trailing slashes from srcdir.
1214
# Double slashes in file names in object file debugging info
1215
# mess up M-x gdb in Emacs.
1216
case $srcdir in
1217
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1218
esac
1219
for ac_var in $ac_precious_vars; do
1220
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1221
  eval ac_env_${ac_var}_value=\$${ac_var}
1222
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1223
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1224
done
1225
 
1226
#
1227
# Report the --help message.
1228
#
1229
if test "$ac_init_help" = "long"; then
1230
  # Omit some internal or obsolete options to make the list less imposing.
1231
  # This message is too long to be a string in the A/UX 3.1 sh.
1232
  cat <<_ACEOF
1233
\`configure' configures libgloss LIBGLOSS_VERSION to adapt to many kinds of systems.
1234
 
1235
Usage: $0 [OPTION]... [VAR=VALUE]...
1236
 
1237
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1238
VAR=VALUE.  See below for descriptions of some of the useful variables.
1239
 
1240
Defaults for the options are specified in brackets.
1241
 
1242
Configuration:
1243
  -h, --help              display this help and exit
1244
      --help=short        display options specific to this package
1245
      --help=recursive    display the short help of all the included packages
1246
  -V, --version           display version information and exit
1247
  -q, --quiet, --silent   do not print \`checking...' messages
1248
      --cache-file=FILE   cache test results in FILE [disabled]
1249
  -C, --config-cache      alias for \`--cache-file=config.cache'
1250
  -n, --no-create         do not create output files
1251
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1252
 
1253
Installation directories:
1254
  --prefix=PREFIX         install architecture-independent files in PREFIX
1255
                          [$ac_default_prefix]
1256
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1257
                          [PREFIX]
1258
 
1259
By default, \`make install' will install all the files in
1260
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1261
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1262
for instance \`--prefix=\$HOME'.
1263
 
1264
For better control, use the options below.
1265
 
1266
Fine tuning of the installation directories:
1267
  --bindir=DIR            user executables [EPREFIX/bin]
1268
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1269
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1270
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1271
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1272
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1273
  --libdir=DIR            object code libraries [EPREFIX/lib]
1274
  --includedir=DIR        C header files [PREFIX/include]
1275
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1276
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1277
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1278
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1279
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1280
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1281
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgloss]
1282
  --htmldir=DIR           html documentation [DOCDIR]
1283
  --dvidir=DIR            dvi documentation [DOCDIR]
1284
  --pdfdir=DIR            pdf documentation [DOCDIR]
1285
  --psdir=DIR             ps documentation [DOCDIR]
1286
_ACEOF
1287
 
1288
  cat <<\_ACEOF
1289
 
1290
Program names:
1291
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1292
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1293
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1294
 
1295
System types:
1296
  --build=BUILD     configure for building on BUILD [guessed]
1297
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1298
  --target=TARGET   configure for building compilers for TARGET [HOST]
1299
_ACEOF
1300
fi
1301
 
1302
if test -n "$ac_init_help"; then
1303
  case $ac_init_help in
1304
     short | recursive ) echo "Configuration of libgloss LIBGLOSS_VERSION:";;
1305
   esac
1306
  cat <<\_ACEOF
1307
 
1308
Optional Features:
1309
  --disable-option-checking  ignore unrecognized --enable/--with options
1310
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1311
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1312
  --disable-dependency-tracking  speeds up one-time build
1313
  --enable-dependency-tracking   do not reject slow dependency extractors
1314
 
1315
Some influential environment variables:
1316
  CCAS        assembler compiler command (defaults to CC)
1317
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1318
 
1319
Use these variables to override the choices made by `configure' or to help
1320
it to find libraries and programs with nonstandard names/locations.
1321
 
1322 540 jeremybenn
Report bugs to the package provider.
1323 207 jeremybenn
_ACEOF
1324
ac_status=$?
1325
fi
1326
 
1327
if test "$ac_init_help" = "recursive"; then
1328
  # If there are subdirs, report their specific --help.
1329
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330
    test -d "$ac_dir" ||
1331
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1332
      continue
1333
    ac_builddir=.
1334
 
1335
case "$ac_dir" in
1336
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337
*)
1338
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1339
  # A ".." for each directory in $ac_dir_suffix.
1340
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1341
  case $ac_top_builddir_sub in
1342
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344
  esac ;;
1345
esac
1346
ac_abs_top_builddir=$ac_pwd
1347
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348
# for backward compatibility:
1349
ac_top_builddir=$ac_top_build_prefix
1350
 
1351
case $srcdir in
1352
  .)  # We are building in place.
1353
    ac_srcdir=.
1354
    ac_top_srcdir=$ac_top_builddir_sub
1355
    ac_abs_top_srcdir=$ac_pwd ;;
1356
  [\\/]* | ?:[\\/]* )  # Absolute name.
1357
    ac_srcdir=$srcdir$ac_dir_suffix;
1358
    ac_top_srcdir=$srcdir
1359
    ac_abs_top_srcdir=$srcdir ;;
1360
  *) # Relative name.
1361
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1363
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364
esac
1365
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366
 
1367
    cd "$ac_dir" || { ac_status=$?; continue; }
1368
    # Check for guested configure.
1369
    if test -f "$ac_srcdir/configure.gnu"; then
1370
      echo &&
1371
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372
    elif test -f "$ac_srcdir/configure"; then
1373
      echo &&
1374
      $SHELL "$ac_srcdir/configure" --help=recursive
1375
    else
1376
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377
    fi || ac_status=$?
1378
    cd "$ac_pwd" || { ac_status=$?; break; }
1379
  done
1380
fi
1381
 
1382
test -n "$ac_init_help" && exit $ac_status
1383
if $ac_init_version; then
1384
  cat <<\_ACEOF
1385
libgloss configure LIBGLOSS_VERSION
1386 540 jeremybenn
generated by GNU Autoconf 2.65
1387 207 jeremybenn
 
1388 540 jeremybenn
Copyright (C) 2009 Free Software Foundation, Inc.
1389 207 jeremybenn
This configure script is free software; the Free Software Foundation
1390
gives unlimited permission to copy, distribute and modify it.
1391
_ACEOF
1392
  exit
1393
fi
1394 540 jeremybenn
 
1395
## ------------------------ ##
1396
## Autoconf initialization. ##
1397
## ------------------------ ##
1398
 
1399
# ac_fn_c_try_compile LINENO
1400
# --------------------------
1401
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1402
ac_fn_c_try_compile ()
1403
{
1404
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1405
  rm -f conftest.$ac_objext
1406
  if { { ac_try="$ac_compile"
1407
case "(($ac_try" in
1408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1409
  *) ac_try_echo=$ac_try;;
1410
esac
1411
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1412
$as_echo "$ac_try_echo"; } >&5
1413
  (eval "$ac_compile") 2>conftest.err
1414
  ac_status=$?
1415
  if test -s conftest.err; then
1416
    grep -v '^ *+' conftest.err >conftest.er1
1417
    cat conftest.er1 >&5
1418
    mv -f conftest.er1 conftest.err
1419
  fi
1420
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1421
  test $ac_status = 0; } && {
1422
         test -z "$ac_c_werror_flag" ||
1423
         test ! -s conftest.err
1424
       } && test -s conftest.$ac_objext; then :
1425
  ac_retval=0
1426
else
1427
  $as_echo "$as_me: failed program was:" >&5
1428
sed 's/^/| /' conftest.$ac_ext >&5
1429
 
1430
        ac_retval=1
1431
fi
1432
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1433
  as_fn_set_status $ac_retval
1434
 
1435
} # ac_fn_c_try_compile
1436 207 jeremybenn
cat >config.log <<_ACEOF
1437
This file contains any messages produced by compilers while
1438
running configure, to aid debugging if configure makes a mistake.
1439
 
1440
It was created by libgloss $as_me LIBGLOSS_VERSION, which was
1441 540 jeremybenn
generated by GNU Autoconf 2.65.  Invocation command line was
1442 207 jeremybenn
 
1443
  $ $0 $@
1444
 
1445
_ACEOF
1446
exec 5>>config.log
1447
{
1448
cat <<_ASUNAME
1449
## --------- ##
1450
## Platform. ##
1451
## --------- ##
1452
 
1453
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1454
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1455
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1456
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1457
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1458
 
1459
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1460
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1461
 
1462
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1463
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1464
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1465
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1466
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1467
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1468
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1469
 
1470
_ASUNAME
1471
 
1472
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1473
for as_dir in $PATH
1474
do
1475
  IFS=$as_save_IFS
1476
  test -z "$as_dir" && as_dir=.
1477 540 jeremybenn
    $as_echo "PATH: $as_dir"
1478
  done
1479 207 jeremybenn
IFS=$as_save_IFS
1480
 
1481
} >&5
1482
 
1483
cat >&5 <<_ACEOF
1484
 
1485
 
1486
## ----------- ##
1487
## Core tests. ##
1488
## ----------- ##
1489
 
1490
_ACEOF
1491
 
1492
 
1493
# Keep a trace of the command line.
1494
# Strip out --no-create and --no-recursion so they do not pile up.
1495
# Strip out --silent because we don't want to record it for future runs.
1496
# Also quote any args containing shell meta-characters.
1497
# Make two passes to allow for proper duplicate-argument suppression.
1498
ac_configure_args=
1499
ac_configure_args0=
1500
ac_configure_args1=
1501
ac_must_keep_next=false
1502
for ac_pass in 1 2
1503
do
1504
  for ac_arg
1505
  do
1506
    case $ac_arg in
1507
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1508
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1509
    | -silent | --silent | --silen | --sile | --sil)
1510
      continue ;;
1511
    *\'*)
1512
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1513
    esac
1514
    case $ac_pass in
1515 540 jeremybenn
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1516 207 jeremybenn
    2)
1517 540 jeremybenn
      as_fn_append ac_configure_args1 " '$ac_arg'"
1518 207 jeremybenn
      if test $ac_must_keep_next = true; then
1519
        ac_must_keep_next=false # Got value, back to normal.
1520
      else
1521
        case $ac_arg in
1522
          *=* | --config-cache | -C | -disable-* | --disable-* \
1523
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1524
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1525
          | -with-* | --with-* | -without-* | --without-* | --x)
1526
            case "$ac_configure_args0 " in
1527
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1528
            esac
1529
            ;;
1530
          -* ) ac_must_keep_next=true ;;
1531
        esac
1532
      fi
1533 540 jeremybenn
      as_fn_append ac_configure_args " '$ac_arg'"
1534 207 jeremybenn
      ;;
1535
    esac
1536
  done
1537
done
1538 540 jeremybenn
{ ac_configure_args0=; unset ac_configure_args0;}
1539
{ ac_configure_args1=; unset ac_configure_args1;}
1540 207 jeremybenn
 
1541
# When interrupted or exit'd, cleanup temporary files, and complete
1542
# config.log.  We remove comments because anyway the quotes in there
1543
# would cause problems or look ugly.
1544
# WARNING: Use '\'' to represent an apostrophe within the trap.
1545
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1546
trap 'exit_status=$?
1547
  # Save into config.log some information that might help in debugging.
1548
  {
1549
    echo
1550
 
1551
    cat <<\_ASBOX
1552
## ---------------- ##
1553
## Cache variables. ##
1554
## ---------------- ##
1555
_ASBOX
1556
    echo
1557
    # The following way of writing the cache mishandles newlines in values,
1558
(
1559
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1560
    eval ac_val=\$$ac_var
1561
    case $ac_val in #(
1562
    *${as_nl}*)
1563
      case $ac_var in #(
1564 540 jeremybenn
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1565 207 jeremybenn
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1566
      esac
1567
      case $ac_var in #(
1568
      _ | IFS | as_nl) ;; #(
1569
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1570 540 jeremybenn
      *) { eval $ac_var=; unset $ac_var;} ;;
1571 207 jeremybenn
      esac ;;
1572
    esac
1573
  done
1574
  (set) 2>&1 |
1575
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1576
    *${as_nl}ac_space=\ *)
1577
      sed -n \
1578
        "s/'\''/'\''\\\\'\'''\''/g;
1579
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1580
      ;; #(
1581
    *)
1582
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1583
      ;;
1584
    esac |
1585
    sort
1586
)
1587
    echo
1588
 
1589
    cat <<\_ASBOX
1590
## ----------------- ##
1591
## Output variables. ##
1592
## ----------------- ##
1593
_ASBOX
1594
    echo
1595
    for ac_var in $ac_subst_vars
1596
    do
1597
      eval ac_val=\$$ac_var
1598
      case $ac_val in
1599
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600
      esac
1601
      $as_echo "$ac_var='\''$ac_val'\''"
1602
    done | sort
1603
    echo
1604
 
1605
    if test -n "$ac_subst_files"; then
1606
      cat <<\_ASBOX
1607
## ------------------- ##
1608
## File substitutions. ##
1609
## ------------------- ##
1610
_ASBOX
1611
      echo
1612
      for ac_var in $ac_subst_files
1613
      do
1614
        eval ac_val=\$$ac_var
1615
        case $ac_val in
1616
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617
        esac
1618
        $as_echo "$ac_var='\''$ac_val'\''"
1619
      done | sort
1620
      echo
1621
    fi
1622
 
1623
    if test -s confdefs.h; then
1624
      cat <<\_ASBOX
1625
## ----------- ##
1626
## confdefs.h. ##
1627
## ----------- ##
1628
_ASBOX
1629
      echo
1630
      cat confdefs.h
1631
      echo
1632
    fi
1633
    test "$ac_signal" != 0 &&
1634
      $as_echo "$as_me: caught signal $ac_signal"
1635
    $as_echo "$as_me: exit $exit_status"
1636
  } >&5
1637
  rm -f core *.core core.conftest.* &&
1638
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1639
    exit $exit_status
1640
' 0
1641
for ac_signal in 1 2 13 15; do
1642 540 jeremybenn
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1643 207 jeremybenn
done
1644
ac_signal=0
1645
 
1646
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1647
rm -f -r conftest* confdefs.h
1648
 
1649 540 jeremybenn
$as_echo "/* confdefs.h */" > confdefs.h
1650
 
1651 207 jeremybenn
# Predefined preprocessor variables.
1652
 
1653
cat >>confdefs.h <<_ACEOF
1654
#define PACKAGE_NAME "$PACKAGE_NAME"
1655
_ACEOF
1656
 
1657
cat >>confdefs.h <<_ACEOF
1658
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1659
_ACEOF
1660
 
1661
cat >>confdefs.h <<_ACEOF
1662
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1663
_ACEOF
1664
 
1665
cat >>confdefs.h <<_ACEOF
1666
#define PACKAGE_STRING "$PACKAGE_STRING"
1667
_ACEOF
1668
 
1669
cat >>confdefs.h <<_ACEOF
1670
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1671
_ACEOF
1672
 
1673 540 jeremybenn
cat >>confdefs.h <<_ACEOF
1674
#define PACKAGE_URL "$PACKAGE_URL"
1675
_ACEOF
1676 207 jeremybenn
 
1677 540 jeremybenn
 
1678 207 jeremybenn
# Let the site file select an alternate cache file if it wants to.
1679
# Prefer an explicitly selected file to automatically selected ones.
1680
ac_site_file1=NONE
1681
ac_site_file2=NONE
1682
if test -n "$CONFIG_SITE"; then
1683
  ac_site_file1=$CONFIG_SITE
1684
elif test "x$prefix" != xNONE; then
1685
  ac_site_file1=$prefix/share/config.site
1686
  ac_site_file2=$prefix/etc/config.site
1687
else
1688
  ac_site_file1=$ac_default_prefix/share/config.site
1689
  ac_site_file2=$ac_default_prefix/etc/config.site
1690
fi
1691
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1692
do
1693
  test "x$ac_site_file" = xNONE && continue
1694 540 jeremybenn
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1695
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1696 207 jeremybenn
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1697
    sed 's/^/| /' "$ac_site_file" >&5
1698
    . "$ac_site_file"
1699
  fi
1700
done
1701
 
1702
if test -r "$cache_file"; then
1703 540 jeremybenn
  # Some versions of bash will fail to source /dev/null (special files
1704
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1705
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1706
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1707 207 jeremybenn
$as_echo "$as_me: loading cache $cache_file" >&6;}
1708
    case $cache_file in
1709
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1710
      *)                      . "./$cache_file";;
1711
    esac
1712
  fi
1713
else
1714 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1715 207 jeremybenn
$as_echo "$as_me: creating cache $cache_file" >&6;}
1716
  >$cache_file
1717
fi
1718
 
1719
# Check that the precious variables saved in the cache have kept the same
1720
# value.
1721
ac_cache_corrupted=false
1722
for ac_var in $ac_precious_vars; do
1723
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1724
  eval ac_new_set=\$ac_env_${ac_var}_set
1725
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1726
  eval ac_new_val=\$ac_env_${ac_var}_value
1727
  case $ac_old_set,$ac_new_set in
1728
    set,)
1729 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1730 207 jeremybenn
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1731
      ac_cache_corrupted=: ;;
1732
    ,set)
1733 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1734 207 jeremybenn
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1735
      ac_cache_corrupted=: ;;
1736
    ,);;
1737
    *)
1738
      if test "x$ac_old_val" != "x$ac_new_val"; then
1739
        # differences in whitespace do not lead to failure.
1740
        ac_old_val_w=`echo x $ac_old_val`
1741
        ac_new_val_w=`echo x $ac_new_val`
1742
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1743 540 jeremybenn
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1744 207 jeremybenn
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1745
          ac_cache_corrupted=:
1746
        else
1747 540 jeremybenn
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1748 207 jeremybenn
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1749
          eval $ac_var=\$ac_old_val
1750
        fi
1751 540 jeremybenn
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1752 207 jeremybenn
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1753 540 jeremybenn
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1754 207 jeremybenn
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1755
      fi;;
1756
  esac
1757
  # Pass precious variables to config.status.
1758
  if test "$ac_new_set" = set; then
1759
    case $ac_new_val in
1760
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1761
    *) ac_arg=$ac_var=$ac_new_val ;;
1762
    esac
1763
    case " $ac_configure_args " in
1764
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1765 540 jeremybenn
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1766 207 jeremybenn
    esac
1767
  fi
1768
done
1769
if $ac_cache_corrupted; then
1770 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1771 207 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1772 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1773 207 jeremybenn
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1774 540 jeremybenn
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1775 207 jeremybenn
fi
1776 540 jeremybenn
## -------------------- ##
1777
## Main body of script. ##
1778
## -------------------- ##
1779 207 jeremybenn
 
1780
ac_ext=c
1781
ac_cpp='$CPP $CPPFLAGS'
1782
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1783
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1784
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1785
 
1786
 
1787
 
1788
 
1789
if test "${enable_shared}" = "yes" ; then
1790
    echo "Shared libraries not supported for cross compiling, ignored"
1791
fi
1792
 
1793
if test "${srcdir}" = "." ; then
1794
  if test "${with_target_subdir}" != "." ; then
1795
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1796
  else
1797
    libgloss_topdir="${srcdir}/${with_multisrctop}.."
1798
  fi
1799
else
1800
  libgloss_topdir="${srcdir}/.."
1801
fi
1802
ac_aux_dir=
1803
for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
1804 540 jeremybenn
  for ac_t in install-sh install.sh shtool; do
1805
    if test -f "$ac_dir/$ac_t"; then
1806
      ac_aux_dir=$ac_dir
1807
      ac_install_sh="$ac_aux_dir/$ac_t -c"
1808
      break 2
1809
    fi
1810
  done
1811 207 jeremybenn
done
1812
if test -z "$ac_aux_dir"; then
1813 540 jeremybenn
  as_fn_error "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
1814 207 jeremybenn
fi
1815
 
1816
# These three variables are undocumented and unsupported,
1817
# and are intended to be withdrawn in a future Autoconf release.
1818
# They can cause serious problems if a builder's source tree is in a directory
1819
# whose full name contains unusual characters.
1820
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1821
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1822
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1823
 
1824
 
1825
 
1826
# Find a good install program.  We prefer a C program (faster),
1827
# so one script is as good as another.  But avoid the broken or
1828
# incompatible versions:
1829
# SysV /etc/install, /usr/sbin/install
1830
# SunOS /usr/etc/install
1831
# IRIX /sbin/install
1832
# AIX /bin/install
1833
# AmigaOS /C/install, which installs bootblocks on floppy discs
1834
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1835
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1836
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1837
# OS/2's system install, which has a completely different semantic
1838
# ./install, which can be erroneously created by make from ./install.sh.
1839
# Reject install programs that cannot install multiple files.
1840 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1841 207 jeremybenn
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1842
if test -z "$INSTALL"; then
1843 540 jeremybenn
if test "${ac_cv_path_install+set}" = set; then :
1844 207 jeremybenn
  $as_echo_n "(cached) " >&6
1845
else
1846
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847
for as_dir in $PATH
1848
do
1849
  IFS=$as_save_IFS
1850
  test -z "$as_dir" && as_dir=.
1851 540 jeremybenn
    # Account for people who put trailing slashes in PATH elements.
1852
case $as_dir/ in #((
1853
  ./ | .// | /[cC]/* | \
1854 207 jeremybenn
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1855 540 jeremybenn
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1856 207 jeremybenn
  /usr/ucb/* ) ;;
1857
  *)
1858
    # OSF1 and SCO ODT 3.0 have their own names for install.
1859
    # Don't use installbsd from OSF since it installs stuff as root
1860
    # by default.
1861
    for ac_prog in ginstall scoinst install; do
1862
      for ac_exec_ext in '' $ac_executable_extensions; do
1863
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1864
          if test $ac_prog = install &&
1865
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1866
            # AIX install.  It has an incompatible calling convention.
1867
            :
1868
          elif test $ac_prog = install &&
1869
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1870
            # program-specific install script used by HP pwplus--don't use.
1871
            :
1872
          else
1873
            rm -rf conftest.one conftest.two conftest.dir
1874
            echo one > conftest.one
1875
            echo two > conftest.two
1876
            mkdir conftest.dir
1877
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1878
              test -s conftest.one && test -s conftest.two &&
1879
              test -s conftest.dir/conftest.one &&
1880
              test -s conftest.dir/conftest.two
1881
            then
1882
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1883
              break 3
1884
            fi
1885
          fi
1886
        fi
1887
      done
1888
    done
1889
    ;;
1890
esac
1891
 
1892 540 jeremybenn
  done
1893 207 jeremybenn
IFS=$as_save_IFS
1894
 
1895
rm -rf conftest.one conftest.two conftest.dir
1896
 
1897
fi
1898
  if test "${ac_cv_path_install+set}" = set; then
1899
    INSTALL=$ac_cv_path_install
1900
  else
1901
    # As a last resort, use the slow shell script.  Don't cache a
1902
    # value for INSTALL within a source directory, because that will
1903
    # break other packages using the cache if that directory is
1904
    # removed, or if the value is a relative name.
1905
    INSTALL=$ac_install_sh
1906
  fi
1907
fi
1908 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1909 207 jeremybenn
$as_echo "$INSTALL" >&6; }
1910
 
1911
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1912
# It thinks the first close brace ends the variable substitution.
1913
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1914
 
1915
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1916
 
1917
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1918
 
1919
 
1920
# Make sure we can run config.sub.
1921
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1922 540 jeremybenn
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1923 207 jeremybenn
 
1924 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1925 207 jeremybenn
$as_echo_n "checking build system type... " >&6; }
1926 540 jeremybenn
if test "${ac_cv_build+set}" = set; then :
1927 207 jeremybenn
  $as_echo_n "(cached) " >&6
1928
else
1929
  ac_build_alias=$build_alias
1930
test "x$ac_build_alias" = x &&
1931
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1932
test "x$ac_build_alias" = x &&
1933 540 jeremybenn
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1934 207 jeremybenn
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1935 540 jeremybenn
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1936 207 jeremybenn
 
1937
fi
1938 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1939 207 jeremybenn
$as_echo "$ac_cv_build" >&6; }
1940
case $ac_cv_build in
1941
*-*-*) ;;
1942 540 jeremybenn
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1943 207 jeremybenn
esac
1944
build=$ac_cv_build
1945
ac_save_IFS=$IFS; IFS='-'
1946
set x $ac_cv_build
1947
shift
1948
build_cpu=$1
1949
build_vendor=$2
1950
shift; shift
1951
# Remember, the first character of IFS is used to create $*,
1952
# except with old shells:
1953
build_os=$*
1954
IFS=$ac_save_IFS
1955
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1956
 
1957
 
1958 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1959 207 jeremybenn
$as_echo_n "checking host system type... " >&6; }
1960 540 jeremybenn
if test "${ac_cv_host+set}" = set; then :
1961 207 jeremybenn
  $as_echo_n "(cached) " >&6
1962
else
1963
  if test "x$host_alias" = x; then
1964
  ac_cv_host=$ac_cv_build
1965
else
1966
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1967 540 jeremybenn
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1968 207 jeremybenn
fi
1969
 
1970
fi
1971 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1972 207 jeremybenn
$as_echo "$ac_cv_host" >&6; }
1973
case $ac_cv_host in
1974
*-*-*) ;;
1975 540 jeremybenn
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1976 207 jeremybenn
esac
1977
host=$ac_cv_host
1978
ac_save_IFS=$IFS; IFS='-'
1979
set x $ac_cv_host
1980
shift
1981
host_cpu=$1
1982
host_vendor=$2
1983
shift; shift
1984
# Remember, the first character of IFS is used to create $*,
1985
# except with old shells:
1986
host_os=$*
1987
IFS=$ac_save_IFS
1988
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1989
 
1990
 
1991 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1992 207 jeremybenn
$as_echo_n "checking target system type... " >&6; }
1993 540 jeremybenn
if test "${ac_cv_target+set}" = set; then :
1994 207 jeremybenn
  $as_echo_n "(cached) " >&6
1995
else
1996
  if test "x$target_alias" = x; then
1997
  ac_cv_target=$ac_cv_host
1998
else
1999
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2000 540 jeremybenn
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2001 207 jeremybenn
fi
2002
 
2003
fi
2004 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2005 207 jeremybenn
$as_echo "$ac_cv_target" >&6; }
2006
case $ac_cv_target in
2007
*-*-*) ;;
2008 540 jeremybenn
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2009 207 jeremybenn
esac
2010
target=$ac_cv_target
2011
ac_save_IFS=$IFS; IFS='-'
2012
set x $ac_cv_target
2013
shift
2014
target_cpu=$1
2015
target_vendor=$2
2016
shift; shift
2017
# Remember, the first character of IFS is used to create $*,
2018
# except with old shells:
2019
target_os=$*
2020
IFS=$ac_save_IFS
2021
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2022
 
2023
 
2024
# The aliases save the names the user supplied, while $host etc.
2025
# will get canonicalized.
2026
test -n "$target_alias" &&
2027
  test "$program_prefix$program_suffix$program_transform_name" = \
2028
    NONENONEs,x,x, &&
2029
  program_prefix=${target_alias}-
2030 540 jeremybenn
 
2031 207 jeremybenn
am__api_version="1.9"
2032 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2033 207 jeremybenn
$as_echo_n "checking whether build environment is sane... " >&6; }
2034
# Just in case
2035
sleep 1
2036
echo timestamp > conftest.file
2037
# Do `set' in a subshell so we don't clobber the current shell's
2038
# arguments.  Must try -L first in case configure is actually a
2039
# symlink; some systems play weird games with the mod time of symlinks
2040
# (eg FreeBSD returns the mod time of the symlink's containing
2041
# directory).
2042
if (
2043
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2044
   if test "$*" = "X"; then
2045
      # -L didn't work.
2046
      set X `ls -t $srcdir/configure conftest.file`
2047
   fi
2048
   rm -f conftest.file
2049
   if test "$*" != "X $srcdir/configure conftest.file" \
2050
      && test "$*" != "X conftest.file $srcdir/configure"; then
2051
 
2052
      # If neither matched, then we have a broken ls.  This can happen
2053
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2054
      # broken ls alias from the environment.  This has actually
2055
      # happened.  Such a system could not be considered "sane".
2056 540 jeremybenn
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2057
alias in your environment" "$LINENO" 5
2058 207 jeremybenn
   fi
2059
 
2060
   test "$2" = conftest.file
2061
   )
2062
then
2063
   # Ok.
2064
   :
2065
else
2066 540 jeremybenn
   as_fn_error "newly created file is older than distributed files!
2067
Check your system clock" "$LINENO" 5
2068 207 jeremybenn
fi
2069 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2070 207 jeremybenn
$as_echo "yes" >&6; }
2071
test "$program_prefix" != NONE &&
2072
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2073
# Use a double $ so make ignores it.
2074
test "$program_suffix" != NONE &&
2075
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2076
# Double any \ or $.
2077
# By default was `s,x,x', remove it if useless.
2078
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2079
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2080
 
2081
# expand $ac_aux_dir to an absolute path
2082
am_aux_dir=`cd $ac_aux_dir && pwd`
2083
 
2084
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2085
# Use eval to expand $SHELL
2086
if eval "$MISSING --run true"; then
2087
  am_missing_run="$MISSING --run "
2088
else
2089
  am_missing_run=
2090 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2091 207 jeremybenn
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2092
fi
2093
 
2094
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2095
  # We used to keeping the `.' as first argument, in order to
2096
  # allow $(mkdir_p) to be used without argument.  As in
2097
  #   $(mkdir_p) $(somedir)
2098
  # where $(somedir) is conditionally defined.  However this is wrong
2099
  # for two reasons:
2100
  #  1. if the package is installed by a user who cannot write `.'
2101
  #     make install will fail,
2102
  #  2. the above comment should most certainly read
2103
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2104
  #     so it does not work when $(somedir) is undefined and
2105
  #     $(DESTDIR) is not.
2106
  #  To support the latter case, we have to write
2107
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2108
  #  so the `.' trick is pointless.
2109
  mkdir_p='mkdir -p --'
2110
else
2111
  # On NextStep and OpenStep, the `mkdir' command does not
2112
  # recognize any option.  It will interpret all options as
2113
  # directories to create, and then abort because `.' already
2114
  # exists.
2115
  for d in ./-p ./--version;
2116
  do
2117
    test -d $d && rmdir $d
2118
  done
2119
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2120
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2121
    mkdir_p='$(mkinstalldirs)'
2122
  else
2123
    mkdir_p='$(install_sh) -d'
2124
  fi
2125
fi
2126
 
2127
for ac_prog in gawk mawk nawk awk
2128
do
2129
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2130
set dummy $ac_prog; ac_word=$2
2131 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2132 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2133 540 jeremybenn
if test "${ac_cv_prog_AWK+set}" = set; then :
2134 207 jeremybenn
  $as_echo_n "(cached) " >&6
2135
else
2136
  if test -n "$AWK"; then
2137
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2138
else
2139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140
for as_dir in $PATH
2141
do
2142
  IFS=$as_save_IFS
2143
  test -z "$as_dir" && as_dir=.
2144 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2145 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2146
    ac_cv_prog_AWK="$ac_prog"
2147 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2148 207 jeremybenn
    break 2
2149
  fi
2150
done
2151 540 jeremybenn
  done
2152 207 jeremybenn
IFS=$as_save_IFS
2153
 
2154
fi
2155
fi
2156
AWK=$ac_cv_prog_AWK
2157
if test -n "$AWK"; then
2158 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2159 207 jeremybenn
$as_echo "$AWK" >&6; }
2160
else
2161 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2162 207 jeremybenn
$as_echo "no" >&6; }
2163
fi
2164
 
2165
 
2166
  test -n "$AWK" && break
2167
done
2168
 
2169 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2170 207 jeremybenn
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2171
set x ${MAKE-make}
2172
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2173 540 jeremybenn
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 207 jeremybenn
  $as_echo_n "(cached) " >&6
2175
else
2176
  cat >conftest.make <<\_ACEOF
2177
SHELL = /bin/sh
2178
all:
2179
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2180
_ACEOF
2181
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2182
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2183
  *@@@%%%=?*=@@@%%%*)
2184
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2185
  *)
2186
    eval ac_cv_prog_make_${ac_make}_set=no;;
2187
esac
2188
rm -f conftest.make
2189
fi
2190
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2191 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2192 207 jeremybenn
$as_echo "yes" >&6; }
2193
  SET_MAKE=
2194
else
2195 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2196 207 jeremybenn
$as_echo "no" >&6; }
2197
  SET_MAKE="MAKE=${MAKE-make}"
2198
fi
2199
 
2200
rm -rf .tst 2>/dev/null
2201
mkdir .tst 2>/dev/null
2202
if test -d .tst; then
2203
  am__leading_dot=.
2204
else
2205
  am__leading_dot=_
2206
fi
2207
rmdir .tst 2>/dev/null
2208
 
2209
# test to see if srcdir already configured
2210
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2211
   test -f $srcdir/config.status; then
2212 540 jeremybenn
  as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2213 207 jeremybenn
fi
2214
 
2215
# test whether we have cygpath
2216
if test -z "$CYGPATH_W"; then
2217
  if (cygpath --version) >/dev/null 2>/dev/null; then
2218
    CYGPATH_W='cygpath -w'
2219
  else
2220
    CYGPATH_W=echo
2221
  fi
2222
fi
2223
 
2224
 
2225
# Define the identity of the package.
2226
 PACKAGE='libgloss'
2227
 VERSION='LIBGLOSS_VERSION'
2228
 
2229
 
2230
# Some tools Automake needs.
2231
 
2232
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2233
 
2234
 
2235
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2236
 
2237
 
2238
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2239
 
2240
 
2241
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2242
 
2243
 
2244
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2245
 
2246
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2247
 
2248
# Installed binaries are usually stripped using `strip' when the user
2249
# run `make install-strip'.  However `strip' might not be the right
2250
# tool to use in cross-compilation environments, therefore Automake
2251
# will honor the `STRIP' environment variable to overrule this program.
2252
if test "$cross_compiling" != no; then
2253
  if test -n "$ac_tool_prefix"; then
2254
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2255
set dummy ${ac_tool_prefix}strip; ac_word=$2
2256 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2257 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2258 540 jeremybenn
if test "${ac_cv_prog_STRIP+set}" = set; then :
2259 207 jeremybenn
  $as_echo_n "(cached) " >&6
2260
else
2261
  if test -n "$STRIP"; then
2262
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2263
else
2264
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265
for as_dir in $PATH
2266
do
2267
  IFS=$as_save_IFS
2268
  test -z "$as_dir" && as_dir=.
2269 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2270 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2272 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2273 207 jeremybenn
    break 2
2274
  fi
2275
done
2276 540 jeremybenn
  done
2277 207 jeremybenn
IFS=$as_save_IFS
2278
 
2279
fi
2280
fi
2281
STRIP=$ac_cv_prog_STRIP
2282
if test -n "$STRIP"; then
2283 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2284 207 jeremybenn
$as_echo "$STRIP" >&6; }
2285
else
2286 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2287 207 jeremybenn
$as_echo "no" >&6; }
2288
fi
2289
 
2290
 
2291
fi
2292
if test -z "$ac_cv_prog_STRIP"; then
2293
  ac_ct_STRIP=$STRIP
2294
  # Extract the first word of "strip", so it can be a program name with args.
2295
set dummy strip; ac_word=$2
2296 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2297 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2298 540 jeremybenn
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2299 207 jeremybenn
  $as_echo_n "(cached) " >&6
2300
else
2301
  if test -n "$ac_ct_STRIP"; then
2302
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2303
else
2304
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305
for as_dir in $PATH
2306
do
2307
  IFS=$as_save_IFS
2308
  test -z "$as_dir" && as_dir=.
2309 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2310 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2311
    ac_cv_prog_ac_ct_STRIP="strip"
2312 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 207 jeremybenn
    break 2
2314
  fi
2315
done
2316 540 jeremybenn
  done
2317 207 jeremybenn
IFS=$as_save_IFS
2318
 
2319
fi
2320
fi
2321
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2322
if test -n "$ac_ct_STRIP"; then
2323 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2324 207 jeremybenn
$as_echo "$ac_ct_STRIP" >&6; }
2325
else
2326 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2327 207 jeremybenn
$as_echo "no" >&6; }
2328
fi
2329
 
2330
  if test "x$ac_ct_STRIP" = x; then
2331
    STRIP=":"
2332
  else
2333
    case $cross_compiling:$ac_tool_warned in
2334
yes:)
2335 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2336 207 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2337
ac_tool_warned=yes ;;
2338
esac
2339
    STRIP=$ac_ct_STRIP
2340
  fi
2341
else
2342
  STRIP="$ac_cv_prog_STRIP"
2343
fi
2344
 
2345
fi
2346
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2347
 
2348
# We need awk for the "check" target.  The system "awk" is bad on
2349
# some platforms.
2350
# Always define AMTAR for backward compatibility.
2351
 
2352
AMTAR=${AMTAR-"${am_missing_run}tar"}
2353
 
2354
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2355
 
2356
 
2357
 
2358
 
2359
 
2360
 
2361
if test -z "${with_multisubdir}" ; then
2362
 
2363
 
2364
subdirs="$subdirs doc"
2365
 
2366
fi
2367
 
2368
config_testsuite=true
2369
 
2370
config_libnosys=true
2371
 
2372
case "${target}" in
2373
  i[3456]86-*-elf* | i[3456]86-*-coff*)
2374
        subdirs="$subdirs i386"
2375
 
2376
        ;;
2377
  m32r-*-*)
2378
        subdirs="$subdirs m32r"
2379
 
2380
        ;;
2381
  m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
2382
        subdirs="$subdirs m68hc11"
2383
 
2384
        ;;
2385
  fido-*-* | m68*-*-*)
2386
        subdirs="$subdirs m68k"
2387
 
2388
        ;;
2389
  hppa*-*-pro*)
2390
        subdirs="$subdirs pa"
2391
 
2392
        ;;
2393
  i960-*-coff)
2394
        subdirs="$subdirs i960"
2395
 
2396
        ;;
2397
  sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
2398
        subdirs="$subdirs sparc"
2399
 
2400
        ;;
2401
  sh*-*-pe | mips*-*-pe | *arm-wince-pe)
2402
        subdirs="$subdirs wince"
2403
 
2404
        ;;
2405
  mips*-*-*)
2406
        subdirs="$subdirs mips"
2407
 
2408
        ;;
2409
  powerpc-*-*|powerpcle-*-*)
2410
        subdirs="$subdirs rs6000"
2411
 
2412
        ;;
2413
  mn10200-*-*)
2414
        subdirs="$subdirs mn10200"
2415
 
2416
        ;;
2417
  mn10300-*-*)
2418
        subdirs="$subdirs mn10300"
2419
 
2420
        ;;
2421
  bfin-*-*)
2422
        subdirs="$subdirs bfin"
2423
 
2424
        ;;
2425
  cris-*-* | crisv32-*-*)
2426
        subdirs="$subdirs cris"
2427
 
2428
        ;;
2429
  crx-*-*)
2430
        subdirs="$subdirs crx"
2431
 
2432
        ;;
2433
  d30v-*-*)
2434
        subdirs="$subdirs d30v"
2435
 
2436
        ;;
2437
  fr30-*-*)
2438
        subdirs="$subdirs fr30"
2439
 
2440
        ;;
2441
  frv*-*-*)
2442
        subdirs="$subdirs frv"
2443
 
2444
        ;;
2445
  lm32*-*-*)
2446
        subdirs="$subdirs lm32"
2447
 
2448
        ;;
2449
  mcore-*-*)
2450
        subdirs="$subdirs mcore"
2451
 
2452
        ;;
2453
  mep-*-*)
2454
        subdirs="$subdirs mep"
2455
 
2456
        ;;
2457
  moxie-*-*)
2458
        subdirs="$subdirs moxie"
2459
 
2460
        ;;
2461
  microblaze-*-*)
2462
        subdirs="$subdirs microblaze"
2463
 
2464
        ;;
2465
  mt-*-*)
2466
        subdirs="$subdirs mt"
2467
 
2468
        ;;
2469
  xc16x-*-*)
2470
        subdirs="$subdirs xc16x"
2471
 
2472
        ;;
2473
  xstormy16-*-*)
2474
        subdirs="$subdirs xstormy16"
2475
 
2476
        ;;
2477
  m32c-*-*)
2478
        subdirs="$subdirs m32c"
2479
 
2480
        ;;
2481
  rx*-*-elf)
2482
        subdirs="$subdirs rx"
2483
 
2484
        ;;
2485
  strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*)
2486
        subdirs="$subdirs arm"
2487
 
2488
        ;;
2489
  spu-*-elf)
2490
        subdirs="$subdirs spu"
2491
 
2492
        config_testsuite=false
2493
        config_libnosys=false
2494
        ;;
2495
  or32-*-*)
2496
        subdirs="$subdirs or32"
2497
 
2498
        ;;
2499
  iq2000-*-*)
2500
        subdirs="$subdirs iq2000"
2501
 
2502
        ;;
2503
esac
2504
 
2505
 
2506
if test "${config_libnosys}" = "true"; then
2507
  subdirs="$subdirs libnosys"
2508
 
2509
fi
2510
 
2511
DEPDIR="${am__leading_dot}deps"
2512
 
2513
ac_config_commands="$ac_config_commands depfiles"
2514
 
2515
 
2516
am_make=${MAKE-make}
2517
cat > confinc << 'END'
2518
am__doit:
2519
        @echo done
2520
.PHONY: am__doit
2521
END
2522
# If we don't find an include directive, just comment out the code.
2523 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2524 207 jeremybenn
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2525
am__include="#"
2526
am__quote=
2527
_am_result=none
2528
# First try GNU make style include.
2529
echo "include confinc" > confmf
2530
# We grep out `Entering directory' and `Leaving directory'
2531
# messages which can occur if `w' ends up in MAKEFLAGS.
2532
# In particular we don't look at `^make:' because GNU make might
2533
# be invoked under some other name (usually "gmake"), in which
2534
# case it prints its new name instead of `make'.
2535
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2536
   am__include=include
2537
   am__quote=
2538
   _am_result=GNU
2539
fi
2540
# Now try BSD make style include.
2541
if test "$am__include" = "#"; then
2542
   echo '.include "confinc"' > confmf
2543
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2544
      am__include=.include
2545
      am__quote="\""
2546
      _am_result=BSD
2547
   fi
2548
fi
2549
 
2550
 
2551 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2552 207 jeremybenn
$as_echo "$_am_result" >&6; }
2553
rm -f confinc confmf
2554
 
2555
# Check whether --enable-dependency-tracking was given.
2556 540 jeremybenn
if test "${enable_dependency_tracking+set}" = set; then :
2557 207 jeremybenn
  enableval=$enable_dependency_tracking;
2558
fi
2559
 
2560
if test "x$enable_dependency_tracking" != xno; then
2561
  am_depcomp="$ac_aux_dir/depcomp"
2562
  AMDEPBACKSLASH='\'
2563
fi
2564
 
2565
 
2566
if test "x$enable_dependency_tracking" != xno; then
2567
  AMDEP_TRUE=
2568
  AMDEP_FALSE='#'
2569
else
2570
  AMDEP_TRUE='#'
2571
  AMDEP_FALSE=
2572
fi
2573
 
2574
 
2575
 
2576
# Extract the first word of "gcc", so it can be a program name with args.
2577
set dummy gcc; ac_word=$2
2578 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2579 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2580 540 jeremybenn
if test "${ac_cv_prog_CC+set}" = set; then :
2581 207 jeremybenn
  $as_echo_n "(cached) " >&6
2582
else
2583
  if test -n "$CC"; then
2584
  ac_cv_prog_CC="$CC" # Let the user override the test.
2585
else
2586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587
for as_dir in $PATH
2588
do
2589
  IFS=$as_save_IFS
2590
  test -z "$as_dir" && as_dir=.
2591 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2592 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593
    ac_cv_prog_CC="gcc"
2594 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 207 jeremybenn
    break 2
2596
  fi
2597
done
2598 540 jeremybenn
  done
2599 207 jeremybenn
IFS=$as_save_IFS
2600
 
2601
fi
2602
fi
2603
CC=$ac_cv_prog_CC
2604
if test -n "$CC"; then
2605 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2606 207 jeremybenn
$as_echo "$CC" >&6; }
2607
else
2608 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2609 207 jeremybenn
$as_echo "no" >&6; }
2610
fi
2611
 
2612
 
2613
 
2614
depcc="$CC"   am_compiler_list=
2615
 
2616 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2617 207 jeremybenn
$as_echo_n "checking dependency style of $depcc... " >&6; }
2618 540 jeremybenn
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
2619 207 jeremybenn
  $as_echo_n "(cached) " >&6
2620
else
2621
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2622
  # We make a subdir and do the tests there.  Otherwise we can end up
2623
  # making bogus files that we don't know about and never remove.  For
2624
  # instance it was reported that on HP-UX the gcc test will end up
2625
  # making a dummy file named `D' -- because `-MD' means `put the output
2626
  # in D'.
2627
  mkdir conftest.dir
2628
  # Copy depcomp to subdir because otherwise we won't find it if we're
2629
  # using a relative directory.
2630
  cp "$am_depcomp" conftest.dir
2631
  cd conftest.dir
2632
  # We will build objects and dependencies in a subdirectory because
2633
  # it helps to detect inapplicable dependency modes.  For instance
2634
  # both Tru64's cc and ICC support -MD to output dependencies as a
2635
  # side effect of compilation, but ICC will put the dependencies in
2636
  # the current directory while Tru64 will put them in the object
2637
  # directory.
2638
  mkdir sub
2639
 
2640
  am_cv_CC_dependencies_compiler_type=none
2641
  if test "$am_compiler_list" = ""; then
2642
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2643
  fi
2644
  for depmode in $am_compiler_list; do
2645
    # Setup a source with many dependencies, because some compilers
2646
    # like to wrap large dependency lists on column 80 (with \), and
2647
    # we should not choose a depcomp mode which is confused by this.
2648
    #
2649
    # We need to recreate these files for each test, as the compiler may
2650
    # overwrite some of them when testing with obscure command lines.
2651
    # This happens at least with the AIX C compiler.
2652
    : > sub/conftest.c
2653
    for i in 1 2 3 4 5 6; do
2654
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2655
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2656
      # Solaris 8's {/usr,}/bin/sh.
2657
      touch sub/conftst$i.h
2658
    done
2659
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2660
 
2661
    case $depmode in
2662
    nosideeffect)
2663
      # after this tag, mechanisms are not by side-effect, so they'll
2664
      # only be used when explicitly requested
2665
      if test "x$enable_dependency_tracking" = xyes; then
2666
        continue
2667
      else
2668
        break
2669
      fi
2670
      ;;
2671
    none) break ;;
2672
    esac
2673
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2674
    # mode.  It turns out that the SunPro C++ compiler does not properly
2675
    # handle `-M -o', and we need to detect this.
2676
    if depmode=$depmode \
2677
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2678
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2679
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2680
         >/dev/null 2>conftest.err &&
2681
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2682
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2683
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2684
      # icc doesn't choke on unknown options, it will just issue warnings
2685
      # or remarks (even with -Werror).  So we grep stderr for any message
2686
      # that says an option was ignored or not supported.
2687
      # When given -MP, icc 7.0 and 7.1 complain thusly:
2688
      #   icc: Command line warning: ignoring option '-M'; no argument required
2689
      # The diagnosis changed in icc 8.0:
2690
      #   icc: Command line remark: option '-MP' not supported
2691
      if (grep 'ignoring option' conftest.err ||
2692
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2693
        am_cv_CC_dependencies_compiler_type=$depmode
2694
        break
2695
      fi
2696
    fi
2697
  done
2698
 
2699
  cd ..
2700
  rm -rf conftest.dir
2701
else
2702
  am_cv_CC_dependencies_compiler_type=none
2703
fi
2704
 
2705
fi
2706 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2707 207 jeremybenn
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2708
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2709
 
2710
 
2711
 
2712
if
2713
  test "x$enable_dependency_tracking" != xno \
2714
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2715
  am__fastdepCC_TRUE=
2716
  am__fastdepCC_FALSE='#'
2717
else
2718
  am__fastdepCC_TRUE='#'
2719
  am__fastdepCC_FALSE=
2720
fi
2721
 
2722
 
2723
if test -z "$CC"; then
2724
  # Extract the first word of "cc", so it can be a program name with args.
2725
set dummy cc; ac_word=$2
2726 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2728 540 jeremybenn
if test "${ac_cv_prog_CC+set}" = set; then :
2729 207 jeremybenn
  $as_echo_n "(cached) " >&6
2730
else
2731
  if test -n "$CC"; then
2732
  ac_cv_prog_CC="$CC" # Let the user override the test.
2733
else
2734
  ac_prog_rejected=no
2735
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736
for as_dir in $PATH
2737
do
2738
  IFS=$as_save_IFS
2739
  test -z "$as_dir" && as_dir=.
2740 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2741 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2743
       ac_prog_rejected=yes
2744
       continue
2745
     fi
2746
    ac_cv_prog_CC="cc"
2747 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 207 jeremybenn
    break 2
2749
  fi
2750
done
2751 540 jeremybenn
  done
2752 207 jeremybenn
IFS=$as_save_IFS
2753
 
2754
if test $ac_prog_rejected = yes; then
2755
  # We found a bogon in the path, so make sure we never use it.
2756
  set dummy $ac_cv_prog_CC
2757
  shift
2758
  if test $# != 0; then
2759
    # We chose a different compiler from the bogus one.
2760
    # However, it has the same basename, so the bogon will be chosen
2761
    # first if we set CC to just the basename; use the full file name.
2762
    shift
2763
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2764
  fi
2765
fi
2766
fi
2767
fi
2768
CC=$ac_cv_prog_CC
2769
if test -n "$CC"; then
2770 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2771 207 jeremybenn
$as_echo "$CC" >&6; }
2772
else
2773 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2774 207 jeremybenn
$as_echo "no" >&6; }
2775
fi
2776
 
2777
 
2778 540 jeremybenn
  test -z "$CC" && as_fn_error "no acceptable cc found in \$PATH" "$LINENO" 5
2779 207 jeremybenn
fi
2780
 
2781 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
2782 207 jeremybenn
$as_echo_n "checking whether we are using GNU C... " >&6; }
2783 540 jeremybenn
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2784 207 jeremybenn
  $as_echo_n "(cached) " >&6
2785
else
2786
  cat > conftest.c <
2787
#ifdef __GNUC__
2788
  yes;
2789
#endif
2790
EOF
2791
if { ac_try='${CC-cc} -E conftest.c'
2792 540 jeremybenn
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2793 207 jeremybenn
  (eval $ac_try) 2>&5
2794
  ac_status=$?
2795 540 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796
  test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
2797 207 jeremybenn
  ac_cv_c_compiler_gnu=yes
2798
else
2799
  ac_cv_c_compiler_gnu=no
2800
fi
2801
fi
2802 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2803 207 jeremybenn
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2804
 
2805
if test $ac_cv_c_compiler_gnu = yes; then
2806
  GCC=yes
2807
  ac_test_CFLAGS="${CFLAGS+set}"
2808
  ac_save_CFLAGS="$CFLAGS"
2809
  CFLAGS=
2810
  ac_test_CFLAGS=${CFLAGS+set}
2811
ac_save_CFLAGS=$CFLAGS
2812 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2813 207 jeremybenn
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2814 540 jeremybenn
if test "${ac_cv_prog_cc_g+set}" = set; then :
2815 207 jeremybenn
  $as_echo_n "(cached) " >&6
2816
else
2817
  ac_save_c_werror_flag=$ac_c_werror_flag
2818
   ac_c_werror_flag=yes
2819
   ac_cv_prog_cc_g=no
2820
   CFLAGS="-g"
2821 540 jeremybenn
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 207 jeremybenn
/* end confdefs.h.  */
2823
 
2824
int
2825
main ()
2826
{
2827
 
2828
  ;
2829
  return 0;
2830
}
2831
_ACEOF
2832 540 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
2833 207 jeremybenn
  ac_cv_prog_cc_g=yes
2834
else
2835 540 jeremybenn
  CFLAGS=""
2836
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 207 jeremybenn
/* end confdefs.h.  */
2838
 
2839
int
2840
main ()
2841
{
2842
 
2843
  ;
2844
  return 0;
2845
}
2846
_ACEOF
2847 540 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
2848
 
2849 207 jeremybenn
else
2850 540 jeremybenn
  ac_c_werror_flag=$ac_save_c_werror_flag
2851 207 jeremybenn
         CFLAGS="-g"
2852 540 jeremybenn
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 207 jeremybenn
/* end confdefs.h.  */
2854
 
2855
int
2856
main ()
2857
{
2858
 
2859
  ;
2860
  return 0;
2861
}
2862
_ACEOF
2863 540 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
2864 207 jeremybenn
  ac_cv_prog_cc_g=yes
2865
fi
2866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867
fi
2868
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869
fi
2870
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871
   ac_c_werror_flag=$ac_save_c_werror_flag
2872
fi
2873 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2874 207 jeremybenn
$as_echo "$ac_cv_prog_cc_g" >&6; }
2875
if test "$ac_test_CFLAGS" = set; then
2876
  CFLAGS=$ac_save_CFLAGS
2877
elif test $ac_cv_prog_cc_g = yes; then
2878
  if test "$GCC" = yes; then
2879
    CFLAGS="-g -O2"
2880
  else
2881
    CFLAGS="-g"
2882
  fi
2883
else
2884
  if test "$GCC" = yes; then
2885
    CFLAGS="-O2"
2886
  else
2887
    CFLAGS=
2888
  fi
2889
fi
2890
  if test "$ac_test_CFLAGS" = set; then
2891
    CFLAGS="$ac_save_CFLAGS"
2892
  elif test $ac_cv_prog_cc_g = yes; then
2893
    CFLAGS="-g -O2"
2894
  else
2895
    CFLAGS="-O2"
2896
  fi
2897
else
2898
  GCC=
2899
  test "${CFLAGS+set}" = set || CFLAGS="-g"
2900
fi
2901
 
2902
AS=${AS-as}
2903
 
2904
# Extract the first word of "ar", so it can be a program name with args.
2905
set dummy ar; ac_word=$2
2906 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2907 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2908 540 jeremybenn
if test "${ac_cv_prog_AR+set}" = set; then :
2909 207 jeremybenn
  $as_echo_n "(cached) " >&6
2910
else
2911
  if test -n "$AR"; then
2912
  ac_cv_prog_AR="$AR" # Let the user override the test.
2913
else
2914
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915
for as_dir in $PATH
2916
do
2917
  IFS=$as_save_IFS
2918
  test -z "$as_dir" && as_dir=.
2919 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2920 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2921
    ac_cv_prog_AR="ar"
2922 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 207 jeremybenn
    break 2
2924
  fi
2925
done
2926 540 jeremybenn
  done
2927 207 jeremybenn
IFS=$as_save_IFS
2928
 
2929
  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":"
2930
fi
2931
fi
2932
AR=$ac_cv_prog_AR
2933
if test -n "$AR"; then
2934 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2935 207 jeremybenn
$as_echo "$AR" >&6; }
2936
else
2937 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 207 jeremybenn
$as_echo "no" >&6; }
2939
fi
2940
 
2941
 
2942
AR=${AR-ar}
2943
 
2944
LD=${LD-ld}
2945
 
2946
if test -n "$ac_tool_prefix"; then
2947
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2948
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2949 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2951 540 jeremybenn
if test "${ac_cv_prog_RANLIB+set}" = set; then :
2952 207 jeremybenn
  $as_echo_n "(cached) " >&6
2953
else
2954
  if test -n "$RANLIB"; then
2955
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2956
else
2957
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958
for as_dir in $PATH
2959
do
2960
  IFS=$as_save_IFS
2961
  test -z "$as_dir" && as_dir=.
2962 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2963 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2964
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2965 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 207 jeremybenn
    break 2
2967
  fi
2968
done
2969 540 jeremybenn
  done
2970 207 jeremybenn
IFS=$as_save_IFS
2971
 
2972
fi
2973
fi
2974
RANLIB=$ac_cv_prog_RANLIB
2975
if test -n "$RANLIB"; then
2976 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2977 207 jeremybenn
$as_echo "$RANLIB" >&6; }
2978
else
2979 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980 207 jeremybenn
$as_echo "no" >&6; }
2981
fi
2982
 
2983
 
2984
fi
2985
if test -z "$ac_cv_prog_RANLIB"; then
2986
  ac_ct_RANLIB=$RANLIB
2987
  # Extract the first word of "ranlib", so it can be a program name with args.
2988
set dummy ranlib; ac_word=$2
2989 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 207 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2991 540 jeremybenn
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2992 207 jeremybenn
  $as_echo_n "(cached) " >&6
2993
else
2994
  if test -n "$ac_ct_RANLIB"; then
2995
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2996
else
2997
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2998
for as_dir in $PATH
2999
do
3000
  IFS=$as_save_IFS
3001
  test -z "$as_dir" && as_dir=.
3002 540 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3003 207 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3004
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3005 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 207 jeremybenn
    break 2
3007
  fi
3008
done
3009 540 jeremybenn
  done
3010 207 jeremybenn
IFS=$as_save_IFS
3011
 
3012
fi
3013
fi
3014
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3015
if test -n "$ac_ct_RANLIB"; then
3016 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3017 207 jeremybenn
$as_echo "$ac_ct_RANLIB" >&6; }
3018
else
3019 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 207 jeremybenn
$as_echo "no" >&6; }
3021
fi
3022
 
3023
  if test "x$ac_ct_RANLIB" = x; then
3024
    RANLIB=":"
3025
  else
3026
    case $cross_compiling:$ac_tool_warned in
3027
yes:)
3028 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3029 207 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3030
ac_tool_warned=yes ;;
3031
esac
3032
    RANLIB=$ac_ct_RANLIB
3033
  fi
3034
else
3035
  RANLIB="$ac_cv_prog_RANLIB"
3036
fi
3037
 
3038
# By default we simply use the C compiler to build assembly code.
3039
 
3040
test "${CCAS+set}" = set || CCAS=$CC
3041
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3042
 
3043
 
3044
 
3045
 
3046
host_makefile_frag=${srcdir}/config/default.mh
3047
 
3048
host_makefile_frag_path=$host_makefile_frag
3049
 
3050
 
3051
 
3052
if test "${multilib}" = "yes"; then
3053
  multilib_arg="--enable-multilib"
3054
else
3055
  multilib_arg=
3056
fi
3057
 
3058
# for now, only add multilibs for specific targets
3059
ac_config_files="$ac_config_files Makefile"
3060
 
3061
cat >confcache <<\_ACEOF
3062
# This file is a shell script that caches the results of configure
3063
# tests run on this system so they can be shared between configure
3064
# scripts and configure runs, see configure's option --config-cache.
3065
# It is not useful on other systems.  If it contains results you don't
3066
# want to keep, you may remove or edit it.
3067
#
3068
# config.status only pays attention to the cache file if you give it
3069
# the --recheck option to rerun configure.
3070
#
3071
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3072
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3073
# following values.
3074
 
3075
_ACEOF
3076
 
3077
# The following way of writing the cache mishandles newlines in values,
3078
# but we know of no workaround that is simple, portable, and efficient.
3079
# So, we kill variables containing newlines.
3080
# Ultrix sh set writes to stderr and can't be redirected directly,
3081
# and sets the high bit in the cache file unless we assign to the vars.
3082
(
3083
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3084
    eval ac_val=\$$ac_var
3085
    case $ac_val in #(
3086
    *${as_nl}*)
3087
      case $ac_var in #(
3088 540 jeremybenn
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3089 207 jeremybenn
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3090
      esac
3091
      case $ac_var in #(
3092
      _ | IFS | as_nl) ;; #(
3093
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3094 540 jeremybenn
      *) { eval $ac_var=; unset $ac_var;} ;;
3095 207 jeremybenn
      esac ;;
3096
    esac
3097
  done
3098
 
3099
  (set) 2>&1 |
3100
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3101
    *${as_nl}ac_space=\ *)
3102 540 jeremybenn
      # `set' does not quote correctly, so add quotes: double-quote
3103
      # substitution turns \\\\ into \\, and sed turns \\ into \.
3104 207 jeremybenn
      sed -n \
3105
        "s/'/'\\\\''/g;
3106
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3107
      ;; #(
3108
    *)
3109
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3110
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3111
      ;;
3112
    esac |
3113
    sort
3114
) |
3115
  sed '
3116
     /^ac_cv_env_/b end
3117
     t clear
3118
     :clear
3119
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3120
     t end
3121
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3122
     :end' >>confcache
3123
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3124
  if test -w "$cache_file"; then
3125
    test "x$cache_file" != "x/dev/null" &&
3126 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3127 207 jeremybenn
$as_echo "$as_me: updating cache $cache_file" >&6;}
3128
    cat confcache >$cache_file
3129
  else
3130 540 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3131 207 jeremybenn
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3132
  fi
3133
fi
3134
rm -f confcache
3135
 
3136
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3137
# Let make expand exec_prefix.
3138
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3139
 
3140
# Transform confdefs.h into DEFS.
3141
# Protect against shell expansion while executing Makefile rules.
3142
# Protect against Makefile macro expansion.
3143
#
3144
# If the first sed substitution is executed (which looks for macros that
3145
# take arguments), then branch to the quote section.  Otherwise,
3146
# look for a macro that doesn't take arguments.
3147
ac_script='
3148
:mline
3149
/\\$/{
3150
 N
3151
 s,\\\n,,
3152
 b mline
3153
}
3154
t clear
3155
:clear
3156
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3157
t quote
3158
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3159
t quote
3160
b any
3161
:quote
3162
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3163
s/\[/\\&/g
3164
s/\]/\\&/g
3165
s/\$/$$/g
3166
H
3167
:any
3168
${
3169
        g
3170
        s/^\n//
3171
        s/\n/ /g
3172
        p
3173
}
3174
'
3175
DEFS=`sed -n "$ac_script" confdefs.h`
3176
 
3177
 
3178
ac_libobjs=
3179
ac_ltlibobjs=
3180
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3181
  # 1. Remove the extension, and $U if already installed.
3182
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3183
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3184
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3185
  #    will be set to the directory where LIBOBJS objects are built.
3186 540 jeremybenn
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3187
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3188 207 jeremybenn
done
3189
LIBOBJS=$ac_libobjs
3190
 
3191
LTLIBOBJS=$ac_ltlibobjs
3192
 
3193
 
3194
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3195 540 jeremybenn
  as_fn_error "conditional \"AMDEP\" was never defined.
3196
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3197 207 jeremybenn
fi
3198
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3199 540 jeremybenn
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
3200
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3201 207 jeremybenn
fi
3202
 
3203
: ${CONFIG_STATUS=./config.status}
3204
ac_write_fail=0
3205
ac_clean_files_save=$ac_clean_files
3206
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3207 540 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3208 207 jeremybenn
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3209 540 jeremybenn
as_write_fail=0
3210
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3211 207 jeremybenn
#! $SHELL
3212
# Generated by $as_me.
3213
# Run this file to recreate the current configuration.
3214
# Compiler output produced by configure, useful for debugging
3215
# configure, is in config.log if it exists.
3216
 
3217
debug=false
3218
ac_cs_recheck=false
3219
ac_cs_silent=false
3220 540 jeremybenn
 
3221 207 jeremybenn
SHELL=\${CONFIG_SHELL-$SHELL}
3222 540 jeremybenn
export SHELL
3223
_ASEOF
3224
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3225
## -------------------- ##
3226
## M4sh Initialization. ##
3227
## -------------------- ##
3228 207 jeremybenn
 
3229
# Be more Bourne compatible
3230
DUALCASE=1; export DUALCASE # for MKS sh
3231 540 jeremybenn
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3232 207 jeremybenn
  emulate sh
3233
  NULLCMD=:
3234
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3235
  # is contrary to our usage.  Disable this feature.
3236
  alias -g '${1+"$@"}'='"$@"'
3237
  setopt NO_GLOB_SUBST
3238
else
3239 540 jeremybenn
  case `(set -o) 2>/dev/null` in #(
3240
  *posix*) :
3241
    set -o posix ;; #(
3242
  *) :
3243
     ;;
3244 207 jeremybenn
esac
3245
fi
3246
 
3247
 
3248
as_nl='
3249
'
3250
export as_nl
3251
# Printing a long string crashes Solaris 7 /usr/bin/printf.
3252
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3253
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3254
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3255 540 jeremybenn
# Prefer a ksh shell builtin over an external printf program on Solaris,
3256
# but without wasting forks for bash or zsh.
3257
if test -z "$BASH_VERSION$ZSH_VERSION" \
3258
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3259
  as_echo='print -r --'
3260
  as_echo_n='print -rn --'
3261
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3262 207 jeremybenn
  as_echo='printf %s\n'
3263
  as_echo_n='printf %s'
3264
else
3265
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3266
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3267
    as_echo_n='/usr/ucb/echo -n'
3268
  else
3269
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3270
    as_echo_n_body='eval
3271
      arg=$1;
3272 540 jeremybenn
      case $arg in #(
3273 207 jeremybenn
      *"$as_nl"*)
3274
        expr "X$arg" : "X\\(.*\\)$as_nl";
3275
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3276
      esac;
3277
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3278
    '
3279
    export as_echo_n_body
3280
    as_echo_n='sh -c $as_echo_n_body as_echo'
3281
  fi
3282
  export as_echo_body
3283
  as_echo='sh -c $as_echo_body as_echo'
3284
fi
3285
 
3286
# The user is always right.
3287
if test "${PATH_SEPARATOR+set}" != set; then
3288
  PATH_SEPARATOR=:
3289
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3290
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3291
      PATH_SEPARATOR=';'
3292
  }
3293
fi
3294
 
3295
 
3296
# IFS
3297
# We need space, tab and new line, in precisely that order.  Quoting is
3298
# there to prevent editors from complaining about space-tab.
3299
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3300
# splitting by setting IFS to empty value.)
3301
IFS=" ""        $as_nl"
3302
 
3303
# Find who we are.  Look in the path if we contain no directory separator.
3304 540 jeremybenn
case $0 in #((
3305 207 jeremybenn
  *[\\/]* ) as_myself=$0 ;;
3306
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307
for as_dir in $PATH
3308
do
3309
  IFS=$as_save_IFS
3310
  test -z "$as_dir" && as_dir=.
3311 540 jeremybenn
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3312
  done
3313 207 jeremybenn
IFS=$as_save_IFS
3314
 
3315
     ;;
3316
esac
3317
# We did not find ourselves, most probably we were run as `sh COMMAND'
3318
# in which case we are not to be found in the path.
3319
if test "x$as_myself" = x; then
3320
  as_myself=$0
3321
fi
3322
if test ! -f "$as_myself"; then
3323
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3324 540 jeremybenn
  exit 1
3325 207 jeremybenn
fi
3326
 
3327 540 jeremybenn
# Unset variables that we do not need and which cause bugs (e.g. in
3328
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3329
# suppresses any "Segmentation fault" message there.  '((' could
3330
# trigger a bug in pdksh 5.2.14.
3331
for as_var in BASH_ENV ENV MAIL MAILPATH
3332
do eval test x\${$as_var+set} = xset \
3333
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3334 207 jeremybenn
done
3335
PS1='$ '
3336
PS2='> '
3337
PS4='+ '
3338
 
3339
# NLS nuisances.
3340
LC_ALL=C
3341
export LC_ALL
3342
LANGUAGE=C
3343
export LANGUAGE
3344
 
3345 540 jeremybenn
# CDPATH.
3346
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3347
 
3348
 
3349
# as_fn_error ERROR [LINENO LOG_FD]
3350
# ---------------------------------
3351
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3352
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3353
# script with status $?, using 1 if that was 0.
3354
as_fn_error ()
3355
{
3356
  as_status=$?; test $as_status -eq 0 && as_status=1
3357
  if test "$3"; then
3358
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3359
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3360
  fi
3361
  $as_echo "$as_me: error: $1" >&2
3362
  as_fn_exit $as_status
3363
} # as_fn_error
3364
 
3365
 
3366
# as_fn_set_status STATUS
3367
# -----------------------
3368
# Set $? to STATUS, without forking.
3369
as_fn_set_status ()
3370
{
3371
  return $1
3372
} # as_fn_set_status
3373
 
3374
# as_fn_exit STATUS
3375
# -----------------
3376
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3377
as_fn_exit ()
3378
{
3379
  set +e
3380
  as_fn_set_status $1
3381
  exit $1
3382
} # as_fn_exit
3383
 
3384
# as_fn_unset VAR
3385
# ---------------
3386
# Portably unset VAR.
3387
as_fn_unset ()
3388
{
3389
  { eval $1=; unset $1;}
3390
}
3391
as_unset=as_fn_unset
3392
# as_fn_append VAR VALUE
3393
# ----------------------
3394
# Append the text in VALUE to the end of the definition contained in VAR. Take
3395
# advantage of any shell optimizations that allow amortized linear growth over
3396
# repeated appends, instead of the typical quadratic growth present in naive
3397
# implementations.
3398
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3399
  eval 'as_fn_append ()
3400
  {
3401
    eval $1+=\$2
3402
  }'
3403
else
3404
  as_fn_append ()
3405
  {
3406
    eval $1=\$$1\$2
3407
  }
3408
fi # as_fn_append
3409
 
3410
# as_fn_arith ARG...
3411
# ------------------
3412
# Perform arithmetic evaluation on the ARGs, and store the result in the
3413
# global $as_val. Take advantage of shells that can avoid forks. The arguments
3414
# must be portable across $(()) and expr.
3415
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3416
  eval 'as_fn_arith ()
3417
  {
3418
    as_val=$(( $* ))
3419
  }'
3420
else
3421
  as_fn_arith ()
3422
  {
3423
    as_val=`expr "$@" || test $? -eq 1`
3424
  }
3425
fi # as_fn_arith
3426
 
3427
 
3428 207 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
3429
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3430
  as_expr=expr
3431
else
3432
  as_expr=false
3433
fi
3434
 
3435
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3436
  as_basename=basename
3437
else
3438
  as_basename=false
3439
fi
3440
 
3441 540 jeremybenn
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3442
  as_dirname=dirname
3443
else
3444
  as_dirname=false
3445
fi
3446 207 jeremybenn
 
3447
as_me=`$as_basename -- "$0" ||
3448
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3449
         X"$0" : 'X\(//\)$' \| \
3450
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3451
$as_echo X/"$0" |
3452
    sed '/^.*\/\([^/][^/]*\)\/*$/{
3453
            s//\1/
3454
            q
3455
          }
3456
          /^X\/\(\/\/\)$/{
3457
            s//\1/
3458
            q
3459
          }
3460
          /^X\/\(\/\).*/{
3461
            s//\1/
3462
            q
3463
          }
3464
          s/.*/./; q'`
3465
 
3466 540 jeremybenn
# Avoid depending upon Character Ranges.
3467
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3468
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3469
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3470
as_cr_digits='0123456789'
3471
as_cr_alnum=$as_cr_Letters$as_cr_digits
3472 207 jeremybenn
 
3473
ECHO_C= ECHO_N= ECHO_T=
3474 540 jeremybenn
case `echo -n x` in #(((((
3475 207 jeremybenn
-n*)
3476 540 jeremybenn
  case `echo 'xy\c'` in
3477 207 jeremybenn
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3478 540 jeremybenn
  xy)  ECHO_C='\c';;
3479
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3480
       ECHO_T=' ';;
3481 207 jeremybenn
  esac;;
3482
*)
3483
  ECHO_N='-n';;
3484
esac
3485
 
3486
rm -f conf$$ conf$$.exe conf$$.file
3487
if test -d conf$$.dir; then
3488
  rm -f conf$$.dir/conf$$.file
3489
else
3490
  rm -f conf$$.dir
3491
  mkdir conf$$.dir 2>/dev/null
3492
fi
3493
if (echo >conf$$.file) 2>/dev/null; then
3494
  if ln -s conf$$.file conf$$ 2>/dev/null; then
3495
    as_ln_s='ln -s'
3496
    # ... but there are two gotchas:
3497
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3498
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3499
    # In both cases, we have to default to `cp -p'.
3500
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3501
      as_ln_s='cp -p'
3502
  elif ln conf$$.file conf$$ 2>/dev/null; then
3503
    as_ln_s=ln
3504
  else
3505
    as_ln_s='cp -p'
3506
  fi
3507
else
3508
  as_ln_s='cp -p'
3509
fi
3510
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3511
rmdir conf$$.dir 2>/dev/null
3512
 
3513 540 jeremybenn
 
3514
# as_fn_mkdir_p
3515
# -------------
3516
# Create "$as_dir" as a directory, including parents if necessary.
3517
as_fn_mkdir_p ()
3518
{
3519
 
3520
  case $as_dir in #(
3521
  -*) as_dir=./$as_dir;;
3522
  esac
3523
  test -d "$as_dir" || eval $as_mkdir_p || {
3524
    as_dirs=
3525
    while :; do
3526
      case $as_dir in #(
3527
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3528
      *) as_qdir=$as_dir;;
3529
      esac
3530
      as_dirs="'$as_qdir' $as_dirs"
3531
      as_dir=`$as_dirname -- "$as_dir" ||
3532
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3533
         X"$as_dir" : 'X\(//\)[^/]' \| \
3534
         X"$as_dir" : 'X\(//\)$' \| \
3535
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3536
$as_echo X"$as_dir" |
3537
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3538
            s//\1/
3539
            q
3540
          }
3541
          /^X\(\/\/\)[^/].*/{
3542
            s//\1/
3543
            q
3544
          }
3545
          /^X\(\/\/\)$/{
3546
            s//\1/
3547
            q
3548
          }
3549
          /^X\(\/\).*/{
3550
            s//\1/
3551
            q
3552
          }
3553
          s/.*/./; q'`
3554
      test -d "$as_dir" && break
3555
    done
3556
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3557
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3558
 
3559
 
3560
} # as_fn_mkdir_p
3561 207 jeremybenn
if mkdir -p . 2>/dev/null; then
3562 540 jeremybenn
  as_mkdir_p='mkdir -p "$as_dir"'
3563 207 jeremybenn
else
3564
  test -d ./-p && rmdir ./-p
3565
  as_mkdir_p=false
3566
fi
3567
 
3568
if test -x / >/dev/null 2>&1; then
3569
  as_test_x='test -x'
3570
else
3571
  if ls -dL / >/dev/null 2>&1; then
3572
    as_ls_L_option=L
3573
  else
3574
    as_ls_L_option=
3575
  fi
3576
  as_test_x='
3577
    eval sh -c '\''
3578
      if test -d "$1"; then
3579
        test -d "$1/.";
3580
      else
3581 540 jeremybenn
        case $1 in #(
3582 207 jeremybenn
        -*)set "./$1";;
3583
        esac;
3584 540 jeremybenn
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3585 207 jeremybenn
        ???[sx]*):;;*)false;;esac;fi
3586
    '\'' sh
3587
  '
3588
fi
3589
as_executable_p=$as_test_x
3590
 
3591
# Sed expression to map a string onto a valid CPP name.
3592
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3593
 
3594
# Sed expression to map a string onto a valid variable name.
3595
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3596
 
3597
 
3598
exec 6>&1
3599 540 jeremybenn
## ----------------------------------- ##
3600
## Main body of $CONFIG_STATUS script. ##
3601
## ----------------------------------- ##
3602
_ASEOF
3603
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3604 207 jeremybenn
 
3605 540 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3606
# Save the log message, to keep $0 and so on meaningful, and to
3607 207 jeremybenn
# report actual input values of CONFIG_FILES etc. instead of their
3608
# values after options handling.
3609
ac_log="
3610
This file was extended by libgloss $as_me LIBGLOSS_VERSION, which was
3611 540 jeremybenn
generated by GNU Autoconf 2.65.  Invocation command line was
3612 207 jeremybenn
 
3613
  CONFIG_FILES    = $CONFIG_FILES
3614
  CONFIG_HEADERS  = $CONFIG_HEADERS
3615
  CONFIG_LINKS    = $CONFIG_LINKS
3616
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3617
  $ $0 $@
3618
 
3619
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3620
"
3621
 
3622
_ACEOF
3623
 
3624
case $ac_config_files in *"
3625
"*) set x $ac_config_files; shift; ac_config_files=$*;;
3626
esac
3627
 
3628
 
3629
 
3630
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3631
# Files that config.status was made for.
3632
config_files="$ac_config_files"
3633
config_commands="$ac_config_commands"
3634
 
3635
_ACEOF
3636
 
3637
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3638
ac_cs_usage="\
3639 540 jeremybenn
\`$as_me' instantiates files and other configuration actions
3640
from templates according to the current configuration.  Unless the files
3641
and actions are specified as TAGs, all are instantiated by default.
3642 207 jeremybenn
 
3643 540 jeremybenn
Usage: $0 [OPTION]... [TAG]...
3644 207 jeremybenn
 
3645
  -h, --help       print this help, then exit
3646
  -V, --version    print version number and configuration settings, then exit
3647 540 jeremybenn
      --config     print configuration, then exit
3648 207 jeremybenn
  -q, --quiet, --silent
3649
                   do not print progress messages
3650
  -d, --debug      don't remove temporary files
3651
      --recheck    update $as_me by reconfiguring in the same conditions
3652
      --file=FILE[:TEMPLATE]
3653
                   instantiate the configuration file FILE
3654
 
3655
Configuration files:
3656
$config_files
3657
 
3658
Configuration commands:
3659
$config_commands
3660
 
3661 540 jeremybenn
Report bugs to the package provider."
3662 207 jeremybenn
 
3663
_ACEOF
3664
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3665 540 jeremybenn
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3666 207 jeremybenn
ac_cs_version="\\
3667
libgloss config.status LIBGLOSS_VERSION
3668 540 jeremybenn
configured by $0, generated by GNU Autoconf 2.65,
3669
  with options \\"\$ac_cs_config\\"
3670 207 jeremybenn
 
3671 540 jeremybenn
Copyright (C) 2009 Free Software Foundation, Inc.
3672 207 jeremybenn
This config.status script is free software; the Free Software Foundation
3673
gives unlimited permission to copy, distribute and modify it."
3674
 
3675
ac_pwd='$ac_pwd'
3676
srcdir='$srcdir'
3677
INSTALL='$INSTALL'
3678
AWK='$AWK'
3679
test -n "\$AWK" || AWK=awk
3680
_ACEOF
3681
 
3682
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3683
# The default lists apply if the user does not specify any file.
3684
ac_need_defaults=:
3685
while test $# != 0
3686
do
3687
  case $1 in
3688
  --*=*)
3689
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3690
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3691
    ac_shift=:
3692
    ;;
3693
  *)
3694
    ac_option=$1
3695
    ac_optarg=$2
3696
    ac_shift=shift
3697
    ;;
3698
  esac
3699
 
3700
  case $ac_option in
3701
  # Handling of the options.
3702
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3703
    ac_cs_recheck=: ;;
3704
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3705
    $as_echo "$ac_cs_version"; exit ;;
3706 540 jeremybenn
  --config | --confi | --conf | --con | --co | --c )
3707
    $as_echo "$ac_cs_config"; exit ;;
3708 207 jeremybenn
  --debug | --debu | --deb | --de | --d | -d )
3709
    debug=: ;;
3710
  --file | --fil | --fi | --f )
3711
    $ac_shift
3712
    case $ac_optarg in
3713
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3714
    esac
3715 540 jeremybenn
    as_fn_append CONFIG_FILES " '$ac_optarg'"
3716 207 jeremybenn
    ac_need_defaults=false;;
3717
  --he | --h |  --help | --hel | -h )
3718
    $as_echo "$ac_cs_usage"; exit ;;
3719
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3720
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3721
    ac_cs_silent=: ;;
3722
 
3723
  # This is an error.
3724 540 jeremybenn
  -*) as_fn_error "unrecognized option: \`$1'
3725
Try \`$0 --help' for more information." ;;
3726 207 jeremybenn
 
3727 540 jeremybenn
  *) as_fn_append ac_config_targets " $1"
3728 207 jeremybenn
     ac_need_defaults=false ;;
3729
 
3730
  esac
3731
  shift
3732
done
3733
 
3734
ac_configure_extra_args=
3735
 
3736
if $ac_cs_silent; then
3737
  exec 6>/dev/null
3738
  ac_configure_extra_args="$ac_configure_extra_args --silent"
3739
fi
3740
 
3741
_ACEOF
3742
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3743
if \$ac_cs_recheck; then
3744
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3745
  shift
3746
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3747
  CONFIG_SHELL='$SHELL'
3748
  export CONFIG_SHELL
3749
  exec "\$@"
3750
fi
3751
 
3752
_ACEOF
3753
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3754
exec 5>>config.log
3755
{
3756
  echo
3757
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3758
## Running $as_me. ##
3759
_ASBOX
3760
  $as_echo "$ac_log"
3761
} >&5
3762
 
3763
_ACEOF
3764
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3765
#
3766
# INIT-COMMANDS
3767
#
3768
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3769
srcdir=${srcdir}
3770
target=${target}
3771
with_multisubdir=${with_multisubdir}
3772
ac_configure_args="--enable-multilib ${ac_configure_args}"
3773
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3774
libgloss_topdir=${libgloss_topdir}
3775
CC="${CC}"
3776
LDFLAGS=${LDFLAGS}
3777
 
3778
 
3779
_ACEOF
3780
 
3781
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3782
 
3783
# Handling of arguments.
3784
for ac_config_target in $ac_config_targets
3785
do
3786
  case $ac_config_target in
3787
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3788
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3789
 
3790 540 jeremybenn
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3791 207 jeremybenn
  esac
3792
done
3793
 
3794
 
3795
# If the user did not use the arguments to specify the items to instantiate,
3796
# then the envvar interface is used.  Set only those that are not.
3797
# We use the long form for the default assignment because of an extremely
3798
# bizarre bug on SunOS 4.1.3.
3799
if $ac_need_defaults; then
3800
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3801
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3802
fi
3803
 
3804
# Have a temporary directory for convenience.  Make it in the build tree
3805
# simply because there is no reason against having it here, and in addition,
3806
# creating and moving files from /tmp can sometimes cause problems.
3807
# Hook for its removal unless debugging.
3808
# Note that there is a small window in which the directory will not be cleaned:
3809
# after its creation but before its name has been assigned to `$tmp'.
3810
$debug ||
3811
{
3812
  tmp=
3813
  trap 'exit_status=$?
3814
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3815
' 0
3816 540 jeremybenn
  trap 'as_fn_exit 1' 1 2 13 15
3817 207 jeremybenn
}
3818
# Create a (secure) tmp directory for tmp files.
3819
 
3820
{
3821
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3822
  test -n "$tmp" && test -d "$tmp"
3823
}  ||
3824
{
3825
  tmp=./conf$$-$RANDOM
3826
  (umask 077 && mkdir "$tmp")
3827 540 jeremybenn
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3828 207 jeremybenn
 
3829
# Set up the scripts for CONFIG_FILES section.
3830
# No need to generate them if there are no CONFIG_FILES.
3831
# This happens for instance with `./config.status config.h'.
3832
if test -n "$CONFIG_FILES"; then
3833
 
3834
if $AWK 'BEGIN { getline <"/dev/null" }' /dev/null; then
3835
  ac_cs_awk_getline=:
3836
  ac_cs_awk_pipe_init=
3837
  ac_cs_awk_read_file='
3838
      while ((getline aline < (F[key])) > 0)
3839
        print(aline)
3840
      close(F[key])'
3841
  ac_cs_awk_pipe_fini=
3842
else
3843
  ac_cs_awk_getline=false
3844
  ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
3845
  ac_cs_awk_read_file='
3846
      print "|#_!!_#|"
3847
      print "cat " F[key] " &&"
3848
      '$ac_cs_awk_pipe_init
3849
  # The final `:' finishes the AND list.
3850
  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
3851
fi
3852 540 jeremybenn
ac_cr=`echo X | tr X '\015'`
3853
# On cygwin, bash can eat \r inside `` if the user requested igncr.
3854
# But we know of no other shell where ac_cr would be empty at this
3855
# point, so we can use a bashism as a fallback.
3856
if test "x$ac_cr" = x; then
3857
  eval ac_cr=\$\'\\r\'
3858
fi
3859 207 jeremybenn
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
3860
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3861 540 jeremybenn
  ac_cs_awk_cr='\r'
3862 207 jeremybenn
else
3863
  ac_cs_awk_cr=$ac_cr
3864
fi
3865
 
3866
echo 'BEGIN {' >"$tmp/subs1.awk" &&
3867
_ACEOF
3868
 
3869
# Create commands to substitute file output variables.
3870
{
3871
  echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
3872
  echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
3873
  echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
3874
  echo "_ACAWK" &&
3875
  echo "_ACEOF"
3876
} >conf$$files.sh &&
3877
. ./conf$$files.sh ||
3878 540 jeremybenn
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3879 207 jeremybenn
rm -f conf$$files.sh
3880
 
3881
{
3882
  echo "cat >conf$$subs.awk <<_ACEOF" &&
3883
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3884
  echo "_ACEOF"
3885
} >conf$$subs.sh ||
3886 540 jeremybenn
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3887 207 jeremybenn
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3888
ac_delim='%!_!# '
3889
for ac_last_try in false false false false false :; do
3890
  . ./conf$$subs.sh ||
3891 540 jeremybenn
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3892 207 jeremybenn
 
3893
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3894
  if test $ac_delim_n = $ac_delim_num; then
3895
    break
3896
  elif $ac_last_try; then
3897 540 jeremybenn
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3898 207 jeremybenn
  else
3899
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3900
  fi
3901
done
3902
rm -f conf$$subs.sh
3903
 
3904
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3905
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3906
_ACEOF
3907
sed -n '
3908
h
3909
s/^/S["/; s/!.*/"]=/
3910
p
3911
g
3912
s/^[^!]*!//
3913
:repl
3914
t repl
3915
s/'"$ac_delim"'$//
3916
t delim
3917
:nl
3918
h
3919 540 jeremybenn
s/\(.\{148\}\)..*/\1/
3920 207 jeremybenn
t more1
3921
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3922
p
3923
n
3924
b repl
3925
:more1
3926
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3927
p
3928
g
3929
s/.\{148\}//
3930
t nl
3931
:delim
3932
h
3933 540 jeremybenn
s/\(.\{148\}\)..*/\1/
3934 207 jeremybenn
t more2
3935
s/["\\]/\\&/g; s/^/"/; s/$/"/
3936
p
3937
b
3938
:more2
3939
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3940
p
3941
g
3942
s/.\{148\}//
3943
t delim
3944
' 
3945
/^[^""]/{
3946
  N
3947
  s/\n//
3948
}
3949
' >>$CONFIG_STATUS || ac_write_fail=1
3950
rm -f conf$$subs.awk
3951
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3952
_ACAWK
3953
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3954
  for (key in S) S_is_set[key] = 1
3955
  FS = ""
3956
  \$ac_cs_awk_pipe_init
3957
}
3958
{
3959
  line = $ 0
3960
  nfields = split(line, field, "@")
3961
  substed = 0
3962
  len = length(field[1])
3963
  for (i = 2; i < nfields; i++) {
3964
    key = field[i]
3965
    keylen = length(key)
3966
    if (S_is_set[key]) {
3967
      value = S[key]
3968
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3969
      len += length(value) + length(field[++i])
3970
      substed = 1
3971
    } else
3972
      len += 1 + keylen
3973
  }
3974
  if (nfields == 3 && !substed) {
3975
    key = field[2]
3976
    if (F[key] != "" && line ~ /^[       ]*@.*@[         ]*$/) {
3977
      \$ac_cs_awk_read_file
3978
      next
3979
    }
3980
  }
3981
  print line
3982
}
3983
\$ac_cs_awk_pipe_fini
3984
_ACAWK
3985
_ACEOF
3986
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3987
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3988
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3989
else
3990
  cat
3991
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3992 540 jeremybenn
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
3993 207 jeremybenn
_ACEOF
3994
 
3995
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3996
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3997
# trailing colons and then remove the whole line if VPATH becomes empty
3998
# (actually we leave an empty line to preserve line numbers).
3999
if test "x$srcdir" = x.; then
4000
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4001
s/:*\$(srcdir):*/:/
4002
s/:*\${srcdir}:*/:/
4003
s/:*@srcdir@:*/:/
4004
s/^\([^=]*=[     ]*\):*/\1/
4005
s/:*$//
4006
s/^[^=]*=[       ]*$//
4007
}'
4008
fi
4009
 
4010
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4011
fi # test -n "$CONFIG_FILES"
4012
 
4013
 
4014
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
4015
shift
4016
for ac_tag
4017
do
4018
  case $ac_tag in
4019
  :[FHLC]) ac_mode=$ac_tag; continue;;
4020
  esac
4021
  case $ac_mode$ac_tag in
4022
  :[FHL]*:*);;
4023 540 jeremybenn
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4024 207 jeremybenn
  :[FH]-) ac_tag=-:-;;
4025
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4026
  esac
4027
  ac_save_IFS=$IFS
4028
  IFS=:
4029
  set x $ac_tag
4030
  IFS=$ac_save_IFS
4031
  shift
4032
  ac_file=$1
4033
  shift
4034
 
4035
  case $ac_mode in
4036
  :L) ac_source=$1;;
4037
  :[FH])
4038
    ac_file_inputs=
4039
    for ac_f
4040
    do
4041
      case $ac_f in
4042
      -) ac_f="$tmp/stdin";;
4043
      *) # Look for the file first in the build tree, then in the source tree
4044
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4045
         # because $ac_f cannot contain `:'.
4046
         test -f "$ac_f" ||
4047
           case $ac_f in
4048
           [\\/$]*) false;;
4049
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4050
           esac ||
4051 540 jeremybenn
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4052 207 jeremybenn
      esac
4053
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4054 540 jeremybenn
      as_fn_append ac_file_inputs " '$ac_f'"
4055 207 jeremybenn
    done
4056
 
4057
    # Let's still pretend it is `configure' which instantiates (i.e., don't
4058
    # use $as_me), people would be surprised to read:
4059
    #    /* config.h.  Generated by config.status.  */
4060
    configure_input='Generated from '`
4061
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4062
        `' by configure.'
4063
    if test x"$ac_file" != x-; then
4064
      configure_input="$ac_file.  $configure_input"
4065 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4066 207 jeremybenn
$as_echo "$as_me: creating $ac_file" >&6;}
4067
    fi
4068
    # Neutralize special characters interpreted by sed in replacement strings.
4069
    case $configure_input in #(
4070
    *\&* | *\|* | *\\* )
4071
       ac_sed_conf_input=`$as_echo "$configure_input" |
4072
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4073
    *) ac_sed_conf_input=$configure_input;;
4074
    esac
4075
 
4076
    case $ac_tag in
4077
    *:-:* | *:-) cat >"$tmp/stdin" \
4078 540 jeremybenn
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4079 207 jeremybenn
    esac
4080
    ;;
4081
  esac
4082
 
4083
  ac_dir=`$as_dirname -- "$ac_file" ||
4084
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4085
         X"$ac_file" : 'X\(//\)[^/]' \| \
4086
         X"$ac_file" : 'X\(//\)$' \| \
4087
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4088
$as_echo X"$ac_file" |
4089
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4090
            s//\1/
4091
            q
4092
          }
4093
          /^X\(\/\/\)[^/].*/{
4094
            s//\1/
4095
            q
4096
          }
4097
          /^X\(\/\/\)$/{
4098
            s//\1/
4099
            q
4100
          }
4101
          /^X\(\/\).*/{
4102
            s//\1/
4103
            q
4104
          }
4105
          s/.*/./; q'`
4106 540 jeremybenn
  as_dir="$ac_dir"; as_fn_mkdir_p
4107 207 jeremybenn
  ac_builddir=.
4108
 
4109
case "$ac_dir" in
4110
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4111
*)
4112
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4113
  # A ".." for each directory in $ac_dir_suffix.
4114
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4115
  case $ac_top_builddir_sub in
4116
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4117
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4118
  esac ;;
4119
esac
4120
ac_abs_top_builddir=$ac_pwd
4121
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4122
# for backward compatibility:
4123
ac_top_builddir=$ac_top_build_prefix
4124
 
4125
case $srcdir in
4126
  .)  # We are building in place.
4127
    ac_srcdir=.
4128
    ac_top_srcdir=$ac_top_builddir_sub
4129
    ac_abs_top_srcdir=$ac_pwd ;;
4130
  [\\/]* | ?:[\\/]* )  # Absolute name.
4131
    ac_srcdir=$srcdir$ac_dir_suffix;
4132
    ac_top_srcdir=$srcdir
4133
    ac_abs_top_srcdir=$srcdir ;;
4134
  *) # Relative name.
4135
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4136
    ac_top_srcdir=$ac_top_build_prefix$srcdir
4137
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4138
esac
4139
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4140
 
4141
 
4142
  case $ac_mode in
4143
  :F)
4144
  #
4145
  # CONFIG_FILE
4146
  #
4147
 
4148
  case $INSTALL in
4149
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4150
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4151
  esac
4152
_ACEOF
4153
 
4154
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4155
# If the template does not know about datarootdir, expand it.
4156
# FIXME: This hack should be removed a few years after 2.60.
4157
ac_datarootdir_hack=; ac_datarootdir_seen=
4158
ac_sed_dataroot='
4159
/datarootdir/ {
4160
  p
4161
  q
4162
}
4163
/@datadir@/p
4164
/@docdir@/p
4165
/@infodir@/p
4166
/@localedir@/p
4167 540 jeremybenn
/@mandir@/p'
4168 207 jeremybenn
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4169
*datarootdir*) ac_datarootdir_seen=yes;;
4170
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4171 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4172 207 jeremybenn
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4173
_ACEOF
4174
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4175
  ac_datarootdir_hack='
4176
  s&@datadir@&$datadir&g
4177
  s&@docdir@&$docdir&g
4178
  s&@infodir@&$infodir&g
4179
  s&@localedir@&$localedir&g
4180
  s&@mandir@&$mandir&g
4181 540 jeremybenn
  s&\\\${datarootdir}&$datarootdir&g' ;;
4182 207 jeremybenn
esac
4183
_ACEOF
4184
 
4185
# Neutralize VPATH when `$srcdir' = `.'.
4186
# Shell code in configure.ac might set extrasub.
4187
# FIXME: do we really want to maintain this feature?
4188
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4189
ac_sed_extra="$ac_vpsub
4190
$extrasub
4191
_ACEOF
4192
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4193
:t
4194
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4195
s|@configure_input@|$ac_sed_conf_input|;t t
4196
s&@top_builddir@&$ac_top_builddir_sub&;t t
4197
s&@top_build_prefix@&$ac_top_build_prefix&;t t
4198
s&@srcdir@&$ac_srcdir&;t t
4199
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4200
s&@top_srcdir@&$ac_top_srcdir&;t t
4201
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4202
s&@builddir@&$ac_builddir&;t t
4203
s&@abs_builddir@&$ac_abs_builddir&;t t
4204
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4205
s&@INSTALL@&$ac_INSTALL&;t t
4206
$ac_datarootdir_hack
4207
"
4208
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
4209
if $ac_cs_awk_getline; then
4210
  $AWK -f "$tmp/subs.awk"
4211
else
4212
  $AWK -f "$tmp/subs.awk" | $SHELL
4213
fi >$tmp/out \
4214 540 jeremybenn
  || as_fn_error "could not create $ac_file" "$LINENO" 5
4215 207 jeremybenn
 
4216
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4217
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4218
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4219 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4220 207 jeremybenn
which seems to be undefined.  Please make sure it is defined." >&5
4221
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4222
which seems to be undefined.  Please make sure it is defined." >&2;}
4223
 
4224
  rm -f "$tmp/stdin"
4225
  case $ac_file in
4226
  -) cat "$tmp/out" && rm -f "$tmp/out";;
4227
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4228
  esac \
4229 540 jeremybenn
  || as_fn_error "could not create $ac_file" "$LINENO" 5
4230 207 jeremybenn
 ;;
4231
 
4232
 
4233 540 jeremybenn
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4234 207 jeremybenn
$as_echo "$as_me: executing $ac_file commands" >&6;}
4235
 ;;
4236
  esac
4237
 
4238
 
4239
  case $ac_file$ac_mode in
4240
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4241
  # Strip MF so we end up with the name of the file.
4242
  mf=`echo "$mf" | sed -e 's/:.*$//'`
4243
  # Check whether this is an Automake generated Makefile or not.
4244
  # We used to match only the files named `Makefile.in', but
4245
  # some people rename them; so instead we look at the file content.
4246
  # Grep'ing the first line is not enough: some people post-process
4247
  # each Makefile.in and add a new line on top of each file to say so.
4248
  # So let's grep whole file.
4249
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4250
    dirpart=`$as_dirname -- "$mf" ||
4251
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4252
         X"$mf" : 'X\(//\)[^/]' \| \
4253
         X"$mf" : 'X\(//\)$' \| \
4254
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4255
$as_echo X"$mf" |
4256
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4257
            s//\1/
4258
            q
4259
          }
4260
          /^X\(\/\/\)[^/].*/{
4261
            s//\1/
4262
            q
4263
          }
4264
          /^X\(\/\/\)$/{
4265
            s//\1/
4266
            q
4267
          }
4268
          /^X\(\/\).*/{
4269
            s//\1/
4270
            q
4271
          }
4272
          s/.*/./; q'`
4273
  else
4274
    continue
4275
  fi
4276
  # Extract the definition of DEPDIR, am__include, and am__quote
4277
  # from the Makefile without running `make'.
4278
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4279
  test -z "$DEPDIR" && continue
4280
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4281
  test -z "am__include" && continue
4282
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4283
  # When using ansi2knr, U may be empty or an underscore; expand it
4284
  U=`sed -n 's/^U = //p' < "$mf"`
4285
  # Find all dependency output files, they are included files with
4286
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4287
  # simplest approach to changing $(DEPDIR) to its actual value in the
4288
  # expansion.
4289
  for file in `sed -n "
4290
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4291
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4292
    # Make sure the directory exists.
4293
    test -f "$dirpart/$file" && continue
4294
    fdir=`$as_dirname -- "$file" ||
4295
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4296
         X"$file" : 'X\(//\)[^/]' \| \
4297
         X"$file" : 'X\(//\)$' \| \
4298
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4299
$as_echo X"$file" |
4300
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4301
            s//\1/
4302
            q
4303
          }
4304
          /^X\(\/\/\)[^/].*/{
4305
            s//\1/
4306
            q
4307
          }
4308
          /^X\(\/\/\)$/{
4309
            s//\1/
4310
            q
4311
          }
4312
          /^X\(\/\).*/{
4313
            s//\1/
4314
            q
4315
          }
4316
          s/.*/./; q'`
4317 540 jeremybenn
    as_dir=$dirpart/$fdir; as_fn_mkdir_p
4318 207 jeremybenn
    # echo "creating $dirpart/$file"
4319
    echo '# dummy' > "$dirpart/$file"
4320
  done
4321
done
4322
 ;;
4323
    "Makefile":F) if test -n "$CONFIG_FILES"; then
4324
  unset ac_file
4325
  . ${libgloss_topdir}/config-ml.in
4326
fi ;;
4327
 
4328
  esac
4329
done # for ac_tag
4330
 
4331
 
4332 540 jeremybenn
as_fn_exit 0
4333 207 jeremybenn
_ACEOF
4334
ac_clean_files=$ac_clean_files_save
4335
 
4336
test $ac_write_fail = 0 ||
4337 540 jeremybenn
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4338 207 jeremybenn
 
4339
 
4340
# configure is writing to config.log, and then calls config.status.
4341
# config.status does its own redirection, appending to config.log.
4342
# Unfortunately, on DOS this fails, as config.log is still kept open
4343
# by configure, so config.status won't be able to write to it; its
4344
# output is simply discarded.  So we exec the FD to /dev/null,
4345
# effectively closing config.log, so it can be properly (re)opened and
4346
# appended to by config.status.  When coming back to configure, we
4347
# need to make the FD available again.
4348
if test "$no_create" != yes; then
4349
  ac_cs_success=:
4350
  ac_config_status_args=
4351
  test "$silent" = yes &&
4352
    ac_config_status_args="$ac_config_status_args --quiet"
4353
  exec 5>/dev/null
4354
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4355
  exec 5>>config.log
4356
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4357
  # would make configure fail if this is the last instruction.
4358 540 jeremybenn
  $ac_cs_success || as_fn_exit $?
4359 207 jeremybenn
fi
4360
 
4361
#
4362
# CONFIG_SUBDIRS section.
4363
#
4364
if test "$no_recursion" != yes; then
4365
 
4366
  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4367
  # so they do not pile up.
4368
  ac_sub_configure_args=
4369
  ac_prev=
4370
  eval "set x $ac_configure_args"
4371
  shift
4372
  for ac_arg
4373
  do
4374
    if test -n "$ac_prev"; then
4375
      ac_prev=
4376
      continue
4377
    fi
4378
    case $ac_arg in
4379
    -cache-file | --cache-file | --cache-fil | --cache-fi \
4380
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4381
      ac_prev=cache_file ;;
4382
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4383
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4384
    | --c=*)
4385
      ;;
4386
    --config-cache | -C)
4387
      ;;
4388
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4389
      ac_prev=srcdir ;;
4390
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4391
      ;;
4392
    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4393
      ac_prev=prefix ;;
4394
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4395
      ;;
4396
    --disable-option-checking)
4397
      ;;
4398
    *)
4399
      case $ac_arg in
4400
      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4401
      esac
4402 540 jeremybenn
      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
4403 207 jeremybenn
    esac
4404
  done
4405
 
4406
  # Always prepend --prefix to ensure using the same prefix
4407
  # in subdir configurations.
4408
  ac_arg="--prefix=$prefix"
4409
  case $ac_arg in
4410
  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4411
  esac
4412
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4413
 
4414
  # Pass --silent
4415
  if test "$silent" = yes; then
4416
    ac_sub_configure_args="--silent $ac_sub_configure_args"
4417
  fi
4418
 
4419
  # Always prepend --disable-option-checking to silence warnings, since
4420
  # different subdirs can have different --enable and --with options.
4421
  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4422
 
4423
  ac_popdir=`pwd`
4424
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4425
 
4426
    # Do not complain, so a configure script can configure whichever
4427
    # parts of a large source tree are present.
4428
    test -d "$srcdir/$ac_dir" || continue
4429
 
4430
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4431 540 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4432 207 jeremybenn
    $as_echo "$ac_msg" >&6
4433 540 jeremybenn
    as_dir="$ac_dir"; as_fn_mkdir_p
4434 207 jeremybenn
    ac_builddir=.
4435
 
4436
case "$ac_dir" in
4437
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4438
*)
4439
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4440
  # A ".." for each directory in $ac_dir_suffix.
4441
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4442
  case $ac_top_builddir_sub in
4443
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4444
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4445
  esac ;;
4446
esac
4447
ac_abs_top_builddir=$ac_pwd
4448
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4449
# for backward compatibility:
4450
ac_top_builddir=$ac_top_build_prefix
4451
 
4452
case $srcdir in
4453
  .)  # We are building in place.
4454
    ac_srcdir=.
4455
    ac_top_srcdir=$ac_top_builddir_sub
4456
    ac_abs_top_srcdir=$ac_pwd ;;
4457
  [\\/]* | ?:[\\/]* )  # Absolute name.
4458
    ac_srcdir=$srcdir$ac_dir_suffix;
4459
    ac_top_srcdir=$srcdir
4460
    ac_abs_top_srcdir=$srcdir ;;
4461
  *) # Relative name.
4462
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4463
    ac_top_srcdir=$ac_top_build_prefix$srcdir
4464
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4465
esac
4466
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4467
 
4468
 
4469
    cd "$ac_dir"
4470
 
4471
    # Check for guested configure; otherwise get Cygnus style configure.
4472
    if test -f "$ac_srcdir/configure.gnu"; then
4473
      ac_sub_configure=$ac_srcdir/configure.gnu
4474
    elif test -f "$ac_srcdir/configure"; then
4475
      ac_sub_configure=$ac_srcdir/configure
4476
    elif test -f "$ac_srcdir/configure.in"; then
4477
      # This should be Cygnus configure.
4478
      ac_sub_configure=$ac_aux_dir/configure
4479
    else
4480 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4481 207 jeremybenn
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4482
      ac_sub_configure=
4483
    fi
4484
 
4485
    # The recursion is here.
4486
    if test -n "$ac_sub_configure"; then
4487
      # Make the cache file name correct relative to the subdirectory.
4488
      case $cache_file in
4489
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4490
      *) # Relative name.
4491
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
4492
      esac
4493
 
4494 540 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4495 207 jeremybenn
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4496
      # The eval makes quoting arguments work.
4497
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4498
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4499 540 jeremybenn
        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4500 207 jeremybenn
    fi
4501
 
4502
    cd "$ac_popdir"
4503
  done
4504
fi
4505
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4506 540 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4507 207 jeremybenn
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4508
fi
4509
 
4510
 
4511
 

powered by: WebSVN 2.1.0

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