source: trunk/libs/newlib/src/libgloss/or1k/configure @ 557

Last change on this file since 557 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

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