source: trunk/libs/newlib/src/libgloss/epiphany/configure @ 444

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

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

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