configure revision 7973f115
1ed029a5fSmrg#! /bin/sh
2ed029a5fSmrg# Guess values for system-dependent variables and create Makefiles.
37973f115Smrg# Generated by GNU Autoconf 2.68 for font-adobe-100dpi 1.0.3.
4ed029a5fSmrg#
5ed029a5fSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6ed029a5fSmrg#
77973f115Smrg#
8dd519f38Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
97973f115Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
107973f115Smrg# Foundation, Inc.
117973f115Smrg#
127973f115Smrg#
13ed029a5fSmrg# This configure script is free software; the Free Software Foundation
14ed029a5fSmrg# gives unlimited permission to copy, distribute and modify it.
157973f115Smrg## -------------------- ##
167973f115Smrg## M4sh Initialization. ##
177973f115Smrg## -------------------- ##
18ed029a5fSmrg
19dd519f38Smrg# Be more Bourne compatible
20dd519f38SmrgDUALCASE=1; export DUALCASE # for MKS sh
217973f115Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22ed029a5fSmrg  emulate sh
23ed029a5fSmrg  NULLCMD=:
24dd519f38Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25ed029a5fSmrg  # is contrary to our usage.  Disable this feature.
26ed029a5fSmrg  alias -g '${1+"$@"}'='"$@"'
27dd519f38Smrg  setopt NO_GLOB_SUBST
28dd519f38Smrgelse
297973f115Smrg  case `(set -o) 2>/dev/null` in #(
307973f115Smrg  *posix*) :
317973f115Smrg    set -o posix ;; #(
327973f115Smrg  *) :
337973f115Smrg     ;;
34dd519f38Smrgesac
35dd519f38Smrgfi
36dd519f38Smrg
37dd519f38Smrg
38dd519f38Smrgas_nl='
39dd519f38Smrg'
40dd519f38Smrgexport as_nl
41dd519f38Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
42dd519f38Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43dd519f38Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44dd519f38Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
457973f115Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
467973f115Smrg# but without wasting forks for bash or zsh.
477973f115Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
487973f115Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
497973f115Smrg  as_echo='print -r --'
507973f115Smrg  as_echo_n='print -rn --'
517973f115Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52dd519f38Smrg  as_echo='printf %s\n'
53dd519f38Smrg  as_echo_n='printf %s'
54dd519f38Smrgelse
55dd519f38Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56dd519f38Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57dd519f38Smrg    as_echo_n='/usr/ucb/echo -n'
58dd519f38Smrg  else
59dd519f38Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60dd519f38Smrg    as_echo_n_body='eval
61dd519f38Smrg      arg=$1;
627973f115Smrg      case $arg in #(
63dd519f38Smrg      *"$as_nl"*)
64dd519f38Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
65dd519f38Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66dd519f38Smrg      esac;
67dd519f38Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68dd519f38Smrg    '
69dd519f38Smrg    export as_echo_n_body
70dd519f38Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
71dd519f38Smrg  fi
72dd519f38Smrg  export as_echo_body
73dd519f38Smrg  as_echo='sh -c $as_echo_body as_echo'
74dd519f38Smrgfi
75dd519f38Smrg
76dd519f38Smrg# The user is always right.
77dd519f38Smrgif test "${PATH_SEPARATOR+set}" != set; then
78dd519f38Smrg  PATH_SEPARATOR=:
79dd519f38Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80dd519f38Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81dd519f38Smrg      PATH_SEPARATOR=';'
82dd519f38Smrg  }
83ed029a5fSmrgfi
84ed029a5fSmrg
85ed029a5fSmrg
86dd519f38Smrg# IFS
87dd519f38Smrg# We need space, tab and new line, in precisely that order.  Quoting is
88dd519f38Smrg# there to prevent editors from complaining about space-tab.
89dd519f38Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90dd519f38Smrg# splitting by setting IFS to empty value.)
91dd519f38SmrgIFS=" ""	$as_nl"
92dd519f38Smrg
93dd519f38Smrg# Find who we are.  Look in the path if we contain no directory separator.
947973f115Smrgas_myself=
957973f115Smrgcase $0 in #((
96dd519f38Smrg  *[\\/]* ) as_myself=$0 ;;
97dd519f38Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98dd519f38Smrgfor as_dir in $PATH
99dd519f38Smrgdo
100dd519f38Smrg  IFS=$as_save_IFS
101dd519f38Smrg  test -z "$as_dir" && as_dir=.
1027973f115Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1037973f115Smrg  done
104dd519f38SmrgIFS=$as_save_IFS
105dd519f38Smrg
106dd519f38Smrg     ;;
107dd519f38Smrgesac
108dd519f38Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
109dd519f38Smrg# in which case we are not to be found in the path.
110dd519f38Smrgif test "x$as_myself" = x; then
111dd519f38Smrg  as_myself=$0
112dd519f38Smrgfi
113dd519f38Smrgif test ! -f "$as_myself"; then
114dd519f38Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1157973f115Smrg  exit 1
116dd519f38Smrgfi
117dd519f38Smrg
1187973f115Smrg# Unset variables that we do not need and which cause bugs (e.g. in
1197973f115Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
1207973f115Smrg# suppresses any "Segmentation fault" message there.  '((' could
1217973f115Smrg# trigger a bug in pdksh 5.2.14.
1227973f115Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
1237973f115Smrgdo eval test x\${$as_var+set} = xset \
1247973f115Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125dd519f38Smrgdone
126ed029a5fSmrgPS1='$ '
127ed029a5fSmrgPS2='> '
128ed029a5fSmrgPS4='+ '
129ed029a5fSmrg
130ed029a5fSmrg# NLS nuisances.
131dd519f38SmrgLC_ALL=C
132dd519f38Smrgexport LC_ALL
133dd519f38SmrgLANGUAGE=C
134dd519f38Smrgexport LANGUAGE
135ed029a5fSmrg
1367973f115Smrg# CDPATH.
1377973f115Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1387973f115Smrg
1397973f115Smrgif test "x$CONFIG_SHELL" = x; then
1407973f115Smrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
1417973f115Smrg  emulate sh
1427973f115Smrg  NULLCMD=:
1437973f115Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
1447973f115Smrg  # is contrary to our usage.  Disable this feature.
1457973f115Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
1467973f115Smrg  setopt NO_GLOB_SUBST
1477973f115Smrgelse
1487973f115Smrg  case \`(set -o) 2>/dev/null\` in #(
1497973f115Smrg  *posix*) :
1507973f115Smrg    set -o posix ;; #(
1517973f115Smrg  *) :
1527973f115Smrg     ;;
1537973f115Smrgesac
1547973f115Smrgfi
1557973f115Smrg"
1567973f115Smrg  as_required="as_fn_return () { (exit \$1); }
1577973f115Smrgas_fn_success () { as_fn_return 0; }
1587973f115Smrgas_fn_failure () { as_fn_return 1; }
1597973f115Smrgas_fn_ret_success () { return 0; }
1607973f115Smrgas_fn_ret_failure () { return 1; }
1617973f115Smrg
1627973f115Smrgexitcode=0
1637973f115Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
1647973f115Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
1657973f115Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
1667973f115Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1677973f115Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
1687973f115Smrg
1697973f115Smrgelse
1707973f115Smrg  exitcode=1; echo positional parameters were not saved.
1717973f115Smrgfi
1727973f115Smrgtest x\$exitcode = x0 || exit 1"
1737973f115Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1747973f115Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1757973f115Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1767973f115Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1777973f115Smrgtest \$(( 1 + 1 )) = 2 || exit 1"
1787973f115Smrg  if (eval "$as_required") 2>/dev/null; then :
1797973f115Smrg  as_have_required=yes
1807973f115Smrgelse
1817973f115Smrg  as_have_required=no
1827973f115Smrgfi
1837973f115Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1847973f115Smrg
1857973f115Smrgelse
1867973f115Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877973f115Smrgas_found=false
1887973f115Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1897973f115Smrgdo
1907973f115Smrg  IFS=$as_save_IFS
1917973f115Smrg  test -z "$as_dir" && as_dir=.
1927973f115Smrg  as_found=:
1937973f115Smrg  case $as_dir in #(
1947973f115Smrg	 /*)
1957973f115Smrg	   for as_base in sh bash ksh sh5; do
1967973f115Smrg	     # Try only shells that exist, to save several forks.
1977973f115Smrg	     as_shell=$as_dir/$as_base
1987973f115Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1997973f115Smrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
2007973f115Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
2017973f115Smrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
2027973f115Smrg  break 2
2037973f115Smrgfi
2047973f115Smrgfi
2057973f115Smrg	   done;;
2067973f115Smrg       esac
2077973f115Smrg  as_found=false
2087973f115Smrgdone
2097973f115Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2107973f115Smrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
2117973f115Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
2127973f115Smrgfi; }
2137973f115SmrgIFS=$as_save_IFS
2147973f115Smrg
2157973f115Smrg
2167973f115Smrg      if test "x$CONFIG_SHELL" != x; then :
2177973f115Smrg  # We cannot yet assume a decent shell, so we have to provide a
2187973f115Smrg	# neutralization value for shells without unset; and this also
2197973f115Smrg	# works around shells that cannot unset nonexistent variables.
2207973f115Smrg	# Preserve -v and -x to the replacement shell.
2217973f115Smrg	BASH_ENV=/dev/null
2227973f115Smrg	ENV=/dev/null
2237973f115Smrg	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
2247973f115Smrg	export CONFIG_SHELL
2257973f115Smrg	case $- in # ((((
2267973f115Smrg	  *v*x* | *x*v* ) as_opts=-vx ;;
2277973f115Smrg	  *v* ) as_opts=-v ;;
2287973f115Smrg	  *x* ) as_opts=-x ;;
2297973f115Smrg	  * ) as_opts= ;;
2307973f115Smrg	esac
2317973f115Smrg	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
2327973f115Smrgfi
2337973f115Smrg
2347973f115Smrg    if test x$as_have_required = xno; then :
2357973f115Smrg  $as_echo "$0: This script requires a shell more modern than all"
2367973f115Smrg  $as_echo "$0: the shells that I found on your system."
2377973f115Smrg  if test x${ZSH_VERSION+set} = xset ; then
2387973f115Smrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2397973f115Smrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
2407973f115Smrg  else
2417973f115Smrg    $as_echo "$0: Please tell bug-autoconf@gnu.org and
2427973f115Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
2437973f115Smrg$0: about your system, including any error possibly output
2447973f115Smrg$0: before this message. Then install a modern shell, or
2457973f115Smrg$0: manually run the script under such a shell if you do
2467973f115Smrg$0: have one."
2477973f115Smrg  fi
2487973f115Smrg  exit 1
2497973f115Smrgfi
2507973f115Smrgfi
2517973f115Smrgfi
2527973f115SmrgSHELL=${CONFIG_SHELL-/bin/sh}
2537973f115Smrgexport SHELL
2547973f115Smrg# Unset more variables known to interfere with behavior of common tools.
2557973f115SmrgCLICOLOR_FORCE= GREP_OPTIONS=
2567973f115Smrgunset CLICOLOR_FORCE GREP_OPTIONS
2577973f115Smrg
2587973f115Smrg## --------------------- ##
2597973f115Smrg## M4sh Shell Functions. ##
2607973f115Smrg## --------------------- ##
2617973f115Smrg# as_fn_unset VAR
2627973f115Smrg# ---------------
2637973f115Smrg# Portably unset VAR.
2647973f115Smrgas_fn_unset ()
2657973f115Smrg{
2667973f115Smrg  { eval $1=; unset $1;}
2677973f115Smrg}
2687973f115Smrgas_unset=as_fn_unset
2697973f115Smrg
2707973f115Smrg# as_fn_set_status STATUS
2717973f115Smrg# -----------------------
2727973f115Smrg# Set $? to STATUS, without forking.
2737973f115Smrgas_fn_set_status ()
2747973f115Smrg{
2757973f115Smrg  return $1
2767973f115Smrg} # as_fn_set_status
2777973f115Smrg
2787973f115Smrg# as_fn_exit STATUS
2797973f115Smrg# -----------------
2807973f115Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2817973f115Smrgas_fn_exit ()
2827973f115Smrg{
2837973f115Smrg  set +e
2847973f115Smrg  as_fn_set_status $1
2857973f115Smrg  exit $1
2867973f115Smrg} # as_fn_exit
2877973f115Smrg
2887973f115Smrg# as_fn_mkdir_p
2897973f115Smrg# -------------
2907973f115Smrg# Create "$as_dir" as a directory, including parents if necessary.
2917973f115Smrgas_fn_mkdir_p ()
2927973f115Smrg{
2937973f115Smrg
2947973f115Smrg  case $as_dir in #(
2957973f115Smrg  -*) as_dir=./$as_dir;;
2967973f115Smrg  esac
2977973f115Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
2987973f115Smrg    as_dirs=
2997973f115Smrg    while :; do
3007973f115Smrg      case $as_dir in #(
3017973f115Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3027973f115Smrg      *) as_qdir=$as_dir;;
3037973f115Smrg      esac
3047973f115Smrg      as_dirs="'$as_qdir' $as_dirs"
3057973f115Smrg      as_dir=`$as_dirname -- "$as_dir" ||
3067973f115Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3077973f115Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3087973f115Smrg	 X"$as_dir" : 'X\(//\)$' \| \
3097973f115Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3107973f115Smrg$as_echo X"$as_dir" |
3117973f115Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3127973f115Smrg	    s//\1/
3137973f115Smrg	    q
3147973f115Smrg	  }
3157973f115Smrg	  /^X\(\/\/\)[^/].*/{
3167973f115Smrg	    s//\1/
3177973f115Smrg	    q
3187973f115Smrg	  }
3197973f115Smrg	  /^X\(\/\/\)$/{
3207973f115Smrg	    s//\1/
3217973f115Smrg	    q
3227973f115Smrg	  }
3237973f115Smrg	  /^X\(\/\).*/{
3247973f115Smrg	    s//\1/
3257973f115Smrg	    q
3267973f115Smrg	  }
3277973f115Smrg	  s/.*/./; q'`
3287973f115Smrg      test -d "$as_dir" && break
3297973f115Smrg    done
3307973f115Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3317973f115Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3327973f115Smrg
3337973f115Smrg
3347973f115Smrg} # as_fn_mkdir_p
3357973f115Smrg# as_fn_append VAR VALUE
3367973f115Smrg# ----------------------
3377973f115Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3387973f115Smrg# advantage of any shell optimizations that allow amortized linear growth over
3397973f115Smrg# repeated appends, instead of the typical quadratic growth present in naive
3407973f115Smrg# implementations.
3417973f115Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3427973f115Smrg  eval 'as_fn_append ()
3437973f115Smrg  {
3447973f115Smrg    eval $1+=\$2
3457973f115Smrg  }'
3467973f115Smrgelse
3477973f115Smrg  as_fn_append ()
3487973f115Smrg  {
3497973f115Smrg    eval $1=\$$1\$2
3507973f115Smrg  }
3517973f115Smrgfi # as_fn_append
3527973f115Smrg
3537973f115Smrg# as_fn_arith ARG...
3547973f115Smrg# ------------------
3557973f115Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
3567973f115Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
3577973f115Smrg# must be portable across $(()) and expr.
3587973f115Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3597973f115Smrg  eval 'as_fn_arith ()
3607973f115Smrg  {
3617973f115Smrg    as_val=$(( $* ))
3627973f115Smrg  }'
3637973f115Smrgelse
3647973f115Smrg  as_fn_arith ()
3657973f115Smrg  {
3667973f115Smrg    as_val=`expr "$@" || test $? -eq 1`
3677973f115Smrg  }
3687973f115Smrgfi # as_fn_arith
3697973f115Smrg
3707973f115Smrg
3717973f115Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
3727973f115Smrg# ----------------------------------------
3737973f115Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3747973f115Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3757973f115Smrg# script with STATUS, using 1 if that was 0.
3767973f115Smrgas_fn_error ()
3777973f115Smrg{
3787973f115Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
3797973f115Smrg  if test "$4"; then
3807973f115Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3817973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3827973f115Smrg  fi
3837973f115Smrg  $as_echo "$as_me: error: $2" >&2
3847973f115Smrg  as_fn_exit $as_status
3857973f115Smrg} # as_fn_error
3867973f115Smrg
387dd519f38Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
388dd519f38Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
389ed029a5fSmrg  as_expr=expr
390ed029a5fSmrgelse
391ed029a5fSmrg  as_expr=false
392ed029a5fSmrgfi
393ed029a5fSmrg
394dd519f38Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395ed029a5fSmrg  as_basename=basename
396ed029a5fSmrgelse
397ed029a5fSmrg  as_basename=false
398ed029a5fSmrgfi
399ed029a5fSmrg
4007973f115Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4017973f115Smrg  as_dirname=dirname
4027973f115Smrgelse
4037973f115Smrg  as_dirname=false
4047973f115Smrgfi
405ed029a5fSmrg
406dd519f38Smrgas_me=`$as_basename -- "$0" ||
407ed029a5fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408ed029a5fSmrg	 X"$0" : 'X\(//\)$' \| \
409dd519f38Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410dd519f38Smrg$as_echo X/"$0" |
411dd519f38Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
412dd519f38Smrg	    s//\1/
413dd519f38Smrg	    q
414dd519f38Smrg	  }
415dd519f38Smrg	  /^X\/\(\/\/\)$/{
416dd519f38Smrg	    s//\1/
417dd519f38Smrg	    q
418dd519f38Smrg	  }
419dd519f38Smrg	  /^X\/\(\/\).*/{
420dd519f38Smrg	    s//\1/
421dd519f38Smrg	    q
422dd519f38Smrg	  }
423dd519f38Smrg	  s/.*/./; q'`
424ed029a5fSmrg
4257973f115Smrg# Avoid depending upon Character Ranges.
4267973f115Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
4277973f115Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4287973f115Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
4297973f115Smrgas_cr_digits='0123456789'
4307973f115Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
431ed029a5fSmrg
432ed029a5fSmrg
4337973f115Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
4347973f115Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
4357973f115Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
4367973f115Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
4377973f115Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
4387973f115Smrg  sed -n '
4397973f115Smrg    p
4407973f115Smrg    /[$]LINENO/=
4417973f115Smrg  ' <$as_myself |
4427973f115Smrg    sed '
4437973f115Smrg      s/[$]LINENO.*/&-/
4447973f115Smrg      t lineno
4457973f115Smrg      b
4467973f115Smrg      :lineno
4477973f115Smrg      N
4487973f115Smrg      :loop
4497973f115Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4507973f115Smrg      t loop
4517973f115Smrg      s/-\n.*//
4527973f115Smrg    ' >$as_me.lineno &&
4537973f115Smrg  chmod +x "$as_me.lineno" ||
4547973f115Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455ed029a5fSmrg
4567973f115Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
4577973f115Smrg  # (the dirname of $[0] is not the place where we might find the
4587973f115Smrg  # original and so on.  Autoconf is especially sensitive to this).
4597973f115Smrg  . "./$as_me.lineno"
4607973f115Smrg  # Exit status is that of the last command.
4617973f115Smrg  exit
462dd519f38Smrg}
463ed029a5fSmrg
4647973f115SmrgECHO_C= ECHO_N= ECHO_T=
4657973f115Smrgcase `echo -n x` in #(((((
4667973f115Smrg-n*)
4677973f115Smrg  case `echo 'xy\c'` in
4687973f115Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4697973f115Smrg  xy)  ECHO_C='\c';;
4707973f115Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4717973f115Smrg       ECHO_T='	';;
4727973f115Smrg  esac;;
4737973f115Smrg*)
4747973f115Smrg  ECHO_N='-n';;
4757973f115Smrgesac
476ed029a5fSmrg
4777973f115Smrgrm -f conf$$ conf$$.exe conf$$.file
4787973f115Smrgif test -d conf$$.dir; then
4797973f115Smrg  rm -f conf$$.dir/conf$$.file
4807973f115Smrgelse
4817973f115Smrg  rm -f conf$$.dir
4827973f115Smrg  mkdir conf$$.dir 2>/dev/null
483dd519f38Smrgfi
4847973f115Smrgif (echo >conf$$.file) 2>/dev/null; then
4857973f115Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
4867973f115Smrg    as_ln_s='ln -s'
4877973f115Smrg    # ... but there are two gotchas:
4887973f115Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4897973f115Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4907973f115Smrg    # In both cases, we have to default to `cp -p'.
4917973f115Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4927973f115Smrg      as_ln_s='cp -p'
4937973f115Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
4947973f115Smrg    as_ln_s=ln
4957973f115Smrg  else
4967973f115Smrg    as_ln_s='cp -p'
4977973f115Smrg  fi
498dd519f38Smrgelse
4997973f115Smrg  as_ln_s='cp -p'
500dd519f38Smrgfi
5017973f115Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5027973f115Smrgrmdir conf$$.dir 2>/dev/null
503dd519f38Smrg
5047973f115Smrgif mkdir -p . 2>/dev/null; then
5057973f115Smrg  as_mkdir_p='mkdir -p "$as_dir"'
5067973f115Smrgelse
5077973f115Smrg  test -d ./-p && rmdir ./-p
5087973f115Smrg  as_mkdir_p=false
509dd519f38Smrgfi
510dd519f38Smrg
5117973f115Smrgif test -x / >/dev/null 2>&1; then
5127973f115Smrg  as_test_x='test -x'
513dd519f38Smrgelse
5147973f115Smrg  if ls -dL / >/dev/null 2>&1; then
5157973f115Smrg    as_ls_L_option=L
5167973f115Smrg  else
5177973f115Smrg    as_ls_L_option=
5187973f115Smrg  fi
5197973f115Smrg  as_test_x='
5207973f115Smrg    eval sh -c '\''
5217973f115Smrg      if test -d "$1"; then
5227973f115Smrg	test -d "$1/.";
5237973f115Smrg      else
5247973f115Smrg	case $1 in #(
5257973f115Smrg	-*)set "./$1";;
5267973f115Smrg	esac;
5277973f115Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5287973f115Smrg	???[sx]*):;;*)false;;esac;fi
5297973f115Smrg    '\'' sh
5307973f115Smrg  '
531dd519f38Smrgfi
5327973f115Smrgas_executable_p=$as_test_x
533dd519f38Smrg
5347973f115Smrg# Sed expression to map a string onto a valid CPP name.
5357973f115Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536dd519f38Smrg
5377973f115Smrg# Sed expression to map a string onto a valid variable name.
5387973f115Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539dd519f38Smrg
540dd519f38Smrg
5417973f115Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
5427973f115Smrgexec 6>&1
543ed029a5fSmrg
544ed029a5fSmrg# Name of the host.
5457973f115Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546ed029a5fSmrg# so uname gets run too.
547ed029a5fSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548ed029a5fSmrg
549ed029a5fSmrg#
550ed029a5fSmrg# Initializations.
551ed029a5fSmrg#
552ed029a5fSmrgac_default_prefix=/usr/local
553dd519f38Smrgac_clean_files=
554ed029a5fSmrgac_config_libobj_dir=.
555dd519f38SmrgLIBOBJS=
556ed029a5fSmrgcross_compiling=no
557ed029a5fSmrgsubdirs=
558ed029a5fSmrgMFLAGS=
559ed029a5fSmrgMAKEFLAGS=
560ed029a5fSmrg
561ed029a5fSmrg# Identity of this package.
562ed029a5fSmrgPACKAGE_NAME='font-adobe-100dpi'
563ed029a5fSmrgPACKAGE_TARNAME='font-adobe-100dpi'
5647973f115SmrgPACKAGE_VERSION='1.0.3'
5657973f115SmrgPACKAGE_STRING='font-adobe-100dpi 1.0.3'
566ed029a5fSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
5677973f115SmrgPACKAGE_URL=''
568ed029a5fSmrg
569dd519f38Smrg# Factoring default headers for most tests.
570dd519f38Smrgac_includes_default="\
571dd519f38Smrg#include <stdio.h>
572dd519f38Smrg#ifdef HAVE_SYS_TYPES_H
573dd519f38Smrg# include <sys/types.h>
574dd519f38Smrg#endif
575dd519f38Smrg#ifdef HAVE_SYS_STAT_H
576dd519f38Smrg# include <sys/stat.h>
577dd519f38Smrg#endif
578dd519f38Smrg#ifdef STDC_HEADERS
579dd519f38Smrg# include <stdlib.h>
580dd519f38Smrg# include <stddef.h>
581dd519f38Smrg#else
582dd519f38Smrg# ifdef HAVE_STDLIB_H
583dd519f38Smrg#  include <stdlib.h>
584dd519f38Smrg# endif
585dd519f38Smrg#endif
586dd519f38Smrg#ifdef HAVE_STRING_H
587dd519f38Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588dd519f38Smrg#  include <memory.h>
589dd519f38Smrg# endif
590dd519f38Smrg# include <string.h>
591dd519f38Smrg#endif
592dd519f38Smrg#ifdef HAVE_STRINGS_H
593dd519f38Smrg# include <strings.h>
594dd519f38Smrg#endif
595dd519f38Smrg#ifdef HAVE_INTTYPES_H
596dd519f38Smrg# include <inttypes.h>
597dd519f38Smrg#endif
598dd519f38Smrg#ifdef HAVE_STDINT_H
599dd519f38Smrg# include <stdint.h>
600dd519f38Smrg#endif
601dd519f38Smrg#ifdef HAVE_UNISTD_H
602dd519f38Smrg# include <unistd.h>
603dd519f38Smrg#endif"
604dd519f38Smrg
605dd519f38Smrgac_subst_vars='am__EXEEXT_FALSE
606dd519f38Smrgam__EXEEXT_TRUE
607dd519f38SmrgLTLIBOBJS
608dd519f38SmrgLIBOBJS
609dd519f38SmrgISO8859_15_FALSE
610dd519f38SmrgISO8859_15_TRUE
611dd519f38SmrgISO8859_14_FALSE
612dd519f38SmrgISO8859_14_TRUE
613dd519f38SmrgISO8859_13_FALSE
614dd519f38SmrgISO8859_13_TRUE
615dd519f38SmrgISO8859_10_FALSE
616dd519f38SmrgISO8859_10_TRUE
617dd519f38SmrgISO8859_9_FALSE
618dd519f38SmrgISO8859_9_TRUE
619dd519f38SmrgISO8859_4_FALSE
620dd519f38SmrgISO8859_4_TRUE
621dd519f38SmrgISO8859_3_FALSE
622dd519f38SmrgISO8859_3_TRUE
623dd519f38SmrgISO8859_2_FALSE
624dd519f38SmrgISO8859_2_TRUE
625dd519f38SmrgISO8859_1_FALSE
626dd519f38SmrgISO8859_1_TRUE
627dd519f38SmrgMAPFILES_PATH
628dd519f38SmrgMAPS_LIBS
629dd519f38SmrgMAPS_CFLAGS
630dd519f38SmrgUCS2ANY
631dd519f38SmrgCOMPRESS_SUFFIX
632dd519f38SmrgCOMPRESS
633dd519f38SmrgBDFTOPCF
634dd519f38SmrgMKFONTDIR
635dd519f38SmrgRUN_FCCACHE
636dd519f38SmrgFCCACHE
637dd519f38SmrgFONTDIR
638dd519f38SmrgFONTROOTDIR
6397973f115SmrgAM_BACKSLASH
6407973f115SmrgAM_DEFAULT_VERBOSITY
6417973f115SmrgMAN_SUBSTS
6427973f115SmrgXORG_MAN_PAGE
643dd519f38SmrgADMIN_MAN_DIR
644dd519f38SmrgDRIVER_MAN_DIR
645dd519f38SmrgMISC_MAN_DIR
646dd519f38SmrgFILE_MAN_DIR
647dd519f38SmrgLIB_MAN_DIR
648dd519f38SmrgAPP_MAN_DIR
649dd519f38SmrgADMIN_MAN_SUFFIX
650dd519f38SmrgDRIVER_MAN_SUFFIX
651dd519f38SmrgMISC_MAN_SUFFIX
652dd519f38SmrgFILE_MAN_SUFFIX
653dd519f38SmrgLIB_MAN_SUFFIX
654dd519f38SmrgAPP_MAN_SUFFIX
6557973f115SmrgSED
656dd519f38Smrghost_os
657dd519f38Smrghost_vendor
658dd519f38Smrghost_cpu
659dd519f38Smrghost
660dd519f38Smrgbuild_os
661dd519f38Smrgbuild_vendor
662dd519f38Smrgbuild_cpu
663dd519f38Smrgbuild
6647973f115SmrgINSTALL_CMD
6657973f115SmrgPKG_CONFIG_LIBDIR
6667973f115SmrgPKG_CONFIG_PATH
6677973f115SmrgPKG_CONFIG
668dd519f38SmrgCHANGELOG_CMD
669dd519f38SmrgCWARNFLAGS
670dd519f38SmrgEGREP
671dd519f38SmrgGREP
672dd519f38SmrgCPP
673dd519f38Smrgam__fastdepCC_FALSE
674dd519f38Smrgam__fastdepCC_TRUE
675dd519f38SmrgCCDEPMODE
676dd519f38SmrgAMDEPBACKSLASH
677dd519f38SmrgAMDEP_FALSE
678dd519f38SmrgAMDEP_TRUE
679dd519f38Smrgam__quote
680dd519f38Smrgam__include
681dd519f38SmrgDEPDIR
682dd519f38SmrgOBJEXT
683dd519f38SmrgEXEEXT
684dd519f38Smrgac_ct_CC
685dd519f38SmrgCPPFLAGS
686dd519f38SmrgLDFLAGS
687dd519f38SmrgCFLAGS
688dd519f38SmrgCC
689dd519f38SmrgMAINT
690dd519f38SmrgMAINTAINER_MODE_FALSE
691dd519f38SmrgMAINTAINER_MODE_TRUE
692dd519f38Smrgam__untar
693dd519f38Smrgam__tar
694dd519f38SmrgAMTAR
695dd519f38Smrgam__leading_dot
696dd519f38SmrgSET_MAKE
697dd519f38SmrgAWK
698dd519f38Smrgmkdir_p
699dd519f38SmrgMKDIR_P
700dd519f38SmrgINSTALL_STRIP_PROGRAM
701dd519f38SmrgSTRIP
702dd519f38Smrginstall_sh
703dd519f38SmrgMAKEINFO
704dd519f38SmrgAUTOHEADER
705dd519f38SmrgAUTOMAKE
706dd519f38SmrgAUTOCONF
707dd519f38SmrgACLOCAL
708dd519f38SmrgVERSION
709dd519f38SmrgPACKAGE
710dd519f38SmrgCYGPATH_W
711dd519f38Smrgam__isrc
712dd519f38SmrgINSTALL_DATA
713dd519f38SmrgINSTALL_SCRIPT
714dd519f38SmrgINSTALL_PROGRAM
715dd519f38Smrgtarget_alias
716dd519f38Smrghost_alias
717dd519f38Smrgbuild_alias
718dd519f38SmrgLIBS
719dd519f38SmrgECHO_T
720dd519f38SmrgECHO_N
721dd519f38SmrgECHO_C
722dd519f38SmrgDEFS
723dd519f38Smrgmandir
724dd519f38Smrglocaledir
725dd519f38Smrglibdir
726dd519f38Smrgpsdir
727dd519f38Smrgpdfdir
728dd519f38Smrgdvidir
729dd519f38Smrghtmldir
730dd519f38Smrginfodir
731dd519f38Smrgdocdir
732dd519f38Smrgoldincludedir
733dd519f38Smrgincludedir
734dd519f38Smrglocalstatedir
735dd519f38Smrgsharedstatedir
736dd519f38Smrgsysconfdir
737dd519f38Smrgdatadir
738dd519f38Smrgdatarootdir
739dd519f38Smrglibexecdir
740dd519f38Smrgsbindir
741dd519f38Smrgbindir
742dd519f38Smrgprogram_transform_name
743dd519f38Smrgprefix
744dd519f38Smrgexec_prefix
7457973f115SmrgPACKAGE_URL
746dd519f38SmrgPACKAGE_BUGREPORT
747dd519f38SmrgPACKAGE_STRING
748dd519f38SmrgPACKAGE_VERSION
749dd519f38SmrgPACKAGE_TARNAME
750dd519f38SmrgPACKAGE_NAME
751dd519f38SmrgPATH_SEPARATOR
752dd519f38SmrgSHELL'
753ed029a5fSmrgac_subst_files=''
754dd519f38Smrgac_user_opts='
755dd519f38Smrgenable_option_checking
756dd519f38Smrgenable_maintainer_mode
757dd519f38Smrgenable_dependency_tracking
758dd519f38Smrgenable_strict_compilation
7597973f115Smrgenable_silent_rules
760dd519f38Smrgwith_fontrootdir
761dd519f38Smrgwith_fontdir
762dd519f38Smrgwith_compression
7637973f115Smrgenable_all_encodings
764dd519f38Smrgenable_iso8859_1
765dd519f38Smrgenable_iso8859_2
766dd519f38Smrgenable_iso8859_3
767dd519f38Smrgenable_iso8859_4
768dd519f38Smrgenable_iso8859_9
769dd519f38Smrgenable_iso8859_10
770dd519f38Smrgenable_iso8859_13
771dd519f38Smrgenable_iso8859_14
772dd519f38Smrgenable_iso8859_15
773dd519f38Smrg'
774dd519f38Smrg      ac_precious_vars='build_alias
775dd519f38Smrghost_alias
776dd519f38Smrgtarget_alias
777dd519f38SmrgCC
778dd519f38SmrgCFLAGS
779dd519f38SmrgLDFLAGS
780dd519f38SmrgLIBS
781dd519f38SmrgCPPFLAGS
782dd519f38SmrgCPP
783dd519f38SmrgPKG_CONFIG
7847973f115SmrgPKG_CONFIG_PATH
7857973f115SmrgPKG_CONFIG_LIBDIR
786dd519f38SmrgMAPS_CFLAGS
787dd519f38SmrgMAPS_LIBS'
788dd519f38Smrg
789ed029a5fSmrg
790ed029a5fSmrg# Initialize some variables set by options.
791ed029a5fSmrgac_init_help=
792ed029a5fSmrgac_init_version=false
793dd519f38Smrgac_unrecognized_opts=
794dd519f38Smrgac_unrecognized_sep=
795ed029a5fSmrg# The variables have the same names as the options, with
796ed029a5fSmrg# dashes changed to underlines.
797ed029a5fSmrgcache_file=/dev/null
798ed029a5fSmrgexec_prefix=NONE
799ed029a5fSmrgno_create=
800ed029a5fSmrgno_recursion=
801ed029a5fSmrgprefix=NONE
802ed029a5fSmrgprogram_prefix=NONE
803ed029a5fSmrgprogram_suffix=NONE
804ed029a5fSmrgprogram_transform_name=s,x,x,
805ed029a5fSmrgsilent=
806ed029a5fSmrgsite=
807ed029a5fSmrgsrcdir=
808ed029a5fSmrgverbose=
809ed029a5fSmrgx_includes=NONE
810ed029a5fSmrgx_libraries=NONE
811ed029a5fSmrg
812ed029a5fSmrg# Installation directory options.
813ed029a5fSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
814ed029a5fSmrg# and all the variables that are supposed to be based on exec_prefix
815ed029a5fSmrg# by default will actually change.
816ed029a5fSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
817dd519f38Smrg# (The list follows the same order as the GNU Coding Standards.)
818ed029a5fSmrgbindir='${exec_prefix}/bin'
819ed029a5fSmrgsbindir='${exec_prefix}/sbin'
820ed029a5fSmrglibexecdir='${exec_prefix}/libexec'
821dd519f38Smrgdatarootdir='${prefix}/share'
822dd519f38Smrgdatadir='${datarootdir}'
823ed029a5fSmrgsysconfdir='${prefix}/etc'
824ed029a5fSmrgsharedstatedir='${prefix}/com'
825ed029a5fSmrglocalstatedir='${prefix}/var'
826ed029a5fSmrgincludedir='${prefix}/include'
827ed029a5fSmrgoldincludedir='/usr/include'
828dd519f38Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829dd519f38Smrginfodir='${datarootdir}/info'
830dd519f38Smrghtmldir='${docdir}'
831dd519f38Smrgdvidir='${docdir}'
832dd519f38Smrgpdfdir='${docdir}'
833dd519f38Smrgpsdir='${docdir}'
834dd519f38Smrglibdir='${exec_prefix}/lib'
835dd519f38Smrglocaledir='${datarootdir}/locale'
836dd519f38Smrgmandir='${datarootdir}/man'
837ed029a5fSmrg
838ed029a5fSmrgac_prev=
839dd519f38Smrgac_dashdash=
840ed029a5fSmrgfor ac_option
841ed029a5fSmrgdo
842ed029a5fSmrg  # If the previous option needs an argument, assign it.
843ed029a5fSmrg  if test -n "$ac_prev"; then
844dd519f38Smrg    eval $ac_prev=\$ac_option
845ed029a5fSmrg    ac_prev=
846ed029a5fSmrg    continue
847ed029a5fSmrg  fi
848ed029a5fSmrg
849dd519f38Smrg  case $ac_option in
8507973f115Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
8517973f115Smrg  *=)   ac_optarg= ;;
8527973f115Smrg  *)    ac_optarg=yes ;;
853dd519f38Smrg  esac
854ed029a5fSmrg
855ed029a5fSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
856ed029a5fSmrg
857dd519f38Smrg  case $ac_dashdash$ac_option in
858dd519f38Smrg  --)
859dd519f38Smrg    ac_dashdash=yes ;;
860ed029a5fSmrg
861ed029a5fSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
862ed029a5fSmrg    ac_prev=bindir ;;
863ed029a5fSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864ed029a5fSmrg    bindir=$ac_optarg ;;
865ed029a5fSmrg
866ed029a5fSmrg  -build | --build | --buil | --bui | --bu)
867ed029a5fSmrg    ac_prev=build_alias ;;
868ed029a5fSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869ed029a5fSmrg    build_alias=$ac_optarg ;;
870ed029a5fSmrg
871ed029a5fSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
872ed029a5fSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873ed029a5fSmrg    ac_prev=cache_file ;;
874ed029a5fSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875ed029a5fSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876ed029a5fSmrg    cache_file=$ac_optarg ;;
877ed029a5fSmrg
878ed029a5fSmrg  --config-cache | -C)
879ed029a5fSmrg    cache_file=config.cache ;;
880ed029a5fSmrg
881dd519f38Smrg  -datadir | --datadir | --datadi | --datad)
882ed029a5fSmrg    ac_prev=datadir ;;
883dd519f38Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
884ed029a5fSmrg    datadir=$ac_optarg ;;
885ed029a5fSmrg
886dd519f38Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887dd519f38Smrg  | --dataroo | --dataro | --datar)
888dd519f38Smrg    ac_prev=datarootdir ;;
889dd519f38Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890dd519f38Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891dd519f38Smrg    datarootdir=$ac_optarg ;;
892dd519f38Smrg
893ed029a5fSmrg  -disable-* | --disable-*)
894dd519f38Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895ed029a5fSmrg    # Reject names that are not valid shell variable names.
896dd519f38Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8977973f115Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
898dd519f38Smrg    ac_useropt_orig=$ac_useropt
899dd519f38Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900dd519f38Smrg    case $ac_user_opts in
901dd519f38Smrg      *"
902dd519f38Smrg"enable_$ac_useropt"
903dd519f38Smrg"*) ;;
904dd519f38Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905dd519f38Smrg	 ac_unrecognized_sep=', ';;
906dd519f38Smrg    esac
907dd519f38Smrg    eval enable_$ac_useropt=no ;;
908dd519f38Smrg
909dd519f38Smrg  -docdir | --docdir | --docdi | --doc | --do)
910dd519f38Smrg    ac_prev=docdir ;;
911dd519f38Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
912dd519f38Smrg    docdir=$ac_optarg ;;
913dd519f38Smrg
914dd519f38Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915dd519f38Smrg    ac_prev=dvidir ;;
916dd519f38Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
917dd519f38Smrg    dvidir=$ac_optarg ;;
918ed029a5fSmrg
919ed029a5fSmrg  -enable-* | --enable-*)
920dd519f38Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921ed029a5fSmrg    # Reject names that are not valid shell variable names.
922dd519f38Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
9237973f115Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
924dd519f38Smrg    ac_useropt_orig=$ac_useropt
925dd519f38Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926dd519f38Smrg    case $ac_user_opts in
927dd519f38Smrg      *"
928dd519f38Smrg"enable_$ac_useropt"
929dd519f38Smrg"*) ;;
930dd519f38Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931dd519f38Smrg	 ac_unrecognized_sep=', ';;
932ed029a5fSmrg    esac
933dd519f38Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
934ed029a5fSmrg
935ed029a5fSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
936ed029a5fSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
937ed029a5fSmrg  | --exec | --exe | --ex)
938ed029a5fSmrg    ac_prev=exec_prefix ;;
939ed029a5fSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
940ed029a5fSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
941ed029a5fSmrg  | --exec=* | --exe=* | --ex=*)
942ed029a5fSmrg    exec_prefix=$ac_optarg ;;
943ed029a5fSmrg
944ed029a5fSmrg  -gas | --gas | --ga | --g)
945ed029a5fSmrg    # Obsolete; use --with-gas.
946ed029a5fSmrg    with_gas=yes ;;
947ed029a5fSmrg
948ed029a5fSmrg  -help | --help | --hel | --he | -h)
949ed029a5fSmrg    ac_init_help=long ;;
950ed029a5fSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
951ed029a5fSmrg    ac_init_help=recursive ;;
952ed029a5fSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
953ed029a5fSmrg    ac_init_help=short ;;
954ed029a5fSmrg
955ed029a5fSmrg  -host | --host | --hos | --ho)
956ed029a5fSmrg    ac_prev=host_alias ;;
957ed029a5fSmrg  -host=* | --host=* | --hos=* | --ho=*)
958ed029a5fSmrg    host_alias=$ac_optarg ;;
959ed029a5fSmrg
960dd519f38Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
961dd519f38Smrg    ac_prev=htmldir ;;
962dd519f38Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
963dd519f38Smrg  | --ht=*)
964dd519f38Smrg    htmldir=$ac_optarg ;;
965dd519f38Smrg
966ed029a5fSmrg  -includedir | --includedir | --includedi | --included | --include \
967ed029a5fSmrg  | --includ | --inclu | --incl | --inc)
968ed029a5fSmrg    ac_prev=includedir ;;
969ed029a5fSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
970ed029a5fSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
971ed029a5fSmrg    includedir=$ac_optarg ;;
972ed029a5fSmrg
973ed029a5fSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
974ed029a5fSmrg    ac_prev=infodir ;;
975ed029a5fSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
976ed029a5fSmrg    infodir=$ac_optarg ;;
977ed029a5fSmrg
978ed029a5fSmrg  -libdir | --libdir | --libdi | --libd)
979ed029a5fSmrg    ac_prev=libdir ;;
980ed029a5fSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
981ed029a5fSmrg    libdir=$ac_optarg ;;
982ed029a5fSmrg
983ed029a5fSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
984ed029a5fSmrg  | --libexe | --libex | --libe)
985ed029a5fSmrg    ac_prev=libexecdir ;;
986ed029a5fSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
987ed029a5fSmrg  | --libexe=* | --libex=* | --libe=*)
988ed029a5fSmrg    libexecdir=$ac_optarg ;;
989ed029a5fSmrg
990dd519f38Smrg  -localedir | --localedir | --localedi | --localed | --locale)
991dd519f38Smrg    ac_prev=localedir ;;
992dd519f38Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
993dd519f38Smrg    localedir=$ac_optarg ;;
994dd519f38Smrg
995ed029a5fSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
996dd519f38Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
997ed029a5fSmrg    ac_prev=localstatedir ;;
998ed029a5fSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
999dd519f38Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1000ed029a5fSmrg    localstatedir=$ac_optarg ;;
1001ed029a5fSmrg
1002ed029a5fSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1003ed029a5fSmrg    ac_prev=mandir ;;
1004ed029a5fSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1005ed029a5fSmrg    mandir=$ac_optarg ;;
1006ed029a5fSmrg
1007ed029a5fSmrg  -nfp | --nfp | --nf)
1008ed029a5fSmrg    # Obsolete; use --without-fp.
1009ed029a5fSmrg    with_fp=no ;;
1010ed029a5fSmrg
1011ed029a5fSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1012ed029a5fSmrg  | --no-cr | --no-c | -n)
1013ed029a5fSmrg    no_create=yes ;;
1014ed029a5fSmrg
1015ed029a5fSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1016ed029a5fSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1017ed029a5fSmrg    no_recursion=yes ;;
1018ed029a5fSmrg
1019ed029a5fSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1020ed029a5fSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1021ed029a5fSmrg  | --oldin | --oldi | --old | --ol | --o)
1022ed029a5fSmrg    ac_prev=oldincludedir ;;
1023ed029a5fSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1024ed029a5fSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1025ed029a5fSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1026ed029a5fSmrg    oldincludedir=$ac_optarg ;;
1027ed029a5fSmrg
1028ed029a5fSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1029ed029a5fSmrg    ac_prev=prefix ;;
1030ed029a5fSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1031ed029a5fSmrg    prefix=$ac_optarg ;;
1032ed029a5fSmrg
1033ed029a5fSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1034ed029a5fSmrg  | --program-pre | --program-pr | --program-p)
1035ed029a5fSmrg    ac_prev=program_prefix ;;
1036ed029a5fSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1037ed029a5fSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1038ed029a5fSmrg    program_prefix=$ac_optarg ;;
1039ed029a5fSmrg
1040ed029a5fSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1041ed029a5fSmrg  | --program-suf | --program-su | --program-s)
1042ed029a5fSmrg    ac_prev=program_suffix ;;
1043ed029a5fSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1044ed029a5fSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1045ed029a5fSmrg    program_suffix=$ac_optarg ;;
1046ed029a5fSmrg
1047ed029a5fSmrg  -program-transform-name | --program-transform-name \
1048ed029a5fSmrg  | --program-transform-nam | --program-transform-na \
1049ed029a5fSmrg  | --program-transform-n | --program-transform- \
1050ed029a5fSmrg  | --program-transform | --program-transfor \
1051ed029a5fSmrg  | --program-transfo | --program-transf \
1052ed029a5fSmrg  | --program-trans | --program-tran \
1053ed029a5fSmrg  | --progr-tra | --program-tr | --program-t)
1054ed029a5fSmrg    ac_prev=program_transform_name ;;
1055ed029a5fSmrg  -program-transform-name=* | --program-transform-name=* \
1056ed029a5fSmrg  | --program-transform-nam=* | --program-transform-na=* \
1057ed029a5fSmrg  | --program-transform-n=* | --program-transform-=* \
1058ed029a5fSmrg  | --program-transform=* | --program-transfor=* \
1059ed029a5fSmrg  | --program-transfo=* | --program-transf=* \
1060ed029a5fSmrg  | --program-trans=* | --program-tran=* \
1061ed029a5fSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1062ed029a5fSmrg    program_transform_name=$ac_optarg ;;
1063ed029a5fSmrg
1064dd519f38Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1065dd519f38Smrg    ac_prev=pdfdir ;;
1066dd519f38Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1067dd519f38Smrg    pdfdir=$ac_optarg ;;
1068dd519f38Smrg
1069dd519f38Smrg  -psdir | --psdir | --psdi | --psd | --ps)
1070dd519f38Smrg    ac_prev=psdir ;;
1071dd519f38Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1072dd519f38Smrg    psdir=$ac_optarg ;;
1073dd519f38Smrg
1074ed029a5fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075ed029a5fSmrg  | -silent | --silent | --silen | --sile | --sil)
1076ed029a5fSmrg    silent=yes ;;
1077ed029a5fSmrg
1078ed029a5fSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1079ed029a5fSmrg    ac_prev=sbindir ;;
1080ed029a5fSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1081ed029a5fSmrg  | --sbi=* | --sb=*)
1082ed029a5fSmrg    sbindir=$ac_optarg ;;
1083ed029a5fSmrg
1084ed029a5fSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1085ed029a5fSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1086ed029a5fSmrg  | --sharedst | --shareds | --shared | --share | --shar \
1087ed029a5fSmrg  | --sha | --sh)
1088ed029a5fSmrg    ac_prev=sharedstatedir ;;
1089ed029a5fSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1090ed029a5fSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1091ed029a5fSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1092ed029a5fSmrg  | --sha=* | --sh=*)
1093ed029a5fSmrg    sharedstatedir=$ac_optarg ;;
1094ed029a5fSmrg
1095ed029a5fSmrg  -site | --site | --sit)
1096ed029a5fSmrg    ac_prev=site ;;
1097ed029a5fSmrg  -site=* | --site=* | --sit=*)
1098ed029a5fSmrg    site=$ac_optarg ;;
1099ed029a5fSmrg
1100ed029a5fSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1101ed029a5fSmrg    ac_prev=srcdir ;;
1102ed029a5fSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1103ed029a5fSmrg    srcdir=$ac_optarg ;;
1104ed029a5fSmrg
1105ed029a5fSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1106ed029a5fSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
1107ed029a5fSmrg    ac_prev=sysconfdir ;;
1108ed029a5fSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1109ed029a5fSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1110ed029a5fSmrg    sysconfdir=$ac_optarg ;;
1111ed029a5fSmrg
1112ed029a5fSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1113ed029a5fSmrg    ac_prev=target_alias ;;
1114ed029a5fSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1115ed029a5fSmrg    target_alias=$ac_optarg ;;
1116ed029a5fSmrg
1117ed029a5fSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1118ed029a5fSmrg    verbose=yes ;;
1119ed029a5fSmrg
1120ed029a5fSmrg  -version | --version | --versio | --versi | --vers | -V)
1121ed029a5fSmrg    ac_init_version=: ;;
1122ed029a5fSmrg
1123ed029a5fSmrg  -with-* | --with-*)
1124dd519f38Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125ed029a5fSmrg    # Reject names that are not valid shell variable names.
1126dd519f38Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11277973f115Smrg      as_fn_error $? "invalid package name: $ac_useropt"
1128dd519f38Smrg    ac_useropt_orig=$ac_useropt
1129dd519f38Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130dd519f38Smrg    case $ac_user_opts in
1131dd519f38Smrg      *"
1132dd519f38Smrg"with_$ac_useropt"
1133dd519f38Smrg"*) ;;
1134dd519f38Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135dd519f38Smrg	 ac_unrecognized_sep=', ';;
1136ed029a5fSmrg    esac
1137dd519f38Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1138ed029a5fSmrg
1139ed029a5fSmrg  -without-* | --without-*)
1140dd519f38Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141ed029a5fSmrg    # Reject names that are not valid shell variable names.
1142dd519f38Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11437973f115Smrg      as_fn_error $? "invalid package name: $ac_useropt"
1144dd519f38Smrg    ac_useropt_orig=$ac_useropt
1145dd519f38Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146dd519f38Smrg    case $ac_user_opts in
1147dd519f38Smrg      *"
1148dd519f38Smrg"with_$ac_useropt"
1149dd519f38Smrg"*) ;;
1150dd519f38Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151dd519f38Smrg	 ac_unrecognized_sep=', ';;
1152dd519f38Smrg    esac
1153dd519f38Smrg    eval with_$ac_useropt=no ;;
1154ed029a5fSmrg
1155ed029a5fSmrg  --x)
1156ed029a5fSmrg    # Obsolete; use --with-x.
1157ed029a5fSmrg    with_x=yes ;;
1158ed029a5fSmrg
1159ed029a5fSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160ed029a5fSmrg  | --x-incl | --x-inc | --x-in | --x-i)
1161ed029a5fSmrg    ac_prev=x_includes ;;
1162ed029a5fSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163ed029a5fSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164ed029a5fSmrg    x_includes=$ac_optarg ;;
1165ed029a5fSmrg
1166ed029a5fSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167ed029a5fSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168ed029a5fSmrg    ac_prev=x_libraries ;;
1169ed029a5fSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170ed029a5fSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171ed029a5fSmrg    x_libraries=$ac_optarg ;;
1172ed029a5fSmrg
11737973f115Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
11747973f115SmrgTry \`$0 --help' for more information"
1175ed029a5fSmrg    ;;
1176ed029a5fSmrg
1177ed029a5fSmrg  *=*)
1178ed029a5fSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1179ed029a5fSmrg    # Reject names that are not valid shell variable names.
11807973f115Smrg    case $ac_envvar in #(
11817973f115Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
11827973f115Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
11837973f115Smrg    esac
1184dd519f38Smrg    eval $ac_envvar=\$ac_optarg
1185ed029a5fSmrg    export $ac_envvar ;;
1186ed029a5fSmrg
1187ed029a5fSmrg  *)
1188ed029a5fSmrg    # FIXME: should be removed in autoconf 3.0.
1189dd519f38Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190ed029a5fSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191dd519f38Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11927973f115Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193ed029a5fSmrg    ;;
1194ed029a5fSmrg
1195ed029a5fSmrg  esac
1196ed029a5fSmrgdone
1197ed029a5fSmrg
1198ed029a5fSmrgif test -n "$ac_prev"; then
1199ed029a5fSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
12007973f115Smrg  as_fn_error $? "missing argument to $ac_option"
1201ed029a5fSmrgfi
1202ed029a5fSmrg
1203dd519f38Smrgif test -n "$ac_unrecognized_opts"; then
1204dd519f38Smrg  case $enable_option_checking in
1205dd519f38Smrg    no) ;;
12067973f115Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1207dd519f38Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208ed029a5fSmrg  esac
1209dd519f38Smrgfi
1210ed029a5fSmrg
1211dd519f38Smrg# Check all directory arguments for consistency.
1212dd519f38Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213dd519f38Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1214dd519f38Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215dd519f38Smrg		libdir localedir mandir
1216ed029a5fSmrgdo
1217dd519f38Smrg  eval ac_val=\$$ac_var
1218dd519f38Smrg  # Remove trailing slashes.
1219ed029a5fSmrg  case $ac_val in
1220dd519f38Smrg    */ )
1221dd519f38Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222dd519f38Smrg      eval $ac_var=\$ac_val;;
1223dd519f38Smrg  esac
1224dd519f38Smrg  # Be sure to have absolute directory names.
1225dd519f38Smrg  case $ac_val in
1226dd519f38Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1227dd519f38Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1228ed029a5fSmrg  esac
12297973f115Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1230ed029a5fSmrgdone
1231ed029a5fSmrg
1232ed029a5fSmrg# There might be people who depend on the old broken behavior: `$host'
1233ed029a5fSmrg# used to hold the argument of --host etc.
1234ed029a5fSmrg# FIXME: To remove some day.
1235ed029a5fSmrgbuild=$build_alias
1236ed029a5fSmrghost=$host_alias
1237ed029a5fSmrgtarget=$target_alias
1238ed029a5fSmrg
1239ed029a5fSmrg# FIXME: To remove some day.
1240ed029a5fSmrgif test "x$host_alias" != x; then
1241ed029a5fSmrg  if test "x$build_alias" = x; then
1242ed029a5fSmrg    cross_compiling=maybe
12437973f115Smrg    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
12447973f115Smrg    If a cross compiler is detected then cross compile mode will be used" >&2
1245ed029a5fSmrg  elif test "x$build_alias" != "x$host_alias"; then
1246ed029a5fSmrg    cross_compiling=yes
1247ed029a5fSmrg  fi
1248ed029a5fSmrgfi
1249ed029a5fSmrg
1250ed029a5fSmrgac_tool_prefix=
1251ed029a5fSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1252ed029a5fSmrg
1253ed029a5fSmrgtest "$silent" = yes && exec 6>/dev/null
1254ed029a5fSmrg
1255ed029a5fSmrg
1256dd519f38Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1257dd519f38Smrgac_ls_di=`ls -di .` &&
1258dd519f38Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12597973f115Smrg  as_fn_error $? "working directory cannot be determined"
1260dd519f38Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12617973f115Smrg  as_fn_error $? "pwd does not report name of working directory"
1262dd519f38Smrg
1263dd519f38Smrg
1264ed029a5fSmrg# Find the source files, if location was not specified.
1265ed029a5fSmrgif test -z "$srcdir"; then
1266ed029a5fSmrg  ac_srcdir_defaulted=yes
1267dd519f38Smrg  # Try the directory containing this script, then the parent directory.
1268dd519f38Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1269dd519f38Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270dd519f38Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1271dd519f38Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1272dd519f38Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273dd519f38Smrg$as_echo X"$as_myself" |
1274dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275dd519f38Smrg	    s//\1/
1276dd519f38Smrg	    q
1277dd519f38Smrg	  }
1278dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
1279dd519f38Smrg	    s//\1/
1280dd519f38Smrg	    q
1281dd519f38Smrg	  }
1282dd519f38Smrg	  /^X\(\/\/\)$/{
1283dd519f38Smrg	    s//\1/
1284dd519f38Smrg	    q
1285dd519f38Smrg	  }
1286dd519f38Smrg	  /^X\(\/\).*/{
1287dd519f38Smrg	    s//\1/
1288dd519f38Smrg	    q
1289dd519f38Smrg	  }
1290dd519f38Smrg	  s/.*/./; q'`
1291ed029a5fSmrg  srcdir=$ac_confdir
1292dd519f38Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1293ed029a5fSmrg    srcdir=..
1294ed029a5fSmrg  fi
1295ed029a5fSmrgelse
1296ed029a5fSmrg  ac_srcdir_defaulted=no
1297ed029a5fSmrgfi
1298dd519f38Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1299dd519f38Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
13007973f115Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1301ed029a5fSmrgfi
1302dd519f38Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303dd519f38Smrgac_abs_confdir=`(
13047973f115Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305dd519f38Smrg	pwd)`
1306dd519f38Smrg# When building in place, set srcdir=.
1307dd519f38Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1308dd519f38Smrg  srcdir=.
1309dd519f38Smrgfi
1310dd519f38Smrg# Remove unnecessary trailing slashes from srcdir.
1311dd519f38Smrg# Double slashes in file names in object file debugging info
1312dd519f38Smrg# mess up M-x gdb in Emacs.
1313dd519f38Smrgcase $srcdir in
1314dd519f38Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315dd519f38Smrgesac
1316dd519f38Smrgfor ac_var in $ac_precious_vars; do
1317dd519f38Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1318dd519f38Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1319dd519f38Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1320dd519f38Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1321dd519f38Smrgdone
1322ed029a5fSmrg
1323ed029a5fSmrg#
1324ed029a5fSmrg# Report the --help message.
1325ed029a5fSmrg#
1326ed029a5fSmrgif test "$ac_init_help" = "long"; then
1327ed029a5fSmrg  # Omit some internal or obsolete options to make the list less imposing.
1328ed029a5fSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
1329ed029a5fSmrg  cat <<_ACEOF
13307973f115Smrg\`configure' configures font-adobe-100dpi 1.0.3 to adapt to many kinds of systems.
1331ed029a5fSmrg
1332ed029a5fSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1333ed029a5fSmrg
1334ed029a5fSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1335ed029a5fSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1336ed029a5fSmrg
1337ed029a5fSmrgDefaults for the options are specified in brackets.
1338ed029a5fSmrg
1339ed029a5fSmrgConfiguration:
1340ed029a5fSmrg  -h, --help              display this help and exit
1341ed029a5fSmrg      --help=short        display options specific to this package
1342ed029a5fSmrg      --help=recursive    display the short help of all the included packages
1343ed029a5fSmrg  -V, --version           display version information and exit
13447973f115Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
1345ed029a5fSmrg      --cache-file=FILE   cache test results in FILE [disabled]
1346ed029a5fSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1347ed029a5fSmrg  -n, --no-create         do not create output files
1348ed029a5fSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1349ed029a5fSmrg
1350ed029a5fSmrgInstallation directories:
1351ed029a5fSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1352dd519f38Smrg                          [$ac_default_prefix]
1353ed029a5fSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1354dd519f38Smrg                          [PREFIX]
1355ed029a5fSmrg
1356ed029a5fSmrgBy default, \`make install' will install all the files in
1357ed029a5fSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1358ed029a5fSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359ed029a5fSmrgfor instance \`--prefix=\$HOME'.
1360ed029a5fSmrg
1361ed029a5fSmrgFor better control, use the options below.
1362ed029a5fSmrg
1363ed029a5fSmrgFine tuning of the installation directories:
1364dd519f38Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1365dd519f38Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1366dd519f38Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1367dd519f38Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1368dd519f38Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1369dd519f38Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1370dd519f38Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1371dd519f38Smrg  --includedir=DIR        C header files [PREFIX/include]
1372dd519f38Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1373dd519f38Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1374dd519f38Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1375dd519f38Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1376dd519f38Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1377dd519f38Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1378dd519f38Smrg  --docdir=DIR            documentation root
1379dd519f38Smrg                          [DATAROOTDIR/doc/font-adobe-100dpi]
1380dd519f38Smrg  --htmldir=DIR           html documentation [DOCDIR]
1381dd519f38Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1382dd519f38Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1383dd519f38Smrg  --psdir=DIR             ps documentation [DOCDIR]
1384ed029a5fSmrg_ACEOF
1385ed029a5fSmrg
1386ed029a5fSmrg  cat <<\_ACEOF
1387ed029a5fSmrg
1388ed029a5fSmrgProgram names:
1389ed029a5fSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1390ed029a5fSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1391ed029a5fSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1392dd519f38Smrg
1393dd519f38SmrgSystem types:
1394dd519f38Smrg  --build=BUILD     configure for building on BUILD [guessed]
1395dd519f38Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1396ed029a5fSmrg_ACEOF
1397ed029a5fSmrgfi
1398ed029a5fSmrg
1399ed029a5fSmrgif test -n "$ac_init_help"; then
1400ed029a5fSmrg  case $ac_init_help in
14017973f115Smrg     short | recursive ) echo "Configuration of font-adobe-100dpi 1.0.3:";;
1402ed029a5fSmrg   esac
1403ed029a5fSmrg  cat <<\_ACEOF
1404ed029a5fSmrg
1405ed029a5fSmrgOptional Features:
1406dd519f38Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1407ed029a5fSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1408ed029a5fSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1409dd519f38Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
1410dd519f38Smrg			  (and sometimes confusing) to the casual installer
1411dd519f38Smrg  --disable-dependency-tracking  speeds up one-time build
1412dd519f38Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
1413dd519f38Smrg  --enable-strict-compilation
1414dd519f38Smrg                          Enable all warnings from compiler and make them
1415dd519f38Smrg                          errors (default: disabled)
14167973f115Smrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
14177973f115Smrg  --disable-silent-rules         verbose build output (undo: `make V=0')
14187973f115Smrg  --disable-all-encodings Disable building of all font encodings
1419ed029a5fSmrg  --disable-iso8859-1     Build ISO8859-1 fonts (default: yes)
1420ed029a5fSmrg  --disable-iso8859-2     Build ISO8859-2 fonts (default: yes)
1421ed029a5fSmrg  --disable-iso8859-3     Build ISO8859-3 fonts (default: yes)
1422ed029a5fSmrg  --disable-iso8859-4     Build ISO8859-4 fonts (default: yes)
1423ed029a5fSmrg  --disable-iso8859-9     Build ISO8859-9 fonts (default: yes)
1424ed029a5fSmrg  --disable-iso8859-10    Build ISO8859-10 fonts (default: yes)
1425ed029a5fSmrg  --disable-iso8859-13    Build ISO8859-13 fonts (default: yes)
1426ed029a5fSmrg  --disable-iso8859-14    Build ISO8859-14 fonts (default: yes)
1427ed029a5fSmrg  --disable-iso8859-15    Build ISO8859-15 fonts (default: yes)
1428ed029a5fSmrg
1429ed029a5fSmrgOptional Packages:
1430ed029a5fSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1431ed029a5fSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1432dd519f38Smrg  --with-fontrootdir=DIR  Path to root directory for font files
1433dd519f38Smrg  --with-fontdir=DIR      Path to 100dpi files [FONTROOTDIR/100dpi]
1434dd519f38Smrg  --with-compression=<no|compress|gzip|bzip2>
1435dd519f38Smrg                          compression method to use on pcf fonts
1436ed029a5fSmrg
1437ed029a5fSmrgSome influential environment variables:
1438dd519f38Smrg  CC          C compiler command
1439dd519f38Smrg  CFLAGS      C compiler flags
1440dd519f38Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1441dd519f38Smrg              nonstandard directory <lib dir>
1442dd519f38Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
14437973f115Smrg  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1444dd519f38Smrg              you have headers in a nonstandard directory <include dir>
1445dd519f38Smrg  CPP         C preprocessor
1446ed029a5fSmrg  PKG_CONFIG  path to pkg-config utility
14477973f115Smrg  PKG_CONFIG_PATH
14487973f115Smrg              directories to add to pkg-config's search path
14497973f115Smrg  PKG_CONFIG_LIBDIR
14507973f115Smrg              path overriding pkg-config's built-in search path
1451ed029a5fSmrg  MAPS_CFLAGS C compiler flags for MAPS, overriding pkg-config
1452ed029a5fSmrg  MAPS_LIBS   linker flags for MAPS, overriding pkg-config
1453ed029a5fSmrg
1454ed029a5fSmrgUse these variables to override the choices made by `configure' or to help
1455ed029a5fSmrgit to find libraries and programs with nonstandard names/locations.
1456ed029a5fSmrg
1457ed029a5fSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1458ed029a5fSmrg_ACEOF
1459dd519f38Smrgac_status=$?
1460ed029a5fSmrgfi
1461ed029a5fSmrg
1462ed029a5fSmrgif test "$ac_init_help" = "recursive"; then
1463ed029a5fSmrg  # If there are subdirs, report their specific --help.
1464ed029a5fSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465dd519f38Smrg    test -d "$ac_dir" ||
1466dd519f38Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467dd519f38Smrg      continue
1468ed029a5fSmrg    ac_builddir=.
1469ed029a5fSmrg
1470dd519f38Smrgcase "$ac_dir" in
1471dd519f38Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472dd519f38Smrg*)
1473dd519f38Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474dd519f38Smrg  # A ".." for each directory in $ac_dir_suffix.
1475dd519f38Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476dd519f38Smrg  case $ac_top_builddir_sub in
1477dd519f38Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478dd519f38Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1479dd519f38Smrg  esac ;;
1480dd519f38Smrgesac
1481dd519f38Smrgac_abs_top_builddir=$ac_pwd
1482dd519f38Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1483dd519f38Smrg# for backward compatibility:
1484dd519f38Smrgac_top_builddir=$ac_top_build_prefix
1485ed029a5fSmrg
1486ed029a5fSmrgcase $srcdir in
1487dd519f38Smrg  .)  # We are building in place.
1488ed029a5fSmrg    ac_srcdir=.
1489dd519f38Smrg    ac_top_srcdir=$ac_top_builddir_sub
1490dd519f38Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1491dd519f38Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1492ed029a5fSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
1493dd519f38Smrg    ac_top_srcdir=$srcdir
1494dd519f38Smrg    ac_abs_top_srcdir=$srcdir ;;
1495dd519f38Smrg  *) # Relative name.
1496dd519f38Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497dd519f38Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1498dd519f38Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1499ed029a5fSmrgesac
1500dd519f38Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1501dd519f38Smrg
1502dd519f38Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
1503dd519f38Smrg    # Check for guested configure.
1504dd519f38Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1505dd519f38Smrg      echo &&
1506dd519f38Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507dd519f38Smrg    elif test -f "$ac_srcdir/configure"; then
1508dd519f38Smrg      echo &&
1509dd519f38Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1510ed029a5fSmrg    else
1511dd519f38Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1512dd519f38Smrg    fi || ac_status=$?
1513dd519f38Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1514ed029a5fSmrg  done
1515ed029a5fSmrgfi
1516ed029a5fSmrg
1517dd519f38Smrgtest -n "$ac_init_help" && exit $ac_status
1518ed029a5fSmrgif $ac_init_version; then
1519ed029a5fSmrg  cat <<\_ACEOF
15207973f115Smrgfont-adobe-100dpi configure 1.0.3
15217973f115Smrggenerated by GNU Autoconf 2.68
1522ed029a5fSmrg
15237973f115SmrgCopyright (C) 2010 Free Software Foundation, Inc.
1524ed029a5fSmrgThis configure script is free software; the Free Software Foundation
1525ed029a5fSmrggives unlimited permission to copy, distribute and modify it.
1526ed029a5fSmrg_ACEOF
1527dd519f38Smrg  exit
1528ed029a5fSmrgfi
1529ed029a5fSmrg
15307973f115Smrg## ------------------------ ##
15317973f115Smrg## Autoconf initialization. ##
15327973f115Smrg## ------------------------ ##
1533ed029a5fSmrg
15347973f115Smrg# ac_fn_c_try_compile LINENO
15357973f115Smrg# --------------------------
15367973f115Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded.
15377973f115Smrgac_fn_c_try_compile ()
1538ed029a5fSmrg{
15397973f115Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15407973f115Smrg  rm -f conftest.$ac_objext
15417973f115Smrg  if { { ac_try="$ac_compile"
15427973f115Smrgcase "(($ac_try" in
15437973f115Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15447973f115Smrg  *) ac_try_echo=$ac_try;;
15457973f115Smrgesac
15467973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15477973f115Smrg$as_echo "$ac_try_echo"; } >&5
15487973f115Smrg  (eval "$ac_compile") 2>conftest.err
15497973f115Smrg  ac_status=$?
15507973f115Smrg  if test -s conftest.err; then
15517973f115Smrg    grep -v '^ *+' conftest.err >conftest.er1
15527973f115Smrg    cat conftest.er1 >&5
15537973f115Smrg    mv -f conftest.er1 conftest.err
15547973f115Smrg  fi
15557973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15567973f115Smrg  test $ac_status = 0; } && {
15577973f115Smrg	 test -z "$ac_c_werror_flag" ||
15587973f115Smrg	 test ! -s conftest.err
15597973f115Smrg       } && test -s conftest.$ac_objext; then :
15607973f115Smrg  ac_retval=0
15617973f115Smrgelse
15627973f115Smrg  $as_echo "$as_me: failed program was:" >&5
15637973f115Smrgsed 's/^/| /' conftest.$ac_ext >&5
1564ed029a5fSmrg
15657973f115Smrg	ac_retval=1
15667973f115Smrgfi
15677973f115Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15687973f115Smrg  as_fn_set_status $ac_retval
1569ed029a5fSmrg
15707973f115Smrg} # ac_fn_c_try_compile
1571ed029a5fSmrg
15727973f115Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
15737973f115Smrg# ---------------------------------------------
15747973f115Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
15757973f115Smrg# accordingly.
15767973f115Smrgac_fn_c_check_decl ()
15777973f115Smrg{
15787973f115Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15797973f115Smrg  as_decl_name=`echo $2|sed 's/ *(.*//'`
15807973f115Smrg  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
15817973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
15827973f115Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
15837973f115Smrgif eval \${$3+:} false; then :
15847973f115Smrg  $as_echo_n "(cached) " >&6
15857973f115Smrgelse
15867973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15877973f115Smrg/* end confdefs.h.  */
15887973f115Smrg$4
15897973f115Smrgint
15907973f115Smrgmain ()
15917973f115Smrg{
15927973f115Smrg#ifndef $as_decl_name
15937973f115Smrg#ifdef __cplusplus
15947973f115Smrg  (void) $as_decl_use;
15957973f115Smrg#else
15967973f115Smrg  (void) $as_decl_name;
15977973f115Smrg#endif
15987973f115Smrg#endif
15997973f115Smrg
16007973f115Smrg  ;
16017973f115Smrg  return 0;
16027973f115Smrg}
16037973f115Smrg_ACEOF
16047973f115Smrgif ac_fn_c_try_compile "$LINENO"; then :
16057973f115Smrg  eval "$3=yes"
16067973f115Smrgelse
16077973f115Smrg  eval "$3=no"
16087973f115Smrgfi
16097973f115Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16107973f115Smrgfi
16117973f115Smrgeval ac_res=\$$3
16127973f115Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16137973f115Smrg$as_echo "$ac_res" >&6; }
16147973f115Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16157973f115Smrg
16167973f115Smrg} # ac_fn_c_check_decl
16177973f115Smrg
16187973f115Smrg# ac_fn_c_try_cpp LINENO
16197973f115Smrg# ----------------------
16207973f115Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
16217973f115Smrgac_fn_c_try_cpp ()
16227973f115Smrg{
16237973f115Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16247973f115Smrg  if { { ac_try="$ac_cpp conftest.$ac_ext"
16257973f115Smrgcase "(($ac_try" in
16267973f115Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16277973f115Smrg  *) ac_try_echo=$ac_try;;
16287973f115Smrgesac
16297973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16307973f115Smrg$as_echo "$ac_try_echo"; } >&5
16317973f115Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
16327973f115Smrg  ac_status=$?
16337973f115Smrg  if test -s conftest.err; then
16347973f115Smrg    grep -v '^ *+' conftest.err >conftest.er1
16357973f115Smrg    cat conftest.er1 >&5
16367973f115Smrg    mv -f conftest.er1 conftest.err
16377973f115Smrg  fi
16387973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16397973f115Smrg  test $ac_status = 0; } > conftest.i && {
16407973f115Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16417973f115Smrg	 test ! -s conftest.err
16427973f115Smrg       }; then :
16437973f115Smrg  ac_retval=0
16447973f115Smrgelse
16457973f115Smrg  $as_echo "$as_me: failed program was:" >&5
16467973f115Smrgsed 's/^/| /' conftest.$ac_ext >&5
16477973f115Smrg
16487973f115Smrg    ac_retval=1
16497973f115Smrgfi
16507973f115Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16517973f115Smrg  as_fn_set_status $ac_retval
16527973f115Smrg
16537973f115Smrg} # ac_fn_c_try_cpp
16547973f115Smrg
16557973f115Smrg# ac_fn_c_try_run LINENO
16567973f115Smrg# ----------------------
16577973f115Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
16587973f115Smrg# that executables *can* be run.
16597973f115Smrgac_fn_c_try_run ()
16607973f115Smrg{
16617973f115Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16627973f115Smrg  if { { ac_try="$ac_link"
16637973f115Smrgcase "(($ac_try" in
16647973f115Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16657973f115Smrg  *) ac_try_echo=$ac_try;;
16667973f115Smrgesac
16677973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16687973f115Smrg$as_echo "$ac_try_echo"; } >&5
16697973f115Smrg  (eval "$ac_link") 2>&5
16707973f115Smrg  ac_status=$?
16717973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16727973f115Smrg  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
16737973f115Smrg  { { case "(($ac_try" in
16747973f115Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16757973f115Smrg  *) ac_try_echo=$ac_try;;
16767973f115Smrgesac
16777973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16787973f115Smrg$as_echo "$ac_try_echo"; } >&5
16797973f115Smrg  (eval "$ac_try") 2>&5
16807973f115Smrg  ac_status=$?
16817973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16827973f115Smrg  test $ac_status = 0; }; }; then :
16837973f115Smrg  ac_retval=0
16847973f115Smrgelse
16857973f115Smrg  $as_echo "$as_me: program exited with status $ac_status" >&5
16867973f115Smrg       $as_echo "$as_me: failed program was:" >&5
16877973f115Smrgsed 's/^/| /' conftest.$ac_ext >&5
16887973f115Smrg
16897973f115Smrg       ac_retval=$ac_status
16907973f115Smrgfi
16917973f115Smrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
16927973f115Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16937973f115Smrg  as_fn_set_status $ac_retval
16947973f115Smrg
16957973f115Smrg} # ac_fn_c_try_run
16967973f115Smrg
16977973f115Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
16987973f115Smrg# -------------------------------------------------------
16997973f115Smrg# Tests whether HEADER exists and can be compiled using the include files in
17007973f115Smrg# INCLUDES, setting the cache variable VAR accordingly.
17017973f115Smrgac_fn_c_check_header_compile ()
17027973f115Smrg{
17037973f115Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17047973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17057973f115Smrg$as_echo_n "checking for $2... " >&6; }
17067973f115Smrgif eval \${$3+:} false; then :
17077973f115Smrg  $as_echo_n "(cached) " >&6
17087973f115Smrgelse
17097973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107973f115Smrg/* end confdefs.h.  */
17117973f115Smrg$4
17127973f115Smrg#include <$2>
17137973f115Smrg_ACEOF
17147973f115Smrgif ac_fn_c_try_compile "$LINENO"; then :
17157973f115Smrg  eval "$3=yes"
17167973f115Smrgelse
17177973f115Smrg  eval "$3=no"
17187973f115Smrgfi
17197973f115Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17207973f115Smrgfi
17217973f115Smrgeval ac_res=\$$3
17227973f115Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17237973f115Smrg$as_echo "$ac_res" >&6; }
17247973f115Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17257973f115Smrg
17267973f115Smrg} # ac_fn_c_check_header_compile
17277973f115Smrgcat >config.log <<_ACEOF
17287973f115SmrgThis file contains any messages produced by compilers while
17297973f115Smrgrunning configure, to aid debugging if configure makes a mistake.
17307973f115Smrg
17317973f115SmrgIt was created by font-adobe-100dpi $as_me 1.0.3, which was
17327973f115Smrggenerated by GNU Autoconf 2.68.  Invocation command line was
17337973f115Smrg
17347973f115Smrg  $ $0 $@
17357973f115Smrg
17367973f115Smrg_ACEOF
17377973f115Smrgexec 5>>config.log
17387973f115Smrg{
17397973f115Smrgcat <<_ASUNAME
17407973f115Smrg## --------- ##
17417973f115Smrg## Platform. ##
17427973f115Smrg## --------- ##
17437973f115Smrg
17447973f115Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
17457973f115Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
17467973f115Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
17477973f115Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
17487973f115Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
17497973f115Smrg
17507973f115Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
17517973f115Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
17527973f115Smrg
17537973f115Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
17547973f115Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
17557973f115Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
17567973f115Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
17577973f115Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
17587973f115Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
17597973f115Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
17607973f115Smrg
17617973f115Smrg_ASUNAME
17627973f115Smrg
17637973f115Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17647973f115Smrgfor as_dir in $PATH
1765ed029a5fSmrgdo
1766ed029a5fSmrg  IFS=$as_save_IFS
1767ed029a5fSmrg  test -z "$as_dir" && as_dir=.
17687973f115Smrg    $as_echo "PATH: $as_dir"
17697973f115Smrg  done
1770dd519f38SmrgIFS=$as_save_IFS
1771ed029a5fSmrg
1772ed029a5fSmrg} >&5
1773ed029a5fSmrg
1774ed029a5fSmrgcat >&5 <<_ACEOF
1775ed029a5fSmrg
1776ed029a5fSmrg
1777ed029a5fSmrg## ----------- ##
1778ed029a5fSmrg## Core tests. ##
1779ed029a5fSmrg## ----------- ##
1780ed029a5fSmrg
1781ed029a5fSmrg_ACEOF
1782ed029a5fSmrg
1783ed029a5fSmrg
1784ed029a5fSmrg# Keep a trace of the command line.
1785ed029a5fSmrg# Strip out --no-create and --no-recursion so they do not pile up.
1786ed029a5fSmrg# Strip out --silent because we don't want to record it for future runs.
1787ed029a5fSmrg# Also quote any args containing shell meta-characters.
1788ed029a5fSmrg# Make two passes to allow for proper duplicate-argument suppression.
1789ed029a5fSmrgac_configure_args=
1790ed029a5fSmrgac_configure_args0=
1791ed029a5fSmrgac_configure_args1=
1792ed029a5fSmrgac_must_keep_next=false
1793ed029a5fSmrgfor ac_pass in 1 2
1794ed029a5fSmrgdo
1795ed029a5fSmrg  for ac_arg
1796ed029a5fSmrg  do
1797ed029a5fSmrg    case $ac_arg in
1798ed029a5fSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1799ed029a5fSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1800ed029a5fSmrg    | -silent | --silent | --silen | --sile | --sil)
1801ed029a5fSmrg      continue ;;
1802dd519f38Smrg    *\'*)
1803dd519f38Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1804ed029a5fSmrg    esac
1805ed029a5fSmrg    case $ac_pass in
18067973f115Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1807ed029a5fSmrg    2)
18087973f115Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1809ed029a5fSmrg      if test $ac_must_keep_next = true; then
1810ed029a5fSmrg	ac_must_keep_next=false # Got value, back to normal.
1811ed029a5fSmrg      else
1812ed029a5fSmrg	case $ac_arg in
1813ed029a5fSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1814ed029a5fSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1815ed029a5fSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1816ed029a5fSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1817ed029a5fSmrg	    case "$ac_configure_args0 " in
1818ed029a5fSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1819ed029a5fSmrg	    esac
1820ed029a5fSmrg	    ;;
1821ed029a5fSmrg	  -* ) ac_must_keep_next=true ;;
1822ed029a5fSmrg	esac
1823ed029a5fSmrg      fi
18247973f115Smrg      as_fn_append ac_configure_args " '$ac_arg'"
1825ed029a5fSmrg      ;;
1826ed029a5fSmrg    esac
1827ed029a5fSmrg  done
1828ed029a5fSmrgdone
18297973f115Smrg{ ac_configure_args0=; unset ac_configure_args0;}
18307973f115Smrg{ ac_configure_args1=; unset ac_configure_args1;}
1831ed029a5fSmrg
1832ed029a5fSmrg# When interrupted or exit'd, cleanup temporary files, and complete
1833ed029a5fSmrg# config.log.  We remove comments because anyway the quotes in there
1834ed029a5fSmrg# would cause problems or look ugly.
1835dd519f38Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1836dd519f38Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1837ed029a5fSmrgtrap 'exit_status=$?
1838ed029a5fSmrg  # Save into config.log some information that might help in debugging.
1839ed029a5fSmrg  {
1840ed029a5fSmrg    echo
1841ed029a5fSmrg
18427973f115Smrg    $as_echo "## ---------------- ##
1843ed029a5fSmrg## Cache variables. ##
18447973f115Smrg## ---------------- ##"
1845ed029a5fSmrg    echo
1846ed029a5fSmrg    # The following way of writing the cache mishandles newlines in values,
1847dd519f38Smrg(
1848dd519f38Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1849dd519f38Smrg    eval ac_val=\$$ac_var
1850dd519f38Smrg    case $ac_val in #(
1851dd519f38Smrg    *${as_nl}*)
1852dd519f38Smrg      case $ac_var in #(
18537973f115Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1854dd519f38Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1855dd519f38Smrg      esac
1856dd519f38Smrg      case $ac_var in #(
1857dd519f38Smrg      _ | IFS | as_nl) ;; #(
1858dd519f38Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18597973f115Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
1860dd519f38Smrg      esac ;;
1861dd519f38Smrg    esac
1862dd519f38Smrg  done
1863ed029a5fSmrg  (set) 2>&1 |
1864dd519f38Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1865dd519f38Smrg    *${as_nl}ac_space=\ *)
1866ed029a5fSmrg      sed -n \
1867dd519f38Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1868dd519f38Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1869dd519f38Smrg      ;; #(
1870ed029a5fSmrg    *)
1871dd519f38Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1872ed029a5fSmrg      ;;
1873dd519f38Smrg    esac |
1874dd519f38Smrg    sort
1875dd519f38Smrg)
1876ed029a5fSmrg    echo
1877ed029a5fSmrg
18787973f115Smrg    $as_echo "## ----------------- ##
1879ed029a5fSmrg## Output variables. ##
18807973f115Smrg## ----------------- ##"
1881ed029a5fSmrg    echo
1882ed029a5fSmrg    for ac_var in $ac_subst_vars
1883ed029a5fSmrg    do
1884dd519f38Smrg      eval ac_val=\$$ac_var
1885dd519f38Smrg      case $ac_val in
1886dd519f38Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1887dd519f38Smrg      esac
1888dd519f38Smrg      $as_echo "$ac_var='\''$ac_val'\''"
1889ed029a5fSmrg    done | sort
1890ed029a5fSmrg    echo
1891ed029a5fSmrg
1892ed029a5fSmrg    if test -n "$ac_subst_files"; then
18937973f115Smrg      $as_echo "## ------------------- ##
1894dd519f38Smrg## File substitutions. ##
18957973f115Smrg## ------------------- ##"
1896ed029a5fSmrg      echo
1897ed029a5fSmrg      for ac_var in $ac_subst_files
1898ed029a5fSmrg      do
1899dd519f38Smrg	eval ac_val=\$$ac_var
1900dd519f38Smrg	case $ac_val in
1901dd519f38Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1902dd519f38Smrg	esac
1903dd519f38Smrg	$as_echo "$ac_var='\''$ac_val'\''"
1904ed029a5fSmrg      done | sort
1905ed029a5fSmrg      echo
1906ed029a5fSmrg    fi
1907ed029a5fSmrg
1908ed029a5fSmrg    if test -s confdefs.h; then
19097973f115Smrg      $as_echo "## ----------- ##
1910ed029a5fSmrg## confdefs.h. ##
19117973f115Smrg## ----------- ##"
1912ed029a5fSmrg      echo
1913dd519f38Smrg      cat confdefs.h
1914ed029a5fSmrg      echo
1915ed029a5fSmrg    fi
1916ed029a5fSmrg    test "$ac_signal" != 0 &&
1917dd519f38Smrg      $as_echo "$as_me: caught signal $ac_signal"
1918dd519f38Smrg    $as_echo "$as_me: exit $exit_status"
1919ed029a5fSmrg  } >&5
1920dd519f38Smrg  rm -f core *.core core.conftest.* &&
1921dd519f38Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1922ed029a5fSmrg    exit $exit_status
1923dd519f38Smrg' 0
1924ed029a5fSmrgfor ac_signal in 1 2 13 15; do
19257973f115Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1926ed029a5fSmrgdone
1927ed029a5fSmrgac_signal=0
1928ed029a5fSmrg
1929ed029a5fSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1930dd519f38Smrgrm -f -r conftest* confdefs.h
1931ed029a5fSmrg
19327973f115Smrg$as_echo "/* confdefs.h */" > confdefs.h
19337973f115Smrg
1934ed029a5fSmrg# Predefined preprocessor variables.
1935ed029a5fSmrg
1936ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1937ed029a5fSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
1938ed029a5fSmrg_ACEOF
1939ed029a5fSmrg
1940ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1941ed029a5fSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1942ed029a5fSmrg_ACEOF
1943ed029a5fSmrg
1944ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1945ed029a5fSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1946ed029a5fSmrg_ACEOF
1947ed029a5fSmrg
1948ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1949ed029a5fSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
1950ed029a5fSmrg_ACEOF
1951ed029a5fSmrg
1952ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1953ed029a5fSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1954ed029a5fSmrg_ACEOF
1955ed029a5fSmrg
19567973f115Smrgcat >>confdefs.h <<_ACEOF
19577973f115Smrg#define PACKAGE_URL "$PACKAGE_URL"
19587973f115Smrg_ACEOF
19597973f115Smrg
1960ed029a5fSmrg
1961ed029a5fSmrg# Let the site file select an alternate cache file if it wants to.
1962dd519f38Smrg# Prefer an explicitly selected file to automatically selected ones.
1963dd519f38Smrgac_site_file1=NONE
1964dd519f38Smrgac_site_file2=NONE
1965dd519f38Smrgif test -n "$CONFIG_SITE"; then
19667973f115Smrg  # We do not want a PATH search for config.site.
19677973f115Smrg  case $CONFIG_SITE in #((
19687973f115Smrg    -*)  ac_site_file1=./$CONFIG_SITE;;
19697973f115Smrg    */*) ac_site_file1=$CONFIG_SITE;;
19707973f115Smrg    *)   ac_site_file1=./$CONFIG_SITE;;
19717973f115Smrg  esac
1972dd519f38Smrgelif test "x$prefix" != xNONE; then
1973dd519f38Smrg  ac_site_file1=$prefix/share/config.site
1974dd519f38Smrg  ac_site_file2=$prefix/etc/config.site
1975dd519f38Smrgelse
1976dd519f38Smrg  ac_site_file1=$ac_default_prefix/share/config.site
1977dd519f38Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
1978ed029a5fSmrgfi
1979dd519f38Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
1980dd519f38Smrgdo
1981dd519f38Smrg  test "x$ac_site_file" = xNONE && continue
19827973f115Smrg  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
19837973f115Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1984dd519f38Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1985ed029a5fSmrg    sed 's/^/| /' "$ac_site_file" >&5
19867973f115Smrg    . "$ac_site_file" \
19877973f115Smrg      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19887973f115Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19897973f115Smrgas_fn_error $? "failed to load site script $ac_site_file
19907973f115SmrgSee \`config.log' for more details" "$LINENO" 5; }
1991ed029a5fSmrg  fi
1992ed029a5fSmrgdone
1993ed029a5fSmrg
1994ed029a5fSmrgif test -r "$cache_file"; then
19957973f115Smrg  # Some versions of bash will fail to source /dev/null (special files
19967973f115Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
19977973f115Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
19987973f115Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1999dd519f38Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
2000ed029a5fSmrg    case $cache_file in
2001dd519f38Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2002dd519f38Smrg      *)                      . "./$cache_file";;
2003ed029a5fSmrg    esac
2004ed029a5fSmrg  fi
2005ed029a5fSmrgelse
20067973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2007dd519f38Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
2008ed029a5fSmrg  >$cache_file
2009ed029a5fSmrgfi
2010ed029a5fSmrg
2011ed029a5fSmrg# Check that the precious variables saved in the cache have kept the same
2012ed029a5fSmrg# value.
2013ed029a5fSmrgac_cache_corrupted=false
2014dd519f38Smrgfor ac_var in $ac_precious_vars; do
2015ed029a5fSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2016ed029a5fSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
2017dd519f38Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2018dd519f38Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
2019ed029a5fSmrg  case $ac_old_set,$ac_new_set in
2020ed029a5fSmrg    set,)
20217973f115Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2022dd519f38Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2023ed029a5fSmrg      ac_cache_corrupted=: ;;
2024ed029a5fSmrg    ,set)
20257973f115Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2026dd519f38Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2027ed029a5fSmrg      ac_cache_corrupted=: ;;
2028ed029a5fSmrg    ,);;
2029ed029a5fSmrg    *)
2030ed029a5fSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
2031dd519f38Smrg	# differences in whitespace do not lead to failure.
2032dd519f38Smrg	ac_old_val_w=`echo x $ac_old_val`
2033dd519f38Smrg	ac_new_val_w=`echo x $ac_new_val`
2034dd519f38Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
20357973f115Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2036dd519f38Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2037dd519f38Smrg	  ac_cache_corrupted=:
2038dd519f38Smrg	else
20397973f115Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2040dd519f38Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2041dd519f38Smrg	  eval $ac_var=\$ac_old_val
2042dd519f38Smrg	fi
20437973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2044dd519f38Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
20457973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2046dd519f38Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2047ed029a5fSmrg      fi;;
2048ed029a5fSmrg  esac
2049ed029a5fSmrg  # Pass precious variables to config.status.
2050ed029a5fSmrg  if test "$ac_new_set" = set; then
2051ed029a5fSmrg    case $ac_new_val in
2052dd519f38Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2053ed029a5fSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
2054ed029a5fSmrg    esac
2055ed029a5fSmrg    case " $ac_configure_args " in
2056ed029a5fSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
20577973f115Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2058ed029a5fSmrg    esac
2059ed029a5fSmrg  fi
2060ed029a5fSmrgdone
2061ed029a5fSmrgif $ac_cache_corrupted; then
20627973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2063dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20647973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2065dd519f38Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
20667973f115Smrg  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2067ed029a5fSmrgfi
20687973f115Smrg## -------------------- ##
20697973f115Smrg## Main body of script. ##
20707973f115Smrg## -------------------- ##
2071ed029a5fSmrg
2072dd519f38Smrgac_ext=c
2073dd519f38Smrgac_cpp='$CPP $CPPFLAGS'
2074dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2075dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2076dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2077ed029a5fSmrg
2078ed029a5fSmrg
2079dd519f38Smrgam__api_version='1.11'
2080ed029a5fSmrg
2081ed029a5fSmrgac_aux_dir=
2082dd519f38Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2083dd519f38Smrg  if test -f "$ac_dir/install-sh"; then
2084ed029a5fSmrg    ac_aux_dir=$ac_dir
2085ed029a5fSmrg    ac_install_sh="$ac_aux_dir/install-sh -c"
2086ed029a5fSmrg    break
2087dd519f38Smrg  elif test -f "$ac_dir/install.sh"; then
2088ed029a5fSmrg    ac_aux_dir=$ac_dir
2089ed029a5fSmrg    ac_install_sh="$ac_aux_dir/install.sh -c"
2090ed029a5fSmrg    break
2091dd519f38Smrg  elif test -f "$ac_dir/shtool"; then
2092ed029a5fSmrg    ac_aux_dir=$ac_dir
2093ed029a5fSmrg    ac_install_sh="$ac_aux_dir/shtool install -c"
2094ed029a5fSmrg    break
2095ed029a5fSmrg  fi
2096ed029a5fSmrgdone
2097ed029a5fSmrgif test -z "$ac_aux_dir"; then
20987973f115Smrg  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2099ed029a5fSmrgfi
2100dd519f38Smrg
2101dd519f38Smrg# These three variables are undocumented and unsupported,
2102dd519f38Smrg# and are intended to be withdrawn in a future Autoconf release.
2103dd519f38Smrg# They can cause serious problems if a builder's source tree is in a directory
2104dd519f38Smrg# whose full name contains unusual characters.
2105dd519f38Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2106dd519f38Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2107dd519f38Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2108dd519f38Smrg
2109ed029a5fSmrg
2110ed029a5fSmrg# Find a good install program.  We prefer a C program (faster),
2111ed029a5fSmrg# so one script is as good as another.  But avoid the broken or
2112ed029a5fSmrg# incompatible versions:
2113ed029a5fSmrg# SysV /etc/install, /usr/sbin/install
2114ed029a5fSmrg# SunOS /usr/etc/install
2115ed029a5fSmrg# IRIX /sbin/install
2116ed029a5fSmrg# AIX /bin/install
2117ed029a5fSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
2118ed029a5fSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2119ed029a5fSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2120ed029a5fSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2121ed029a5fSmrg# OS/2's system install, which has a completely different semantic
2122ed029a5fSmrg# ./install, which can be erroneously created by make from ./install.sh.
2123dd519f38Smrg# Reject install programs that cannot install multiple files.
21247973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2125dd519f38Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
2126ed029a5fSmrgif test -z "$INSTALL"; then
21277973f115Smrgif ${ac_cv_path_install+:} false; then :
2128dd519f38Smrg  $as_echo_n "(cached) " >&6
2129ed029a5fSmrgelse
2130ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131ed029a5fSmrgfor as_dir in $PATH
2132ed029a5fSmrgdo
2133ed029a5fSmrg  IFS=$as_save_IFS
2134ed029a5fSmrg  test -z "$as_dir" && as_dir=.
21357973f115Smrg    # Account for people who put trailing slashes in PATH elements.
21367973f115Smrgcase $as_dir/ in #((
21377973f115Smrg  ./ | .// | /[cC]/* | \
2138ed029a5fSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
21397973f115Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2140ed029a5fSmrg  /usr/ucb/* ) ;;
2141ed029a5fSmrg  *)
2142ed029a5fSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
2143ed029a5fSmrg    # Don't use installbsd from OSF since it installs stuff as root
2144ed029a5fSmrg    # by default.
2145ed029a5fSmrg    for ac_prog in ginstall scoinst install; do
2146ed029a5fSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
2147dd519f38Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2148ed029a5fSmrg	  if test $ac_prog = install &&
2149ed029a5fSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2150ed029a5fSmrg	    # AIX install.  It has an incompatible calling convention.
2151ed029a5fSmrg	    :
2152ed029a5fSmrg	  elif test $ac_prog = install &&
2153ed029a5fSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2154ed029a5fSmrg	    # program-specific install script used by HP pwplus--don't use.
2155ed029a5fSmrg	    :
2156ed029a5fSmrg	  else
2157dd519f38Smrg	    rm -rf conftest.one conftest.two conftest.dir
2158dd519f38Smrg	    echo one > conftest.one
2159dd519f38Smrg	    echo two > conftest.two
2160dd519f38Smrg	    mkdir conftest.dir
2161dd519f38Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2162dd519f38Smrg	      test -s conftest.one && test -s conftest.two &&
2163dd519f38Smrg	      test -s conftest.dir/conftest.one &&
2164dd519f38Smrg	      test -s conftest.dir/conftest.two
2165dd519f38Smrg	    then
2166dd519f38Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2167dd519f38Smrg	      break 3
2168dd519f38Smrg	    fi
2169ed029a5fSmrg	  fi
2170ed029a5fSmrg	fi
2171ed029a5fSmrg      done
2172ed029a5fSmrg    done
2173ed029a5fSmrg    ;;
2174ed029a5fSmrgesac
2175dd519f38Smrg
21767973f115Smrg  done
2177dd519f38SmrgIFS=$as_save_IFS
2178ed029a5fSmrg
2179dd519f38Smrgrm -rf conftest.one conftest.two conftest.dir
2180ed029a5fSmrg
2181ed029a5fSmrgfi
2182ed029a5fSmrg  if test "${ac_cv_path_install+set}" = set; then
2183ed029a5fSmrg    INSTALL=$ac_cv_path_install
2184ed029a5fSmrg  else
2185dd519f38Smrg    # As a last resort, use the slow shell script.  Don't cache a
2186dd519f38Smrg    # value for INSTALL within a source directory, because that will
2187ed029a5fSmrg    # break other packages using the cache if that directory is
2188dd519f38Smrg    # removed, or if the value is a relative name.
2189ed029a5fSmrg    INSTALL=$ac_install_sh
2190ed029a5fSmrg  fi
2191ed029a5fSmrgfi
21927973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2193dd519f38Smrg$as_echo "$INSTALL" >&6; }
2194ed029a5fSmrg
2195ed029a5fSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2196ed029a5fSmrg# It thinks the first close brace ends the variable substitution.
2197ed029a5fSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2198ed029a5fSmrg
2199ed029a5fSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2200ed029a5fSmrg
2201ed029a5fSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2202ed029a5fSmrg
22037973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2204dd519f38Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
2205ed029a5fSmrg# Just in case
2206ed029a5fSmrgsleep 1
2207ed029a5fSmrgecho timestamp > conftest.file
2208dd519f38Smrg# Reject unsafe characters in $srcdir or the absolute working directory
2209dd519f38Smrg# name.  Accept space and tab only in the latter.
2210dd519f38Smrgam_lf='
2211dd519f38Smrg'
2212dd519f38Smrgcase `pwd` in
2213dd519f38Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
22147973f115Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2215dd519f38Smrgesac
2216dd519f38Smrgcase $srcdir in
2217dd519f38Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
22187973f115Smrg    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2219dd519f38Smrgesac
2220dd519f38Smrg
2221ed029a5fSmrg# Do `set' in a subshell so we don't clobber the current shell's
2222ed029a5fSmrg# arguments.  Must try -L first in case configure is actually a
2223ed029a5fSmrg# symlink; some systems play weird games with the mod time of symlinks
2224ed029a5fSmrg# (eg FreeBSD returns the mod time of the symlink's containing
2225ed029a5fSmrg# directory).
2226ed029a5fSmrgif (
2227dd519f38Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2228ed029a5fSmrg   if test "$*" = "X"; then
2229ed029a5fSmrg      # -L didn't work.
2230dd519f38Smrg      set X `ls -t "$srcdir/configure" conftest.file`
2231ed029a5fSmrg   fi
2232ed029a5fSmrg   rm -f conftest.file
2233ed029a5fSmrg   if test "$*" != "X $srcdir/configure conftest.file" \
2234ed029a5fSmrg      && test "$*" != "X conftest.file $srcdir/configure"; then
2235ed029a5fSmrg
2236ed029a5fSmrg      # If neither matched, then we have a broken ls.  This can happen
2237ed029a5fSmrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
2238ed029a5fSmrg      # broken ls alias from the environment.  This has actually
2239ed029a5fSmrg      # happened.  Such a system could not be considered "sane".
22407973f115Smrg      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
22417973f115Smrgalias in your environment" "$LINENO" 5
2242ed029a5fSmrg   fi
2243ed029a5fSmrg
2244ed029a5fSmrg   test "$2" = conftest.file
2245ed029a5fSmrg   )
2246ed029a5fSmrgthen
2247ed029a5fSmrg   # Ok.
2248ed029a5fSmrg   :
2249ed029a5fSmrgelse
22507973f115Smrg   as_fn_error $? "newly created file is older than distributed files!
22517973f115SmrgCheck your system clock" "$LINENO" 5
2252ed029a5fSmrgfi
22537973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2254dd519f38Smrg$as_echo "yes" >&6; }
2255ed029a5fSmrgtest "$program_prefix" != NONE &&
2256dd519f38Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2257ed029a5fSmrg# Use a double $ so make ignores it.
2258ed029a5fSmrgtest "$program_suffix" != NONE &&
2259dd519f38Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2260dd519f38Smrg# Double any \ or $.
2261ed029a5fSmrg# By default was `s,x,x', remove it if useless.
2262dd519f38Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2263dd519f38Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2264ed029a5fSmrg
2265ed029a5fSmrg# expand $ac_aux_dir to an absolute path
2266ed029a5fSmrgam_aux_dir=`cd $ac_aux_dir && pwd`
2267ed029a5fSmrg
2268dd519f38Smrgif test x"${MISSING+set}" != xset; then
2269dd519f38Smrg  case $am_aux_dir in
2270dd519f38Smrg  *\ * | *\	*)
2271dd519f38Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2272dd519f38Smrg  *)
2273dd519f38Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2274dd519f38Smrg  esac
2275dd519f38Smrgfi
2276ed029a5fSmrg# Use eval to expand $SHELL
2277ed029a5fSmrgif eval "$MISSING --run true"; then
2278ed029a5fSmrg  am_missing_run="$MISSING --run "
2279ed029a5fSmrgelse
2280ed029a5fSmrg  am_missing_run=
22817973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2282dd519f38Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2283dd519f38Smrgfi
2284dd519f38Smrg
2285dd519f38Smrgif test x"${install_sh}" != xset; then
2286dd519f38Smrg  case $am_aux_dir in
2287dd519f38Smrg  *\ * | *\	*)
2288dd519f38Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2289dd519f38Smrg  *)
2290dd519f38Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2291dd519f38Smrg  esac
2292dd519f38Smrgfi
2293dd519f38Smrg
2294dd519f38Smrg# Installed binaries are usually stripped using `strip' when the user
2295dd519f38Smrg# run `make install-strip'.  However `strip' might not be the right
2296dd519f38Smrg# tool to use in cross-compilation environments, therefore Automake
2297dd519f38Smrg# will honor the `STRIP' environment variable to overrule this program.
2298dd519f38Smrgif test "$cross_compiling" != no; then
2299dd519f38Smrg  if test -n "$ac_tool_prefix"; then
2300dd519f38Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2301dd519f38Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
23027973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2303dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
23047973f115Smrgif ${ac_cv_prog_STRIP+:} false; then :
2305dd519f38Smrg  $as_echo_n "(cached) " >&6
2306dd519f38Smrgelse
2307dd519f38Smrg  if test -n "$STRIP"; then
2308dd519f38Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2309dd519f38Smrgelse
2310dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311dd519f38Smrgfor as_dir in $PATH
2312dd519f38Smrgdo
2313dd519f38Smrg  IFS=$as_save_IFS
2314dd519f38Smrg  test -z "$as_dir" && as_dir=.
23157973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2316dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317dd519f38Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
23187973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2319dd519f38Smrg    break 2
2320dd519f38Smrg  fi
2321dd519f38Smrgdone
23227973f115Smrg  done
2323dd519f38SmrgIFS=$as_save_IFS
2324dd519f38Smrg
2325dd519f38Smrgfi
2326dd519f38Smrgfi
2327dd519f38SmrgSTRIP=$ac_cv_prog_STRIP
2328dd519f38Smrgif test -n "$STRIP"; then
23297973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2330dd519f38Smrg$as_echo "$STRIP" >&6; }
2331dd519f38Smrgelse
23327973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2333dd519f38Smrg$as_echo "no" >&6; }
2334dd519f38Smrgfi
2335dd519f38Smrg
2336dd519f38Smrg
2337dd519f38Smrgfi
2338dd519f38Smrgif test -z "$ac_cv_prog_STRIP"; then
2339dd519f38Smrg  ac_ct_STRIP=$STRIP
2340dd519f38Smrg  # Extract the first word of "strip", so it can be a program name with args.
2341dd519f38Smrgset dummy strip; ac_word=$2
23427973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
23447973f115Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2345dd519f38Smrg  $as_echo_n "(cached) " >&6
2346dd519f38Smrgelse
2347dd519f38Smrg  if test -n "$ac_ct_STRIP"; then
2348dd519f38Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2349dd519f38Smrgelse
2350dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351dd519f38Smrgfor as_dir in $PATH
2352dd519f38Smrgdo
2353dd519f38Smrg  IFS=$as_save_IFS
2354dd519f38Smrg  test -z "$as_dir" && as_dir=.
23557973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2356dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2357dd519f38Smrg    ac_cv_prog_ac_ct_STRIP="strip"
23587973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2359dd519f38Smrg    break 2
2360dd519f38Smrg  fi
2361dd519f38Smrgdone
23627973f115Smrg  done
2363dd519f38SmrgIFS=$as_save_IFS
2364dd519f38Smrg
2365dd519f38Smrgfi
2366dd519f38Smrgfi
2367dd519f38Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2368dd519f38Smrgif test -n "$ac_ct_STRIP"; then
23697973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2370dd519f38Smrg$as_echo "$ac_ct_STRIP" >&6; }
2371dd519f38Smrgelse
23727973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373dd519f38Smrg$as_echo "no" >&6; }
2374ed029a5fSmrgfi
2375ed029a5fSmrg
2376dd519f38Smrg  if test "x$ac_ct_STRIP" = x; then
2377dd519f38Smrg    STRIP=":"
2378dd519f38Smrg  else
2379dd519f38Smrg    case $cross_compiling:$ac_tool_warned in
2380dd519f38Smrgyes:)
23817973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2382dd519f38Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2383dd519f38Smrgac_tool_warned=yes ;;
2384dd519f38Smrgesac
2385dd519f38Smrg    STRIP=$ac_ct_STRIP
2386dd519f38Smrg  fi
2387dd519f38Smrgelse
2388dd519f38Smrg  STRIP="$ac_cv_prog_STRIP"
2389dd519f38Smrgfi
2390dd519f38Smrg
2391dd519f38Smrgfi
2392dd519f38SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2393dd519f38Smrg
23947973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2395dd519f38Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2396dd519f38Smrgif test -z "$MKDIR_P"; then
23977973f115Smrg  if ${ac_cv_path_mkdir+:} false; then :
2398dd519f38Smrg  $as_echo_n "(cached) " >&6
2399dd519f38Smrgelse
2400dd519f38Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401dd519f38Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2402dd519f38Smrgdo
2403dd519f38Smrg  IFS=$as_save_IFS
2404dd519f38Smrg  test -z "$as_dir" && as_dir=.
24057973f115Smrg    for ac_prog in mkdir gmkdir; do
2406dd519f38Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
2407dd519f38Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2408dd519f38Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2409dd519f38Smrg	     'mkdir (GNU coreutils) '* | \
2410dd519f38Smrg	     'mkdir (coreutils) '* | \
2411dd519f38Smrg	     'mkdir (fileutils) '4.1*)
2412dd519f38Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2413dd519f38Smrg	       break 3;;
2414dd519f38Smrg	   esac
2415dd519f38Smrg	 done
2416dd519f38Smrg       done
24177973f115Smrg  done
2418dd519f38SmrgIFS=$as_save_IFS
2419dd519f38Smrg
2420dd519f38Smrgfi
2421dd519f38Smrg
24227973f115Smrg  test -d ./--version && rmdir ./--version
2423dd519f38Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
2424dd519f38Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
2425dd519f38Smrg  else
2426dd519f38Smrg    # As a last resort, use the slow shell script.  Don't cache a
2427dd519f38Smrg    # value for MKDIR_P within a source directory, because that will
2428dd519f38Smrg    # break other packages using the cache if that directory is
2429dd519f38Smrg    # removed, or if the value is a relative name.
2430dd519f38Smrg    MKDIR_P="$ac_install_sh -d"
2431dd519f38Smrg  fi
2432dd519f38Smrgfi
24337973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2434dd519f38Smrg$as_echo "$MKDIR_P" >&6; }
2435dd519f38Smrg
2436dd519f38Smrgmkdir_p="$MKDIR_P"
2437dd519f38Smrgcase $mkdir_p in
2438dd519f38Smrg  [\\/$]* | ?:[\\/]*) ;;
2439dd519f38Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2440dd519f38Smrgesac
2441dd519f38Smrg
2442ed029a5fSmrgfor ac_prog in gawk mawk nawk awk
2443ed029a5fSmrgdo
2444ed029a5fSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2445ed029a5fSmrgset dummy $ac_prog; ac_word=$2
24467973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2447dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
24487973f115Smrgif ${ac_cv_prog_AWK+:} false; then :
2449dd519f38Smrg  $as_echo_n "(cached) " >&6
2450ed029a5fSmrgelse
2451ed029a5fSmrg  if test -n "$AWK"; then
2452ed029a5fSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2453ed029a5fSmrgelse
2454ed029a5fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455ed029a5fSmrgfor as_dir in $PATH
2456ed029a5fSmrgdo
2457ed029a5fSmrg  IFS=$as_save_IFS
2458ed029a5fSmrg  test -z "$as_dir" && as_dir=.
24597973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2460dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2461ed029a5fSmrg    ac_cv_prog_AWK="$ac_prog"
24627973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2463ed029a5fSmrg    break 2
2464ed029a5fSmrg  fi
2465ed029a5fSmrgdone
24667973f115Smrg  done
2467dd519f38SmrgIFS=$as_save_IFS
2468ed029a5fSmrg
2469ed029a5fSmrgfi
2470ed029a5fSmrgfi
2471ed029a5fSmrgAWK=$ac_cv_prog_AWK
2472ed029a5fSmrgif test -n "$AWK"; then
24737973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2474dd519f38Smrg$as_echo "$AWK" >&6; }
2475ed029a5fSmrgelse
24767973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2477dd519f38Smrg$as_echo "no" >&6; }
2478ed029a5fSmrgfi
2479ed029a5fSmrg
2480dd519f38Smrg
2481ed029a5fSmrg  test -n "$AWK" && break
2482ed029a5fSmrgdone
2483ed029a5fSmrg
24847973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2485dd519f38Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2486dd519f38Smrgset x ${MAKE-make}
2487dd519f38Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
24887973f115Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2489dd519f38Smrg  $as_echo_n "(cached) " >&6
2490ed029a5fSmrgelse
2491ed029a5fSmrg  cat >conftest.make <<\_ACEOF
2492dd519f38SmrgSHELL = /bin/sh
2493ed029a5fSmrgall:
2494dd519f38Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2495ed029a5fSmrg_ACEOF
24967973f115Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2497dd519f38Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2498dd519f38Smrg  *@@@%%%=?*=@@@%%%*)
2499dd519f38Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2500dd519f38Smrg  *)
2501dd519f38Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2502dd519f38Smrgesac
2503ed029a5fSmrgrm -f conftest.make
2504ed029a5fSmrgfi
2505dd519f38Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
25067973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2507dd519f38Smrg$as_echo "yes" >&6; }
2508ed029a5fSmrg  SET_MAKE=
2509ed029a5fSmrgelse
25107973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2511dd519f38Smrg$as_echo "no" >&6; }
2512ed029a5fSmrg  SET_MAKE="MAKE=${MAKE-make}"
2513ed029a5fSmrgfi
2514ed029a5fSmrg
2515ed029a5fSmrgrm -rf .tst 2>/dev/null
2516ed029a5fSmrgmkdir .tst 2>/dev/null
2517ed029a5fSmrgif test -d .tst; then
2518ed029a5fSmrg  am__leading_dot=.
2519ed029a5fSmrgelse
2520ed029a5fSmrg  am__leading_dot=_
2521ed029a5fSmrgfi
2522ed029a5fSmrgrmdir .tst 2>/dev/null
2523ed029a5fSmrg
2524dd519f38Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2525dd519f38Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2526dd519f38Smrg  # is not polluted with repeated "-I."
2527dd519f38Smrg  am__isrc=' -I$(srcdir)'
2528dd519f38Smrg  # test to see if srcdir already configured
2529dd519f38Smrg  if test -f $srcdir/config.status; then
25307973f115Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2531dd519f38Smrg  fi
2532ed029a5fSmrgfi
2533ed029a5fSmrg
2534ed029a5fSmrg# test whether we have cygpath
2535ed029a5fSmrgif test -z "$CYGPATH_W"; then
2536ed029a5fSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2537ed029a5fSmrg    CYGPATH_W='cygpath -w'
2538ed029a5fSmrg  else
2539ed029a5fSmrg    CYGPATH_W=echo
2540ed029a5fSmrg  fi
2541ed029a5fSmrgfi
2542ed029a5fSmrg
2543ed029a5fSmrg
2544ed029a5fSmrg# Define the identity of the package.
2545ed029a5fSmrg PACKAGE='font-adobe-100dpi'
25467973f115Smrg VERSION='1.0.3'
2547ed029a5fSmrg
2548ed029a5fSmrg
2549ed029a5fSmrgcat >>confdefs.h <<_ACEOF
2550ed029a5fSmrg#define PACKAGE "$PACKAGE"
2551ed029a5fSmrg_ACEOF
2552ed029a5fSmrg
2553ed029a5fSmrg
2554ed029a5fSmrgcat >>confdefs.h <<_ACEOF
2555ed029a5fSmrg#define VERSION "$VERSION"
2556ed029a5fSmrg_ACEOF
2557ed029a5fSmrg
2558ed029a5fSmrg# Some tools Automake needs.
2559ed029a5fSmrg
2560ed029a5fSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2561ed029a5fSmrg
2562ed029a5fSmrg
2563ed029a5fSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2564ed029a5fSmrg
2565ed029a5fSmrg
2566ed029a5fSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2567ed029a5fSmrg
2568ed029a5fSmrg
2569ed029a5fSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2570ed029a5fSmrg
2571ed029a5fSmrg
2572ed029a5fSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2573ed029a5fSmrg
2574dd519f38Smrg# We need awk for the "check" target.  The system "awk" is bad on
2575dd519f38Smrg# some platforms.
2576dd519f38Smrg# Always define AMTAR for backward compatibility.
2577ed029a5fSmrg
2578ed029a5fSmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2579ed029a5fSmrg
2580dd519f38Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2581ed029a5fSmrg
2582dd519f38Smrg
2583dd519f38Smrg
2584dd519f38Smrg
2585dd519f38Smrg
2586dd519f38Smrg
25877973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2588dd519f38Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2589dd519f38Smrg    # Check whether --enable-maintainer-mode was given.
25907973f115Smrgif test "${enable_maintainer_mode+set}" = set; then :
2591dd519f38Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2592ed029a5fSmrgelse
2593dd519f38Smrg  USE_MAINTAINER_MODE=no
2594dd519f38Smrgfi
2595dd519f38Smrg
25967973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2597dd519f38Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
2598dd519f38Smrg   if test $USE_MAINTAINER_MODE = yes; then
2599dd519f38Smrg  MAINTAINER_MODE_TRUE=
2600dd519f38Smrg  MAINTAINER_MODE_FALSE='#'
2601dd519f38Smrgelse
2602dd519f38Smrg  MAINTAINER_MODE_TRUE='#'
2603dd519f38Smrg  MAINTAINER_MODE_FALSE=
2604dd519f38Smrgfi
2605dd519f38Smrg
2606dd519f38Smrg  MAINT=$MAINTAINER_MODE_TRUE
2607dd519f38Smrg
2608dd519f38Smrg
2609dd519f38Smrg
2610dd519f38Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS
2611dd519f38Smrg
2612dd519f38Smrg
2613dd519f38Smrg
2614dd519f38Smrg
2615dd519f38Smrg
2616dd519f38Smrg
2617dd519f38Smrg
2618dd519f38Smrg
2619dd519f38Smrg
2620dd519f38Smrg
2621dd519f38Smrg
2622dd519f38SmrgDEPDIR="${am__leading_dot}deps"
2623dd519f38Smrg
2624dd519f38Smrgac_config_commands="$ac_config_commands depfiles"
2625dd519f38Smrg
2626dd519f38Smrg
2627dd519f38Smrgam_make=${MAKE-make}
2628dd519f38Smrgcat > confinc << 'END'
2629dd519f38Smrgam__doit:
2630dd519f38Smrg	@echo this is the am__doit target
2631dd519f38Smrg.PHONY: am__doit
2632dd519f38SmrgEND
2633dd519f38Smrg# If we don't find an include directive, just comment out the code.
26347973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2635dd519f38Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
2636dd519f38Smrgam__include="#"
2637dd519f38Smrgam__quote=
2638dd519f38Smrg_am_result=none
2639dd519f38Smrg# First try GNU make style include.
2640dd519f38Smrgecho "include confinc" > confmf
2641dd519f38Smrg# Ignore all kinds of additional output from `make'.
2642dd519f38Smrgcase `$am_make -s -f confmf 2> /dev/null` in #(
2643dd519f38Smrg*the\ am__doit\ target*)
2644dd519f38Smrg  am__include=include
2645dd519f38Smrg  am__quote=
2646dd519f38Smrg  _am_result=GNU
2647dd519f38Smrg  ;;
2648dd519f38Smrgesac
2649dd519f38Smrg# Now try BSD make style include.
2650dd519f38Smrgif test "$am__include" = "#"; then
2651dd519f38Smrg   echo '.include "confinc"' > confmf
2652dd519f38Smrg   case `$am_make -s -f confmf 2> /dev/null` in #(
2653dd519f38Smrg   *the\ am__doit\ target*)
2654dd519f38Smrg     am__include=.include
2655dd519f38Smrg     am__quote="\""
2656dd519f38Smrg     _am_result=BSD
2657dd519f38Smrg     ;;
2658dd519f38Smrg   esac
2659dd519f38Smrgfi
2660dd519f38Smrg
2661dd519f38Smrg
26627973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2663dd519f38Smrg$as_echo "$_am_result" >&6; }
2664dd519f38Smrgrm -f confinc confmf
2665dd519f38Smrg
2666dd519f38Smrg# Check whether --enable-dependency-tracking was given.
26677973f115Smrgif test "${enable_dependency_tracking+set}" = set; then :
2668dd519f38Smrg  enableval=$enable_dependency_tracking;
2669dd519f38Smrgfi
2670dd519f38Smrg
2671dd519f38Smrgif test "x$enable_dependency_tracking" != xno; then
2672dd519f38Smrg  am_depcomp="$ac_aux_dir/depcomp"
2673dd519f38Smrg  AMDEPBACKSLASH='\'
2674dd519f38Smrgfi
2675dd519f38Smrg if test "x$enable_dependency_tracking" != xno; then
2676dd519f38Smrg  AMDEP_TRUE=
2677dd519f38Smrg  AMDEP_FALSE='#'
2678dd519f38Smrgelse
2679dd519f38Smrg  AMDEP_TRUE='#'
2680dd519f38Smrg  AMDEP_FALSE=
2681dd519f38Smrgfi
2682dd519f38Smrg
2683dd519f38Smrg
2684dd519f38Smrgac_ext=c
2685dd519f38Smrgac_cpp='$CPP $CPPFLAGS'
2686dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2687dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2688dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2689dd519f38Smrgif test -n "$ac_tool_prefix"; then
2690dd519f38Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2691dd519f38Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
26927973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
26947973f115Smrgif ${ac_cv_prog_CC+:} false; then :
2695dd519f38Smrg  $as_echo_n "(cached) " >&6
2696dd519f38Smrgelse
2697dd519f38Smrg  if test -n "$CC"; then
2698dd519f38Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2699ed029a5fSmrgelse
2700ed029a5fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701ed029a5fSmrgfor as_dir in $PATH
2702ed029a5fSmrgdo
2703ed029a5fSmrg  IFS=$as_save_IFS
2704ed029a5fSmrg  test -z "$as_dir" && as_dir=.
27057973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2706dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2707dd519f38Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
27087973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709ed029a5fSmrg    break 2
2710ed029a5fSmrg  fi
2711ed029a5fSmrgdone
27127973f115Smrg  done
2713dd519f38SmrgIFS=$as_save_IFS
2714ed029a5fSmrg
2715ed029a5fSmrgfi
2716ed029a5fSmrgfi
2717dd519f38SmrgCC=$ac_cv_prog_CC
2718dd519f38Smrgif test -n "$CC"; then
27197973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2720dd519f38Smrg$as_echo "$CC" >&6; }
2721ed029a5fSmrgelse
27227973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2723dd519f38Smrg$as_echo "no" >&6; }
2724ed029a5fSmrgfi
2725ed029a5fSmrg
2726dd519f38Smrg
2727ed029a5fSmrgfi
2728dd519f38Smrgif test -z "$ac_cv_prog_CC"; then
2729dd519f38Smrg  ac_ct_CC=$CC
2730dd519f38Smrg  # Extract the first word of "gcc", so it can be a program name with args.
2731dd519f38Smrgset dummy gcc; ac_word=$2
27327973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
27347973f115Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2735dd519f38Smrg  $as_echo_n "(cached) " >&6
2736ed029a5fSmrgelse
2737dd519f38Smrg  if test -n "$ac_ct_CC"; then
2738dd519f38Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2739ed029a5fSmrgelse
2740ed029a5fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741ed029a5fSmrgfor as_dir in $PATH
2742ed029a5fSmrgdo
2743ed029a5fSmrg  IFS=$as_save_IFS
2744ed029a5fSmrg  test -z "$as_dir" && as_dir=.
27457973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2746dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2747dd519f38Smrg    ac_cv_prog_ac_ct_CC="gcc"
27487973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749ed029a5fSmrg    break 2
2750ed029a5fSmrg  fi
2751ed029a5fSmrgdone
27527973f115Smrg  done
2753dd519f38SmrgIFS=$as_save_IFS
2754ed029a5fSmrg
2755ed029a5fSmrgfi
2756ed029a5fSmrgfi
2757dd519f38Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2758dd519f38Smrgif test -n "$ac_ct_CC"; then
27597973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2760dd519f38Smrg$as_echo "$ac_ct_CC" >&6; }
2761ed029a5fSmrgelse
27627973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763dd519f38Smrg$as_echo "no" >&6; }
2764ed029a5fSmrgfi
2765ed029a5fSmrg
2766dd519f38Smrg  if test "x$ac_ct_CC" = x; then
2767dd519f38Smrg    CC=""
2768dd519f38Smrg  else
2769dd519f38Smrg    case $cross_compiling:$ac_tool_warned in
2770dd519f38Smrgyes:)
27717973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2772dd519f38Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2773dd519f38Smrgac_tool_warned=yes ;;
2774dd519f38Smrgesac
2775dd519f38Smrg    CC=$ac_ct_CC
2776dd519f38Smrg  fi
2777ed029a5fSmrgelse
2778dd519f38Smrg  CC="$ac_cv_prog_CC"
2779ed029a5fSmrgfi
2780ed029a5fSmrg
2781dd519f38Smrgif test -z "$CC"; then
2782dd519f38Smrg          if test -n "$ac_tool_prefix"; then
2783dd519f38Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2784dd519f38Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
27857973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
27877973f115Smrgif ${ac_cv_prog_CC+:} false; then :
2788dd519f38Smrg  $as_echo_n "(cached) " >&6
2789ed029a5fSmrgelse
2790dd519f38Smrg  if test -n "$CC"; then
2791dd519f38Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2792dd519f38Smrgelse
2793dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794dd519f38Smrgfor as_dir in $PATH
2795dd519f38Smrgdo
2796dd519f38Smrg  IFS=$as_save_IFS
2797dd519f38Smrg  test -z "$as_dir" && as_dir=.
27987973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2799dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800dd519f38Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
28017973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2802dd519f38Smrg    break 2
2803dd519f38Smrg  fi
2804dd519f38Smrgdone
28057973f115Smrg  done
2806dd519f38SmrgIFS=$as_save_IFS
2807dd519f38Smrg
2808dd519f38Smrgfi
2809dd519f38Smrgfi
2810dd519f38SmrgCC=$ac_cv_prog_CC
2811dd519f38Smrgif test -n "$CC"; then
28127973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2813dd519f38Smrg$as_echo "$CC" >&6; }
2814dd519f38Smrgelse
28157973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2816dd519f38Smrg$as_echo "no" >&6; }
2817dd519f38Smrgfi
2818dd519f38Smrg
2819dd519f38Smrg
2820dd519f38Smrg  fi
2821dd519f38Smrgfi
2822dd519f38Smrgif test -z "$CC"; then
2823dd519f38Smrg  # Extract the first word of "cc", so it can be a program name with args.
2824dd519f38Smrgset dummy cc; ac_word=$2
28257973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2826dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
28277973f115Smrgif ${ac_cv_prog_CC+:} false; then :
2828dd519f38Smrg  $as_echo_n "(cached) " >&6
2829dd519f38Smrgelse
2830dd519f38Smrg  if test -n "$CC"; then
2831dd519f38Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2832dd519f38Smrgelse
2833dd519f38Smrg  ac_prog_rejected=no
2834dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835dd519f38Smrgfor as_dir in $PATH
2836dd519f38Smrgdo
2837dd519f38Smrg  IFS=$as_save_IFS
2838dd519f38Smrg  test -z "$as_dir" && as_dir=.
28397973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2840dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841dd519f38Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2842dd519f38Smrg       ac_prog_rejected=yes
2843dd519f38Smrg       continue
2844dd519f38Smrg     fi
2845dd519f38Smrg    ac_cv_prog_CC="cc"
28467973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847dd519f38Smrg    break 2
2848dd519f38Smrg  fi
2849dd519f38Smrgdone
28507973f115Smrg  done
2851dd519f38SmrgIFS=$as_save_IFS
2852dd519f38Smrg
2853dd519f38Smrgif test $ac_prog_rejected = yes; then
2854dd519f38Smrg  # We found a bogon in the path, so make sure we never use it.
2855dd519f38Smrg  set dummy $ac_cv_prog_CC
2856dd519f38Smrg  shift
2857dd519f38Smrg  if test $# != 0; then
2858dd519f38Smrg    # We chose a different compiler from the bogus one.
2859dd519f38Smrg    # However, it has the same basename, so the bogon will be chosen
2860dd519f38Smrg    # first if we set CC to just the basename; use the full file name.
2861dd519f38Smrg    shift
2862dd519f38Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2863dd519f38Smrg  fi
2864dd519f38Smrgfi
2865dd519f38Smrgfi
2866dd519f38Smrgfi
2867dd519f38SmrgCC=$ac_cv_prog_CC
2868dd519f38Smrgif test -n "$CC"; then
28697973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2870dd519f38Smrg$as_echo "$CC" >&6; }
2871dd519f38Smrgelse
28727973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873dd519f38Smrg$as_echo "no" >&6; }
2874dd519f38Smrgfi
2875dd519f38Smrg
2876dd519f38Smrg
2877dd519f38Smrgfi
2878dd519f38Smrgif test -z "$CC"; then
2879dd519f38Smrg  if test -n "$ac_tool_prefix"; then
2880dd519f38Smrg  for ac_prog in cl.exe
2881dd519f38Smrg  do
2882dd519f38Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2883dd519f38Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
28847973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
28867973f115Smrgif ${ac_cv_prog_CC+:} false; then :
2887dd519f38Smrg  $as_echo_n "(cached) " >&6
2888dd519f38Smrgelse
2889dd519f38Smrg  if test -n "$CC"; then
2890dd519f38Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2891dd519f38Smrgelse
2892dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893dd519f38Smrgfor as_dir in $PATH
2894dd519f38Smrgdo
2895dd519f38Smrg  IFS=$as_save_IFS
2896dd519f38Smrg  test -z "$as_dir" && as_dir=.
28977973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2898dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2899dd519f38Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
29007973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2901dd519f38Smrg    break 2
2902dd519f38Smrg  fi
2903dd519f38Smrgdone
29047973f115Smrg  done
2905dd519f38SmrgIFS=$as_save_IFS
2906dd519f38Smrg
2907dd519f38Smrgfi
2908dd519f38Smrgfi
2909dd519f38SmrgCC=$ac_cv_prog_CC
2910dd519f38Smrgif test -n "$CC"; then
29117973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2912dd519f38Smrg$as_echo "$CC" >&6; }
2913dd519f38Smrgelse
29147973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915dd519f38Smrg$as_echo "no" >&6; }
2916dd519f38Smrgfi
2917dd519f38Smrg
2918dd519f38Smrg
2919dd519f38Smrg    test -n "$CC" && break
2920dd519f38Smrg  done
2921dd519f38Smrgfi
2922dd519f38Smrgif test -z "$CC"; then
2923dd519f38Smrg  ac_ct_CC=$CC
2924dd519f38Smrg  for ac_prog in cl.exe
2925dd519f38Smrgdo
2926dd519f38Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2927dd519f38Smrgset dummy $ac_prog; ac_word=$2
29287973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
29307973f115Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2931dd519f38Smrg  $as_echo_n "(cached) " >&6
2932dd519f38Smrgelse
2933dd519f38Smrg  if test -n "$ac_ct_CC"; then
2934dd519f38Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2935dd519f38Smrgelse
2936dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937dd519f38Smrgfor as_dir in $PATH
2938dd519f38Smrgdo
2939dd519f38Smrg  IFS=$as_save_IFS
2940dd519f38Smrg  test -z "$as_dir" && as_dir=.
29417973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2942dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2943dd519f38Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
29447973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945dd519f38Smrg    break 2
2946dd519f38Smrg  fi
2947dd519f38Smrgdone
29487973f115Smrg  done
2949dd519f38SmrgIFS=$as_save_IFS
2950dd519f38Smrg
2951dd519f38Smrgfi
2952dd519f38Smrgfi
2953dd519f38Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2954dd519f38Smrgif test -n "$ac_ct_CC"; then
29557973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2956dd519f38Smrg$as_echo "$ac_ct_CC" >&6; }
2957dd519f38Smrgelse
29587973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959dd519f38Smrg$as_echo "no" >&6; }
2960dd519f38Smrgfi
2961dd519f38Smrg
2962dd519f38Smrg
2963dd519f38Smrg  test -n "$ac_ct_CC" && break
2964dd519f38Smrgdone
2965dd519f38Smrg
2966dd519f38Smrg  if test "x$ac_ct_CC" = x; then
2967dd519f38Smrg    CC=""
2968dd519f38Smrg  else
2969dd519f38Smrg    case $cross_compiling:$ac_tool_warned in
2970dd519f38Smrgyes:)
29717973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2972dd519f38Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2973dd519f38Smrgac_tool_warned=yes ;;
2974dd519f38Smrgesac
2975dd519f38Smrg    CC=$ac_ct_CC
2976dd519f38Smrg  fi
2977dd519f38Smrgfi
2978dd519f38Smrg
2979dd519f38Smrgfi
2980dd519f38Smrg
2981dd519f38Smrg
29827973f115Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2983dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29847973f115Smrgas_fn_error $? "no acceptable C compiler found in \$PATH
29857973f115SmrgSee \`config.log' for more details" "$LINENO" 5; }
2986dd519f38Smrg
2987dd519f38Smrg# Provide some information about the compiler.
29887973f115Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2989dd519f38Smrgset X $ac_compile
2990dd519f38Smrgac_compiler=$2
29917973f115Smrgfor ac_option in --version -v -V -qversion; do
29927973f115Smrg  { { ac_try="$ac_compiler $ac_option >&5"
2993dd519f38Smrgcase "(($ac_try" in
2994dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995dd519f38Smrg  *) ac_try_echo=$ac_try;;
2996dd519f38Smrgesac
29977973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
29987973f115Smrg$as_echo "$ac_try_echo"; } >&5
29997973f115Smrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3000dd519f38Smrg  ac_status=$?
30017973f115Smrg  if test -s conftest.err; then
30027973f115Smrg    sed '10a\
30037973f115Smrg... rest of stderr output deleted ...
30047973f115Smrg         10q' conftest.err >conftest.er1
30057973f115Smrg    cat conftest.er1 >&5
30067973f115Smrg  fi
30077973f115Smrg  rm -f conftest.er1 conftest.err
30087973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30097973f115Smrg  test $ac_status = 0; }
30107973f115Smrgdone
3011dd519f38Smrg
30127973f115Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013dd519f38Smrg/* end confdefs.h.  */
3014dd519f38Smrg
3015dd519f38Smrgint
3016dd519f38Smrgmain ()
3017dd519f38Smrg{
3018dd519f38Smrg
3019dd519f38Smrg  ;
3020dd519f38Smrg  return 0;
3021dd519f38Smrg}
3022dd519f38Smrg_ACEOF
3023dd519f38Smrgac_clean_files_save=$ac_clean_files
3024dd519f38Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3025dd519f38Smrg# Try to create an executable without -o first, disregard a.out.
3026dd519f38Smrg# It will help us diagnose broken compilers, and finding out an intuition
3027dd519f38Smrg# of exeext.
30287973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
30297973f115Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
3030dd519f38Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3031dd519f38Smrg
3032dd519f38Smrg# The possible output files:
3033dd519f38Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3034dd519f38Smrg
3035dd519f38Smrgac_rmfiles=
3036dd519f38Smrgfor ac_file in $ac_files
3037dd519f38Smrgdo
3038dd519f38Smrg  case $ac_file in
3039dd519f38Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3040dd519f38Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3041dd519f38Smrg  esac
3042dd519f38Smrgdone
3043dd519f38Smrgrm -f $ac_rmfiles
3044dd519f38Smrg
30457973f115Smrgif { { ac_try="$ac_link_default"
3046dd519f38Smrgcase "(($ac_try" in
3047dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048dd519f38Smrg  *) ac_try_echo=$ac_try;;
3049dd519f38Smrgesac
30507973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
30517973f115Smrg$as_echo "$ac_try_echo"; } >&5
3052dd519f38Smrg  (eval "$ac_link_default") 2>&5
3053dd519f38Smrg  ac_status=$?
30547973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30557973f115Smrg  test $ac_status = 0; }; then :
3056dd519f38Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3057dd519f38Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3058dd519f38Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3059dd519f38Smrg# so that the user can short-circuit this test for compilers unknown to
3060dd519f38Smrg# Autoconf.
3061dd519f38Smrgfor ac_file in $ac_files ''
3062dd519f38Smrgdo
3063dd519f38Smrg  test -f "$ac_file" || continue
3064dd519f38Smrg  case $ac_file in
3065dd519f38Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3066dd519f38Smrg	;;
3067dd519f38Smrg    [ab].out )
3068dd519f38Smrg	# We found the default executable, but exeext='' is most
3069dd519f38Smrg	# certainly right.
3070dd519f38Smrg	break;;
3071dd519f38Smrg    *.* )
30727973f115Smrg	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3073dd519f38Smrg	then :; else
3074dd519f38Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075dd519f38Smrg	fi
3076dd519f38Smrg	# We set ac_cv_exeext here because the later test for it is not
3077dd519f38Smrg	# safe: cross compilers may not add the suffix if given an `-o'
3078dd519f38Smrg	# argument, so we may need to know it at that point already.
3079dd519f38Smrg	# Even if this section looks crufty: it has the advantage of
3080dd519f38Smrg	# actually working.
3081dd519f38Smrg	break;;
3082dd519f38Smrg    * )
3083dd519f38Smrg	break;;
3084dd519f38Smrg  esac
3085dd519f38Smrgdone
3086dd519f38Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
3087dd519f38Smrg
3088dd519f38Smrgelse
3089dd519f38Smrg  ac_file=''
3090dd519f38Smrgfi
30917973f115Smrgif test -z "$ac_file"; then :
30927973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30937973f115Smrg$as_echo "no" >&6; }
30947973f115Smrg$as_echo "$as_me: failed program was:" >&5
3095dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3096dd519f38Smrg
30977973f115Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3098dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30997973f115Smrgas_fn_error 77 "C compiler cannot create executables
31007973f115SmrgSee \`config.log' for more details" "$LINENO" 5; }
31017973f115Smrgelse
31027973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31037973f115Smrg$as_echo "yes" >&6; }
3104dd519f38Smrgfi
31057973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
31067973f115Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
31077973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
31087973f115Smrg$as_echo "$ac_file" >&6; }
3109dd519f38Smrgac_exeext=$ac_cv_exeext
3110dd519f38Smrg
3111dd519f38Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3112dd519f38Smrgac_clean_files=$ac_clean_files_save
31137973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3114dd519f38Smrg$as_echo_n "checking for suffix of executables... " >&6; }
31157973f115Smrgif { { ac_try="$ac_link"
3116dd519f38Smrgcase "(($ac_try" in
3117dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118dd519f38Smrg  *) ac_try_echo=$ac_try;;
3119dd519f38Smrgesac
31207973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31217973f115Smrg$as_echo "$ac_try_echo"; } >&5
3122dd519f38Smrg  (eval "$ac_link") 2>&5
3123dd519f38Smrg  ac_status=$?
31247973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31257973f115Smrg  test $ac_status = 0; }; then :
3126dd519f38Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3127dd519f38Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3128dd519f38Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
3129dd519f38Smrg# `rm'.
3130dd519f38Smrgfor ac_file in conftest.exe conftest conftest.*; do
3131dd519f38Smrg  test -f "$ac_file" || continue
3132dd519f38Smrg  case $ac_file in
3133dd519f38Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3134dd519f38Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3135dd519f38Smrg	  break;;
3136dd519f38Smrg    * ) break;;
3137dd519f38Smrg  esac
3138dd519f38Smrgdone
3139dd519f38Smrgelse
31407973f115Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31427973f115Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link
31437973f115SmrgSee \`config.log' for more details" "$LINENO" 5; }
3144dd519f38Smrgfi
31457973f115Smrgrm -f conftest conftest$ac_cv_exeext
31467973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3147dd519f38Smrg$as_echo "$ac_cv_exeext" >&6; }
3148dd519f38Smrg
3149dd519f38Smrgrm -f conftest.$ac_ext
3150dd519f38SmrgEXEEXT=$ac_cv_exeext
3151dd519f38Smrgac_exeext=$EXEEXT
31527973f115Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153dd519f38Smrg/* end confdefs.h.  */
31547973f115Smrg#include <stdio.h>
3155dd519f38Smrgint
3156dd519f38Smrgmain ()
3157dd519f38Smrg{
31587973f115SmrgFILE *f = fopen ("conftest.out", "w");
31597973f115Smrg return ferror (f) || fclose (f) != 0;
3160dd519f38Smrg
3161dd519f38Smrg  ;
3162dd519f38Smrg  return 0;
3163dd519f38Smrg}
3164dd519f38Smrg_ACEOF
31657973f115Smrgac_clean_files="$ac_clean_files conftest.out"
31667973f115Smrg# Check that the compiler produces executables we can run.  If not, either
31677973f115Smrg# the compiler is broken, or we cross compile.
31687973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
31697973f115Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
31707973f115Smrgif test "$cross_compiling" != yes; then
31717973f115Smrg  { { ac_try="$ac_link"
3172dd519f38Smrgcase "(($ac_try" in
3173dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174dd519f38Smrg  *) ac_try_echo=$ac_try;;
3175dd519f38Smrgesac
31767973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31777973f115Smrg$as_echo "$ac_try_echo"; } >&5
31787973f115Smrg  (eval "$ac_link") 2>&5
3179dd519f38Smrg  ac_status=$?
31807973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31817973f115Smrg  test $ac_status = 0; }
31827973f115Smrg  if { ac_try='./conftest$ac_cv_exeext'
31837973f115Smrg  { { case "(($ac_try" in
31847973f115Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31857973f115Smrg  *) ac_try_echo=$ac_try;;
31867973f115Smrgesac
31877973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31887973f115Smrg$as_echo "$ac_try_echo"; } >&5
31897973f115Smrg  (eval "$ac_try") 2>&5
31907973f115Smrg  ac_status=$?
31917973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31927973f115Smrg  test $ac_status = 0; }; }; then
31937973f115Smrg    cross_compiling=no
31947973f115Smrg  else
31957973f115Smrg    if test "$cross_compiling" = maybe; then
31967973f115Smrg	cross_compiling=yes
31977973f115Smrg    else
31987973f115Smrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32007973f115Smrgas_fn_error $? "cannot run C compiled programs.
32017973f115SmrgIf you meant to cross compile, use \`--host'.
32027973f115SmrgSee \`config.log' for more details" "$LINENO" 5; }
32037973f115Smrg    fi
32047973f115Smrg  fi
3205dd519f38Smrgfi
32067973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
32077973f115Smrg$as_echo "$cross_compiling" >&6; }
32087973f115Smrg
32097973f115Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
32107973f115Smrgac_clean_files=$ac_clean_files_save
32117973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
32127973f115Smrg$as_echo_n "checking for suffix of object files... " >&6; }
32137973f115Smrgif ${ac_cv_objext+:} false; then :
32147973f115Smrg  $as_echo_n "(cached) " >&6
32157973f115Smrgelse
32167973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32177973f115Smrg/* end confdefs.h.  */
32187973f115Smrg
32197973f115Smrgint
32207973f115Smrgmain ()
32217973f115Smrg{
32227973f115Smrg
32237973f115Smrg  ;
32247973f115Smrg  return 0;
32257973f115Smrg}
32267973f115Smrg_ACEOF
32277973f115Smrgrm -f conftest.o conftest.obj
32287973f115Smrgif { { ac_try="$ac_compile"
32297973f115Smrgcase "(($ac_try" in
32307973f115Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32317973f115Smrg  *) ac_try_echo=$ac_try;;
32327973f115Smrgesac
32337973f115Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
32347973f115Smrg$as_echo "$ac_try_echo"; } >&5
32357973f115Smrg  (eval "$ac_compile") 2>&5
32367973f115Smrg  ac_status=$?
32377973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32387973f115Smrg  test $ac_status = 0; }; then :
32397973f115Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
32407973f115Smrg  test -f "$ac_file" || continue;
32417973f115Smrg  case $ac_file in
32427973f115Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
32437973f115Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
32447973f115Smrg       break;;
32457973f115Smrg  esac
32467973f115Smrgdone
32477973f115Smrgelse
32487973f115Smrg  $as_echo "$as_me: failed program was:" >&5
32497973f115Smrgsed 's/^/| /' conftest.$ac_ext >&5
3250dd519f38Smrg
32517973f115Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32527973f115Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32537973f115Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile
32547973f115SmrgSee \`config.log' for more details" "$LINENO" 5; }
32557973f115Smrgfi
3256dd519f38Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
3257dd519f38Smrgfi
32587973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3259dd519f38Smrg$as_echo "$ac_cv_objext" >&6; }
3260dd519f38SmrgOBJEXT=$ac_cv_objext
3261dd519f38Smrgac_objext=$OBJEXT
32627973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3263dd519f38Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
32647973f115Smrgif ${ac_cv_c_compiler_gnu+:} false; then :
3265dd519f38Smrg  $as_echo_n "(cached) " >&6
3266dd519f38Smrgelse
32677973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268dd519f38Smrg/* end confdefs.h.  */
3269dd519f38Smrg
3270dd519f38Smrgint
3271dd519f38Smrgmain ()
3272dd519f38Smrg{
3273dd519f38Smrg#ifndef __GNUC__
3274dd519f38Smrg       choke me
3275dd519f38Smrg#endif
3276dd519f38Smrg
3277dd519f38Smrg  ;
3278dd519f38Smrg  return 0;
3279dd519f38Smrg}
3280dd519f38Smrg_ACEOF
32817973f115Smrgif ac_fn_c_try_compile "$LINENO"; then :
3282dd519f38Smrg  ac_compiler_gnu=yes
3283dd519f38Smrgelse
32847973f115Smrg  ac_compiler_gnu=no
3285dd519f38Smrgfi
3286dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287dd519f38Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
3288dd519f38Smrg
3289dd519f38Smrgfi
32907973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3291dd519f38Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3292dd519f38Smrgif test $ac_compiler_gnu = yes; then
3293dd519f38Smrg  GCC=yes
3294dd519f38Smrgelse
3295dd519f38Smrg  GCC=
3296dd519f38Smrgfi
3297dd519f38Smrgac_test_CFLAGS=${CFLAGS+set}
3298dd519f38Smrgac_save_CFLAGS=$CFLAGS
32997973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3300dd519f38Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
33017973f115Smrgif ${ac_cv_prog_cc_g+:} false; then :
3302dd519f38Smrg  $as_echo_n "(cached) " >&6
3303dd519f38Smrgelse
3304dd519f38Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
3305dd519f38Smrg   ac_c_werror_flag=yes
3306dd519f38Smrg   ac_cv_prog_cc_g=no
3307dd519f38Smrg   CFLAGS="-g"
33087973f115Smrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309dd519f38Smrg/* end confdefs.h.  */
3310dd519f38Smrg
3311dd519f38Smrgint
3312dd519f38Smrgmain ()
3313dd519f38Smrg{
3314dd519f38Smrg
3315dd519f38Smrg  ;
3316dd519f38Smrg  return 0;
3317dd519f38Smrg}
3318dd519f38Smrg_ACEOF
33197973f115Smrgif ac_fn_c_try_compile "$LINENO"; then :
3320dd519f38Smrg  ac_cv_prog_cc_g=yes
3321dd519f38Smrgelse
33227973f115Smrg  CFLAGS=""
33237973f115Smrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324dd519f38Smrg/* end confdefs.h.  */
3325dd519f38Smrg
3326dd519f38Smrgint
3327dd519f38Smrgmain ()
3328dd519f38Smrg{
3329dd519f38Smrg
3330dd519f38Smrg  ;
3331dd519f38Smrg  return 0;
3332dd519f38Smrg}
3333dd519f38Smrg_ACEOF
33347973f115Smrgif ac_fn_c_try_compile "$LINENO"; then :
3335dd519f38Smrg
33367973f115Smrgelse
33377973f115Smrg  ac_c_werror_flag=$ac_save_c_werror_flag
3338dd519f38Smrg	 CFLAGS="-g"
33397973f115Smrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340dd519f38Smrg/* end confdefs.h.  */
3341dd519f38Smrg
3342dd519f38Smrgint
3343dd519f38Smrgmain ()
3344dd519f38Smrg{
3345dd519f38Smrg
3346dd519f38Smrg  ;
3347dd519f38Smrg  return 0;
3348dd519f38Smrg}
3349dd519f38Smrg_ACEOF
33507973f115Smrgif ac_fn_c_try_compile "$LINENO"; then :
3351dd519f38Smrg  ac_cv_prog_cc_g=yes
3352dd519f38Smrgfi
3353dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354dd519f38Smrgfi
3355dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356dd519f38Smrgfi
3357dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3358dd519f38Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
3359dd519f38Smrgfi
33607973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3361dd519f38Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
3362dd519f38Smrgif test "$ac_test_CFLAGS" = set; then
3363dd519f38Smrg  CFLAGS=$ac_save_CFLAGS
3364dd519f38Smrgelif test $ac_cv_prog_cc_g = yes; then
3365dd519f38Smrg  if test "$GCC" = yes; then
3366dd519f38Smrg    CFLAGS="-g -O2"
3367dd519f38Smrg  else
3368dd519f38Smrg    CFLAGS="-g"
3369dd519f38Smrg  fi
3370dd519f38Smrgelse
3371dd519f38Smrg  if test "$GCC" = yes; then
3372dd519f38Smrg    CFLAGS="-O2"
3373dd519f38Smrg  else
3374dd519f38Smrg    CFLAGS=
3375dd519f38Smrg  fi
3376dd519f38Smrgfi
33777973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3378dd519f38Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
33797973f115Smrgif ${ac_cv_prog_cc_c89+:} false; then :
3380dd519f38Smrg  $as_echo_n "(cached) " >&6
3381dd519f38Smrgelse
3382dd519f38Smrg  ac_cv_prog_cc_c89=no
3383dd519f38Smrgac_save_CC=$CC
33847973f115Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385dd519f38Smrg/* end confdefs.h.  */
3386dd519f38Smrg#include <stdarg.h>
3387dd519f38Smrg#include <stdio.h>
3388dd519f38Smrg#include <sys/types.h>
3389dd519f38Smrg#include <sys/stat.h>
3390dd519f38Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3391dd519f38Smrgstruct buf { int x; };
3392dd519f38SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
3393dd519f38Smrgstatic char *e (p, i)
3394dd519f38Smrg     char **p;
3395dd519f38Smrg     int i;
3396dd519f38Smrg{
3397dd519f38Smrg  return p[i];
3398dd519f38Smrg}
3399dd519f38Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
3400dd519f38Smrg{
3401dd519f38Smrg  char *s;
3402dd519f38Smrg  va_list v;
3403dd519f38Smrg  va_start (v,p);
3404dd519f38Smrg  s = g (p, va_arg (v,int));
3405dd519f38Smrg  va_end (v);
3406dd519f38Smrg  return s;
3407dd519f38Smrg}
3408dd519f38Smrg
3409dd519f38Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3410dd519f38Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
3411dd519f38Smrg   These don't provoke an error unfortunately, instead are silently treated
3412dd519f38Smrg   as 'x'.  The following induces an error, until -std is added to get
3413dd519f38Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3414dd519f38Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
3415dd519f38Smrg   that's true only with -std.  */
3416dd519f38Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
3417dd519f38Smrg
3418dd519f38Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3419dd519f38Smrg   inside strings and character constants.  */
3420dd519f38Smrg#define FOO(x) 'x'
3421dd519f38Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3422dd519f38Smrg
3423dd519f38Smrgint test (int i, double x);
3424dd519f38Smrgstruct s1 {int (*f) (int a);};
3425dd519f38Smrgstruct s2 {int (*f) (double a);};
3426dd519f38Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3427dd519f38Smrgint argc;
3428dd519f38Smrgchar **argv;
3429dd519f38Smrgint
3430dd519f38Smrgmain ()
3431dd519f38Smrg{
3432dd519f38Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3433dd519f38Smrg  ;
3434dd519f38Smrg  return 0;
3435dd519f38Smrg}
3436dd519f38Smrg_ACEOF
3437dd519f38Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3438dd519f38Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3439dd519f38Smrgdo
3440dd519f38Smrg  CC="$ac_save_CC $ac_arg"
34417973f115Smrg  if ac_fn_c_try_compile "$LINENO"; then :
3442dd519f38Smrg  ac_cv_prog_cc_c89=$ac_arg
3443dd519f38Smrgfi
3444dd519f38Smrgrm -f core conftest.err conftest.$ac_objext
3445dd519f38Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
3446dd519f38Smrgdone
3447dd519f38Smrgrm -f conftest.$ac_ext
3448dd519f38SmrgCC=$ac_save_CC
3449dd519f38Smrg
3450dd519f38Smrgfi
3451dd519f38Smrg# AC_CACHE_VAL
3452dd519f38Smrgcase "x$ac_cv_prog_cc_c89" in
3453dd519f38Smrg  x)
34547973f115Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3455dd519f38Smrg$as_echo "none needed" >&6; } ;;
3456dd519f38Smrg  xno)
34577973f115Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3458dd519f38Smrg$as_echo "unsupported" >&6; } ;;
3459dd519f38Smrg  *)
3460dd519f38Smrg    CC="$CC $ac_cv_prog_cc_c89"
34617973f115Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3462dd519f38Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3463dd519f38Smrgesac
34647973f115Smrgif test "x$ac_cv_prog_cc_c89" != xno; then :
3465dd519f38Smrg
34667973f115Smrgfi
3467dd519f38Smrg
3468dd519f38Smrgac_ext=c
3469dd519f38Smrgac_cpp='$CPP $CPPFLAGS'
3470dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3473dd519f38Smrg
3474dd519f38Smrgdepcc="$CC"   am_compiler_list=
3475dd519f38Smrg
34767973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3477dd519f38Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
34787973f115Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then :
3479dd519f38Smrg  $as_echo_n "(cached) " >&6
3480dd519f38Smrgelse
3481dd519f38Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3482dd519f38Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
3483dd519f38Smrg  # making bogus files that we don't know about and never remove.  For
3484dd519f38Smrg  # instance it was reported that on HP-UX the gcc test will end up
3485dd519f38Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
3486dd519f38Smrg  # in D'.
3487dd519f38Smrg  mkdir conftest.dir
3488dd519f38Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
3489dd519f38Smrg  # using a relative directory.
3490dd519f38Smrg  cp "$am_depcomp" conftest.dir
3491dd519f38Smrg  cd conftest.dir
3492dd519f38Smrg  # We will build objects and dependencies in a subdirectory because
3493dd519f38Smrg  # it helps to detect inapplicable dependency modes.  For instance
3494dd519f38Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
3495dd519f38Smrg  # side effect of compilation, but ICC will put the dependencies in
3496dd519f38Smrg  # the current directory while Tru64 will put them in the object
3497dd519f38Smrg  # directory.
3498dd519f38Smrg  mkdir sub
3499dd519f38Smrg
3500dd519f38Smrg  am_cv_CC_dependencies_compiler_type=none
3501dd519f38Smrg  if test "$am_compiler_list" = ""; then
3502dd519f38Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3503dd519f38Smrg  fi
3504dd519f38Smrg  am__universal=false
3505dd519f38Smrg  case " $depcc " in #(
3506dd519f38Smrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3507dd519f38Smrg     esac
3508dd519f38Smrg
3509dd519f38Smrg  for depmode in $am_compiler_list; do
3510dd519f38Smrg    # Setup a source with many dependencies, because some compilers
3511dd519f38Smrg    # like to wrap large dependency lists on column 80 (with \), and
3512dd519f38Smrg    # we should not choose a depcomp mode which is confused by this.
3513dd519f38Smrg    #
3514dd519f38Smrg    # We need to recreate these files for each test, as the compiler may
3515dd519f38Smrg    # overwrite some of them when testing with obscure command lines.
3516dd519f38Smrg    # This happens at least with the AIX C compiler.
3517dd519f38Smrg    : > sub/conftest.c
3518dd519f38Smrg    for i in 1 2 3 4 5 6; do
3519dd519f38Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3520dd519f38Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3521dd519f38Smrg      # Solaris 8's {/usr,}/bin/sh.
3522dd519f38Smrg      touch sub/conftst$i.h
3523dd519f38Smrg    done
3524dd519f38Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3525dd519f38Smrg
3526dd519f38Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3527dd519f38Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
3528dd519f38Smrg    # handle `-M -o', and we need to detect this.  Also, some Intel
3529dd519f38Smrg    # versions had trouble with output in subdirs
3530dd519f38Smrg    am__obj=sub/conftest.${OBJEXT-o}
3531dd519f38Smrg    am__minus_obj="-o $am__obj"
3532dd519f38Smrg    case $depmode in
3533dd519f38Smrg    gcc)
3534dd519f38Smrg      # This depmode causes a compiler race in universal mode.
3535dd519f38Smrg      test "$am__universal" = false || continue
3536dd519f38Smrg      ;;
3537dd519f38Smrg    nosideeffect)
3538dd519f38Smrg      # after this tag, mechanisms are not by side-effect, so they'll
3539dd519f38Smrg      # only be used when explicitly requested
3540dd519f38Smrg      if test "x$enable_dependency_tracking" = xyes; then
3541dd519f38Smrg	continue
3542dd519f38Smrg      else
3543dd519f38Smrg	break
3544dd519f38Smrg      fi
3545dd519f38Smrg      ;;
3546dd519f38Smrg    msvisualcpp | msvcmsys)
3547dd519f38Smrg      # This compiler won't grok `-c -o', but also, the minuso test has
3548dd519f38Smrg      # not run yet.  These depmodes are late enough in the game, and
3549dd519f38Smrg      # so weak that their functioning should not be impacted.
3550dd519f38Smrg      am__obj=conftest.${OBJEXT-o}
3551dd519f38Smrg      am__minus_obj=
3552dd519f38Smrg      ;;
3553dd519f38Smrg    none) break ;;
3554dd519f38Smrg    esac
3555dd519f38Smrg    if depmode=$depmode \
3556dd519f38Smrg       source=sub/conftest.c object=$am__obj \
3557dd519f38Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3558dd519f38Smrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3559dd519f38Smrg         >/dev/null 2>conftest.err &&
3560dd519f38Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3561dd519f38Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3562dd519f38Smrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3563dd519f38Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3564dd519f38Smrg      # icc doesn't choke on unknown options, it will just issue warnings
3565dd519f38Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
3566dd519f38Smrg      # that says an option was ignored or not supported.
3567dd519f38Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
3568dd519f38Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
3569dd519f38Smrg      # The diagnosis changed in icc 8.0:
3570dd519f38Smrg      #   icc: Command line remark: option '-MP' not supported
3571dd519f38Smrg      if (grep 'ignoring option' conftest.err ||
3572dd519f38Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3573dd519f38Smrg        am_cv_CC_dependencies_compiler_type=$depmode
3574dd519f38Smrg        break
3575dd519f38Smrg      fi
3576dd519f38Smrg    fi
3577dd519f38Smrg  done
3578dd519f38Smrg
3579dd519f38Smrg  cd ..
3580dd519f38Smrg  rm -rf conftest.dir
3581dd519f38Smrgelse
3582dd519f38Smrg  am_cv_CC_dependencies_compiler_type=none
3583dd519f38Smrgfi
3584dd519f38Smrg
3585dd519f38Smrgfi
35867973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3587dd519f38Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3588dd519f38SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3589dd519f38Smrg
3590dd519f38Smrg if
3591dd519f38Smrg  test "x$enable_dependency_tracking" != xno \
3592dd519f38Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3593dd519f38Smrg  am__fastdepCC_TRUE=
3594dd519f38Smrg  am__fastdepCC_FALSE='#'
3595dd519f38Smrgelse
3596dd519f38Smrg  am__fastdepCC_TRUE='#'
3597dd519f38Smrg  am__fastdepCC_FALSE=
3598dd519f38Smrgfi
3599dd519f38Smrg
3600dd519f38Smrg
36017973f115Smrg   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
36027973f115Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
36037973f115Smrgif ${ac_cv_prog_cc_c99+:} false; then :
3604dd519f38Smrg  $as_echo_n "(cached) " >&6
3605dd519f38Smrgelse
36067973f115Smrg  ac_cv_prog_cc_c99=no
36077973f115Smrgac_save_CC=$CC
36087973f115Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609dd519f38Smrg/* end confdefs.h.  */
36107973f115Smrg#include <stdarg.h>
36117973f115Smrg#include <stdbool.h>
36127973f115Smrg#include <stdlib.h>
36137973f115Smrg#include <wchar.h>
36147973f115Smrg#include <stdio.h>
36157973f115Smrg
36167973f115Smrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
36177973f115Smrg#define debug(...) fprintf (stderr, __VA_ARGS__)
36187973f115Smrg#define showlist(...) puts (#__VA_ARGS__)
36197973f115Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
36207973f115Smrgstatic void
36217973f115Smrgtest_varargs_macros (void)
36227973f115Smrg{
36237973f115Smrg  int x = 1234;
36247973f115Smrg  int y = 5678;
36257973f115Smrg  debug ("Flag");
36267973f115Smrg  debug ("X = %d\n", x);
36277973f115Smrg  showlist (The first, second, and third items.);
36287973f115Smrg  report (x>y, "x is %d but y is %d", x, y);
36297973f115Smrg}
36307973f115Smrg
36317973f115Smrg// Check long long types.
36327973f115Smrg#define BIG64 18446744073709551615ull
36337973f115Smrg#define BIG32 4294967295ul
36347973f115Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
36357973f115Smrg#if !BIG_OK
36367973f115Smrg  your preprocessor is broken;
36377973f115Smrg#endif
36387973f115Smrg#if BIG_OK
3639dd519f38Smrg#else
36407973f115Smrg  your preprocessor is broken;
3641dd519f38Smrg#endif
36427973f115Smrgstatic long long int bignum = -9223372036854775807LL;
36437973f115Smrgstatic unsigned long long int ubignum = BIG64;
3644dd519f38Smrg
36457973f115Smrgstruct incomplete_array
36467973f115Smrg{
36477973f115Smrg  int datasize;
36487973f115Smrg  double data[];
36497973f115Smrg};
3650dd519f38Smrg
36517973f115Smrgstruct named_init {
36527973f115Smrg  int number;
36537973f115Smrg  const wchar_t *name;
36547973f115Smrg  double average;
36557973f115Smrg};
3656dd519f38Smrg
36577973f115Smrgtypedef const char *ccp;
3658dd519f38Smrg
36597973f115Smrgstatic inline int
36607973f115Smrgtest_restrict (ccp restrict text)
36617973f115Smrg{
36627973f115Smrg  // See if C++-style comments work.
36637973f115Smrg  // Iterate through items via the restricted pointer.
36647973f115Smrg  // Also check for declarations in for loops.
36657973f115Smrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
36667973f115Smrg    continue;
36677973f115Smrg  return 0;
36687973f115Smrg}
3669dd519f38Smrg
36707973f115Smrg// Check varargs and va_copy.
36717973f115Smrgstatic void
36727973f115Smrgtest_varargs (const char *format, ...)
36737973f115Smrg{
36747973f115Smrg  va_list args;
36757973f115Smrg  va_start (args, format);
36767973f115Smrg  va_list args_copy;
36777973f115Smrg  va_copy (args_copy, args);
3678dd519f38Smrg
36797973f115Smrg  const char *str;
36807973f115Smrg  int number;
36817973f115Smrg  float fnumber;
3682dd519f38Smrg
36837973f115Smrg  while (*format)
36847973f115Smrg    {
36857973f115Smrg      switch (*format++)
36867973f115Smrg	{
36877973f115Smrg	case 's': // string
36887973f115Smrg	  str = va_arg (args_copy, const char *);
36897973f115Smrg	  break;
36907973f115Smrg	case 'd': // int
36917973f115Smrg	  number = va_arg (args_copy, int);
36927973f115Smrg	  break;
36937973f115Smrg	case 'f': // float
36947973f115Smrg	  fnumber = va_arg (args_copy, double);
36957973f115Smrg	  break;
36967973f115Smrg	default:
36977973f115Smrg	  break;
36987973f115Smrg	}
36997973f115Smrg    }
37007973f115Smrg  va_end (args_copy);
37017973f115Smrg  va_end (args);
37027973f115Smrg}
37037973f115Smrg
37047973f115Smrgint
37057973f115Smrgmain ()
37067973f115Smrg{
37077973f115Smrg
37087973f115Smrg  // Check bool.
37097973f115Smrg  _Bool success = false;
37107973f115Smrg
37117973f115Smrg  // Check restrict.
37127973f115Smrg  if (test_restrict ("String literal") == 0)
37137973f115Smrg    success = true;
37147973f115Smrg  char *restrict newvar = "Another string";
37157973f115Smrg
37167973f115Smrg  // Check varargs.
37177973f115Smrg  test_varargs ("s, d' f .", "string", 65, 34.234);
37187973f115Smrg  test_varargs_macros ();
37197973f115Smrg
37207973f115Smrg  // Check flexible array members.
37217973f115Smrg  struct incomplete_array *ia =
37227973f115Smrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
37237973f115Smrg  ia->datasize = 10;
37247973f115Smrg  for (int i = 0; i < ia->datasize; ++i)
37257973f115Smrg    ia->data[i] = i * 1.234;
37267973f115Smrg
37277973f115Smrg  // Check named initializers.
37287973f115Smrg  struct named_init ni = {
37297973f115Smrg    .number = 34,
37307973f115Smrg    .name = L"Test wide string",
37317973f115Smrg    .average = 543.34343,
37327973f115Smrg  };
37337973f115Smrg
37347973f115Smrg  ni.number = 58;
37357973f115Smrg
37367973f115Smrg  int dynamic_array[ni.number];
37377973f115Smrg  dynamic_array[ni.number - 1] = 543;
37387973f115Smrg
37397973f115Smrg  // work around unused variable warnings
37407973f115Smrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
37417973f115Smrg	  || dynamic_array[ni.number - 1] != 543);
37427973f115Smrg
37437973f115Smrg  ;
37447973f115Smrg  return 0;
37457973f115Smrg}
37467973f115Smrg_ACEOF
37477973f115Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
37487973f115Smrgdo
37497973f115Smrg  CC="$ac_save_CC $ac_arg"
37507973f115Smrg  if ac_fn_c_try_compile "$LINENO"; then :
37517973f115Smrg  ac_cv_prog_cc_c99=$ac_arg
37527973f115Smrgfi
37537973f115Smrgrm -f core conftest.err conftest.$ac_objext
37547973f115Smrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
37557973f115Smrgdone
37567973f115Smrgrm -f conftest.$ac_ext
37577973f115SmrgCC=$ac_save_CC
37587973f115Smrg
37597973f115Smrgfi
37607973f115Smrg# AC_CACHE_VAL
37617973f115Smrgcase "x$ac_cv_prog_cc_c99" in
37627973f115Smrg  x)
37637973f115Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
37647973f115Smrg$as_echo "none needed" >&6; } ;;
37657973f115Smrg  xno)
37667973f115Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
37677973f115Smrg$as_echo "unsupported" >&6; } ;;
37687973f115Smrg  *)
37697973f115Smrg    CC="$CC $ac_cv_prog_cc_c99"
37707973f115Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
37717973f115Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
37727973f115Smrgesac
37737973f115Smrgif test "x$ac_cv_prog_cc_c99" != xno; then :
37747973f115Smrg
37757973f115Smrgfi
37767973f115Smrg
37777973f115Smrg
37787973f115Smrg
37797973f115Smrgac_ext=c
37807973f115Smrgac_cpp='$CPP $CPPFLAGS'
37817973f115Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827973f115Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37837973f115Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
37847973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
37857973f115Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
37867973f115Smrg# On Suns, sometimes $CPP names a directory.
37877973f115Smrgif test -n "$CPP" && test -d "$CPP"; then
37887973f115Smrg  CPP=
37897973f115Smrgfi
37907973f115Smrgif test -z "$CPP"; then
37917973f115Smrg  if ${ac_cv_prog_CPP+:} false; then :
37927973f115Smrg  $as_echo_n "(cached) " >&6
37937973f115Smrgelse
37947973f115Smrg      # Double quotes because CPP needs to be expanded
37957973f115Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
37967973f115Smrg    do
37977973f115Smrg      ac_preproc_ok=false
37987973f115Smrgfor ac_c_preproc_warn_flag in '' yes
37997973f115Smrgdo
38007973f115Smrg  # Use a header file that comes with gcc, so configuring glibc
38017973f115Smrg  # with a fresh cross-compiler works.
38027973f115Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38037973f115Smrg  # <limits.h> exists even on freestanding compilers.
38047973f115Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
38057973f115Smrg  # not just through cpp. "Syntax error" is here to catch this case.
38067973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38077973f115Smrg/* end confdefs.h.  */
38087973f115Smrg#ifdef __STDC__
38097973f115Smrg# include <limits.h>
38107973f115Smrg#else
38117973f115Smrg# include <assert.h>
38127973f115Smrg#endif
38137973f115Smrg		     Syntax error
38147973f115Smrg_ACEOF
38157973f115Smrgif ac_fn_c_try_cpp "$LINENO"; then :
38167973f115Smrg
38177973f115Smrgelse
38187973f115Smrg  # Broken: fails on valid input.
38197973f115Smrgcontinue
38207973f115Smrgfi
38217973f115Smrgrm -f conftest.err conftest.i conftest.$ac_ext
38227973f115Smrg
38237973f115Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
38247973f115Smrg  # can be detected and how.
38257973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38267973f115Smrg/* end confdefs.h.  */
38277973f115Smrg#include <ac_nonexistent.h>
38287973f115Smrg_ACEOF
38297973f115Smrgif ac_fn_c_try_cpp "$LINENO"; then :
38307973f115Smrg  # Broken: success on invalid input.
38317973f115Smrgcontinue
38327973f115Smrgelse
38337973f115Smrg  # Passes both tests.
38347973f115Smrgac_preproc_ok=:
38357973f115Smrgbreak
38367973f115Smrgfi
38377973f115Smrgrm -f conftest.err conftest.i conftest.$ac_ext
38387973f115Smrg
38397973f115Smrgdone
38407973f115Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
38417973f115Smrgrm -f conftest.i conftest.err conftest.$ac_ext
38427973f115Smrgif $ac_preproc_ok; then :
38437973f115Smrg  break
38447973f115Smrgfi
38457973f115Smrg
38467973f115Smrg    done
38477973f115Smrg    ac_cv_prog_CPP=$CPP
3848dd519f38Smrg
3849dd519f38Smrgfi
3850dd519f38Smrg  CPP=$ac_cv_prog_CPP
3851dd519f38Smrgelse
3852dd519f38Smrg  ac_cv_prog_CPP=$CPP
3853dd519f38Smrgfi
38547973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3855dd519f38Smrg$as_echo "$CPP" >&6; }
3856dd519f38Smrgac_preproc_ok=false
3857dd519f38Smrgfor ac_c_preproc_warn_flag in '' yes
3858dd519f38Smrgdo
3859dd519f38Smrg  # Use a header file that comes with gcc, so configuring glibc
3860dd519f38Smrg  # with a fresh cross-compiler works.
3861dd519f38Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3862dd519f38Smrg  # <limits.h> exists even on freestanding compilers.
3863dd519f38Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3864dd519f38Smrg  # not just through cpp. "Syntax error" is here to catch this case.
38657973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866dd519f38Smrg/* end confdefs.h.  */
3867dd519f38Smrg#ifdef __STDC__
3868dd519f38Smrg# include <limits.h>
3869dd519f38Smrg#else
3870dd519f38Smrg# include <assert.h>
3871dd519f38Smrg#endif
3872dd519f38Smrg		     Syntax error
3873dd519f38Smrg_ACEOF
38747973f115Smrgif ac_fn_c_try_cpp "$LINENO"; then :
3875dd519f38Smrg
38767973f115Smrgelse
3877dd519f38Smrg  # Broken: fails on valid input.
3878dd519f38Smrgcontinue
3879dd519f38Smrgfi
38807973f115Smrgrm -f conftest.err conftest.i conftest.$ac_ext
3881dd519f38Smrg
3882dd519f38Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
3883dd519f38Smrg  # can be detected and how.
38847973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885dd519f38Smrg/* end confdefs.h.  */
3886dd519f38Smrg#include <ac_nonexistent.h>
3887dd519f38Smrg_ACEOF
38887973f115Smrgif ac_fn_c_try_cpp "$LINENO"; then :
3889dd519f38Smrg  # Broken: success on invalid input.
3890dd519f38Smrgcontinue
3891dd519f38Smrgelse
3892dd519f38Smrg  # Passes both tests.
3893dd519f38Smrgac_preproc_ok=:
3894dd519f38Smrgbreak
3895dd519f38Smrgfi
38967973f115Smrgrm -f conftest.err conftest.i conftest.$ac_ext
3897dd519f38Smrg
3898dd519f38Smrgdone
3899dd519f38Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
39007973f115Smrgrm -f conftest.i conftest.err conftest.$ac_ext
39017973f115Smrgif $ac_preproc_ok; then :
39027973f115Smrg
3903dd519f38Smrgelse
39047973f115Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3905dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
39067973f115Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check
39077973f115SmrgSee \`config.log' for more details" "$LINENO" 5; }
3908dd519f38Smrgfi
3909dd519f38Smrg
3910dd519f38Smrgac_ext=c
3911dd519f38Smrgac_cpp='$CPP $CPPFLAGS'
3912dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3913dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3914dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3915dd519f38Smrg
3916dd519f38Smrg
39177973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3918dd519f38Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
39197973f115Smrgif ${ac_cv_path_GREP+:} false; then :
3920dd519f38Smrg  $as_echo_n "(cached) " >&6
3921dd519f38Smrgelse
3922dd519f38Smrg  if test -z "$GREP"; then
3923dd519f38Smrg  ac_path_GREP_found=false
3924dd519f38Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3925dd519f38Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926dd519f38Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3927dd519f38Smrgdo
3928dd519f38Smrg  IFS=$as_save_IFS
3929dd519f38Smrg  test -z "$as_dir" && as_dir=.
39307973f115Smrg    for ac_prog in grep ggrep; do
3931dd519f38Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3932dd519f38Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3933dd519f38Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3934dd519f38Smrg# Check for GNU ac_path_GREP and select it if it is found.
3935dd519f38Smrg  # Check for GNU $ac_path_GREP
3936dd519f38Smrgcase `"$ac_path_GREP" --version 2>&1` in
3937dd519f38Smrg*GNU*)
3938dd519f38Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3939dd519f38Smrg*)
3940dd519f38Smrg  ac_count=0
3941dd519f38Smrg  $as_echo_n 0123456789 >"conftest.in"
3942dd519f38Smrg  while :
3943dd519f38Smrg  do
3944dd519f38Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3945dd519f38Smrg    mv "conftest.tmp" "conftest.in"
3946dd519f38Smrg    cp "conftest.in" "conftest.nl"
3947dd519f38Smrg    $as_echo 'GREP' >> "conftest.nl"
3948dd519f38Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3949dd519f38Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
39507973f115Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
3951dd519f38Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3952dd519f38Smrg      # Best one so far, save it but keep looking for a better one
3953dd519f38Smrg      ac_cv_path_GREP="$ac_path_GREP"
3954dd519f38Smrg      ac_path_GREP_max=$ac_count
3955dd519f38Smrg    fi
3956dd519f38Smrg    # 10*(2^10) chars as input seems more than enough
3957dd519f38Smrg    test $ac_count -gt 10 && break
3958dd519f38Smrg  done
3959dd519f38Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3960dd519f38Smrgesac
3961dd519f38Smrg
3962dd519f38Smrg      $ac_path_GREP_found && break 3
3963dd519f38Smrg    done
3964dd519f38Smrg  done
39657973f115Smrg  done
3966dd519f38SmrgIFS=$as_save_IFS
3967dd519f38Smrg  if test -z "$ac_cv_path_GREP"; then
39687973f115Smrg    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3969dd519f38Smrg  fi
3970dd519f38Smrgelse
3971dd519f38Smrg  ac_cv_path_GREP=$GREP
3972dd519f38Smrgfi
3973dd519f38Smrg
3974dd519f38Smrgfi
39757973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3976dd519f38Smrg$as_echo "$ac_cv_path_GREP" >&6; }
3977dd519f38Smrg GREP="$ac_cv_path_GREP"
3978dd519f38Smrg
3979dd519f38Smrg
39807973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3981dd519f38Smrg$as_echo_n "checking for egrep... " >&6; }
39827973f115Smrgif ${ac_cv_path_EGREP+:} false; then :
3983dd519f38Smrg  $as_echo_n "(cached) " >&6
3984dd519f38Smrgelse
3985dd519f38Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3986dd519f38Smrg   then ac_cv_path_EGREP="$GREP -E"
3987dd519f38Smrg   else
3988dd519f38Smrg     if test -z "$EGREP"; then
3989dd519f38Smrg  ac_path_EGREP_found=false
3990dd519f38Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3991dd519f38Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992dd519f38Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3993dd519f38Smrgdo
3994dd519f38Smrg  IFS=$as_save_IFS
3995dd519f38Smrg  test -z "$as_dir" && as_dir=.
39967973f115Smrg    for ac_prog in egrep; do
3997dd519f38Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3998dd519f38Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3999dd519f38Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4000dd519f38Smrg# Check for GNU ac_path_EGREP and select it if it is found.
4001dd519f38Smrg  # Check for GNU $ac_path_EGREP
4002dd519f38Smrgcase `"$ac_path_EGREP" --version 2>&1` in
4003dd519f38Smrg*GNU*)
4004dd519f38Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4005dd519f38Smrg*)
4006dd519f38Smrg  ac_count=0
4007dd519f38Smrg  $as_echo_n 0123456789 >"conftest.in"
4008dd519f38Smrg  while :
4009dd519f38Smrg  do
4010dd519f38Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
4011dd519f38Smrg    mv "conftest.tmp" "conftest.in"
4012dd519f38Smrg    cp "conftest.in" "conftest.nl"
4013dd519f38Smrg    $as_echo 'EGREP' >> "conftest.nl"
4014dd519f38Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4015dd519f38Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
40167973f115Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
4017dd519f38Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4018dd519f38Smrg      # Best one so far, save it but keep looking for a better one
4019dd519f38Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
4020dd519f38Smrg      ac_path_EGREP_max=$ac_count
4021dd519f38Smrg    fi
4022dd519f38Smrg    # 10*(2^10) chars as input seems more than enough
4023dd519f38Smrg    test $ac_count -gt 10 && break
4024dd519f38Smrg  done
4025dd519f38Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4026dd519f38Smrgesac
4027dd519f38Smrg
4028dd519f38Smrg      $ac_path_EGREP_found && break 3
4029dd519f38Smrg    done
4030dd519f38Smrg  done
40317973f115Smrg  done
4032dd519f38SmrgIFS=$as_save_IFS
4033dd519f38Smrg  if test -z "$ac_cv_path_EGREP"; then
40347973f115Smrg    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4035dd519f38Smrg  fi
4036dd519f38Smrgelse
4037dd519f38Smrg  ac_cv_path_EGREP=$EGREP
4038dd519f38Smrgfi
4039dd519f38Smrg
4040dd519f38Smrg   fi
4041dd519f38Smrgfi
40427973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4043dd519f38Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
4044dd519f38Smrg EGREP="$ac_cv_path_EGREP"
4045dd519f38Smrg
4046dd519f38Smrg
40477973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4048dd519f38Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
40497973f115Smrgif ${ac_cv_header_stdc+:} false; then :
4050dd519f38Smrg  $as_echo_n "(cached) " >&6
4051dd519f38Smrgelse
40527973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053dd519f38Smrg/* end confdefs.h.  */
4054dd519f38Smrg#include <stdlib.h>
4055dd519f38Smrg#include <stdarg.h>
4056dd519f38Smrg#include <string.h>
4057dd519f38Smrg#include <float.h>
4058dd519f38Smrg
4059dd519f38Smrgint
4060dd519f38Smrgmain ()
4061dd519f38Smrg{
4062dd519f38Smrg
4063dd519f38Smrg  ;
4064dd519f38Smrg  return 0;
4065dd519f38Smrg}
4066dd519f38Smrg_ACEOF
40677973f115Smrgif ac_fn_c_try_compile "$LINENO"; then :
4068dd519f38Smrg  ac_cv_header_stdc=yes
4069dd519f38Smrgelse
40707973f115Smrg  ac_cv_header_stdc=no
4071dd519f38Smrgfi
4072dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073dd519f38Smrg
4074dd519f38Smrgif test $ac_cv_header_stdc = yes; then
4075dd519f38Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
40767973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077dd519f38Smrg/* end confdefs.h.  */
4078dd519f38Smrg#include <string.h>
4079dd519f38Smrg
4080dd519f38Smrg_ACEOF
4081dd519f38Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40827973f115Smrg  $EGREP "memchr" >/dev/null 2>&1; then :
40837973f115Smrg
4084dd519f38Smrgelse
4085dd519f38Smrg  ac_cv_header_stdc=no
4086dd519f38Smrgfi
4087dd519f38Smrgrm -f conftest*
4088dd519f38Smrg
4089dd519f38Smrgfi
4090dd519f38Smrg
4091dd519f38Smrgif test $ac_cv_header_stdc = yes; then
4092dd519f38Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40937973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094dd519f38Smrg/* end confdefs.h.  */
4095dd519f38Smrg#include <stdlib.h>
4096dd519f38Smrg
4097dd519f38Smrg_ACEOF
4098dd519f38Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40997973f115Smrg  $EGREP "free" >/dev/null 2>&1; then :
41007973f115Smrg
4101dd519f38Smrgelse
4102dd519f38Smrg  ac_cv_header_stdc=no
4103dd519f38Smrgfi
4104dd519f38Smrgrm -f conftest*
4105dd519f38Smrg
4106dd519f38Smrgfi
4107dd519f38Smrg
4108dd519f38Smrgif test $ac_cv_header_stdc = yes; then
4109dd519f38Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
41107973f115Smrg  if test "$cross_compiling" = yes; then :
4111dd519f38Smrg  :
4112dd519f38Smrgelse
41137973f115Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114dd519f38Smrg/* end confdefs.h.  */
4115dd519f38Smrg#include <ctype.h>
4116dd519f38Smrg#include <stdlib.h>
4117dd519f38Smrg#if ((' ' & 0x0FF) == 0x020)
4118dd519f38Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4119dd519f38Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4120dd519f38Smrg#else
4121dd519f38Smrg# define ISLOWER(c) \
4122dd519f38Smrg		   (('a' <= (c) && (c) <= 'i') \
4123dd519f38Smrg		     || ('j' <= (c) && (c) <= 'r') \
4124dd519f38Smrg		     || ('s' <= (c) && (c) <= 'z'))
4125dd519f38Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4126dd519f38Smrg#endif
4127dd519f38Smrg
4128dd519f38Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4129dd519f38Smrgint
4130dd519f38Smrgmain ()
4131dd519f38Smrg{
4132dd519f38Smrg  int i;
4133dd519f38Smrg  for (i = 0; i < 256; i++)
4134dd519f38Smrg    if (XOR (islower (i), ISLOWER (i))
4135dd519f38Smrg	|| toupper (i) != TOUPPER (i))
4136dd519f38Smrg      return 2;
4137dd519f38Smrg  return 0;
4138dd519f38Smrg}
4139dd519f38Smrg_ACEOF
41407973f115Smrgif ac_fn_c_try_run "$LINENO"; then :
4141dd519f38Smrg
41427973f115Smrgelse
41437973f115Smrg  ac_cv_header_stdc=no
4144dd519f38Smrgfi
41457973f115Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41467973f115Smrg  conftest.$ac_objext conftest.beam conftest.$ac_ext
4147dd519f38Smrgfi
4148dd519f38Smrg
4149dd519f38Smrgfi
4150dd519f38Smrgfi
41517973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4152dd519f38Smrg$as_echo "$ac_cv_header_stdc" >&6; }
4153dd519f38Smrgif test $ac_cv_header_stdc = yes; then
4154dd519f38Smrg
41557973f115Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4156dd519f38Smrg
4157dd519f38Smrgfi
4158dd519f38Smrg
4159dd519f38Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4160dd519f38Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4161dd519f38Smrg		  inttypes.h stdint.h unistd.h
41627973f115Smrgdo :
41637973f115Smrg  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
41647973f115Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
41657973f115Smrg"
41667973f115Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4167dd519f38Smrg  cat >>confdefs.h <<_ACEOF
4168dd519f38Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4169dd519f38Smrg_ACEOF
4170dd519f38Smrg
4171dd519f38Smrgfi
4172dd519f38Smrg
4173dd519f38Smrgdone
4174dd519f38Smrg
4175dd519f38Smrg
4176dd519f38Smrg
4177dd519f38Smrg
4178dd519f38Smrg
4179dd519f38Smrg
4180dd519f38Smrg
4181dd519f38Smrg
41827973f115Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41837973f115Smrg	if test -n "$ac_tool_prefix"; then
41847973f115Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41857973f115Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41867973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41877973f115Smrg$as_echo_n "checking for $ac_word... " >&6; }
41887973f115Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then :
41897973f115Smrg  $as_echo_n "(cached) " >&6
41907973f115Smrgelse
41917973f115Smrg  case $PKG_CONFIG in
41927973f115Smrg  [\\/]* | ?:[\\/]*)
41937973f115Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41947973f115Smrg  ;;
41957973f115Smrg  *)
41967973f115Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41977973f115Smrgfor as_dir in $PATH
4198dd519f38Smrgdo
41997973f115Smrg  IFS=$as_save_IFS
42007973f115Smrg  test -z "$as_dir" && as_dir=.
42017973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
42027973f115Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42037973f115Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42047973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
42057973f115Smrg    break 2
42067973f115Smrg  fi
42077973f115Smrgdone
42087973f115Smrg  done
42097973f115SmrgIFS=$as_save_IFS
42107973f115Smrg
42117973f115Smrg  ;;
4212dd519f38Smrgesac
42137973f115Smrgfi
42147973f115SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
42157973f115Smrgif test -n "$PKG_CONFIG"; then
42167973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
42177973f115Smrg$as_echo "$PKG_CONFIG" >&6; }
4218dd519f38Smrgelse
42197973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42207973f115Smrg$as_echo "no" >&6; }
4221dd519f38Smrgfi
4222dd519f38Smrg
4223dd519f38Smrg
4224dd519f38Smrgfi
42257973f115Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
42267973f115Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
42277973f115Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
42287973f115Smrgset dummy pkg-config; ac_word=$2
42297973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
42307973f115Smrg$as_echo_n "checking for $ac_word... " >&6; }
42317973f115Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
42327973f115Smrg  $as_echo_n "(cached) " >&6
42337973f115Smrgelse
42347973f115Smrg  case $ac_pt_PKG_CONFIG in
42357973f115Smrg  [\\/]* | ?:[\\/]*)
42367973f115Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42377973f115Smrg  ;;
4238dd519f38Smrg  *)
42397973f115Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42407973f115Smrgfor as_dir in $PATH
42417973f115Smrgdo
42427973f115Smrg  IFS=$as_save_IFS
42437973f115Smrg  test -z "$as_dir" && as_dir=.
42447973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
42457973f115Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42467973f115Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42477973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
42487973f115Smrg    break 2
42497973f115Smrg  fi
42507973f115Smrgdone
42517973f115Smrg  done
42527973f115SmrgIFS=$as_save_IFS
4253dd519f38Smrg
42547973f115Smrg  ;;
42557973f115Smrgesac
42567973f115Smrgfi
42577973f115Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42587973f115Smrgif test -n "$ac_pt_PKG_CONFIG"; then
42597973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
42607973f115Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
42617973f115Smrgelse
42627973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42637973f115Smrg$as_echo "no" >&6; }
42647973f115Smrgfi
4265dd519f38Smrg
42667973f115Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
42677973f115Smrg    PKG_CONFIG=""
42687973f115Smrg  else
42697973f115Smrg    case $cross_compiling:$ac_tool_warned in
42707973f115Smrgyes:)
42717973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
42727973f115Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
42737973f115Smrgac_tool_warned=yes ;;
42747973f115Smrgesac
42757973f115Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
42767973f115Smrg  fi
42777973f115Smrgelse
42787973f115Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42797973f115Smrgfi
4280dd519f38Smrg
42817973f115Smrgfi
42827973f115Smrgif test -n "$PKG_CONFIG"; then
42837973f115Smrg	_pkg_min_version=0.9.0
42847973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
42857973f115Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
42867973f115Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42877973f115Smrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42887973f115Smrg$as_echo "yes" >&6; }
42897973f115Smrg	else
42907973f115Smrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42917973f115Smrg$as_echo "no" >&6; }
42927973f115Smrg		PKG_CONFIG=""
42937973f115Smrg	fi
42947973f115Smrgfi
4295dd519f38Smrg# Make sure we can run config.sub.
4296dd519f38Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
42977973f115Smrg  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4298dd519f38Smrg
42997973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4300dd519f38Smrg$as_echo_n "checking build system type... " >&6; }
43017973f115Smrgif ${ac_cv_build+:} false; then :
4302dd519f38Smrg  $as_echo_n "(cached) " >&6
4303dd519f38Smrgelse
4304dd519f38Smrg  ac_build_alias=$build_alias
4305dd519f38Smrgtest "x$ac_build_alias" = x &&
4306dd519f38Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4307dd519f38Smrgtest "x$ac_build_alias" = x &&
43087973f115Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4309dd519f38Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
43107973f115Smrg  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4311dd519f38Smrg
4312dd519f38Smrgfi
43137973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4314dd519f38Smrg$as_echo "$ac_cv_build" >&6; }
4315dd519f38Smrgcase $ac_cv_build in
4316dd519f38Smrg*-*-*) ;;
43177973f115Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4318dd519f38Smrgesac
4319dd519f38Smrgbuild=$ac_cv_build
4320dd519f38Smrgac_save_IFS=$IFS; IFS='-'
4321dd519f38Smrgset x $ac_cv_build
4322dd519f38Smrgshift
4323dd519f38Smrgbuild_cpu=$1
4324dd519f38Smrgbuild_vendor=$2
4325dd519f38Smrgshift; shift
4326dd519f38Smrg# Remember, the first character of IFS is used to create $*,
4327dd519f38Smrg# except with old shells:
4328dd519f38Smrgbuild_os=$*
4329dd519f38SmrgIFS=$ac_save_IFS
4330dd519f38Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4331dd519f38Smrg
4332dd519f38Smrg
43337973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4334dd519f38Smrg$as_echo_n "checking host system type... " >&6; }
43357973f115Smrgif ${ac_cv_host+:} false; then :
4336dd519f38Smrg  $as_echo_n "(cached) " >&6
4337dd519f38Smrgelse
4338dd519f38Smrg  if test "x$host_alias" = x; then
4339dd519f38Smrg  ac_cv_host=$ac_cv_build
4340dd519f38Smrgelse
4341dd519f38Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
43427973f115Smrg    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4343dd519f38Smrgfi
4344dd519f38Smrg
4345dd519f38Smrgfi
43467973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4347dd519f38Smrg$as_echo "$ac_cv_host" >&6; }
4348dd519f38Smrgcase $ac_cv_host in
4349dd519f38Smrg*-*-*) ;;
43507973f115Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4351dd519f38Smrgesac
4352dd519f38Smrghost=$ac_cv_host
4353dd519f38Smrgac_save_IFS=$IFS; IFS='-'
4354dd519f38Smrgset x $ac_cv_host
4355dd519f38Smrgshift
4356dd519f38Smrghost_cpu=$1
4357dd519f38Smrghost_vendor=$2
4358dd519f38Smrgshift; shift
4359dd519f38Smrg# Remember, the first character of IFS is used to create $*,
4360dd519f38Smrg# except with old shells:
4361dd519f38Smrghost_os=$*
4362dd519f38SmrgIFS=$ac_save_IFS
4363dd519f38Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4364dd519f38Smrg
4365dd519f38Smrg
43667973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
43677973f115Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; }
43687973f115Smrgif ${ac_cv_path_SED+:} false; then :
43697973f115Smrg  $as_echo_n "(cached) " >&6
43707973f115Smrgelse
43717973f115Smrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
43727973f115Smrg     for ac_i in 1 2 3 4 5 6 7; do
43737973f115Smrg       ac_script="$ac_script$as_nl$ac_script"
43747973f115Smrg     done
43757973f115Smrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
43767973f115Smrg     { ac_script=; unset ac_script;}
43777973f115Smrg     if test -z "$SED"; then
43787973f115Smrg  ac_path_SED_found=false
43797973f115Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
43807973f115Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43817973f115Smrgfor as_dir in $PATH
43827973f115Smrgdo
43837973f115Smrg  IFS=$as_save_IFS
43847973f115Smrg  test -z "$as_dir" && as_dir=.
43857973f115Smrg    for ac_prog in sed gsed; do
43867973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
43877973f115Smrg      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
43887973f115Smrg      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
43897973f115Smrg# Check for GNU ac_path_SED and select it if it is found.
43907973f115Smrg  # Check for GNU $ac_path_SED
43917973f115Smrgcase `"$ac_path_SED" --version 2>&1` in
43927973f115Smrg*GNU*)
43937973f115Smrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
43947973f115Smrg*)
43957973f115Smrg  ac_count=0
43967973f115Smrg  $as_echo_n 0123456789 >"conftest.in"
43977973f115Smrg  while :
43987973f115Smrg  do
43997973f115Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
44007973f115Smrg    mv "conftest.tmp" "conftest.in"
44017973f115Smrg    cp "conftest.in" "conftest.nl"
44027973f115Smrg    $as_echo '' >> "conftest.nl"
44037973f115Smrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
44047973f115Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
44057973f115Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
44067973f115Smrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
44077973f115Smrg      # Best one so far, save it but keep looking for a better one
44087973f115Smrg      ac_cv_path_SED="$ac_path_SED"
44097973f115Smrg      ac_path_SED_max=$ac_count
44107973f115Smrg    fi
44117973f115Smrg    # 10*(2^10) chars as input seems more than enough
44127973f115Smrg    test $ac_count -gt 10 && break
44137973f115Smrg  done
44147973f115Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
44157973f115Smrgesac
44167973f115Smrg
44177973f115Smrg      $ac_path_SED_found && break 3
44187973f115Smrg    done
44197973f115Smrg  done
44207973f115Smrg  done
44217973f115SmrgIFS=$as_save_IFS
44227973f115Smrg  if test -z "$ac_cv_path_SED"; then
44237973f115Smrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
44247973f115Smrg  fi
44257973f115Smrgelse
44267973f115Smrg  ac_cv_path_SED=$SED
44277973f115Smrgfi
44287973f115Smrg
44297973f115Smrgfi
44307973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
44317973f115Smrg$as_echo "$ac_cv_path_SED" >&6; }
44327973f115Smrg SED="$ac_cv_path_SED"
44337973f115Smrg  rm -f conftest.sed
44347973f115Smrg
44357973f115Smrg
4436dd519f38Smrg
4437dd519f38Smrg
4438dd519f38Smrg
4439dd519f38Smrgif  test "x$GCC" = xyes ; then
4440dd519f38Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4441dd519f38Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
44427973f115Smrg-Wbad-function-cast -Wformat=2"
4443dd519f38Smrg    case `$CC -dumpversion` in
4444dd519f38Smrg    3.4.* | 4.*)
4445dd519f38Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4446dd519f38Smrg	;;
4447dd519f38Smrg    esac
4448dd519f38Smrgelse
44497973f115Smrg    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
44507973f115Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4451dd519f38Smrg  SUNCC="yes"
4452dd519f38Smrgelse
4453dd519f38Smrg  SUNCC="no"
4454dd519f38Smrgfi
4455dd519f38Smrg
4456dd519f38Smrg    if test "x$SUNCC" = "xyes"; then
4457dd519f38Smrg	CWARNFLAGS="-v"
4458dd519f38Smrg    fi
4459dd519f38Smrgfi
4460dd519f38Smrg
4461dd519f38Smrg
4462dd519f38Smrg
44637973f115Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4464dd519f38Smrg
4465dd519f38Smrg
4466dd519f38Smrg
4467dd519f38Smrg# Check whether --enable-strict-compilation was given.
44687973f115Smrgif test "${enable_strict_compilation+set}" = set; then :
4469dd519f38Smrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4470dd519f38Smrgelse
4471dd519f38Smrg  STRICT_COMPILE=no
4472dd519f38Smrgfi
4473dd519f38Smrg
4474dd519f38Smrgif test "x$STRICT_COMPILE" = "xyes"; then
44757973f115Smrg	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
44767973f115Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4477dd519f38Smrg  SUNCC="yes"
44787973f115Smrgelse
44797973f115Smrg  SUNCC="no"
4480dd519f38Smrgfi
4481dd519f38Smrg
44827973f115Smrg	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
44837973f115Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4484dd519f38Smrg  INTELCC="yes"
4485dd519f38Smrgelse
4486dd519f38Smrg  INTELCC="no"
4487dd519f38Smrgfi
4488dd519f38Smrg
4489dd519f38Smrg	if test "x$GCC" = xyes ; then
4490dd519f38Smrg		STRICT_CFLAGS="-pedantic -Werror"
4491dd519f38Smrg	elif test "x$SUNCC" = "xyes"; then
4492dd519f38Smrg		STRICT_CFLAGS="-errwarn"
4493dd519f38Smrg    elif test "x$INTELCC" = "xyes"; then
4494dd519f38Smrg		STRICT_CFLAGS="-Werror"
4495dd519f38Smrg	fi
4496dd519f38Smrgfi
4497dd519f38SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4498dd519f38Smrg
4499dd519f38Smrg
4500dd519f38Smrg
4501dd519f38Smrg
4502dd519f38Smrgcat >>confdefs.h <<_ACEOF
4503dd519f38Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4504dd519f38Smrg_ACEOF
4505dd519f38Smrg
4506dd519f38Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4507dd519f38Smrg	if test "x$PVM" = "x"; then
4508dd519f38Smrg		PVM="0"
4509dd519f38Smrg	fi
4510dd519f38Smrg
4511dd519f38Smrgcat >>confdefs.h <<_ACEOF
4512dd519f38Smrg#define PACKAGE_VERSION_MINOR $PVM
4513dd519f38Smrg_ACEOF
4514dd519f38Smrg
4515dd519f38Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4516dd519f38Smrg	if test "x$PVP" = "x"; then
4517dd519f38Smrg		PVP="0"
4518dd519f38Smrg	fi
4519dd519f38Smrg
4520dd519f38Smrgcat >>confdefs.h <<_ACEOF
4521dd519f38Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
4522dd519f38Smrg_ACEOF
4523dd519f38Smrg
4524dd519f38Smrg
4525dd519f38Smrg
45267973f115SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
45277973f115Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
45287973f115Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4529dd519f38Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
4530dd519f38Smrg
45317973f115Smrg
45327973f115Smrg
45337973f115Smrg
45347973f115Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
45357973f115SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
45367973f115Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
45377973f115Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
45387973f115Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
45397973f115Smrg
4540dd519f38Smrg
4541dd519f38Smrg
4542dd519f38Smrg
4543dd519f38Smrg
4544dd519f38Smrg
4545dd519f38Smrgif test x$APP_MAN_SUFFIX = x    ; then
4546dd519f38Smrg    APP_MAN_SUFFIX=1
4547dd519f38Smrgfi
4548dd519f38Smrgif test x$APP_MAN_DIR = x    ; then
4549dd519f38Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4550dd519f38Smrgfi
4551dd519f38Smrg
4552dd519f38Smrgif test x$LIB_MAN_SUFFIX = x    ; then
4553dd519f38Smrg    LIB_MAN_SUFFIX=3
4554dd519f38Smrgfi
4555dd519f38Smrgif test x$LIB_MAN_DIR = x    ; then
4556dd519f38Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4557dd519f38Smrgfi
4558dd519f38Smrg
4559dd519f38Smrgif test x$FILE_MAN_SUFFIX = x    ; then
4560dd519f38Smrg    case $host_os in
4561dd519f38Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
4562dd519f38Smrg	*)		FILE_MAN_SUFFIX=5  ;;
4563dd519f38Smrg    esac
4564dd519f38Smrgfi
4565dd519f38Smrgif test x$FILE_MAN_DIR = x    ; then
4566dd519f38Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4567dd519f38Smrgfi
4568dd519f38Smrg
4569dd519f38Smrgif test x$MISC_MAN_SUFFIX = x    ; then
4570dd519f38Smrg    case $host_os in
4571dd519f38Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
4572dd519f38Smrg	*)		MISC_MAN_SUFFIX=7  ;;
4573dd519f38Smrg    esac
4574dd519f38Smrgfi
4575dd519f38Smrgif test x$MISC_MAN_DIR = x    ; then
4576dd519f38Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4577dd519f38Smrgfi
4578dd519f38Smrg
4579dd519f38Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
4580dd519f38Smrg    case $host_os in
4581dd519f38Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4582dd519f38Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
4583dd519f38Smrg    esac
4584dd519f38Smrgfi
4585dd519f38Smrgif test x$DRIVER_MAN_DIR = x    ; then
4586dd519f38Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4587dd519f38Smrgfi
4588dd519f38Smrg
4589dd519f38Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
4590dd519f38Smrg    case $host_os in
4591dd519f38Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4592dd519f38Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
4593dd519f38Smrg    esac
4594dd519f38Smrgfi
4595dd519f38Smrgif test x$ADMIN_MAN_DIR = x    ; then
4596dd519f38Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4597dd519f38Smrgfi
4598dd519f38Smrg
4599dd519f38Smrg
4600dd519f38Smrg
4601dd519f38Smrg
4602dd519f38Smrg
4603dd519f38Smrg
4604dd519f38Smrg
4605dd519f38Smrg
4606dd519f38Smrg
4607dd519f38Smrg
4608dd519f38Smrg
4609dd519f38Smrg
4610dd519f38Smrg
4611dd519f38Smrg
4612ed029a5fSmrg
46137973f115SmrgXORG_MAN_PAGE="X Version 11"
4614ed029a5fSmrg
46157973f115SmrgMAN_SUBSTS="\
46167973f115Smrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
46177973f115Smrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
46187973f115Smrg	-e 's|__xservername__|Xorg|g' \
46197973f115Smrg	-e 's|__xconfigfile__|xorg.conf|g' \
46207973f115Smrg	-e 's|__projectroot__|\$(prefix)|g' \
46217973f115Smrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
46227973f115Smrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
46237973f115Smrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
46247973f115Smrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
46257973f115Smrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
46267973f115Smrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
46277973f115Smrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4628ed029a5fSmrg
4629ed029a5fSmrg
4630ed029a5fSmrg
46317973f115Smrg# Check whether --enable-silent-rules was given.
46327973f115Smrgif test "${enable_silent_rules+set}" = set; then :
46337973f115Smrg  enableval=$enable_silent_rules;
4634ed029a5fSmrgfi
4635dd519f38Smrg
46367973f115Smrgcase $enable_silent_rules in
46377973f115Smrgyes) AM_DEFAULT_VERBOSITY=0;;
46387973f115Smrgno)  AM_DEFAULT_VERBOSITY=1;;
46397973f115Smrg*)   AM_DEFAULT_VERBOSITY=0;;
46407973f115Smrgesac
46417973f115SmrgAM_BACKSLASH='\'
4642dd519f38Smrg
4643dd519f38Smrg
4644dd519f38Smrg
4645dd519f38Smrg
4646dd519f38Smrg
46477973f115Smrg# Require X.Org's font util macros 1.2 or later
4648dd519f38Smrg
4649dd519f38Smrg
4650dd519f38Smrg
4651dd519f38Smrg
4652dd519f38Smrg
4653ed029a5fSmrg
4654ed029a5fSmrg
4655dd519f38Smrg
4656ed029a5fSmrg
4657ed029a5fSmrg
4658dd519f38Smrg
4659dd519f38Smrg
4660dd519f38Smrg
4661dd519f38Smrg
4662dd519f38Smrg
46637973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
4664dd519f38Smrg$as_echo_n "checking for root directory for font files... " >&6; }
4665dd519f38Smrg
4666dd519f38Smrg# Check whether --with-fontrootdir was given.
46677973f115Smrgif test "${with_fontrootdir+set}" = set; then :
4668dd519f38Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
4669dd519f38Smrgfi
4670dd519f38Smrg
4671dd519f38Smrg	# if --with-fontrootdir not specified...
4672dd519f38Smrg	if test "x${FONTROOTDIR}" = "x"; then
4673dd519f38Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
4674dd519f38Smrg	fi
4675dd519f38Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
4676dd519f38Smrg	if test "x${FONTROOTDIR}" = "x"; then
4677dd519f38Smrg		FONTROOTDIR="${datadir}/fonts/X11"
4678dd519f38Smrg	fi
4679dd519f38Smrg
46807973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
4681dd519f38Smrg$as_echo "${FONTROOTDIR}" >&6; }
4682dd519f38Smrg
4683dd519f38Smrg
4684dd519f38Smrg
4685dd519f38Smrg
46867973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5
4687dd519f38Smrg$as_echo_n "checking for directory for 100dpi files... " >&6; }
4688dd519f38Smrg
4689dd519f38Smrg# Check whether --with-fontdir was given.
46907973f115Smrgif test "${with_fontdir+set}" = set; then :
4691dd519f38Smrg  withval=$with_fontdir; FONTDIR="${withval}"
4692ed029a5fSmrgelse
4693dd519f38Smrg  FONTDIR='${FONTROOTDIR}/100dpi'
4694ed029a5fSmrgfi
4695ed029a5fSmrg
4696dd519f38Smrg
46977973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5
4698dd519f38Smrg$as_echo "${FONTDIR}" >&6; }
4699dd519f38Smrg
4700dd519f38Smrg
4701dd519f38Smrg
4702dd519f38Smrg
4703dd519f38Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
4704dd519f38Smrgset dummy fc-cache; ac_word=$2
47057973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4706dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
47077973f115Smrgif ${ac_cv_path_FCCACHE+:} false; then :
4708dd519f38Smrg  $as_echo_n "(cached) " >&6
4709ed029a5fSmrgelse
4710dd519f38Smrg  case $FCCACHE in
4711ed029a5fSmrg  [\\/]* | ?:[\\/]*)
4712dd519f38Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
4713ed029a5fSmrg  ;;
4714ed029a5fSmrg  *)
4715ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716ed029a5fSmrgfor as_dir in $PATH
4717ed029a5fSmrgdo
4718ed029a5fSmrg  IFS=$as_save_IFS
4719ed029a5fSmrg  test -z "$as_dir" && as_dir=.
47207973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
4721dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4722dd519f38Smrg    ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext"
47237973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724ed029a5fSmrg    break 2
4725ed029a5fSmrg  fi
4726ed029a5fSmrgdone
47277973f115Smrg  done
4728dd519f38SmrgIFS=$as_save_IFS
4729ed029a5fSmrg
4730ed029a5fSmrg  ;;
4731ed029a5fSmrgesac
4732ed029a5fSmrgfi
4733dd519f38SmrgFCCACHE=$ac_cv_path_FCCACHE
4734dd519f38Smrgif test -n "$FCCACHE"; then
47357973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
4736dd519f38Smrg$as_echo "$FCCACHE" >&6; }
4737ed029a5fSmrgelse
47387973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739dd519f38Smrg$as_echo "no" >&6; }
4740ed029a5fSmrgfi
4741ed029a5fSmrg
4742dd519f38Smrg
4743dd519f38Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
4744dd519f38Smrg	if test x"$FCCACHE" = x ; then
4745dd519f38Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
4746dd519f38Smrg	else
4747dd519f38Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
4748dd519f38Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
4749dd519f38Smrg	fi
4750dd519f38Smrg
4751dd519f38Smrg
4752dd519f38Smrg
4753dd519f38Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
4754ed029a5fSmrgset dummy mkfontdir; ac_word=$2
47557973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
47577973f115Smrgif ${ac_cv_path_MKFONTDIR+:} false; then :
4758dd519f38Smrg  $as_echo_n "(cached) " >&6
4759ed029a5fSmrgelse
4760ed029a5fSmrg  case $MKFONTDIR in
4761ed029a5fSmrg  [\\/]* | ?:[\\/]*)
4762ed029a5fSmrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
4763ed029a5fSmrg  ;;
4764ed029a5fSmrg  *)
4765ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766ed029a5fSmrgfor as_dir in $PATH
4767ed029a5fSmrgdo
4768ed029a5fSmrg  IFS=$as_save_IFS
4769ed029a5fSmrg  test -z "$as_dir" && as_dir=.
47707973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
4771dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4772ed029a5fSmrg    ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext"
47737973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774ed029a5fSmrg    break 2
4775ed029a5fSmrg  fi
4776ed029a5fSmrgdone
47777973f115Smrg  done
4778dd519f38SmrgIFS=$as_save_IFS
4779ed029a5fSmrg
4780ed029a5fSmrg  ;;
4781ed029a5fSmrgesac
4782ed029a5fSmrgfi
4783ed029a5fSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
4784ed029a5fSmrgif test -n "$MKFONTDIR"; then
47857973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
4786dd519f38Smrg$as_echo "$MKFONTDIR" >&6; }
4787ed029a5fSmrgelse
47887973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789dd519f38Smrg$as_echo "no" >&6; }
4790ed029a5fSmrgfi
4791ed029a5fSmrg
4792ed029a5fSmrg
47937973f115Smrg	if test x"$MKFONTDIR" = x; then
47947973f115Smrg		as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5
4795dd519f38Smrg	fi
4796ed029a5fSmrg
4797ed029a5fSmrg
4798ed029a5fSmrg
4799dd519f38Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
4800dd519f38Smrgset dummy bdftopcf; ac_word=$2
48017973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4802dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
48037973f115Smrgif ${ac_cv_path_BDFTOPCF+:} false; then :
4804dd519f38Smrg  $as_echo_n "(cached) " >&6
4805dd519f38Smrgelse
4806dd519f38Smrg  case $BDFTOPCF in
4807dd519f38Smrg  [\\/]* | ?:[\\/]*)
4808dd519f38Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
4809dd519f38Smrg  ;;
4810dd519f38Smrg  *)
4811dd519f38Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812dd519f38Smrgfor as_dir in $PATH
4813dd519f38Smrgdo
4814dd519f38Smrg  IFS=$as_save_IFS
4815dd519f38Smrg  test -z "$as_dir" && as_dir=.
48167973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
4817dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4818dd519f38Smrg    ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext"
48197973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820dd519f38Smrg    break 2
4821dd519f38Smrg  fi
4822dd519f38Smrgdone
48237973f115Smrg  done
4824dd519f38SmrgIFS=$as_save_IFS
4825dd519f38Smrg
4826dd519f38Smrg  ;;
4827dd519f38Smrgesac
4828dd519f38Smrgfi
4829dd519f38SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
4830dd519f38Smrgif test -n "$BDFTOPCF"; then
48317973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5
4832dd519f38Smrg$as_echo "$BDFTOPCF" >&6; }
4833ed029a5fSmrgelse
48347973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835dd519f38Smrg$as_echo "no" >&6; }
4836dd519f38Smrgfi
4837ed029a5fSmrg
4838ed029a5fSmrg
48397973f115Smrg	if test x"$BDFTOPCF" = x; then
48407973f115Smrg		as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5
4841dd519f38Smrg	fi
4842ed029a5fSmrg
4843ed029a5fSmrg
48447973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5
4845dd519f38Smrg$as_echo_n "checking font compression method... " >&6; }
4846dd519f38Smrg
4847dd519f38Smrg# Check whether --with-compression was given.
48487973f115Smrgif test "${with_compression+set}" = set; then :
4849dd519f38Smrg  withval=$with_compression; compression="$withval"
4850ed029a5fSmrgelse
4851dd519f38Smrg  compression="yes"
4852dd519f38Smrgfi
4853dd519f38Smrg
4854dd519f38Smrg	if test x"$compression" = "xyes" ; then
4855dd519f38Smrg		compression="gzip"
4856dd519f38Smrg	fi
48577973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5
4858dd519f38Smrg$as_echo "${compression}" >&6; }
4859dd519f38Smrg	case ${compression} in
4860dd519f38Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
4861dd519f38Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;;
4862dd519f38Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
4863dd519f38Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
48647973f115Smrg	 *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;;
4865dd519f38Smrg	esac
4866dd519f38Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
4867dd519f38Smrg
4868dd519f38Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
4869dd519f38Smrgset dummy ${compression}; ac_word=$2
48707973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
48727973f115Smrgif ${ac_cv_path_COMPRESS+:} false; then :
4873dd519f38Smrg  $as_echo_n "(cached) " >&6
4874dd519f38Smrgelse
4875dd519f38Smrg  case $COMPRESS in
4876ed029a5fSmrg  [\\/]* | ?:[\\/]*)
4877dd519f38Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
4878ed029a5fSmrg  ;;
4879ed029a5fSmrg  *)
4880ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881ed029a5fSmrgfor as_dir in $PATH
4882ed029a5fSmrgdo
4883ed029a5fSmrg  IFS=$as_save_IFS
4884ed029a5fSmrg  test -z "$as_dir" && as_dir=.
48857973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
4886dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887dd519f38Smrg    ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext"
48887973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889ed029a5fSmrg    break 2
4890ed029a5fSmrg  fi
4891ed029a5fSmrgdone
48927973f115Smrg  done
4893dd519f38SmrgIFS=$as_save_IFS
4894ed029a5fSmrg
4895ed029a5fSmrg  ;;
4896ed029a5fSmrgesac
4897ed029a5fSmrgfi
4898dd519f38SmrgCOMPRESS=$ac_cv_path_COMPRESS
4899dd519f38Smrgif test -n "$COMPRESS"; then
49007973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5
4901dd519f38Smrg$as_echo "$COMPRESS" >&6; }
4902ed029a5fSmrgelse
49037973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904dd519f38Smrg$as_echo "no" >&6; }
4905ed029a5fSmrgfi
4906ed029a5fSmrg
4907dd519f38Smrg
49087973f115Smrg	if test x"$COMPRESS" = x; then
49097973f115Smrg		as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5
4910dd519f38Smrg	fi
4911dd519f38Smrg
4912dd519f38Smrg	fi
4913dd519f38Smrg
4914dd519f38Smrg
4915dd519f38Smrg
4916dd519f38Smrg
4917dd519f38Smrg
4918dd519f38Smrg	# Extract the first word of "ucs2any", so it can be a program name with args.
4919dd519f38Smrgset dummy ucs2any; ac_word=$2
49207973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
49227973f115Smrgif ${ac_cv_path_UCS2ANY+:} false; then :
4923dd519f38Smrg  $as_echo_n "(cached) " >&6
4924ed029a5fSmrgelse
4925dd519f38Smrg  case $UCS2ANY in
4926ed029a5fSmrg  [\\/]* | ?:[\\/]*)
4927dd519f38Smrg  ac_cv_path_UCS2ANY="$UCS2ANY" # Let the user override the test with a path.
4928ed029a5fSmrg  ;;
4929ed029a5fSmrg  *)
4930ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931ed029a5fSmrgfor as_dir in $PATH
4932ed029a5fSmrgdo
4933ed029a5fSmrg  IFS=$as_save_IFS
4934ed029a5fSmrg  test -z "$as_dir" && as_dir=.
49357973f115Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
4936dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937dd519f38Smrg    ac_cv_path_UCS2ANY="$as_dir/$ac_word$ac_exec_ext"
49387973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939ed029a5fSmrg    break 2
4940ed029a5fSmrg  fi
4941ed029a5fSmrgdone
49427973f115Smrg  done
4943dd519f38SmrgIFS=$as_save_IFS
4944ed029a5fSmrg
4945ed029a5fSmrg  ;;
4946ed029a5fSmrgesac
4947ed029a5fSmrgfi
4948dd519f38SmrgUCS2ANY=$ac_cv_path_UCS2ANY
4949dd519f38Smrgif test -n "$UCS2ANY"; then
49507973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UCS2ANY" >&5
4951dd519f38Smrg$as_echo "$UCS2ANY" >&6; }
4952ed029a5fSmrgelse
49537973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954dd519f38Smrg$as_echo "no" >&6; }
4955ed029a5fSmrgfi
4956ed029a5fSmrg
4957ed029a5fSmrg
49587973f115Smrg	if test x"$UCS2ANY" = x; then
49597973f115Smrg		as_fn_error $? "ucs2any is required to build $PACKAGE_NAME." "$LINENO" 5
4960ed029a5fSmrg	fi
4961ed029a5fSmrg
4962ed029a5fSmrg
4963ed029a5fSmrgpkg_failed=no
49647973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAPS" >&5
4965dd519f38Smrg$as_echo_n "checking for MAPS... " >&6; }
4966dd519f38Smrg
4967dd519f38Smrgif test -n "$MAPS_CFLAGS"; then
4968dd519f38Smrg    pkg_cv_MAPS_CFLAGS="$MAPS_CFLAGS"
4969dd519f38Smrg elif test -n "$PKG_CONFIG"; then
4970dd519f38Smrg    if test -n "$PKG_CONFIG" && \
49717973f115Smrg    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5
4972ed029a5fSmrg  ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
4973ed029a5fSmrg  ac_status=$?
49747973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49757973f115Smrg  test $ac_status = 0; }; then
4976ed029a5fSmrg  pkg_cv_MAPS_CFLAGS=`$PKG_CONFIG --cflags "fontutil" 2>/dev/null`
4977ed029a5fSmrgelse
4978ed029a5fSmrg  pkg_failed=yes
4979ed029a5fSmrgfi
4980dd519f38Smrg else
4981dd519f38Smrg    pkg_failed=untried
4982ed029a5fSmrgfi
4983dd519f38Smrgif test -n "$MAPS_LIBS"; then
4984dd519f38Smrg    pkg_cv_MAPS_LIBS="$MAPS_LIBS"
4985dd519f38Smrg elif test -n "$PKG_CONFIG"; then
4986dd519f38Smrg    if test -n "$PKG_CONFIG" && \
49877973f115Smrg    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5
4988ed029a5fSmrg  ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
4989ed029a5fSmrg  ac_status=$?
49907973f115Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49917973f115Smrg  test $ac_status = 0; }; then
4992ed029a5fSmrg  pkg_cv_MAPS_LIBS=`$PKG_CONFIG --libs "fontutil" 2>/dev/null`
4993ed029a5fSmrgelse
4994ed029a5fSmrg  pkg_failed=yes
4995ed029a5fSmrgfi
4996dd519f38Smrg else
4997dd519f38Smrg    pkg_failed=untried
4998ed029a5fSmrgfi
4999ed029a5fSmrg
5000ed029a5fSmrg
5001ed029a5fSmrg
5002ed029a5fSmrgif test $pkg_failed = yes; then
50037973f115Smrg   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
50047973f115Smrg$as_echo "no" >&6; }
5005ed029a5fSmrg
5006ed029a5fSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5007ed029a5fSmrg        _pkg_short_errors_supported=yes
5008ed029a5fSmrgelse
5009ed029a5fSmrg        _pkg_short_errors_supported=no
5010ed029a5fSmrgfi
5011ed029a5fSmrg        if test $_pkg_short_errors_supported = yes; then
5012dd519f38Smrg	        MAPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontutil" 2>&1`
5013ed029a5fSmrg        else
5014dd519f38Smrg	        MAPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontutil" 2>&1`
5015ed029a5fSmrg        fi
5016ed029a5fSmrg	# Put the nasty error message in config.log where it belongs
5017ed029a5fSmrg	echo "$MAPS_PKG_ERRORS" >&5
5018ed029a5fSmrg
50197973f115Smrg	as_fn_error $? "Package requirements (fontutil) were not met:
5020ed029a5fSmrg
5021ed029a5fSmrg$MAPS_PKG_ERRORS
5022ed029a5fSmrg
5023ed029a5fSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
5024ed029a5fSmrginstalled software in a non-standard prefix.
5025ed029a5fSmrg
5026ed029a5fSmrgAlternatively, you may set the environment variables MAPS_CFLAGS
5027ed029a5fSmrgand MAPS_LIBS to avoid the need to call pkg-config.
50287973f115SmrgSee the pkg-config man page for more details." "$LINENO" 5
5029ed029a5fSmrgelif test $pkg_failed = untried; then
50307973f115Smrg     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
50317973f115Smrg$as_echo "no" >&6; }
50327973f115Smrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5033dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50347973f115Smrgas_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
5035ed029a5fSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
5036ed029a5fSmrgpath to pkg-config.
5037ed029a5fSmrg
50387973f115SmrgAlternatively, you may set the environment variables MAPS_CFLAGS
50397973f115Smrgand MAPS_LIBS to avoid the need to call pkg-config.
50407973f115SmrgSee the pkg-config man page for more details.
50417973f115Smrg
50427973f115SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>.
50437973f115SmrgSee \`config.log' for more details" "$LINENO" 5; }
50447973f115Smrgelse
50457973f115Smrg	MAPS_CFLAGS=$pkg_cv_MAPS_CFLAGS
50467973f115Smrg	MAPS_LIBS=$pkg_cv_MAPS_LIBS
50477973f115Smrg        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
50487973f115Smrg$as_echo "yes" >&6; }
50497973f115Smrg
50507973f115Smrgfi
50517973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ucs2any encoding data files" >&5
50527973f115Smrg$as_echo_n "checking for ucs2any encoding data files... " >&6; }
50537973f115Smrg	MAPFILES_PATH=`pkg-config --variable=mapdir fontutil`
50547973f115Smrg
50557973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${MAPFILES_PATH}" >&5
50567973f115Smrg$as_echo "${MAPFILES_PATH}" >&6; }
50577973f115Smrg
50587973f115Smrg
50597973f115Smrg	# Check whether --enable-all-encodings was given.
50607973f115Smrgif test "${enable_all_encodings+set}" = set; then :
50617973f115Smrg  enableval=$enable_all_encodings;
50627973f115Smrg			ISO8859_1=$enableval
50637973f115Smrg
50647973f115Smrg			ISO8859_2=$enableval
50657973f115Smrg
50667973f115Smrg			ISO8859_3=$enableval
50677973f115Smrg
50687973f115Smrg			ISO8859_4=$enableval
50697973f115Smrg
50707973f115Smrg			ISO8859_9=$enableval
50717973f115Smrg
50727973f115Smrg			ISO8859_10=$enableval
50737973f115Smrg
50747973f115Smrg			ISO8859_13=$enableval
50757973f115Smrg
50767973f115Smrg			ISO8859_14=$enableval
50777973f115Smrg
50787973f115Smrg			ISO8859_15=$enableval
50797973f115Smrg
50807973f115Smrgelse
50817973f115Smrg
50827973f115Smrg			ISO8859_1=yes
50837973f115Smrg
50847973f115Smrg			ISO8859_2=yes
50857973f115Smrg
50867973f115Smrg			ISO8859_3=yes
5087ed029a5fSmrg
50887973f115Smrg			ISO8859_4=yes
5089ed029a5fSmrg
50907973f115Smrg			ISO8859_9=yes
5091ed029a5fSmrg
50927973f115Smrg			ISO8859_10=yes
5093ed029a5fSmrg
50947973f115Smrg			ISO8859_13=yes
50957973f115Smrg
50967973f115Smrg			ISO8859_14=yes
50977973f115Smrg
50987973f115Smrg			ISO8859_15=yes
5099ed029a5fSmrg
51007973f115Smrgfi
5101ed029a5fSmrg
5102dd519f38Smrg
5103dd519f38Smrg	# Check whether --enable-iso8859-1 was given.
51047973f115Smrgif test "${enable_iso8859_1+set}" = set; then :
5105dd519f38Smrg  enableval=$enable_iso8859_1; ISO8859_1=$enableval
5106dd519f38Smrgfi
5107ed029a5fSmrg
51087973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-1 fonts" >&5
5109dd519f38Smrg$as_echo_n "checking whether to build ISO8859-1 fonts... " >&6; }
51107973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_1" >&5
5111dd519f38Smrg$as_echo "$ISO8859_1" >&6; }
5112dd519f38Smrg	 if test "x$ISO8859_1" = xyes; then
5113ed029a5fSmrg  ISO8859_1_TRUE=
5114ed029a5fSmrg  ISO8859_1_FALSE='#'
5115ed029a5fSmrgelse
5116ed029a5fSmrg  ISO8859_1_TRUE='#'
5117ed029a5fSmrg  ISO8859_1_FALSE=
5118ed029a5fSmrgfi
5119ed029a5fSmrg
5120ed029a5fSmrg
5121dd519f38Smrg	# Check whether --enable-iso8859-2 was given.
51227973f115Smrgif test "${enable_iso8859_2+set}" = set; then :
5123dd519f38Smrg  enableval=$enable_iso8859_2; ISO8859_2=$enableval
5124dd519f38Smrgfi
5125ed029a5fSmrg
51267973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-2 fonts" >&5
5127dd519f38Smrg$as_echo_n "checking whether to build ISO8859-2 fonts... " >&6; }
51287973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_2" >&5
5129dd519f38Smrg$as_echo "$ISO8859_2" >&6; }
5130dd519f38Smrg	 if test "x$ISO8859_2" = xyes; then
5131ed029a5fSmrg  ISO8859_2_TRUE=
5132ed029a5fSmrg  ISO8859_2_FALSE='#'
5133ed029a5fSmrgelse
5134ed029a5fSmrg  ISO8859_2_TRUE='#'
5135ed029a5fSmrg  ISO8859_2_FALSE=
5136ed029a5fSmrgfi
5137ed029a5fSmrg
5138ed029a5fSmrg
5139dd519f38Smrg	# Check whether --enable-iso8859-3 was given.
51407973f115Smrgif test "${enable_iso8859_3+set}" = set; then :
5141dd519f38Smrg  enableval=$enable_iso8859_3; ISO8859_3=$enableval
5142dd519f38Smrgfi
5143ed029a5fSmrg
51447973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-3 fonts" >&5
5145dd519f38Smrg$as_echo_n "checking whether to build ISO8859-3 fonts... " >&6; }
51467973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_3" >&5
5147dd519f38Smrg$as_echo "$ISO8859_3" >&6; }
5148dd519f38Smrg	 if test "x$ISO8859_3" = xyes; then
5149ed029a5fSmrg  ISO8859_3_TRUE=
5150ed029a5fSmrg  ISO8859_3_FALSE='#'
5151ed029a5fSmrgelse
5152ed029a5fSmrg  ISO8859_3_TRUE='#'
5153ed029a5fSmrg  ISO8859_3_FALSE=
5154ed029a5fSmrgfi
5155ed029a5fSmrg
5156ed029a5fSmrg
5157dd519f38Smrg	# Check whether --enable-iso8859-4 was given.
51587973f115Smrgif test "${enable_iso8859_4+set}" = set; then :
5159dd519f38Smrg  enableval=$enable_iso8859_4; ISO8859_4=$enableval
5160dd519f38Smrgfi
5161ed029a5fSmrg
51627973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-4 fonts" >&5
5163dd519f38Smrg$as_echo_n "checking whether to build ISO8859-4 fonts... " >&6; }
51647973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_4" >&5
5165dd519f38Smrg$as_echo "$ISO8859_4" >&6; }
5166dd519f38Smrg	 if test "x$ISO8859_4" = xyes; then
5167ed029a5fSmrg  ISO8859_4_TRUE=
5168ed029a5fSmrg  ISO8859_4_FALSE='#'
5169ed029a5fSmrgelse
5170ed029a5fSmrg  ISO8859_4_TRUE='#'
5171ed029a5fSmrg  ISO8859_4_FALSE=
5172ed029a5fSmrgfi
5173ed029a5fSmrg
5174ed029a5fSmrg
5175dd519f38Smrg	# Check whether --enable-iso8859-9 was given.
51767973f115Smrgif test "${enable_iso8859_9+set}" = set; then :
5177dd519f38Smrg  enableval=$enable_iso8859_9; ISO8859_9=$enableval
5178dd519f38Smrgfi
5179ed029a5fSmrg
51807973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-9 fonts" >&5
5181dd519f38Smrg$as_echo_n "checking whether to build ISO8859-9 fonts... " >&6; }
51827973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_9" >&5
5183dd519f38Smrg$as_echo "$ISO8859_9" >&6; }
5184dd519f38Smrg	 if test "x$ISO8859_9" = xyes; then
5185ed029a5fSmrg  ISO8859_9_TRUE=
5186ed029a5fSmrg  ISO8859_9_FALSE='#'
5187ed029a5fSmrgelse
5188ed029a5fSmrg  ISO8859_9_TRUE='#'
5189ed029a5fSmrg  ISO8859_9_FALSE=
5190ed029a5fSmrgfi
5191ed029a5fSmrg
5192ed029a5fSmrg
5193dd519f38Smrg	# Check whether --enable-iso8859-10 was given.
51947973f115Smrgif test "${enable_iso8859_10+set}" = set; then :
5195dd519f38Smrg  enableval=$enable_iso8859_10; ISO8859_10=$enableval
5196dd519f38Smrgfi
5197ed029a5fSmrg
51987973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-10 fonts" >&5
5199dd519f38Smrg$as_echo_n "checking whether to build ISO8859-10 fonts... " >&6; }
52007973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_10" >&5
5201dd519f38Smrg$as_echo "$ISO8859_10" >&6; }
5202dd519f38Smrg	 if test "x$ISO8859_10" = xyes; then
5203ed029a5fSmrg  ISO8859_10_TRUE=
5204ed029a5fSmrg  ISO8859_10_FALSE='#'
5205ed029a5fSmrgelse
5206ed029a5fSmrg  ISO8859_10_TRUE='#'
5207ed029a5fSmrg  ISO8859_10_FALSE=
5208ed029a5fSmrgfi
5209ed029a5fSmrg
5210ed029a5fSmrg
5211dd519f38Smrg	# Check whether --enable-iso8859-13 was given.
52127973f115Smrgif test "${enable_iso8859_13+set}" = set; then :
5213dd519f38Smrg  enableval=$enable_iso8859_13; ISO8859_13=$enableval
5214dd519f38Smrgfi
5215ed029a5fSmrg
52167973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-13 fonts" >&5
5217dd519f38Smrg$as_echo_n "checking whether to build ISO8859-13 fonts... " >&6; }
52187973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_13" >&5
5219dd519f38Smrg$as_echo "$ISO8859_13" >&6; }
5220dd519f38Smrg	 if test "x$ISO8859_13" = xyes; then
5221ed029a5fSmrg  ISO8859_13_TRUE=
5222ed029a5fSmrg  ISO8859_13_FALSE='#'
5223ed029a5fSmrgelse
5224ed029a5fSmrg  ISO8859_13_TRUE='#'
5225ed029a5fSmrg  ISO8859_13_FALSE=
5226ed029a5fSmrgfi
5227ed029a5fSmrg
5228ed029a5fSmrg
5229dd519f38Smrg	# Check whether --enable-iso8859-14 was given.
52307973f115Smrgif test "${enable_iso8859_14+set}" = set; then :
5231dd519f38Smrg  enableval=$enable_iso8859_14; ISO8859_14=$enableval
5232dd519f38Smrgfi
5233ed029a5fSmrg
52347973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-14 fonts" >&5
5235dd519f38Smrg$as_echo_n "checking whether to build ISO8859-14 fonts... " >&6; }
52367973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_14" >&5
5237dd519f38Smrg$as_echo "$ISO8859_14" >&6; }
5238dd519f38Smrg	 if test "x$ISO8859_14" = xyes; then
5239ed029a5fSmrg  ISO8859_14_TRUE=
5240ed029a5fSmrg  ISO8859_14_FALSE='#'
5241ed029a5fSmrgelse
5242ed029a5fSmrg  ISO8859_14_TRUE='#'
5243ed029a5fSmrg  ISO8859_14_FALSE=
5244ed029a5fSmrgfi
5245ed029a5fSmrg
5246ed029a5fSmrg
5247dd519f38Smrg	# Check whether --enable-iso8859-15 was given.
52487973f115Smrgif test "${enable_iso8859_15+set}" = set; then :
5249dd519f38Smrg  enableval=$enable_iso8859_15; ISO8859_15=$enableval
5250dd519f38Smrgfi
5251ed029a5fSmrg
52527973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-15 fonts" >&5
5253dd519f38Smrg$as_echo_n "checking whether to build ISO8859-15 fonts... " >&6; }
52547973f115Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_15" >&5
5255dd519f38Smrg$as_echo "$ISO8859_15" >&6; }
5256dd519f38Smrg	 if test "x$ISO8859_15" = xyes; then
5257ed029a5fSmrg  ISO8859_15_TRUE=
5258ed029a5fSmrg  ISO8859_15_FALSE='#'
5259ed029a5fSmrgelse
5260ed029a5fSmrg  ISO8859_15_TRUE='#'
5261ed029a5fSmrg  ISO8859_15_FALSE=
5262ed029a5fSmrgfi
5263ed029a5fSmrg
5264ed029a5fSmrg
5265ed029a5fSmrg
5266ed029a5fSmrg
5267dd519f38Smrgac_config_files="$ac_config_files Makefile"
5268ed029a5fSmrg
5269ed029a5fSmrgcat >confcache <<\_ACEOF
5270ed029a5fSmrg# This file is a shell script that caches the results of configure
5271ed029a5fSmrg# tests run on this system so they can be shared between configure
5272ed029a5fSmrg# scripts and configure runs, see configure's option --config-cache.
5273ed029a5fSmrg# It is not useful on other systems.  If it contains results you don't
5274ed029a5fSmrg# want to keep, you may remove or edit it.
5275ed029a5fSmrg#
5276ed029a5fSmrg# config.status only pays attention to the cache file if you give it
5277ed029a5fSmrg# the --recheck option to rerun configure.
5278ed029a5fSmrg#
5279ed029a5fSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
5280ed029a5fSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
5281ed029a5fSmrg# following values.
5282ed029a5fSmrg
5283ed029a5fSmrg_ACEOF
5284ed029a5fSmrg
5285ed029a5fSmrg# The following way of writing the cache mishandles newlines in values,
5286ed029a5fSmrg# but we know of no workaround that is simple, portable, and efficient.
5287dd519f38Smrg# So, we kill variables containing newlines.
5288ed029a5fSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
5289ed029a5fSmrg# and sets the high bit in the cache file unless we assign to the vars.
5290dd519f38Smrg(
5291dd519f38Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5292dd519f38Smrg    eval ac_val=\$$ac_var
5293dd519f38Smrg    case $ac_val in #(
5294dd519f38Smrg    *${as_nl}*)
5295dd519f38Smrg      case $ac_var in #(
52967973f115Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5297dd519f38Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5298dd519f38Smrg      esac
5299dd519f38Smrg      case $ac_var in #(
5300dd519f38Smrg      _ | IFS | as_nl) ;; #(
5301dd519f38Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
53027973f115Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
5303dd519f38Smrg      esac ;;
5304dd519f38Smrg    esac
5305dd519f38Smrg  done
5306dd519f38Smrg
5307ed029a5fSmrg  (set) 2>&1 |
5308dd519f38Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5309dd519f38Smrg    *${as_nl}ac_space=\ *)
53107973f115Smrg      # `set' does not quote correctly, so add quotes: double-quote
53117973f115Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
5312ed029a5fSmrg      sed -n \
5313ed029a5fSmrg	"s/'/'\\\\''/g;
5314ed029a5fSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5315dd519f38Smrg      ;; #(
5316ed029a5fSmrg    *)
5317ed029a5fSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
5318dd519f38Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5319ed029a5fSmrg      ;;
5320dd519f38Smrg    esac |
5321dd519f38Smrg    sort
5322dd519f38Smrg) |
5323ed029a5fSmrg  sed '
5324dd519f38Smrg     /^ac_cv_env_/b end
5325ed029a5fSmrg     t clear
5326dd519f38Smrg     :clear
5327ed029a5fSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5328ed029a5fSmrg     t end
5329dd519f38Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5330dd519f38Smrg     :end' >>confcache
5331dd519f38Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5332dd519f38Smrg  if test -w "$cache_file"; then
53337973f115Smrg    if test "x$cache_file" != "x/dev/null"; then
53347973f115Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5335dd519f38Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
53367973f115Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
53377973f115Smrg	cat confcache >"$cache_file"
53387973f115Smrg      else
53397973f115Smrg        case $cache_file in #(
53407973f115Smrg        */* | ?:*)
53417973f115Smrg	  mv -f confcache "$cache_file"$$ &&
53427973f115Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
53437973f115Smrg        *)
53447973f115Smrg	  mv -f confcache "$cache_file" ;;
53457973f115Smrg	esac
53467973f115Smrg      fi
53477973f115Smrg    fi
5348ed029a5fSmrg  else
53497973f115Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5350dd519f38Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5351ed029a5fSmrg  fi
5352ed029a5fSmrgfi
5353ed029a5fSmrgrm -f confcache
5354ed029a5fSmrg
5355ed029a5fSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
5356ed029a5fSmrg# Let make expand exec_prefix.
5357ed029a5fSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5358ed029a5fSmrg
5359ed029a5fSmrg# Transform confdefs.h into DEFS.
5360ed029a5fSmrg# Protect against shell expansion while executing Makefile rules.
5361ed029a5fSmrg# Protect against Makefile macro expansion.
5362ed029a5fSmrg#
5363ed029a5fSmrg# If the first sed substitution is executed (which looks for macros that
5364dd519f38Smrg# take arguments), then branch to the quote section.  Otherwise,
5365ed029a5fSmrg# look for a macro that doesn't take arguments.
5366dd519f38Smrgac_script='
5367dd519f38Smrg:mline
5368dd519f38Smrg/\\$/{
5369dd519f38Smrg N
5370dd519f38Smrg s,\\\n,,
5371dd519f38Smrg b mline
5372dd519f38Smrg}
5373ed029a5fSmrgt clear
5374dd519f38Smrg:clear
5375dd519f38Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
5376ed029a5fSmrgt quote
5377dd519f38Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
5378ed029a5fSmrgt quote
5379dd519f38Smrgb any
5380dd519f38Smrg:quote
5381dd519f38Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5382dd519f38Smrgs/\[/\\&/g
5383dd519f38Smrgs/\]/\\&/g
5384dd519f38Smrgs/\$/$$/g
5385dd519f38SmrgH
5386dd519f38Smrg:any
5387dd519f38Smrg${
5388dd519f38Smrg	g
5389dd519f38Smrg	s/^\n//
5390dd519f38Smrg	s/\n/ /g
5391dd519f38Smrg	p
5392dd519f38Smrg}
5393dd519f38Smrg'
5394dd519f38SmrgDEFS=`sed -n "$ac_script" confdefs.h`
5395ed029a5fSmrg
5396ed029a5fSmrg
5397ed029a5fSmrgac_libobjs=
5398ed029a5fSmrgac_ltlibobjs=
53997973f115SmrgU=
5400ed029a5fSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5401ed029a5fSmrg  # 1. Remove the extension, and $U if already installed.
5402dd519f38Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5403dd519f38Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5404dd519f38Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5405dd519f38Smrg  #    will be set to the directory where LIBOBJS objects are built.
54067973f115Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
54077973f115Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5408ed029a5fSmrgdone
5409ed029a5fSmrgLIBOBJS=$ac_libobjs
5410ed029a5fSmrg
5411ed029a5fSmrgLTLIBOBJS=$ac_ltlibobjs
5412ed029a5fSmrg
5413ed029a5fSmrg
5414dd519f38Smrg if test -n "$EXEEXT"; then
5415dd519f38Smrg  am__EXEEXT_TRUE=
5416dd519f38Smrg  am__EXEEXT_FALSE='#'
5417dd519f38Smrgelse
5418dd519f38Smrg  am__EXEEXT_TRUE='#'
5419dd519f38Smrg  am__EXEEXT_FALSE=
5420dd519f38Smrgfi
5421dd519f38Smrg
5422ed029a5fSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
54237973f115Smrg  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
54247973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5425dd519f38Smrgfi
5426dd519f38Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
54277973f115Smrg  as_fn_error $? "conditional \"AMDEP\" was never defined.
54287973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5429dd519f38Smrgfi
5430dd519f38Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
54317973f115Smrg  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
54327973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5433ed029a5fSmrgfi
5434ed029a5fSmrgif test -z "${ISO8859_1_TRUE}" && test -z "${ISO8859_1_FALSE}"; then
54357973f115Smrg  as_fn_error $? "conditional \"ISO8859_1\" was never defined.
54367973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5437ed029a5fSmrgfi
5438ed029a5fSmrgif test -z "${ISO8859_2_TRUE}" && test -z "${ISO8859_2_FALSE}"; then
54397973f115Smrg  as_fn_error $? "conditional \"ISO8859_2\" was never defined.
54407973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5441ed029a5fSmrgfi
5442ed029a5fSmrgif test -z "${ISO8859_3_TRUE}" && test -z "${ISO8859_3_FALSE}"; then
54437973f115Smrg  as_fn_error $? "conditional \"ISO8859_3\" was never defined.
54447973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5445ed029a5fSmrgfi
5446ed029a5fSmrgif test -z "${ISO8859_4_TRUE}" && test -z "${ISO8859_4_FALSE}"; then
54477973f115Smrg  as_fn_error $? "conditional \"ISO8859_4\" was never defined.
54487973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5449ed029a5fSmrgfi
5450ed029a5fSmrgif test -z "${ISO8859_9_TRUE}" && test -z "${ISO8859_9_FALSE}"; then
54517973f115Smrg  as_fn_error $? "conditional \"ISO8859_9\" was never defined.
54527973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5453ed029a5fSmrgfi
5454ed029a5fSmrgif test -z "${ISO8859_10_TRUE}" && test -z "${ISO8859_10_FALSE}"; then
54557973f115Smrg  as_fn_error $? "conditional \"ISO8859_10\" was never defined.
54567973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5457ed029a5fSmrgfi
5458ed029a5fSmrgif test -z "${ISO8859_13_TRUE}" && test -z "${ISO8859_13_FALSE}"; then
54597973f115Smrg  as_fn_error $? "conditional \"ISO8859_13\" was never defined.
54607973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5461ed029a5fSmrgfi
5462ed029a5fSmrgif test -z "${ISO8859_14_TRUE}" && test -z "${ISO8859_14_FALSE}"; then
54637973f115Smrg  as_fn_error $? "conditional \"ISO8859_14\" was never defined.
54647973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5465ed029a5fSmrgfi
5466ed029a5fSmrgif test -z "${ISO8859_15_TRUE}" && test -z "${ISO8859_15_FALSE}"; then
54677973f115Smrg  as_fn_error $? "conditional \"ISO8859_15\" was never defined.
54687973f115SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5469ed029a5fSmrgfi
5470ed029a5fSmrg
54717973f115Smrg: "${CONFIG_STATUS=./config.status}"
5472dd519f38Smrgac_write_fail=0
5473ed029a5fSmrgac_clean_files_save=$ac_clean_files
5474ed029a5fSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
54757973f115Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5476dd519f38Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
54777973f115Smrgas_write_fail=0
54787973f115Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5479ed029a5fSmrg#! $SHELL
5480ed029a5fSmrg# Generated by $as_me.
5481ed029a5fSmrg# Run this file to recreate the current configuration.
5482ed029a5fSmrg# Compiler output produced by configure, useful for debugging
5483ed029a5fSmrg# configure, is in config.log if it exists.
5484ed029a5fSmrg
5485ed029a5fSmrgdebug=false
5486ed029a5fSmrgac_cs_recheck=false
5487ed029a5fSmrgac_cs_silent=false
5488ed029a5fSmrg
54897973f115SmrgSHELL=\${CONFIG_SHELL-$SHELL}
54907973f115Smrgexport SHELL
54917973f115Smrg_ASEOF
54927973f115Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
54937973f115Smrg## -------------------- ##
54947973f115Smrg## M4sh Initialization. ##
54957973f115Smrg## -------------------- ##
5496ed029a5fSmrg
5497dd519f38Smrg# Be more Bourne compatible
5498dd519f38SmrgDUALCASE=1; export DUALCASE # for MKS sh
54997973f115Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5500ed029a5fSmrg  emulate sh
5501ed029a5fSmrg  NULLCMD=:
5502dd519f38Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5503ed029a5fSmrg  # is contrary to our usage.  Disable this feature.
5504ed029a5fSmrg  alias -g '${1+"$@"}'='"$@"'
5505dd519f38Smrg  setopt NO_GLOB_SUBST
5506dd519f38Smrgelse
55077973f115Smrg  case `(set -o) 2>/dev/null` in #(
55087973f115Smrg  *posix*) :
55097973f115Smrg    set -o posix ;; #(
55107973f115Smrg  *) :
55117973f115Smrg     ;;
5512dd519f38Smrgesac
5513dd519f38Smrgfi
5514dd519f38Smrg
5515dd519f38Smrg
5516dd519f38Smrgas_nl='
5517dd519f38Smrg'
5518dd519f38Smrgexport as_nl
5519dd519f38Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
5520dd519f38Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5521dd519f38Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5522dd519f38Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
55237973f115Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
55247973f115Smrg# but without wasting forks for bash or zsh.
55257973f115Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
55267973f115Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
55277973f115Smrg  as_echo='print -r --'
55287973f115Smrg  as_echo_n='print -rn --'
55297973f115Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5530dd519f38Smrg  as_echo='printf %s\n'
5531dd519f38Smrg  as_echo_n='printf %s'
5532dd519f38Smrgelse
5533dd519f38Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5534dd519f38Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5535dd519f38Smrg    as_echo_n='/usr/ucb/echo -n'
5536dd519f38Smrg  else
5537dd519f38Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5538dd519f38Smrg    as_echo_n_body='eval
5539dd519f38Smrg      arg=$1;
55407973f115Smrg      case $arg in #(
5541dd519f38Smrg      *"$as_nl"*)
5542dd519f38Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
5543dd519f38Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5544dd519f38Smrg      esac;
5545dd519f38Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5546dd519f38Smrg    '
5547dd519f38Smrg    export as_echo_n_body
5548dd519f38Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
5549dd519f38Smrg  fi
5550dd519f38Smrg  export as_echo_body
5551dd519f38Smrg  as_echo='sh -c $as_echo_body as_echo'
5552dd519f38Smrgfi
5553dd519f38Smrg
5554dd519f38Smrg# The user is always right.
5555dd519f38Smrgif test "${PATH_SEPARATOR+set}" != set; then
5556dd519f38Smrg  PATH_SEPARATOR=:
5557dd519f38Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5558dd519f38Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5559dd519f38Smrg      PATH_SEPARATOR=';'
5560dd519f38Smrg  }
5561ed029a5fSmrgfi
5562ed029a5fSmrg
5563ed029a5fSmrg
5564dd519f38Smrg# IFS
5565dd519f38Smrg# We need space, tab and new line, in precisely that order.  Quoting is
5566dd519f38Smrg# there to prevent editors from complaining about space-tab.
5567dd519f38Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5568dd519f38Smrg# splitting by setting IFS to empty value.)
5569dd519f38SmrgIFS=" ""	$as_nl"
5570dd519f38Smrg
5571dd519f38Smrg# Find who we are.  Look in the path if we contain no directory separator.
55727973f115Smrgas_myself=
55737973f115Smrgcase $0 in #((
5574dd519f38Smrg  *[\\/]* ) as_myself=$0 ;;
5575dd519f38Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576dd519f38Smrgfor as_dir in $PATH
5577dd519f38Smrgdo
5578dd519f38Smrg  IFS=$as_save_IFS
5579dd519f38Smrg  test -z "$as_dir" && as_dir=.
55807973f115Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55817973f115Smrg  done
5582dd519f38SmrgIFS=$as_save_IFS
5583dd519f38Smrg
5584dd519f38Smrg     ;;
5585dd519f38Smrgesac
5586dd519f38Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
5587dd519f38Smrg# in which case we are not to be found in the path.
5588dd519f38Smrgif test "x$as_myself" = x; then
5589dd519f38Smrg  as_myself=$0
5590dd519f38Smrgfi
5591dd519f38Smrgif test ! -f "$as_myself"; then
5592dd519f38Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
55937973f115Smrg  exit 1
5594dd519f38Smrgfi
5595dd519f38Smrg
55967973f115Smrg# Unset variables that we do not need and which cause bugs (e.g. in
55977973f115Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
55987973f115Smrg# suppresses any "Segmentation fault" message there.  '((' could
55997973f115Smrg# trigger a bug in pdksh 5.2.14.
56007973f115Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
56017973f115Smrgdo eval test x\${$as_var+set} = xset \
56027973f115Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5603dd519f38Smrgdone
5604ed029a5fSmrgPS1='$ '
5605ed029a5fSmrgPS2='> '
5606ed029a5fSmrgPS4='+ '
5607ed029a5fSmrg
5608ed029a5fSmrg# NLS nuisances.
5609dd519f38SmrgLC_ALL=C
5610dd519f38Smrgexport LC_ALL
5611dd519f38SmrgLANGUAGE=C
5612dd519f38Smrgexport LANGUAGE
5613ed029a5fSmrg
56147973f115Smrg# CDPATH.
56157973f115Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
56167973f115Smrg
56177973f115Smrg
56187973f115Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
56197973f115Smrg# ----------------------------------------
56207973f115Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
56217973f115Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
56227973f115Smrg# script with STATUS, using 1 if that was 0.
56237973f115Smrgas_fn_error ()
56247973f115Smrg{
56257973f115Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
56267973f115Smrg  if test "$4"; then
56277973f115Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
56287973f115Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
56297973f115Smrg  fi
56307973f115Smrg  $as_echo "$as_me: error: $2" >&2
56317973f115Smrg  as_fn_exit $as_status
56327973f115Smrg} # as_fn_error
56337973f115Smrg
56347973f115Smrg
56357973f115Smrg# as_fn_set_status STATUS
56367973f115Smrg# -----------------------
56377973f115Smrg# Set $? to STATUS, without forking.
56387973f115Smrgas_fn_set_status ()
56397973f115Smrg{
56407973f115Smrg  return $1
56417973f115Smrg} # as_fn_set_status
56427973f115Smrg
56437973f115Smrg# as_fn_exit STATUS
56447973f115Smrg# -----------------
56457973f115Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
56467973f115Smrgas_fn_exit ()
56477973f115Smrg{
56487973f115Smrg  set +e
56497973f115Smrg  as_fn_set_status $1
56507973f115Smrg  exit $1
56517973f115Smrg} # as_fn_exit
56527973f115Smrg
56537973f115Smrg# as_fn_unset VAR
56547973f115Smrg# ---------------
56557973f115Smrg# Portably unset VAR.
56567973f115Smrgas_fn_unset ()
56577973f115Smrg{
56587973f115Smrg  { eval $1=; unset $1;}
56597973f115Smrg}
56607973f115Smrgas_unset=as_fn_unset
56617973f115Smrg# as_fn_append VAR VALUE
56627973f115Smrg# ----------------------
56637973f115Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
56647973f115Smrg# advantage of any shell optimizations that allow amortized linear growth over
56657973f115Smrg# repeated appends, instead of the typical quadratic growth present in naive
56667973f115Smrg# implementations.
56677973f115Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
56687973f115Smrg  eval 'as_fn_append ()
56697973f115Smrg  {
56707973f115Smrg    eval $1+=\$2
56717973f115Smrg  }'
56727973f115Smrgelse
56737973f115Smrg  as_fn_append ()
56747973f115Smrg  {
56757973f115Smrg    eval $1=\$$1\$2
56767973f115Smrg  }
56777973f115Smrgfi # as_fn_append
56787973f115Smrg
56797973f115Smrg# as_fn_arith ARG...
56807973f115Smrg# ------------------
56817973f115Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
56827973f115Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
56837973f115Smrg# must be portable across $(()) and expr.
56847973f115Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
56857973f115Smrg  eval 'as_fn_arith ()
56867973f115Smrg  {
56877973f115Smrg    as_val=$(( $* ))
56887973f115Smrg  }'
56897973f115Smrgelse
56907973f115Smrg  as_fn_arith ()
56917973f115Smrg  {
56927973f115Smrg    as_val=`expr "$@" || test $? -eq 1`
56937973f115Smrg  }
56947973f115Smrgfi # as_fn_arith
56957973f115Smrg
56967973f115Smrg
5697dd519f38Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
5698dd519f38Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5699ed029a5fSmrg  as_expr=expr
5700ed029a5fSmrgelse
5701ed029a5fSmrg  as_expr=false
5702ed029a5fSmrgfi
5703ed029a5fSmrg
5704dd519f38Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5705ed029a5fSmrg  as_basename=basename
5706ed029a5fSmrgelse
5707ed029a5fSmrg  as_basename=false
5708ed029a5fSmrgfi
5709ed029a5fSmrg
57107973f115Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
57117973f115Smrg  as_dirname=dirname
57127973f115Smrgelse
57137973f115Smrg  as_dirname=false
57147973f115Smrgfi
5715ed029a5fSmrg
5716dd519f38Smrgas_me=`$as_basename -- "$0" ||
5717ed029a5fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5718ed029a5fSmrg	 X"$0" : 'X\(//\)$' \| \
5719dd519f38Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5720dd519f38Smrg$as_echo X/"$0" |
5721dd519f38Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
5722dd519f38Smrg	    s//\1/
5723dd519f38Smrg	    q
5724dd519f38Smrg	  }
5725dd519f38Smrg	  /^X\/\(\/\/\)$/{
5726dd519f38Smrg	    s//\1/
5727dd519f38Smrg	    q
5728dd519f38Smrg	  }
5729dd519f38Smrg	  /^X\/\(\/\).*/{
5730dd519f38Smrg	    s//\1/
5731dd519f38Smrg	    q
5732dd519f38Smrg	  }
5733dd519f38Smrg	  s/.*/./; q'`
5734ed029a5fSmrg
57357973f115Smrg# Avoid depending upon Character Ranges.
57367973f115Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
57377973f115Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
57387973f115Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
57397973f115Smrgas_cr_digits='0123456789'
57407973f115Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
5741ed029a5fSmrg
5742dd519f38SmrgECHO_C= ECHO_N= ECHO_T=
57437973f115Smrgcase `echo -n x` in #(((((
5744dd519f38Smrg-n*)
57457973f115Smrg  case `echo 'xy\c'` in
5746dd519f38Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
57477973f115Smrg  xy)  ECHO_C='\c';;
57487973f115Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
57497973f115Smrg       ECHO_T='	';;
5750dd519f38Smrg  esac;;
5751dd519f38Smrg*)
5752dd519f38Smrg  ECHO_N='-n';;
5753dd519f38Smrgesac
5754ed029a5fSmrg
5755ed029a5fSmrgrm -f conf$$ conf$$.exe conf$$.file
5756dd519f38Smrgif test -d conf$$.dir; then
5757dd519f38Smrg  rm -f conf$$.dir/conf$$.file
5758dd519f38Smrgelse
5759dd519f38Smrg  rm -f conf$$.dir
5760dd519f38Smrg  mkdir conf$$.dir 2>/dev/null
5761dd519f38Smrgfi
5762dd519f38Smrgif (echo >conf$$.file) 2>/dev/null; then
5763dd519f38Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5764ed029a5fSmrg    as_ln_s='ln -s'
5765dd519f38Smrg    # ... but there are two gotchas:
5766dd519f38Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5767dd519f38Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5768dd519f38Smrg    # In both cases, we have to default to `cp -p'.
5769dd519f38Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5770dd519f38Smrg      as_ln_s='cp -p'
5771dd519f38Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5772dd519f38Smrg    as_ln_s=ln
5773dd519f38Smrg  else
5774dd519f38Smrg    as_ln_s='cp -p'
5775ed029a5fSmrg  fi
5776ed029a5fSmrgelse
5777ed029a5fSmrg  as_ln_s='cp -p'
5778ed029a5fSmrgfi
5779dd519f38Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5780dd519f38Smrgrmdir conf$$.dir 2>/dev/null
5781ed029a5fSmrg
57827973f115Smrg
57837973f115Smrg# as_fn_mkdir_p
57847973f115Smrg# -------------
57857973f115Smrg# Create "$as_dir" as a directory, including parents if necessary.
57867973f115Smrgas_fn_mkdir_p ()
57877973f115Smrg{
57887973f115Smrg
57897973f115Smrg  case $as_dir in #(
57907973f115Smrg  -*) as_dir=./$as_dir;;
57917973f115Smrg  esac
57927973f115Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
57937973f115Smrg    as_dirs=
57947973f115Smrg    while :; do
57957973f115Smrg      case $as_dir in #(
57967973f115Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
57977973f115Smrg      *) as_qdir=$as_dir;;
57987973f115Smrg      esac
57997973f115Smrg      as_dirs="'$as_qdir' $as_dirs"
58007973f115Smrg      as_dir=`$as_dirname -- "$as_dir" ||
58017973f115Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58027973f115Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
58037973f115Smrg	 X"$as_dir" : 'X\(//\)$' \| \
58047973f115Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
58057973f115Smrg$as_echo X"$as_dir" |
58067973f115Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
58077973f115Smrg	    s//\1/
58087973f115Smrg	    q
58097973f115Smrg	  }
58107973f115Smrg	  /^X\(\/\/\)[^/].*/{
58117973f115Smrg	    s//\1/
58127973f115Smrg	    q
58137973f115Smrg	  }
58147973f115Smrg	  /^X\(\/\/\)$/{
58157973f115Smrg	    s//\1/
58167973f115Smrg	    q
58177973f115Smrg	  }
58187973f115Smrg	  /^X\(\/\).*/{
58197973f115Smrg	    s//\1/
58207973f115Smrg	    q
58217973f115Smrg	  }
58227973f115Smrg	  s/.*/./; q'`
58237973f115Smrg      test -d "$as_dir" && break
58247973f115Smrg    done
58257973f115Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
58267973f115Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
58277973f115Smrg
58287973f115Smrg
58297973f115Smrg} # as_fn_mkdir_p
5830ed029a5fSmrgif mkdir -p . 2>/dev/null; then
58317973f115Smrg  as_mkdir_p='mkdir -p "$as_dir"'
5832ed029a5fSmrgelse
5833ed029a5fSmrg  test -d ./-p && rmdir ./-p
5834ed029a5fSmrg  as_mkdir_p=false
5835ed029a5fSmrgfi
5836ed029a5fSmrg
5837dd519f38Smrgif test -x / >/dev/null 2>&1; then
5838dd519f38Smrg  as_test_x='test -x'
5839dd519f38Smrgelse
5840dd519f38Smrg  if ls -dL / >/dev/null 2>&1; then
5841dd519f38Smrg    as_ls_L_option=L
5842dd519f38Smrg  else
5843dd519f38Smrg    as_ls_L_option=
5844dd519f38Smrg  fi
5845dd519f38Smrg  as_test_x='
5846dd519f38Smrg    eval sh -c '\''
5847dd519f38Smrg      if test -d "$1"; then
5848dd519f38Smrg	test -d "$1/.";
5849dd519f38Smrg      else
58507973f115Smrg	case $1 in #(
5851dd519f38Smrg	-*)set "./$1";;
5852dd519f38Smrg	esac;
58537973f115Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5854dd519f38Smrg	???[sx]*):;;*)false;;esac;fi
5855dd519f38Smrg    '\'' sh
5856dd519f38Smrg  '
5857dd519f38Smrgfi
5858dd519f38Smrgas_executable_p=$as_test_x
5859ed029a5fSmrg
5860ed029a5fSmrg# Sed expression to map a string onto a valid CPP name.
5861ed029a5fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5862ed029a5fSmrg
5863ed029a5fSmrg# Sed expression to map a string onto a valid variable name.
5864ed029a5fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5865ed029a5fSmrg
5866ed029a5fSmrg
5867ed029a5fSmrgexec 6>&1
58687973f115Smrg## ----------------------------------- ##
58697973f115Smrg## Main body of $CONFIG_STATUS script. ##
58707973f115Smrg## ----------------------------------- ##
58717973f115Smrg_ASEOF
58727973f115Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5873ed029a5fSmrg
58747973f115Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
58757973f115Smrg# Save the log message, to keep $0 and so on meaningful, and to
5876ed029a5fSmrg# report actual input values of CONFIG_FILES etc. instead of their
5877dd519f38Smrg# values after options handling.
5878dd519f38Smrgac_log="
58797973f115SmrgThis file was extended by font-adobe-100dpi $as_me 1.0.3, which was
58807973f115Smrggenerated by GNU Autoconf 2.68.  Invocation command line was
5881ed029a5fSmrg
5882ed029a5fSmrg  CONFIG_FILES    = $CONFIG_FILES
5883ed029a5fSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
5884ed029a5fSmrg  CONFIG_LINKS    = $CONFIG_LINKS
5885ed029a5fSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
5886ed029a5fSmrg  $ $0 $@
5887ed029a5fSmrg
5888dd519f38Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
5889dd519f38Smrg"
5890dd519f38Smrg
5891ed029a5fSmrg_ACEOF
5892ed029a5fSmrg
5893dd519f38Smrgcase $ac_config_files in *"
5894dd519f38Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
5895dd519f38Smrgesac
5896ed029a5fSmrg
5897ed029a5fSmrg
5898ed029a5fSmrg
5899dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5900dd519f38Smrg# Files that config.status was made for.
5901dd519f38Smrgconfig_files="$ac_config_files"
5902dd519f38Smrgconfig_commands="$ac_config_commands"
5903ed029a5fSmrg
5904dd519f38Smrg_ACEOF
5905ed029a5fSmrg
5906dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5907ed029a5fSmrgac_cs_usage="\
59087973f115Smrg\`$as_me' instantiates files and other configuration actions
59097973f115Smrgfrom templates according to the current configuration.  Unless the files
59107973f115Smrgand actions are specified as TAGs, all are instantiated by default.
5911ed029a5fSmrg
59127973f115SmrgUsage: $0 [OPTION]... [TAG]...
5913ed029a5fSmrg
5914ed029a5fSmrg  -h, --help       print this help, then exit
5915dd519f38Smrg  -V, --version    print version number and configuration settings, then exit
59167973f115Smrg      --config     print configuration, then exit
5917dd519f38Smrg  -q, --quiet, --silent
5918dd519f38Smrg                   do not print progress messages
5919ed029a5fSmrg  -d, --debug      don't remove temporary files
5920ed029a5fSmrg      --recheck    update $as_me by reconfiguring in the same conditions
5921dd519f38Smrg      --file=FILE[:TEMPLATE]
5922dd519f38Smrg                   instantiate the configuration file FILE
5923ed029a5fSmrg
5924ed029a5fSmrgConfiguration files:
5925ed029a5fSmrg$config_files
5926ed029a5fSmrg
5927dd519f38SmrgConfiguration commands:
5928dd519f38Smrg$config_commands
5929dd519f38Smrg
59307973f115SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5931ed029a5fSmrg
5932dd519f38Smrg_ACEOF
5933dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59347973f115Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5935ed029a5fSmrgac_cs_version="\\
59367973f115Smrgfont-adobe-100dpi config.status 1.0.3
59377973f115Smrgconfigured by $0, generated by GNU Autoconf 2.68,
59387973f115Smrg  with options \\"\$ac_cs_config\\"
5939ed029a5fSmrg
59407973f115SmrgCopyright (C) 2010 Free Software Foundation, Inc.
5941ed029a5fSmrgThis config.status script is free software; the Free Software Foundation
5942ed029a5fSmrggives unlimited permission to copy, distribute and modify it."
5943dd519f38Smrg
5944dd519f38Smrgac_pwd='$ac_pwd'
5945dd519f38Smrgsrcdir='$srcdir'
5946dd519f38SmrgINSTALL='$INSTALL'
5947dd519f38SmrgMKDIR_P='$MKDIR_P'
5948dd519f38SmrgAWK='$AWK'
5949dd519f38Smrgtest -n "\$AWK" || AWK=awk
5950ed029a5fSmrg_ACEOF
5951ed029a5fSmrg
5952dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5953dd519f38Smrg# The default lists apply if the user does not specify any file.
5954ed029a5fSmrgac_need_defaults=:
5955ed029a5fSmrgwhile test $# != 0
5956ed029a5fSmrgdo
5957ed029a5fSmrg  case $1 in
59587973f115Smrg  --*=?*)
5959dd519f38Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5960dd519f38Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5961ed029a5fSmrg    ac_shift=:
5962ed029a5fSmrg    ;;
59637973f115Smrg  --*=)
59647973f115Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
59657973f115Smrg    ac_optarg=
59667973f115Smrg    ac_shift=:
59677973f115Smrg    ;;
5968dd519f38Smrg  *)
5969ed029a5fSmrg    ac_option=$1
5970ed029a5fSmrg    ac_optarg=$2
5971ed029a5fSmrg    ac_shift=shift
5972ed029a5fSmrg    ;;
5973ed029a5fSmrg  esac
5974ed029a5fSmrg
5975ed029a5fSmrg  case $ac_option in
5976ed029a5fSmrg  # Handling of the options.
5977ed029a5fSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5978ed029a5fSmrg    ac_cs_recheck=: ;;
5979dd519f38Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5980dd519f38Smrg    $as_echo "$ac_cs_version"; exit ;;
59817973f115Smrg  --config | --confi | --conf | --con | --co | --c )
59827973f115Smrg    $as_echo "$ac_cs_config"; exit ;;
5983dd519f38Smrg  --debug | --debu | --deb | --de | --d | -d )
5984ed029a5fSmrg    debug=: ;;
5985ed029a5fSmrg  --file | --fil | --fi | --f )
5986ed029a5fSmrg    $ac_shift
5987dd519f38Smrg    case $ac_optarg in
5988dd519f38Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59897973f115Smrg    '') as_fn_error $? "missing file argument" ;;
5990dd519f38Smrg    esac
59917973f115Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
5992ed029a5fSmrg    ac_need_defaults=false;;
5993dd519f38Smrg  --he | --h |  --help | --hel | -h )
5994dd519f38Smrg    $as_echo "$ac_cs_usage"; exit ;;
5995ed029a5fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5996ed029a5fSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5997ed029a5fSmrg    ac_cs_silent=: ;;
5998ed029a5fSmrg
5999ed029a5fSmrg  # This is an error.
60007973f115Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
60017973f115SmrgTry \`$0 --help' for more information." ;;
6002ed029a5fSmrg
60037973f115Smrg  *) as_fn_append ac_config_targets " $1"
6004dd519f38Smrg     ac_need_defaults=false ;;
6005ed029a5fSmrg
6006ed029a5fSmrg  esac
6007ed029a5fSmrg  shift
6008ed029a5fSmrgdone
6009ed029a5fSmrg
6010ed029a5fSmrgac_configure_extra_args=
6011ed029a5fSmrg
6012ed029a5fSmrgif $ac_cs_silent; then
6013ed029a5fSmrg  exec 6>/dev/null
6014ed029a5fSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
6015ed029a5fSmrgfi
6016ed029a5fSmrg
6017ed029a5fSmrg_ACEOF
6018dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6019ed029a5fSmrgif \$ac_cs_recheck; then
6020dd519f38Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6021dd519f38Smrg  shift
6022dd519f38Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6023dd519f38Smrg  CONFIG_SHELL='$SHELL'
6024dd519f38Smrg  export CONFIG_SHELL
6025dd519f38Smrg  exec "\$@"
6026ed029a5fSmrgfi
6027ed029a5fSmrg
6028ed029a5fSmrg_ACEOF
6029dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6030dd519f38Smrgexec 5>>config.log
6031dd519f38Smrg{
6032dd519f38Smrg  echo
6033dd519f38Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6034dd519f38Smrg## Running $as_me. ##
6035dd519f38Smrg_ASBOX
6036dd519f38Smrg  $as_echo "$ac_log"
6037dd519f38Smrg} >&5
6038ed029a5fSmrg
6039dd519f38Smrg_ACEOF
6040dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6041dd519f38Smrg#
6042dd519f38Smrg# INIT-COMMANDS
6043dd519f38Smrg#
6044dd519f38SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6045ed029a5fSmrg
6046dd519f38Smrg_ACEOF
6047ed029a5fSmrg
6048dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6049ed029a5fSmrg
6050dd519f38Smrg# Handling of arguments.
6051ed029a5fSmrgfor ac_config_target in $ac_config_targets
6052ed029a5fSmrgdo
6053dd519f38Smrg  case $ac_config_target in
6054dd519f38Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6055dd519f38Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6056dd519f38Smrg
60577973f115Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6058ed029a5fSmrg  esac
6059ed029a5fSmrgdone
6060ed029a5fSmrg
6061dd519f38Smrg
6062ed029a5fSmrg# If the user did not use the arguments to specify the items to instantiate,
6063ed029a5fSmrg# then the envvar interface is used.  Set only those that are not.
6064ed029a5fSmrg# We use the long form for the default assignment because of an extremely
6065ed029a5fSmrg# bizarre bug on SunOS 4.1.3.
6066ed029a5fSmrgif $ac_need_defaults; then
6067ed029a5fSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6068dd519f38Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6069ed029a5fSmrgfi
6070ed029a5fSmrg
6071ed029a5fSmrg# Have a temporary directory for convenience.  Make it in the build tree
6072dd519f38Smrg# simply because there is no reason against having it here, and in addition,
6073ed029a5fSmrg# creating and moving files from /tmp can sometimes cause problems.
6074dd519f38Smrg# Hook for its removal unless debugging.
6075dd519f38Smrg# Note that there is a small window in which the directory will not be cleaned:
6076dd519f38Smrg# after its creation but before its name has been assigned to `$tmp'.
6077ed029a5fSmrg$debug ||
6078ed029a5fSmrg{
60797973f115Smrg  tmp= ac_tmp=
6080dd519f38Smrg  trap 'exit_status=$?
60817973f115Smrg  : "${ac_tmp:=$tmp}"
60827973f115Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6083dd519f38Smrg' 0
60847973f115Smrg  trap 'as_fn_exit 1' 1 2 13 15
6085ed029a5fSmrg}
6086ed029a5fSmrg# Create a (secure) tmp directory for tmp files.
6087ed029a5fSmrg
6088ed029a5fSmrg{
6089dd519f38Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60907973f115Smrg  test -d "$tmp"
6091ed029a5fSmrg}  ||
6092ed029a5fSmrg{
6093dd519f38Smrg  tmp=./conf$$-$RANDOM
6094dd519f38Smrg  (umask 077 && mkdir "$tmp")
60957973f115Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
60967973f115Smrgac_tmp=$tmp
6097ed029a5fSmrg
6098dd519f38Smrg# Set up the scripts for CONFIG_FILES section.
6099dd519f38Smrg# No need to generate them if there are no CONFIG_FILES.
6100dd519f38Smrg# This happens for instance with `./config.status config.h'.
6101dd519f38Smrgif test -n "$CONFIG_FILES"; then
6102dd519f38Smrg
6103dd519f38Smrg
61047973f115Smrgac_cr=`echo X | tr X '\015'`
61057973f115Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
61067973f115Smrg# But we know of no other shell where ac_cr would be empty at this
61077973f115Smrg# point, so we can use a bashism as a fallback.
61087973f115Smrgif test "x$ac_cr" = x; then
61097973f115Smrg  eval ac_cr=\$\'\\r\'
61107973f115Smrgfi
6111dd519f38Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6112dd519f38Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6113dd519f38Smrg  ac_cs_awk_cr='\\r'
6114dd519f38Smrgelse
6115dd519f38Smrg  ac_cs_awk_cr=$ac_cr
6116dd519f38Smrgfi
6117dd519f38Smrg
61187973f115Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6119ed029a5fSmrg_ACEOF
6120ed029a5fSmrg
6121ed029a5fSmrg
6122dd519f38Smrg{
6123dd519f38Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
6124dd519f38Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6125dd519f38Smrg  echo "_ACEOF"
6126dd519f38Smrg} >conf$$subs.sh ||
61277973f115Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
61287973f115Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6129dd519f38Smrgac_delim='%!_!# '
6130dd519f38Smrgfor ac_last_try in false false false false false :; do
6131dd519f38Smrg  . ./conf$$subs.sh ||
61327973f115Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6133ed029a5fSmrg
6134dd519f38Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6135dd519f38Smrg  if test $ac_delim_n = $ac_delim_num; then
6136dd519f38Smrg    break
6137dd519f38Smrg  elif $ac_last_try; then
61387973f115Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6139dd519f38Smrg  else
6140dd519f38Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6141ed029a5fSmrg  fi
6142dd519f38Smrgdone
6143dd519f38Smrgrm -f conf$$subs.sh
6144ed029a5fSmrg
6145dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61467973f115Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6147ed029a5fSmrg_ACEOF
6148dd519f38Smrgsed -n '
6149dd519f38Smrgh
6150dd519f38Smrgs/^/S["/; s/!.*/"]=/
6151dd519f38Smrgp
6152dd519f38Smrgg
6153dd519f38Smrgs/^[^!]*!//
6154dd519f38Smrg:repl
6155dd519f38Smrgt repl
6156dd519f38Smrgs/'"$ac_delim"'$//
6157dd519f38Smrgt delim
6158dd519f38Smrg:nl
6159dd519f38Smrgh
61607973f115Smrgs/\(.\{148\}\)..*/\1/
6161dd519f38Smrgt more1
6162dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6163dd519f38Smrgp
6164dd519f38Smrgn
6165dd519f38Smrgb repl
6166dd519f38Smrg:more1
6167dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
6168dd519f38Smrgp
6169dd519f38Smrgg
6170dd519f38Smrgs/.\{148\}//
6171dd519f38Smrgt nl
6172dd519f38Smrg:delim
6173dd519f38Smrgh
61747973f115Smrgs/\(.\{148\}\)..*/\1/
6175dd519f38Smrgt more2
6176dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
6177dd519f38Smrgp
6178dd519f38Smrgb
6179dd519f38Smrg:more2
6180dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
6181dd519f38Smrgp
6182dd519f38Smrgg
6183dd519f38Smrgs/.\{148\}//
6184dd519f38Smrgt delim
6185dd519f38Smrg' <conf$$subs.awk | sed '
6186dd519f38Smrg/^[^""]/{
6187dd519f38Smrg  N
6188dd519f38Smrg  s/\n//
6189dd519f38Smrg}
6190dd519f38Smrg' >>$CONFIG_STATUS || ac_write_fail=1
6191dd519f38Smrgrm -f conf$$subs.awk
6192dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6193dd519f38Smrg_ACAWK
61947973f115Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6195dd519f38Smrg  for (key in S) S_is_set[key] = 1
6196dd519f38Smrg  FS = ""
6197dd519f38Smrg
6198dd519f38Smrg}
6199dd519f38Smrg{
6200dd519f38Smrg  line = $ 0
6201dd519f38Smrg  nfields = split(line, field, "@")
6202dd519f38Smrg  substed = 0
6203dd519f38Smrg  len = length(field[1])
6204dd519f38Smrg  for (i = 2; i < nfields; i++) {
6205dd519f38Smrg    key = field[i]
6206dd519f38Smrg    keylen = length(key)
6207dd519f38Smrg    if (S_is_set[key]) {
6208dd519f38Smrg      value = S[key]
6209dd519f38Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6210dd519f38Smrg      len += length(value) + length(field[++i])
6211dd519f38Smrg      substed = 1
6212dd519f38Smrg    } else
6213dd519f38Smrg      len += 1 + keylen
6214dd519f38Smrg  }
6215dd519f38Smrg
6216dd519f38Smrg  print line
6217dd519f38Smrg}
6218dd519f38Smrg
6219dd519f38Smrg_ACAWK
6220dd519f38Smrg_ACEOF
6221dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6222dd519f38Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6223dd519f38Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6224dd519f38Smrgelse
6225dd519f38Smrg  cat
62267973f115Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
62277973f115Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6228dd519f38Smrg_ACEOF
6229dd519f38Smrg
62307973f115Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
62317973f115Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6232dd519f38Smrg# trailing colons and then remove the whole line if VPATH becomes empty
6233dd519f38Smrg# (actually we leave an empty line to preserve line numbers).
6234dd519f38Smrgif test "x$srcdir" = x.; then
62357973f115Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
62367973f115Smrgh
62377973f115Smrgs///
62387973f115Smrgs/^/:/
62397973f115Smrgs/[	 ]*$/:/
62407973f115Smrgs/:\$(srcdir):/:/g
62417973f115Smrgs/:\${srcdir}:/:/g
62427973f115Smrgs/:@srcdir@:/:/g
62437973f115Smrgs/^:*//
6244dd519f38Smrgs/:*$//
62457973f115Smrgx
62467973f115Smrgs/\(=[	 ]*\).*/\1/
62477973f115SmrgG
62487973f115Smrgs/\n//
6249dd519f38Smrgs/^[^=]*=[	 ]*$//
6250dd519f38Smrg}'
6251dd519f38Smrgfi
6252dd519f38Smrg
6253dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6254dd519f38Smrgfi # test -n "$CONFIG_FILES"
6255dd519f38Smrg
6256dd519f38Smrg
6257dd519f38Smrgeval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
6258dd519f38Smrgshift
6259dd519f38Smrgfor ac_tag
6260dd519f38Smrgdo
6261dd519f38Smrg  case $ac_tag in
6262dd519f38Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
6263dd519f38Smrg  esac
6264dd519f38Smrg  case $ac_mode$ac_tag in
6265dd519f38Smrg  :[FHL]*:*);;
62667973f115Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6267dd519f38Smrg  :[FH]-) ac_tag=-:-;;
6268dd519f38Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6269dd519f38Smrg  esac
6270dd519f38Smrg  ac_save_IFS=$IFS
6271dd519f38Smrg  IFS=:
6272dd519f38Smrg  set x $ac_tag
6273dd519f38Smrg  IFS=$ac_save_IFS
6274dd519f38Smrg  shift
6275dd519f38Smrg  ac_file=$1
6276dd519f38Smrg  shift
6277dd519f38Smrg
6278dd519f38Smrg  case $ac_mode in
6279dd519f38Smrg  :L) ac_source=$1;;
6280dd519f38Smrg  :[FH])
6281dd519f38Smrg    ac_file_inputs=
6282dd519f38Smrg    for ac_f
6283dd519f38Smrg    do
6284dd519f38Smrg      case $ac_f in
62857973f115Smrg      -) ac_f="$ac_tmp/stdin";;
6286dd519f38Smrg      *) # Look for the file first in the build tree, then in the source tree
6287dd519f38Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6288dd519f38Smrg	 # because $ac_f cannot contain `:'.
6289dd519f38Smrg	 test -f "$ac_f" ||
6290dd519f38Smrg	   case $ac_f in
6291dd519f38Smrg	   [\\/$]*) false;;
6292dd519f38Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6293dd519f38Smrg	   esac ||
62947973f115Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6295dd519f38Smrg      esac
6296dd519f38Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
62977973f115Smrg      as_fn_append ac_file_inputs " '$ac_f'"
6298dd519f38Smrg    done
6299dd519f38Smrg
6300dd519f38Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
6301dd519f38Smrg    # use $as_me), people would be surprised to read:
6302dd519f38Smrg    #    /* config.h.  Generated by config.status.  */
6303dd519f38Smrg    configure_input='Generated from '`
6304dd519f38Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6305dd519f38Smrg	`' by configure.'
6306dd519f38Smrg    if test x"$ac_file" != x-; then
6307dd519f38Smrg      configure_input="$ac_file.  $configure_input"
63087973f115Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6309dd519f38Smrg$as_echo "$as_me: creating $ac_file" >&6;}
6310dd519f38Smrg    fi
6311dd519f38Smrg    # Neutralize special characters interpreted by sed in replacement strings.
6312dd519f38Smrg    case $configure_input in #(
6313dd519f38Smrg    *\&* | *\|* | *\\* )
6314dd519f38Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
6315dd519f38Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6316dd519f38Smrg    *) ac_sed_conf_input=$configure_input;;
6317dd519f38Smrg    esac
6318dd519f38Smrg
6319dd519f38Smrg    case $ac_tag in
63207973f115Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
63217973f115Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6322dd519f38Smrg    esac
6323dd519f38Smrg    ;;
6324ed029a5fSmrg  esac
6325ed029a5fSmrg
6326dd519f38Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
6327ed029a5fSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6328ed029a5fSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
6329ed029a5fSmrg	 X"$ac_file" : 'X\(//\)$' \| \
6330dd519f38Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6331dd519f38Smrg$as_echo X"$ac_file" |
6332dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6333dd519f38Smrg	    s//\1/
6334dd519f38Smrg	    q
6335dd519f38Smrg	  }
6336dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
6337dd519f38Smrg	    s//\1/
6338dd519f38Smrg	    q
6339dd519f38Smrg	  }
6340dd519f38Smrg	  /^X\(\/\/\)$/{
6341dd519f38Smrg	    s//\1/
6342dd519f38Smrg	    q
6343dd519f38Smrg	  }
6344dd519f38Smrg	  /^X\(\/\).*/{
6345dd519f38Smrg	    s//\1/
6346dd519f38Smrg	    q
6347dd519f38Smrg	  }
6348dd519f38Smrg	  s/.*/./; q'`
63497973f115Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
6350ed029a5fSmrg  ac_builddir=.
6351ed029a5fSmrg
6352dd519f38Smrgcase "$ac_dir" in
6353dd519f38Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6354dd519f38Smrg*)
6355dd519f38Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6356dd519f38Smrg  # A ".." for each directory in $ac_dir_suffix.
6357dd519f38Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6358dd519f38Smrg  case $ac_top_builddir_sub in
6359dd519f38Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6360dd519f38Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6361dd519f38Smrg  esac ;;
6362dd519f38Smrgesac
6363dd519f38Smrgac_abs_top_builddir=$ac_pwd
6364dd519f38Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
6365dd519f38Smrg# for backward compatibility:
6366dd519f38Smrgac_top_builddir=$ac_top_build_prefix
6367ed029a5fSmrg
6368ed029a5fSmrgcase $srcdir in
6369dd519f38Smrg  .)  # We are building in place.
6370ed029a5fSmrg    ac_srcdir=.
6371dd519f38Smrg    ac_top_srcdir=$ac_top_builddir_sub
6372dd519f38Smrg    ac_abs_top_srcdir=$ac_pwd ;;
6373dd519f38Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
6374ed029a5fSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
6375dd519f38Smrg    ac_top_srcdir=$srcdir
6376dd519f38Smrg    ac_abs_top_srcdir=$srcdir ;;
6377dd519f38Smrg  *) # Relative name.
6378dd519f38Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6379dd519f38Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
6380dd519f38Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6381ed029a5fSmrgesac
6382dd519f38Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6383ed029a5fSmrg
6384ed029a5fSmrg
6385dd519f38Smrg  case $ac_mode in
6386dd519f38Smrg  :F)
6387dd519f38Smrg  #
6388dd519f38Smrg  # CONFIG_FILE
6389dd519f38Smrg  #
6390ed029a5fSmrg
6391ed029a5fSmrg  case $INSTALL in
6392ed029a5fSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6393dd519f38Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6394ed029a5fSmrg  esac
6395dd519f38Smrg  ac_MKDIR_P=$MKDIR_P
6396dd519f38Smrg  case $MKDIR_P in
6397dd519f38Smrg  [\\/$]* | ?:[\\/]* ) ;;
6398dd519f38Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6399dd519f38Smrg  esac
6400dd519f38Smrg_ACEOF
6401ed029a5fSmrg
6402dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6403dd519f38Smrg# If the template does not know about datarootdir, expand it.
6404dd519f38Smrg# FIXME: This hack should be removed a few years after 2.60.
6405dd519f38Smrgac_datarootdir_hack=; ac_datarootdir_seen=
6406dd519f38Smrgac_sed_dataroot='
6407dd519f38Smrg/datarootdir/ {
6408dd519f38Smrg  p
6409dd519f38Smrg  q
6410dd519f38Smrg}
6411dd519f38Smrg/@datadir@/p
6412dd519f38Smrg/@docdir@/p
6413dd519f38Smrg/@infodir@/p
6414dd519f38Smrg/@localedir@/p
64157973f115Smrg/@mandir@/p'
6416dd519f38Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6417dd519f38Smrg*datarootdir*) ac_datarootdir_seen=yes;;
6418dd519f38Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
64197973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6420dd519f38Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6421dd519f38Smrg_ACEOF
6422dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6423dd519f38Smrg  ac_datarootdir_hack='
6424dd519f38Smrg  s&@datadir@&$datadir&g
6425dd519f38Smrg  s&@docdir@&$docdir&g
6426dd519f38Smrg  s&@infodir@&$infodir&g
6427dd519f38Smrg  s&@localedir@&$localedir&g
6428dd519f38Smrg  s&@mandir@&$mandir&g
64297973f115Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
6430dd519f38Smrgesac
6431ed029a5fSmrg_ACEOF
6432dd519f38Smrg
6433dd519f38Smrg# Neutralize VPATH when `$srcdir' = `.'.
6434dd519f38Smrg# Shell code in configure.ac might set extrasub.
6435dd519f38Smrg# FIXME: do we really want to maintain this feature?
6436dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6437dd519f38Smrgac_sed_extra="$ac_vpsub
6438ed029a5fSmrg$extrasub
6439ed029a5fSmrg_ACEOF
6440dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6441ed029a5fSmrg:t
6442ed029a5fSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6443dd519f38Smrgs|@configure_input@|$ac_sed_conf_input|;t t
6444dd519f38Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
6445dd519f38Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
6446dd519f38Smrgs&@srcdir@&$ac_srcdir&;t t
6447dd519f38Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
6448dd519f38Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
6449dd519f38Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6450dd519f38Smrgs&@builddir@&$ac_builddir&;t t
6451dd519f38Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
6452dd519f38Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6453dd519f38Smrgs&@INSTALL@&$ac_INSTALL&;t t
6454dd519f38Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
6455dd519f38Smrg$ac_datarootdir_hack
6456dd519f38Smrg"
64577973f115Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
64587973f115Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6459ed029a5fSmrg
6460dd519f38Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
64617973f115Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
64627973f115Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
64637973f115Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
64647973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
64657973f115Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
6466dd519f38Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
64677973f115Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
6468dd519f38Smrg
64697973f115Smrg  rm -f "$ac_tmp/stdin"
6470dd519f38Smrg  case $ac_file in
64717973f115Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
64727973f115Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6473dd519f38Smrg  esac \
64747973f115Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6475dd519f38Smrg ;;
6476dd519f38Smrg
6477dd519f38Smrg
64787973f115Smrg  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6479dd519f38Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
6480dd519f38Smrg ;;
6481dd519f38Smrg  esac
6482dd519f38Smrg
6483dd519f38Smrg
6484dd519f38Smrg  case $ac_file$ac_mode in
6485dd519f38Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6486dd519f38Smrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6487dd519f38Smrg  # are listed without --file.  Let's play safe and only enable the eval
6488dd519f38Smrg  # if we detect the quoting.
6489dd519f38Smrg  case $CONFIG_FILES in
6490dd519f38Smrg  *\'*) eval set x "$CONFIG_FILES" ;;
6491dd519f38Smrg  *)   set x $CONFIG_FILES ;;
6492dd519f38Smrg  esac
6493dd519f38Smrg  shift
6494dd519f38Smrg  for mf
6495dd519f38Smrg  do
6496dd519f38Smrg    # Strip MF so we end up with the name of the file.
6497dd519f38Smrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
6498dd519f38Smrg    # Check whether this is an Automake generated Makefile or not.
6499dd519f38Smrg    # We used to match only the files named `Makefile.in', but
6500dd519f38Smrg    # some people rename them; so instead we look at the file content.
6501dd519f38Smrg    # Grep'ing the first line is not enough: some people post-process
6502dd519f38Smrg    # each Makefile.in and add a new line on top of each file to say so.
6503dd519f38Smrg    # Grep'ing the whole file is not good either: AIX grep has a line
6504dd519f38Smrg    # limit of 2048, but all sed's we know have understand at least 4000.
6505dd519f38Smrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6506dd519f38Smrg      dirpart=`$as_dirname -- "$mf" ||
6507dd519f38Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6508dd519f38Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
6509dd519f38Smrg	 X"$mf" : 'X\(//\)$' \| \
6510dd519f38Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6511dd519f38Smrg$as_echo X"$mf" |
6512dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6513dd519f38Smrg	    s//\1/
6514dd519f38Smrg	    q
6515dd519f38Smrg	  }
6516dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
6517dd519f38Smrg	    s//\1/
6518dd519f38Smrg	    q
6519dd519f38Smrg	  }
6520dd519f38Smrg	  /^X\(\/\/\)$/{
6521dd519f38Smrg	    s//\1/
6522dd519f38Smrg	    q
6523dd519f38Smrg	  }
6524dd519f38Smrg	  /^X\(\/\).*/{
6525dd519f38Smrg	    s//\1/
6526dd519f38Smrg	    q
6527dd519f38Smrg	  }
6528dd519f38Smrg	  s/.*/./; q'`
6529dd519f38Smrg    else
6530dd519f38Smrg      continue
6531dd519f38Smrg    fi
6532dd519f38Smrg    # Extract the definition of DEPDIR, am__include, and am__quote
6533dd519f38Smrg    # from the Makefile without running `make'.
6534dd519f38Smrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6535dd519f38Smrg    test -z "$DEPDIR" && continue
6536dd519f38Smrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6537dd519f38Smrg    test -z "am__include" && continue
6538dd519f38Smrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6539dd519f38Smrg    # When using ansi2knr, U may be empty or an underscore; expand it
6540dd519f38Smrg    U=`sed -n 's/^U = //p' < "$mf"`
6541dd519f38Smrg    # Find all dependency output files, they are included files with
6542dd519f38Smrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6543dd519f38Smrg    # simplest approach to changing $(DEPDIR) to its actual value in the
6544dd519f38Smrg    # expansion.
6545dd519f38Smrg    for file in `sed -n "
6546dd519f38Smrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6547dd519f38Smrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6548dd519f38Smrg      # Make sure the directory exists.
6549dd519f38Smrg      test -f "$dirpart/$file" && continue
6550dd519f38Smrg      fdir=`$as_dirname -- "$file" ||
6551dd519f38Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6552dd519f38Smrg	 X"$file" : 'X\(//\)[^/]' \| \
6553dd519f38Smrg	 X"$file" : 'X\(//\)$' \| \
6554dd519f38Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6555dd519f38Smrg$as_echo X"$file" |
6556dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6557dd519f38Smrg	    s//\1/
6558dd519f38Smrg	    q
6559dd519f38Smrg	  }
6560dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
6561dd519f38Smrg	    s//\1/
6562dd519f38Smrg	    q
6563dd519f38Smrg	  }
6564dd519f38Smrg	  /^X\(\/\/\)$/{
6565dd519f38Smrg	    s//\1/
6566dd519f38Smrg	    q
6567dd519f38Smrg	  }
6568dd519f38Smrg	  /^X\(\/\).*/{
6569dd519f38Smrg	    s//\1/
6570dd519f38Smrg	    q
6571dd519f38Smrg	  }
6572dd519f38Smrg	  s/.*/./; q'`
65737973f115Smrg      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6574dd519f38Smrg      # echo "creating $dirpart/$file"
6575dd519f38Smrg      echo '# dummy' > "$dirpart/$file"
6576dd519f38Smrg    done
6577dd519f38Smrg  done
6578dd519f38Smrg}
6579dd519f38Smrg ;;
6580dd519f38Smrg
6581dd519f38Smrg  esac
6582dd519f38Smrgdone # for ac_tag
6583ed029a5fSmrg
6584ed029a5fSmrg
65857973f115Smrgas_fn_exit 0
6586ed029a5fSmrg_ACEOF
6587ed029a5fSmrgac_clean_files=$ac_clean_files_save
6588ed029a5fSmrg
6589dd519f38Smrgtest $ac_write_fail = 0 ||
65907973f115Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6591dd519f38Smrg
6592ed029a5fSmrg
6593ed029a5fSmrg# configure is writing to config.log, and then calls config.status.
6594ed029a5fSmrg# config.status does its own redirection, appending to config.log.
6595ed029a5fSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
6596ed029a5fSmrg# by configure, so config.status won't be able to write to it; its
6597ed029a5fSmrg# output is simply discarded.  So we exec the FD to /dev/null,
6598ed029a5fSmrg# effectively closing config.log, so it can be properly (re)opened and
6599ed029a5fSmrg# appended to by config.status.  When coming back to configure, we
6600ed029a5fSmrg# need to make the FD available again.
6601ed029a5fSmrgif test "$no_create" != yes; then
6602ed029a5fSmrg  ac_cs_success=:
6603ed029a5fSmrg  ac_config_status_args=
6604ed029a5fSmrg  test "$silent" = yes &&
6605ed029a5fSmrg    ac_config_status_args="$ac_config_status_args --quiet"
6606ed029a5fSmrg  exec 5>/dev/null
6607ed029a5fSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6608ed029a5fSmrg  exec 5>>config.log
6609ed029a5fSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6610ed029a5fSmrg  # would make configure fail if this is the last instruction.
66117973f115Smrg  $ac_cs_success || as_fn_exit 1
6612ed029a5fSmrgfi
6613dd519f38Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
66147973f115Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6615dd519f38Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6616dd519f38Smrgfi
6617ed029a5fSmrg
6618