configure revision 1cca5e29
1d838582fSmrg#! /bin/sh
2d838582fSmrg# Guess values for system-dependent variables and create Makefiles.
31cca5e29Smrg# Generated by GNU Autoconf 2.68 for mkfontdir 1.0.6.
4d838582fSmrg#
5d838582fSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6d838582fSmrg#
71cca5e29Smrg#
8d838582fSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
91cca5e29Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
101cca5e29Smrg# Foundation, Inc.
111cca5e29Smrg#
121cca5e29Smrg#
13d838582fSmrg# This configure script is free software; the Free Software Foundation
14d838582fSmrg# gives unlimited permission to copy, distribute and modify it.
151cca5e29Smrg## -------------------- ##
161cca5e29Smrg## M4sh Initialization. ##
171cca5e29Smrg## -------------------- ##
18d838582fSmrg
19d838582fSmrg# Be more Bourne compatible
20d838582fSmrgDUALCASE=1; export DUALCASE # for MKS sh
211cca5e29Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22d838582fSmrg  emulate sh
23d838582fSmrg  NULLCMD=:
24d466db85Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25d838582fSmrg  # is contrary to our usage.  Disable this feature.
26d838582fSmrg  alias -g '${1+"$@"}'='"$@"'
27d838582fSmrg  setopt NO_GLOB_SUBST
28d838582fSmrgelse
291cca5e29Smrg  case `(set -o) 2>/dev/null` in #(
301cca5e29Smrg  *posix*) :
311cca5e29Smrg    set -o posix ;; #(
321cca5e29Smrg  *) :
331cca5e29Smrg     ;;
34d838582fSmrgesac
35d838582fSmrgfi
36d838582fSmrg
37d838582fSmrg
38d466db85Smrgas_nl='
39d466db85Smrg'
40d466db85Smrgexport as_nl
41d466db85Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
42d466db85Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43d466db85Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44d466db85Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
451cca5e29Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
461cca5e29Smrg# but without wasting forks for bash or zsh.
471cca5e29Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
481cca5e29Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
491cca5e29Smrg  as_echo='print -r --'
501cca5e29Smrg  as_echo_n='print -rn --'
511cca5e29Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52d466db85Smrg  as_echo='printf %s\n'
53d466db85Smrg  as_echo_n='printf %s'
54d466db85Smrgelse
55d466db85Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56d466db85Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57d466db85Smrg    as_echo_n='/usr/ucb/echo -n'
58d838582fSmrg  else
59d466db85Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60d466db85Smrg    as_echo_n_body='eval
61d466db85Smrg      arg=$1;
621cca5e29Smrg      case $arg in #(
63d466db85Smrg      *"$as_nl"*)
64d466db85Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
65d466db85Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66d466db85Smrg      esac;
67d466db85Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68d466db85Smrg    '
69d466db85Smrg    export as_echo_n_body
70d466db85Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
71d838582fSmrg  fi
72d466db85Smrg  export as_echo_body
73d466db85Smrg  as_echo='sh -c $as_echo_body as_echo'
74d466db85Smrgfi
75d466db85Smrg
76d466db85Smrg# The user is always right.
77d466db85Smrgif test "${PATH_SEPARATOR+set}" != set; then
78d466db85Smrg  PATH_SEPARATOR=:
79d466db85Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80d466db85Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81d466db85Smrg      PATH_SEPARATOR=';'
82d466db85Smrg  }
83d838582fSmrgfi
84d838582fSmrg
85d838582fSmrg
86d838582fSmrg# IFS
87d838582fSmrg# We need space, tab and new line, in precisely that order.  Quoting is
88d838582fSmrg# there to prevent editors from complaining about space-tab.
89d838582fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90d838582fSmrg# splitting by setting IFS to empty value.)
91d838582fSmrgIFS=" ""	$as_nl"
92d838582fSmrg
93d838582fSmrg# Find who we are.  Look in the path if we contain no directory separator.
941cca5e29Smrgas_myself=
951cca5e29Smrgcase $0 in #((
96d838582fSmrg  *[\\/]* ) as_myself=$0 ;;
97d838582fSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98d838582fSmrgfor as_dir in $PATH
99d838582fSmrgdo
100d838582fSmrg  IFS=$as_save_IFS
101d838582fSmrg  test -z "$as_dir" && as_dir=.
1021cca5e29Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1031cca5e29Smrg  done
104d838582fSmrgIFS=$as_save_IFS
105d838582fSmrg
106d838582fSmrg     ;;
107d838582fSmrgesac
108d838582fSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
109d838582fSmrg# in which case we are not to be found in the path.
110d838582fSmrgif test "x$as_myself" = x; then
111d838582fSmrg  as_myself=$0
112d838582fSmrgfi
113d838582fSmrgif test ! -f "$as_myself"; then
114d466db85Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1151cca5e29Smrg  exit 1
116d838582fSmrgfi
117d838582fSmrg
1181cca5e29Smrg# Unset variables that we do not need and which cause bugs (e.g. in
1191cca5e29Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
1201cca5e29Smrg# suppresses any "Segmentation fault" message there.  '((' could
1211cca5e29Smrg# trigger a bug in pdksh 5.2.14.
1221cca5e29Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
1231cca5e29Smrgdo eval test x\${$as_var+set} = xset \
1241cca5e29Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125d838582fSmrgdone
126d838582fSmrgPS1='$ '
127d838582fSmrgPS2='> '
128d838582fSmrgPS4='+ '
129d838582fSmrg
130d838582fSmrg# NLS nuisances.
131d466db85SmrgLC_ALL=C
132d466db85Smrgexport LC_ALL
133d466db85SmrgLANGUAGE=C
134d466db85Smrgexport LANGUAGE
135d838582fSmrg
1361cca5e29Smrg# CDPATH.
1371cca5e29Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1381cca5e29Smrg
1391cca5e29Smrgif test "x$CONFIG_SHELL" = x; then
1401cca5e29Smrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
1411cca5e29Smrg  emulate sh
1421cca5e29Smrg  NULLCMD=:
1431cca5e29Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
1441cca5e29Smrg  # is contrary to our usage.  Disable this feature.
1451cca5e29Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
1461cca5e29Smrg  setopt NO_GLOB_SUBST
1471cca5e29Smrgelse
1481cca5e29Smrg  case \`(set -o) 2>/dev/null\` in #(
1491cca5e29Smrg  *posix*) :
1501cca5e29Smrg    set -o posix ;; #(
1511cca5e29Smrg  *) :
1521cca5e29Smrg     ;;
1531cca5e29Smrgesac
1541cca5e29Smrgfi
1551cca5e29Smrg"
1561cca5e29Smrg  as_required="as_fn_return () { (exit \$1); }
1571cca5e29Smrgas_fn_success () { as_fn_return 0; }
1581cca5e29Smrgas_fn_failure () { as_fn_return 1; }
1591cca5e29Smrgas_fn_ret_success () { return 0; }
1601cca5e29Smrgas_fn_ret_failure () { return 1; }
1611cca5e29Smrg
1621cca5e29Smrgexitcode=0
1631cca5e29Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
1641cca5e29Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
1651cca5e29Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
1661cca5e29Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1671cca5e29Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
1681cca5e29Smrg
1691cca5e29Smrgelse
1701cca5e29Smrg  exitcode=1; echo positional parameters were not saved.
1711cca5e29Smrgfi
1721cca5e29Smrgtest x\$exitcode = x0 || exit 1"
1731cca5e29Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1741cca5e29Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1751cca5e29Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1761cca5e29Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1771cca5e29Smrgtest \$(( 1 + 1 )) = 2 || exit 1"
1781cca5e29Smrg  if (eval "$as_required") 2>/dev/null; then :
1791cca5e29Smrg  as_have_required=yes
1801cca5e29Smrgelse
1811cca5e29Smrg  as_have_required=no
1821cca5e29Smrgfi
1831cca5e29Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1841cca5e29Smrg
1851cca5e29Smrgelse
1861cca5e29Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871cca5e29Smrgas_found=false
1881cca5e29Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1891cca5e29Smrgdo
1901cca5e29Smrg  IFS=$as_save_IFS
1911cca5e29Smrg  test -z "$as_dir" && as_dir=.
1921cca5e29Smrg  as_found=:
1931cca5e29Smrg  case $as_dir in #(
1941cca5e29Smrg	 /*)
1951cca5e29Smrg	   for as_base in sh bash ksh sh5; do
1961cca5e29Smrg	     # Try only shells that exist, to save several forks.
1971cca5e29Smrg	     as_shell=$as_dir/$as_base
1981cca5e29Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1991cca5e29Smrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
2001cca5e29Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
2011cca5e29Smrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
2021cca5e29Smrg  break 2
2031cca5e29Smrgfi
2041cca5e29Smrgfi
2051cca5e29Smrg	   done;;
2061cca5e29Smrg       esac
2071cca5e29Smrg  as_found=false
2081cca5e29Smrgdone
2091cca5e29Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2101cca5e29Smrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
2111cca5e29Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
2121cca5e29Smrgfi; }
2131cca5e29SmrgIFS=$as_save_IFS
2141cca5e29Smrg
2151cca5e29Smrg
2161cca5e29Smrg      if test "x$CONFIG_SHELL" != x; then :
2171cca5e29Smrg  # We cannot yet assume a decent shell, so we have to provide a
2181cca5e29Smrg	# neutralization value for shells without unset; and this also
2191cca5e29Smrg	# works around shells that cannot unset nonexistent variables.
2201cca5e29Smrg	# Preserve -v and -x to the replacement shell.
2211cca5e29Smrg	BASH_ENV=/dev/null
2221cca5e29Smrg	ENV=/dev/null
2231cca5e29Smrg	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
2241cca5e29Smrg	export CONFIG_SHELL
2251cca5e29Smrg	case $- in # ((((
2261cca5e29Smrg	  *v*x* | *x*v* ) as_opts=-vx ;;
2271cca5e29Smrg	  *v* ) as_opts=-v ;;
2281cca5e29Smrg	  *x* ) as_opts=-x ;;
2291cca5e29Smrg	  * ) as_opts= ;;
2301cca5e29Smrg	esac
2311cca5e29Smrg	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
2321cca5e29Smrgfi
2331cca5e29Smrg
2341cca5e29Smrg    if test x$as_have_required = xno; then :
2351cca5e29Smrg  $as_echo "$0: This script requires a shell more modern than all"
2361cca5e29Smrg  $as_echo "$0: the shells that I found on your system."
2371cca5e29Smrg  if test x${ZSH_VERSION+set} = xset ; then
2381cca5e29Smrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2391cca5e29Smrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
2401cca5e29Smrg  else
2411cca5e29Smrg    $as_echo "$0: Please tell bug-autoconf@gnu.org and
2421cca5e29Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
2431cca5e29Smrg$0: about your system, including any error possibly output
2441cca5e29Smrg$0: before this message. Then install a modern shell, or
2451cca5e29Smrg$0: manually run the script under such a shell if you do
2461cca5e29Smrg$0: have one."
2471cca5e29Smrg  fi
2481cca5e29Smrg  exit 1
2491cca5e29Smrgfi
2501cca5e29Smrgfi
2511cca5e29Smrgfi
2521cca5e29SmrgSHELL=${CONFIG_SHELL-/bin/sh}
2531cca5e29Smrgexport SHELL
2541cca5e29Smrg# Unset more variables known to interfere with behavior of common tools.
2551cca5e29SmrgCLICOLOR_FORCE= GREP_OPTIONS=
2561cca5e29Smrgunset CLICOLOR_FORCE GREP_OPTIONS
2571cca5e29Smrg
2581cca5e29Smrg## --------------------- ##
2591cca5e29Smrg## M4sh Shell Functions. ##
2601cca5e29Smrg## --------------------- ##
2611cca5e29Smrg# as_fn_unset VAR
2621cca5e29Smrg# ---------------
2631cca5e29Smrg# Portably unset VAR.
2641cca5e29Smrgas_fn_unset ()
2651cca5e29Smrg{
2661cca5e29Smrg  { eval $1=; unset $1;}
2671cca5e29Smrg}
2681cca5e29Smrgas_unset=as_fn_unset
2691cca5e29Smrg
2701cca5e29Smrg# as_fn_set_status STATUS
2711cca5e29Smrg# -----------------------
2721cca5e29Smrg# Set $? to STATUS, without forking.
2731cca5e29Smrgas_fn_set_status ()
2741cca5e29Smrg{
2751cca5e29Smrg  return $1
2761cca5e29Smrg} # as_fn_set_status
2771cca5e29Smrg
2781cca5e29Smrg# as_fn_exit STATUS
2791cca5e29Smrg# -----------------
2801cca5e29Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2811cca5e29Smrgas_fn_exit ()
2821cca5e29Smrg{
2831cca5e29Smrg  set +e
2841cca5e29Smrg  as_fn_set_status $1
2851cca5e29Smrg  exit $1
2861cca5e29Smrg} # as_fn_exit
2871cca5e29Smrg
2881cca5e29Smrg# as_fn_mkdir_p
2891cca5e29Smrg# -------------
2901cca5e29Smrg# Create "$as_dir" as a directory, including parents if necessary.
2911cca5e29Smrgas_fn_mkdir_p ()
2921cca5e29Smrg{
2931cca5e29Smrg
2941cca5e29Smrg  case $as_dir in #(
2951cca5e29Smrg  -*) as_dir=./$as_dir;;
2961cca5e29Smrg  esac
2971cca5e29Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
2981cca5e29Smrg    as_dirs=
2991cca5e29Smrg    while :; do
3001cca5e29Smrg      case $as_dir in #(
3011cca5e29Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3021cca5e29Smrg      *) as_qdir=$as_dir;;
3031cca5e29Smrg      esac
3041cca5e29Smrg      as_dirs="'$as_qdir' $as_dirs"
3051cca5e29Smrg      as_dir=`$as_dirname -- "$as_dir" ||
3061cca5e29Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3071cca5e29Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3081cca5e29Smrg	 X"$as_dir" : 'X\(//\)$' \| \
3091cca5e29Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3101cca5e29Smrg$as_echo X"$as_dir" |
3111cca5e29Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3121cca5e29Smrg	    s//\1/
3131cca5e29Smrg	    q
3141cca5e29Smrg	  }
3151cca5e29Smrg	  /^X\(\/\/\)[^/].*/{
3161cca5e29Smrg	    s//\1/
3171cca5e29Smrg	    q
3181cca5e29Smrg	  }
3191cca5e29Smrg	  /^X\(\/\/\)$/{
3201cca5e29Smrg	    s//\1/
3211cca5e29Smrg	    q
3221cca5e29Smrg	  }
3231cca5e29Smrg	  /^X\(\/\).*/{
3241cca5e29Smrg	    s//\1/
3251cca5e29Smrg	    q
3261cca5e29Smrg	  }
3271cca5e29Smrg	  s/.*/./; q'`
3281cca5e29Smrg      test -d "$as_dir" && break
3291cca5e29Smrg    done
3301cca5e29Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3311cca5e29Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3321cca5e29Smrg
3331cca5e29Smrg
3341cca5e29Smrg} # as_fn_mkdir_p
3351cca5e29Smrg# as_fn_append VAR VALUE
3361cca5e29Smrg# ----------------------
3371cca5e29Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3381cca5e29Smrg# advantage of any shell optimizations that allow amortized linear growth over
3391cca5e29Smrg# repeated appends, instead of the typical quadratic growth present in naive
3401cca5e29Smrg# implementations.
3411cca5e29Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3421cca5e29Smrg  eval 'as_fn_append ()
3431cca5e29Smrg  {
3441cca5e29Smrg    eval $1+=\$2
3451cca5e29Smrg  }'
3461cca5e29Smrgelse
3471cca5e29Smrg  as_fn_append ()
3481cca5e29Smrg  {
3491cca5e29Smrg    eval $1=\$$1\$2
3501cca5e29Smrg  }
3511cca5e29Smrgfi # as_fn_append
3521cca5e29Smrg
3531cca5e29Smrg# as_fn_arith ARG...
3541cca5e29Smrg# ------------------
3551cca5e29Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
3561cca5e29Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
3571cca5e29Smrg# must be portable across $(()) and expr.
3581cca5e29Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3591cca5e29Smrg  eval 'as_fn_arith ()
3601cca5e29Smrg  {
3611cca5e29Smrg    as_val=$(( $* ))
3621cca5e29Smrg  }'
3631cca5e29Smrgelse
3641cca5e29Smrg  as_fn_arith ()
3651cca5e29Smrg  {
3661cca5e29Smrg    as_val=`expr "$@" || test $? -eq 1`
3671cca5e29Smrg  }
3681cca5e29Smrgfi # as_fn_arith
3691cca5e29Smrg
3701cca5e29Smrg
3711cca5e29Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
3721cca5e29Smrg# ----------------------------------------
3731cca5e29Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3741cca5e29Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3751cca5e29Smrg# script with STATUS, using 1 if that was 0.
3761cca5e29Smrgas_fn_error ()
3771cca5e29Smrg{
3781cca5e29Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
3791cca5e29Smrg  if test "$4"; then
3801cca5e29Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3811cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3821cca5e29Smrg  fi
3831cca5e29Smrg  $as_echo "$as_me: error: $2" >&2
3841cca5e29Smrg  as_fn_exit $as_status
3851cca5e29Smrg} # as_fn_error
3861cca5e29Smrg
387d838582fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
388d838582fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
389d838582fSmrg  as_expr=expr
390d838582fSmrgelse
391d838582fSmrg  as_expr=false
392d838582fSmrgfi
393d838582fSmrg
394d838582fSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395d838582fSmrg  as_basename=basename
396d838582fSmrgelse
397d838582fSmrg  as_basename=false
398d838582fSmrgfi
399d838582fSmrg
4001cca5e29Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4011cca5e29Smrg  as_dirname=dirname
4021cca5e29Smrgelse
4031cca5e29Smrg  as_dirname=false
4041cca5e29Smrgfi
405d838582fSmrg
406d838582fSmrgas_me=`$as_basename -- "$0" ||
407d838582fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408d838582fSmrg	 X"$0" : 'X\(//\)$' \| \
409d838582fSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410d466db85Smrg$as_echo X/"$0" |
411d838582fSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
412d838582fSmrg	    s//\1/
413d838582fSmrg	    q
414d838582fSmrg	  }
415d838582fSmrg	  /^X\/\(\/\/\)$/{
416d838582fSmrg	    s//\1/
417d838582fSmrg	    q
418d838582fSmrg	  }
419d838582fSmrg	  /^X\/\(\/\).*/{
420d838582fSmrg	    s//\1/
421d838582fSmrg	    q
422d838582fSmrg	  }
423d838582fSmrg	  s/.*/./; q'`
424d838582fSmrg
4251cca5e29Smrg# Avoid depending upon Character Ranges.
4261cca5e29Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
4271cca5e29Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4281cca5e29Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
4291cca5e29Smrgas_cr_digits='0123456789'
4301cca5e29Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
431d838582fSmrg
432d838582fSmrg
4331cca5e29Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
4341cca5e29Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
4351cca5e29Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
4361cca5e29Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
4371cca5e29Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
4381cca5e29Smrg  sed -n '
4391cca5e29Smrg    p
4401cca5e29Smrg    /[$]LINENO/=
4411cca5e29Smrg  ' <$as_myself |
4421cca5e29Smrg    sed '
4431cca5e29Smrg      s/[$]LINENO.*/&-/
4441cca5e29Smrg      t lineno
4451cca5e29Smrg      b
4461cca5e29Smrg      :lineno
4471cca5e29Smrg      N
4481cca5e29Smrg      :loop
4491cca5e29Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4501cca5e29Smrg      t loop
4511cca5e29Smrg      s/-\n.*//
4521cca5e29Smrg    ' >$as_me.lineno &&
4531cca5e29Smrg  chmod +x "$as_me.lineno" ||
4541cca5e29Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455d838582fSmrg
4561cca5e29Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
4571cca5e29Smrg  # (the dirname of $[0] is not the place where we might find the
4581cca5e29Smrg  # original and so on.  Autoconf is especially sensitive to this).
4591cca5e29Smrg  . "./$as_me.lineno"
4601cca5e29Smrg  # Exit status is that of the last command.
4611cca5e29Smrg  exit
462d838582fSmrg}
463d838582fSmrg
4641cca5e29SmrgECHO_C= ECHO_N= ECHO_T=
4651cca5e29Smrgcase `echo -n x` in #(((((
4661cca5e29Smrg-n*)
4671cca5e29Smrg  case `echo 'xy\c'` in
4681cca5e29Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4691cca5e29Smrg  xy)  ECHO_C='\c';;
4701cca5e29Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4711cca5e29Smrg       ECHO_T='	';;
4721cca5e29Smrg  esac;;
4731cca5e29Smrg*)
4741cca5e29Smrg  ECHO_N='-n';;
4751cca5e29Smrgesac
476d838582fSmrg
4771cca5e29Smrgrm -f conf$$ conf$$.exe conf$$.file
4781cca5e29Smrgif test -d conf$$.dir; then
4791cca5e29Smrg  rm -f conf$$.dir/conf$$.file
4801cca5e29Smrgelse
4811cca5e29Smrg  rm -f conf$$.dir
4821cca5e29Smrg  mkdir conf$$.dir 2>/dev/null
483d838582fSmrgfi
4841cca5e29Smrgif (echo >conf$$.file) 2>/dev/null; then
4851cca5e29Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
4861cca5e29Smrg    as_ln_s='ln -s'
4871cca5e29Smrg    # ... but there are two gotchas:
4881cca5e29Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4891cca5e29Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4901cca5e29Smrg    # In both cases, we have to default to `cp -p'.
4911cca5e29Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4921cca5e29Smrg      as_ln_s='cp -p'
4931cca5e29Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
4941cca5e29Smrg    as_ln_s=ln
4951cca5e29Smrg  else
4961cca5e29Smrg    as_ln_s='cp -p'
4971cca5e29Smrg  fi
498d838582fSmrgelse
4991cca5e29Smrg  as_ln_s='cp -p'
500d838582fSmrgfi
5011cca5e29Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5021cca5e29Smrgrmdir conf$$.dir 2>/dev/null
503d838582fSmrg
5041cca5e29Smrgif mkdir -p . 2>/dev/null; then
5051cca5e29Smrg  as_mkdir_p='mkdir -p "$as_dir"'
5061cca5e29Smrgelse
5071cca5e29Smrg  test -d ./-p && rmdir ./-p
5081cca5e29Smrg  as_mkdir_p=false
509d838582fSmrgfi
510d838582fSmrg
5111cca5e29Smrgif test -x / >/dev/null 2>&1; then
5121cca5e29Smrg  as_test_x='test -x'
513d838582fSmrgelse
5141cca5e29Smrg  if ls -dL / >/dev/null 2>&1; then
5151cca5e29Smrg    as_ls_L_option=L
5161cca5e29Smrg  else
5171cca5e29Smrg    as_ls_L_option=
5181cca5e29Smrg  fi
5191cca5e29Smrg  as_test_x='
5201cca5e29Smrg    eval sh -c '\''
5211cca5e29Smrg      if test -d "$1"; then
5221cca5e29Smrg	test -d "$1/.";
5231cca5e29Smrg      else
5241cca5e29Smrg	case $1 in #(
5251cca5e29Smrg	-*)set "./$1";;
5261cca5e29Smrg	esac;
5271cca5e29Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5281cca5e29Smrg	???[sx]*):;;*)false;;esac;fi
5291cca5e29Smrg    '\'' sh
5301cca5e29Smrg  '
531d838582fSmrgfi
5321cca5e29Smrgas_executable_p=$as_test_x
533d838582fSmrg
5341cca5e29Smrg# Sed expression to map a string onto a valid CPP name.
5351cca5e29Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536d838582fSmrg
5371cca5e29Smrg# Sed expression to map a string onto a valid variable name.
5381cca5e29Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539d838582fSmrg
540d838582fSmrg
5411cca5e29Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
5421cca5e29Smrgexec 6>&1
543d838582fSmrg
544d838582fSmrg# Name of the host.
5451cca5e29Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546d838582fSmrg# so uname gets run too.
547d838582fSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548d838582fSmrg
549d838582fSmrg#
550d838582fSmrg# Initializations.
551d838582fSmrg#
552d838582fSmrgac_default_prefix=/usr/local
553d838582fSmrgac_clean_files=
554d838582fSmrgac_config_libobj_dir=.
555d838582fSmrgLIBOBJS=
556d838582fSmrgcross_compiling=no
557d838582fSmrgsubdirs=
558d838582fSmrgMFLAGS=
559d838582fSmrgMAKEFLAGS=
560d838582fSmrg
561d838582fSmrg# Identity of this package.
562d838582fSmrgPACKAGE_NAME='mkfontdir'
563d838582fSmrgPACKAGE_TARNAME='mkfontdir'
5641cca5e29SmrgPACKAGE_VERSION='1.0.6'
5651cca5e29SmrgPACKAGE_STRING='mkfontdir 1.0.6'
566d838582fSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
5671cca5e29SmrgPACKAGE_URL=''
568d838582fSmrg
5691cca5e29Smrgac_unique_file="Makefile.am"
570d466db85Smrg# Factoring default headers for most tests.
571d466db85Smrgac_includes_default="\
572d466db85Smrg#include <stdio.h>
573d466db85Smrg#ifdef HAVE_SYS_TYPES_H
574d466db85Smrg# include <sys/types.h>
575d466db85Smrg#endif
576d466db85Smrg#ifdef HAVE_SYS_STAT_H
577d466db85Smrg# include <sys/stat.h>
578d466db85Smrg#endif
579d466db85Smrg#ifdef STDC_HEADERS
580d466db85Smrg# include <stdlib.h>
581d466db85Smrg# include <stddef.h>
582d466db85Smrg#else
583d466db85Smrg# ifdef HAVE_STDLIB_H
584d466db85Smrg#  include <stdlib.h>
585d466db85Smrg# endif
586d466db85Smrg#endif
587d466db85Smrg#ifdef HAVE_STRING_H
588d466db85Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589d466db85Smrg#  include <memory.h>
590d466db85Smrg# endif
591d466db85Smrg# include <string.h>
592d466db85Smrg#endif
593d466db85Smrg#ifdef HAVE_STRINGS_H
594d466db85Smrg# include <strings.h>
595d466db85Smrg#endif
596d466db85Smrg#ifdef HAVE_INTTYPES_H
597d466db85Smrg# include <inttypes.h>
598d466db85Smrg#endif
599d466db85Smrg#ifdef HAVE_STDINT_H
600d466db85Smrg# include <stdint.h>
601d466db85Smrg#endif
602d466db85Smrg#ifdef HAVE_UNISTD_H
603d466db85Smrg# include <unistd.h>
604d466db85Smrg#endif"
605d466db85Smrg
606d466db85Smrgac_subst_vars='am__EXEEXT_FALSE
607d466db85Smrgam__EXEEXT_TRUE
608d466db85SmrgLTLIBOBJS
609d466db85SmrgLIBOBJS
6101cca5e29SmrgAM_BACKSLASH
6111cca5e29SmrgAM_DEFAULT_VERBOSITY
6121cca5e29SmrgMAN_SUBSTS
6131cca5e29SmrgXORG_MAN_PAGE
614d838582fSmrgADMIN_MAN_DIR
615d466db85SmrgDRIVER_MAN_DIR
616d466db85SmrgMISC_MAN_DIR
617d466db85SmrgFILE_MAN_DIR
618d466db85SmrgLIB_MAN_DIR
619d466db85SmrgAPP_MAN_DIR
620d466db85SmrgADMIN_MAN_SUFFIX
621d466db85SmrgDRIVER_MAN_SUFFIX
622d466db85SmrgMISC_MAN_SUFFIX
623d466db85SmrgFILE_MAN_SUFFIX
624d466db85SmrgLIB_MAN_SUFFIX
625d466db85SmrgAPP_MAN_SUFFIX
6261cca5e29SmrgSED
627d466db85Smrghost_os
628d466db85Smrghost_vendor
629d466db85Smrghost_cpu
630d466db85Smrghost
631d466db85Smrgbuild_os
632d466db85Smrgbuild_vendor
633d466db85Smrgbuild_cpu
634d466db85Smrgbuild
6351cca5e29SmrgINSTALL_CMD
6361cca5e29SmrgPKG_CONFIG
637d466db85SmrgCHANGELOG_CMD
638d466db85SmrgCWARNFLAGS
639d466db85SmrgEGREP
640d466db85SmrgGREP
641d466db85SmrgCPP
642d466db85Smrgam__fastdepCC_FALSE
643d466db85Smrgam__fastdepCC_TRUE
644d466db85SmrgCCDEPMODE
645d466db85SmrgAMDEPBACKSLASH
646d466db85SmrgAMDEP_FALSE
647d466db85SmrgAMDEP_TRUE
648d466db85Smrgam__quote
649d466db85Smrgam__include
650d466db85SmrgDEPDIR
651d466db85SmrgOBJEXT
652d466db85SmrgEXEEXT
653d466db85Smrgac_ct_CC
654d466db85SmrgCPPFLAGS
655d466db85SmrgLDFLAGS
656d466db85SmrgCFLAGS
657d466db85SmrgCC
658d466db85SmrgMAINT
659d466db85SmrgMAINTAINER_MODE_FALSE
660d466db85SmrgMAINTAINER_MODE_TRUE
661d466db85Smrgam__untar
662d466db85Smrgam__tar
663d466db85SmrgAMTAR
664d466db85Smrgam__leading_dot
665d466db85SmrgSET_MAKE
666d466db85SmrgAWK
667d466db85Smrgmkdir_p
668d466db85SmrgMKDIR_P
669d466db85SmrgINSTALL_STRIP_PROGRAM
670d466db85SmrgSTRIP
671d466db85Smrginstall_sh
672d466db85SmrgMAKEINFO
673d466db85SmrgAUTOHEADER
674d466db85SmrgAUTOMAKE
675d466db85SmrgAUTOCONF
676d466db85SmrgACLOCAL
677d466db85SmrgVERSION
678d466db85SmrgPACKAGE
679d466db85SmrgCYGPATH_W
680d466db85Smrgam__isrc
681d466db85SmrgINSTALL_DATA
682d466db85SmrgINSTALL_SCRIPT
683d466db85SmrgINSTALL_PROGRAM
684d466db85Smrgtarget_alias
685d466db85Smrghost_alias
686d466db85Smrgbuild_alias
687d466db85SmrgLIBS
688d466db85SmrgECHO_T
689d466db85SmrgECHO_N
690d466db85SmrgECHO_C
691d466db85SmrgDEFS
692d466db85Smrgmandir
693d466db85Smrglocaledir
694d466db85Smrglibdir
695d466db85Smrgpsdir
696d466db85Smrgpdfdir
697d466db85Smrgdvidir
698d466db85Smrghtmldir
699d466db85Smrginfodir
700d466db85Smrgdocdir
701d466db85Smrgoldincludedir
702d466db85Smrgincludedir
703d466db85Smrglocalstatedir
704d466db85Smrgsharedstatedir
705d466db85Smrgsysconfdir
706d466db85Smrgdatadir
707d466db85Smrgdatarootdir
708d466db85Smrglibexecdir
709d466db85Smrgsbindir
710d466db85Smrgbindir
711d466db85Smrgprogram_transform_name
712d466db85Smrgprefix
713d466db85Smrgexec_prefix
7141cca5e29SmrgPACKAGE_URL
715d466db85SmrgPACKAGE_BUGREPORT
716d466db85SmrgPACKAGE_STRING
717d466db85SmrgPACKAGE_VERSION
718d466db85SmrgPACKAGE_TARNAME
719d466db85SmrgPACKAGE_NAME
720d466db85SmrgPATH_SEPARATOR
721d466db85SmrgSHELL'
722d838582fSmrgac_subst_files=''
723d466db85Smrgac_user_opts='
724d466db85Smrgenable_option_checking
725d466db85Smrgenable_maintainer_mode
726d466db85Smrgenable_dependency_tracking
727d466db85Smrgenable_strict_compilation
7281cca5e29Smrgenable_silent_rules
729d466db85Smrg'
730d838582fSmrg      ac_precious_vars='build_alias
731d838582fSmrghost_alias
732d466db85Smrgtarget_alias
733d466db85SmrgCC
734d466db85SmrgCFLAGS
735d466db85SmrgLDFLAGS
736d466db85SmrgLIBS
737d466db85SmrgCPPFLAGS
7381cca5e29SmrgCPP
7391cca5e29SmrgPKG_CONFIG'
740d838582fSmrg
741d838582fSmrg
742d838582fSmrg# Initialize some variables set by options.
743d838582fSmrgac_init_help=
744d838582fSmrgac_init_version=false
745d466db85Smrgac_unrecognized_opts=
746d466db85Smrgac_unrecognized_sep=
747d838582fSmrg# The variables have the same names as the options, with
748d838582fSmrg# dashes changed to underlines.
749d838582fSmrgcache_file=/dev/null
750d838582fSmrgexec_prefix=NONE
751d838582fSmrgno_create=
752d838582fSmrgno_recursion=
753d838582fSmrgprefix=NONE
754d838582fSmrgprogram_prefix=NONE
755d838582fSmrgprogram_suffix=NONE
756d838582fSmrgprogram_transform_name=s,x,x,
757d838582fSmrgsilent=
758d838582fSmrgsite=
759d838582fSmrgsrcdir=
760d838582fSmrgverbose=
761d838582fSmrgx_includes=NONE
762d838582fSmrgx_libraries=NONE
763d838582fSmrg
764d838582fSmrg# Installation directory options.
765d838582fSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
766d838582fSmrg# and all the variables that are supposed to be based on exec_prefix
767d838582fSmrg# by default will actually change.
768d838582fSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
769d838582fSmrg# (The list follows the same order as the GNU Coding Standards.)
770d838582fSmrgbindir='${exec_prefix}/bin'
771d838582fSmrgsbindir='${exec_prefix}/sbin'
772d838582fSmrglibexecdir='${exec_prefix}/libexec'
773d838582fSmrgdatarootdir='${prefix}/share'
774d838582fSmrgdatadir='${datarootdir}'
775d838582fSmrgsysconfdir='${prefix}/etc'
776d838582fSmrgsharedstatedir='${prefix}/com'
777d838582fSmrglocalstatedir='${prefix}/var'
778d838582fSmrgincludedir='${prefix}/include'
779d838582fSmrgoldincludedir='/usr/include'
780d838582fSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
781d838582fSmrginfodir='${datarootdir}/info'
782d838582fSmrghtmldir='${docdir}'
783d838582fSmrgdvidir='${docdir}'
784d838582fSmrgpdfdir='${docdir}'
785d838582fSmrgpsdir='${docdir}'
786d838582fSmrglibdir='${exec_prefix}/lib'
787d838582fSmrglocaledir='${datarootdir}/locale'
788d838582fSmrgmandir='${datarootdir}/man'
789d838582fSmrg
790d838582fSmrgac_prev=
791d838582fSmrgac_dashdash=
792d838582fSmrgfor ac_option
793d838582fSmrgdo
794d838582fSmrg  # If the previous option needs an argument, assign it.
795d838582fSmrg  if test -n "$ac_prev"; then
796d838582fSmrg    eval $ac_prev=\$ac_option
797d838582fSmrg    ac_prev=
798d838582fSmrg    continue
799d838582fSmrg  fi
800d838582fSmrg
801d838582fSmrg  case $ac_option in
8021cca5e29Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
8031cca5e29Smrg  *=)   ac_optarg= ;;
8041cca5e29Smrg  *)    ac_optarg=yes ;;
805d838582fSmrg  esac
806d838582fSmrg
807d838582fSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
808d838582fSmrg
809d838582fSmrg  case $ac_dashdash$ac_option in
810d838582fSmrg  --)
811d838582fSmrg    ac_dashdash=yes ;;
812d838582fSmrg
813d838582fSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
814d838582fSmrg    ac_prev=bindir ;;
815d838582fSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
816d838582fSmrg    bindir=$ac_optarg ;;
817d838582fSmrg
818d838582fSmrg  -build | --build | --buil | --bui | --bu)
819d838582fSmrg    ac_prev=build_alias ;;
820d838582fSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
821d838582fSmrg    build_alias=$ac_optarg ;;
822d838582fSmrg
823d838582fSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
824d838582fSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
825d838582fSmrg    ac_prev=cache_file ;;
826d838582fSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
827d838582fSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
828d838582fSmrg    cache_file=$ac_optarg ;;
829d838582fSmrg
830d838582fSmrg  --config-cache | -C)
831d838582fSmrg    cache_file=config.cache ;;
832d838582fSmrg
833d838582fSmrg  -datadir | --datadir | --datadi | --datad)
834d838582fSmrg    ac_prev=datadir ;;
835d838582fSmrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
836d838582fSmrg    datadir=$ac_optarg ;;
837d838582fSmrg
838d838582fSmrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
839d838582fSmrg  | --dataroo | --dataro | --datar)
840d838582fSmrg    ac_prev=datarootdir ;;
841d838582fSmrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
842d838582fSmrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
843d838582fSmrg    datarootdir=$ac_optarg ;;
844d838582fSmrg
845d838582fSmrg  -disable-* | --disable-*)
846d466db85Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
847d838582fSmrg    # Reject names that are not valid shell variable names.
848d466db85Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8491cca5e29Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
850d466db85Smrg    ac_useropt_orig=$ac_useropt
851d466db85Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852d466db85Smrg    case $ac_user_opts in
853d466db85Smrg      *"
854d466db85Smrg"enable_$ac_useropt"
855d466db85Smrg"*) ;;
856d466db85Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
857d466db85Smrg	 ac_unrecognized_sep=', ';;
858d466db85Smrg    esac
859d466db85Smrg    eval enable_$ac_useropt=no ;;
860d838582fSmrg
861d838582fSmrg  -docdir | --docdir | --docdi | --doc | --do)
862d838582fSmrg    ac_prev=docdir ;;
863d838582fSmrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
864d838582fSmrg    docdir=$ac_optarg ;;
865d838582fSmrg
866d838582fSmrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
867d838582fSmrg    ac_prev=dvidir ;;
868d838582fSmrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
869d838582fSmrg    dvidir=$ac_optarg ;;
870d838582fSmrg
871d838582fSmrg  -enable-* | --enable-*)
872d466db85Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
873d838582fSmrg    # Reject names that are not valid shell variable names.
874d466db85Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8751cca5e29Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
876d466db85Smrg    ac_useropt_orig=$ac_useropt
877d466db85Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878d466db85Smrg    case $ac_user_opts in
879d466db85Smrg      *"
880d466db85Smrg"enable_$ac_useropt"
881d466db85Smrg"*) ;;
882d466db85Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
883d466db85Smrg	 ac_unrecognized_sep=', ';;
884d466db85Smrg    esac
885d466db85Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
886d838582fSmrg
887d838582fSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
888d838582fSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
889d838582fSmrg  | --exec | --exe | --ex)
890d838582fSmrg    ac_prev=exec_prefix ;;
891d838582fSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
892d838582fSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
893d838582fSmrg  | --exec=* | --exe=* | --ex=*)
894d838582fSmrg    exec_prefix=$ac_optarg ;;
895d838582fSmrg
896d838582fSmrg  -gas | --gas | --ga | --g)
897d838582fSmrg    # Obsolete; use --with-gas.
898d838582fSmrg    with_gas=yes ;;
899d838582fSmrg
900d838582fSmrg  -help | --help | --hel | --he | -h)
901d838582fSmrg    ac_init_help=long ;;
902d838582fSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
903d838582fSmrg    ac_init_help=recursive ;;
904d838582fSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
905d838582fSmrg    ac_init_help=short ;;
906d838582fSmrg
907d838582fSmrg  -host | --host | --hos | --ho)
908d838582fSmrg    ac_prev=host_alias ;;
909d838582fSmrg  -host=* | --host=* | --hos=* | --ho=*)
910d838582fSmrg    host_alias=$ac_optarg ;;
911d838582fSmrg
912d838582fSmrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
913d838582fSmrg    ac_prev=htmldir ;;
914d838582fSmrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
915d838582fSmrg  | --ht=*)
916d838582fSmrg    htmldir=$ac_optarg ;;
917d838582fSmrg
918d838582fSmrg  -includedir | --includedir | --includedi | --included | --include \
919d838582fSmrg  | --includ | --inclu | --incl | --inc)
920d838582fSmrg    ac_prev=includedir ;;
921d838582fSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
922d838582fSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
923d838582fSmrg    includedir=$ac_optarg ;;
924d838582fSmrg
925d838582fSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
926d838582fSmrg    ac_prev=infodir ;;
927d838582fSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
928d838582fSmrg    infodir=$ac_optarg ;;
929d838582fSmrg
930d838582fSmrg  -libdir | --libdir | --libdi | --libd)
931d838582fSmrg    ac_prev=libdir ;;
932d838582fSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
933d838582fSmrg    libdir=$ac_optarg ;;
934d838582fSmrg
935d838582fSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
936d838582fSmrg  | --libexe | --libex | --libe)
937d838582fSmrg    ac_prev=libexecdir ;;
938d838582fSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
939d838582fSmrg  | --libexe=* | --libex=* | --libe=*)
940d838582fSmrg    libexecdir=$ac_optarg ;;
941d838582fSmrg
942d838582fSmrg  -localedir | --localedir | --localedi | --localed | --locale)
943d838582fSmrg    ac_prev=localedir ;;
944d838582fSmrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
945d838582fSmrg    localedir=$ac_optarg ;;
946d838582fSmrg
947d838582fSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
948d838582fSmrg  | --localstate | --localstat | --localsta | --localst | --locals)
949d838582fSmrg    ac_prev=localstatedir ;;
950d838582fSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
951d838582fSmrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
952d838582fSmrg    localstatedir=$ac_optarg ;;
953d838582fSmrg
954d838582fSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
955d838582fSmrg    ac_prev=mandir ;;
956d838582fSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
957d838582fSmrg    mandir=$ac_optarg ;;
958d838582fSmrg
959d838582fSmrg  -nfp | --nfp | --nf)
960d838582fSmrg    # Obsolete; use --without-fp.
961d838582fSmrg    with_fp=no ;;
962d838582fSmrg
963d838582fSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
964d838582fSmrg  | --no-cr | --no-c | -n)
965d838582fSmrg    no_create=yes ;;
966d838582fSmrg
967d838582fSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
968d838582fSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
969d838582fSmrg    no_recursion=yes ;;
970d838582fSmrg
971d838582fSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
972d838582fSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
973d838582fSmrg  | --oldin | --oldi | --old | --ol | --o)
974d838582fSmrg    ac_prev=oldincludedir ;;
975d838582fSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
976d838582fSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
977d838582fSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
978d838582fSmrg    oldincludedir=$ac_optarg ;;
979d838582fSmrg
980d838582fSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
981d838582fSmrg    ac_prev=prefix ;;
982d838582fSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
983d838582fSmrg    prefix=$ac_optarg ;;
984d838582fSmrg
985d838582fSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
986d838582fSmrg  | --program-pre | --program-pr | --program-p)
987d838582fSmrg    ac_prev=program_prefix ;;
988d838582fSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
989d838582fSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
990d838582fSmrg    program_prefix=$ac_optarg ;;
991d838582fSmrg
992d838582fSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
993d838582fSmrg  | --program-suf | --program-su | --program-s)
994d838582fSmrg    ac_prev=program_suffix ;;
995d838582fSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
996d838582fSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
997d838582fSmrg    program_suffix=$ac_optarg ;;
998d838582fSmrg
999d838582fSmrg  -program-transform-name | --program-transform-name \
1000d838582fSmrg  | --program-transform-nam | --program-transform-na \
1001d838582fSmrg  | --program-transform-n | --program-transform- \
1002d838582fSmrg  | --program-transform | --program-transfor \
1003d838582fSmrg  | --program-transfo | --program-transf \
1004d838582fSmrg  | --program-trans | --program-tran \
1005d838582fSmrg  | --progr-tra | --program-tr | --program-t)
1006d838582fSmrg    ac_prev=program_transform_name ;;
1007d838582fSmrg  -program-transform-name=* | --program-transform-name=* \
1008d838582fSmrg  | --program-transform-nam=* | --program-transform-na=* \
1009d838582fSmrg  | --program-transform-n=* | --program-transform-=* \
1010d838582fSmrg  | --program-transform=* | --program-transfor=* \
1011d838582fSmrg  | --program-transfo=* | --program-transf=* \
1012d838582fSmrg  | --program-trans=* | --program-tran=* \
1013d838582fSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1014d838582fSmrg    program_transform_name=$ac_optarg ;;
1015d838582fSmrg
1016d838582fSmrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1017d838582fSmrg    ac_prev=pdfdir ;;
1018d838582fSmrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1019d838582fSmrg    pdfdir=$ac_optarg ;;
1020d838582fSmrg
1021d838582fSmrg  -psdir | --psdir | --psdi | --psd | --ps)
1022d838582fSmrg    ac_prev=psdir ;;
1023d838582fSmrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1024d838582fSmrg    psdir=$ac_optarg ;;
1025d838582fSmrg
1026d838582fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1027d838582fSmrg  | -silent | --silent | --silen | --sile | --sil)
1028d838582fSmrg    silent=yes ;;
1029d838582fSmrg
1030d838582fSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1031d838582fSmrg    ac_prev=sbindir ;;
1032d838582fSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1033d838582fSmrg  | --sbi=* | --sb=*)
1034d838582fSmrg    sbindir=$ac_optarg ;;
1035d838582fSmrg
1036d838582fSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1037d838582fSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1038d838582fSmrg  | --sharedst | --shareds | --shared | --share | --shar \
1039d838582fSmrg  | --sha | --sh)
1040d838582fSmrg    ac_prev=sharedstatedir ;;
1041d838582fSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1042d838582fSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1043d838582fSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1044d838582fSmrg  | --sha=* | --sh=*)
1045d838582fSmrg    sharedstatedir=$ac_optarg ;;
1046d838582fSmrg
1047d838582fSmrg  -site | --site | --sit)
1048d838582fSmrg    ac_prev=site ;;
1049d838582fSmrg  -site=* | --site=* | --sit=*)
1050d838582fSmrg    site=$ac_optarg ;;
1051d838582fSmrg
1052d838582fSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1053d838582fSmrg    ac_prev=srcdir ;;
1054d838582fSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1055d838582fSmrg    srcdir=$ac_optarg ;;
1056d838582fSmrg
1057d838582fSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1058d838582fSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
1059d838582fSmrg    ac_prev=sysconfdir ;;
1060d838582fSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1061d838582fSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1062d838582fSmrg    sysconfdir=$ac_optarg ;;
1063d838582fSmrg
1064d838582fSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1065d838582fSmrg    ac_prev=target_alias ;;
1066d838582fSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1067d838582fSmrg    target_alias=$ac_optarg ;;
1068d838582fSmrg
1069d838582fSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1070d838582fSmrg    verbose=yes ;;
1071d838582fSmrg
1072d838582fSmrg  -version | --version | --versio | --versi | --vers | -V)
1073d838582fSmrg    ac_init_version=: ;;
1074d838582fSmrg
1075d838582fSmrg  -with-* | --with-*)
1076d466db85Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077d838582fSmrg    # Reject names that are not valid shell variable names.
1078d466db85Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10791cca5e29Smrg      as_fn_error $? "invalid package name: $ac_useropt"
1080d466db85Smrg    ac_useropt_orig=$ac_useropt
1081d466db85Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082d466db85Smrg    case $ac_user_opts in
1083d466db85Smrg      *"
1084d466db85Smrg"with_$ac_useropt"
1085d466db85Smrg"*) ;;
1086d466db85Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1087d466db85Smrg	 ac_unrecognized_sep=', ';;
1088d466db85Smrg    esac
1089d466db85Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1090d838582fSmrg
1091d838582fSmrg  -without-* | --without-*)
1092d466db85Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1093d838582fSmrg    # Reject names that are not valid shell variable names.
1094d466db85Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10951cca5e29Smrg      as_fn_error $? "invalid package name: $ac_useropt"
1096d466db85Smrg    ac_useropt_orig=$ac_useropt
1097d466db85Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098d466db85Smrg    case $ac_user_opts in
1099d466db85Smrg      *"
1100d466db85Smrg"with_$ac_useropt"
1101d466db85Smrg"*) ;;
1102d466db85Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1103d466db85Smrg	 ac_unrecognized_sep=', ';;
1104d466db85Smrg    esac
1105d466db85Smrg    eval with_$ac_useropt=no ;;
1106d838582fSmrg
1107d838582fSmrg  --x)
1108d838582fSmrg    # Obsolete; use --with-x.
1109d838582fSmrg    with_x=yes ;;
1110d838582fSmrg
1111d838582fSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1112d838582fSmrg  | --x-incl | --x-inc | --x-in | --x-i)
1113d838582fSmrg    ac_prev=x_includes ;;
1114d838582fSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1115d838582fSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1116d838582fSmrg    x_includes=$ac_optarg ;;
1117d838582fSmrg
1118d838582fSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1119d838582fSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1120d838582fSmrg    ac_prev=x_libraries ;;
1121d838582fSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1122d838582fSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1123d838582fSmrg    x_libraries=$ac_optarg ;;
1124d838582fSmrg
11251cca5e29Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
11261cca5e29SmrgTry \`$0 --help' for more information"
1127d838582fSmrg    ;;
1128d838582fSmrg
1129d838582fSmrg  *=*)
1130d838582fSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1131d838582fSmrg    # Reject names that are not valid shell variable names.
11321cca5e29Smrg    case $ac_envvar in #(
11331cca5e29Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
11341cca5e29Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
11351cca5e29Smrg    esac
1136d838582fSmrg    eval $ac_envvar=\$ac_optarg
1137d838582fSmrg    export $ac_envvar ;;
1138d838582fSmrg
1139d838582fSmrg  *)
1140d838582fSmrg    # FIXME: should be removed in autoconf 3.0.
1141d466db85Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1142d838582fSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1143d466db85Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11441cca5e29Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1145d838582fSmrg    ;;
1146d838582fSmrg
1147d838582fSmrg  esac
1148d838582fSmrgdone
1149d838582fSmrg
1150d838582fSmrgif test -n "$ac_prev"; then
1151d838582fSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11521cca5e29Smrg  as_fn_error $? "missing argument to $ac_option"
1153d838582fSmrgfi
1154d838582fSmrg
1155d466db85Smrgif test -n "$ac_unrecognized_opts"; then
1156d466db85Smrg  case $enable_option_checking in
1157d466db85Smrg    no) ;;
11581cca5e29Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1159d466db85Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1160d466db85Smrg  esac
1161d466db85Smrgfi
1162d466db85Smrg
1163d466db85Smrg# Check all directory arguments for consistency.
1164d838582fSmrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165d838582fSmrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1166d838582fSmrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167d838582fSmrg		libdir localedir mandir
1168d838582fSmrgdo
1169d838582fSmrg  eval ac_val=\$$ac_var
1170d466db85Smrg  # Remove trailing slashes.
1171d466db85Smrg  case $ac_val in
1172d466db85Smrg    */ )
1173d466db85Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1174d466db85Smrg      eval $ac_var=\$ac_val;;
1175d466db85Smrg  esac
1176d466db85Smrg  # Be sure to have absolute directory names.
1177d838582fSmrg  case $ac_val in
1178d838582fSmrg    [\\/$]* | ?:[\\/]* )  continue;;
1179d838582fSmrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1180d838582fSmrg  esac
11811cca5e29Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1182d838582fSmrgdone
1183d838582fSmrg
1184d838582fSmrg# There might be people who depend on the old broken behavior: `$host'
1185d838582fSmrg# used to hold the argument of --host etc.
1186d838582fSmrg# FIXME: To remove some day.
1187d838582fSmrgbuild=$build_alias
1188d838582fSmrghost=$host_alias
1189d838582fSmrgtarget=$target_alias
1190d838582fSmrg
1191d838582fSmrg# FIXME: To remove some day.
1192d838582fSmrgif test "x$host_alias" != x; then
1193d838582fSmrg  if test "x$build_alias" = x; then
1194d838582fSmrg    cross_compiling=maybe
11951cca5e29Smrg    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
11961cca5e29Smrg    If a cross compiler is detected then cross compile mode will be used" >&2
1197d838582fSmrg  elif test "x$build_alias" != "x$host_alias"; then
1198d838582fSmrg    cross_compiling=yes
1199d838582fSmrg  fi
1200d838582fSmrgfi
1201d838582fSmrg
1202d838582fSmrgac_tool_prefix=
1203d838582fSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1204d838582fSmrg
1205d838582fSmrgtest "$silent" = yes && exec 6>/dev/null
1206d838582fSmrg
1207d838582fSmrg
1208d838582fSmrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1209d838582fSmrgac_ls_di=`ls -di .` &&
1210d838582fSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12111cca5e29Smrg  as_fn_error $? "working directory cannot be determined"
1212d838582fSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12131cca5e29Smrg  as_fn_error $? "pwd does not report name of working directory"
1214d838582fSmrg
1215d838582fSmrg
1216d838582fSmrg# Find the source files, if location was not specified.
1217d838582fSmrgif test -z "$srcdir"; then
1218d838582fSmrg  ac_srcdir_defaulted=yes
1219d838582fSmrg  # Try the directory containing this script, then the parent directory.
1220d466db85Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1221d466db85Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1222d466db85Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1223d466db85Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1224d466db85Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1225d466db85Smrg$as_echo X"$as_myself" |
1226d838582fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1227d838582fSmrg	    s//\1/
1228d838582fSmrg	    q
1229d838582fSmrg	  }
1230d838582fSmrg	  /^X\(\/\/\)[^/].*/{
1231d838582fSmrg	    s//\1/
1232d838582fSmrg	    q
1233d838582fSmrg	  }
1234d838582fSmrg	  /^X\(\/\/\)$/{
1235d838582fSmrg	    s//\1/
1236d838582fSmrg	    q
1237d838582fSmrg	  }
1238d838582fSmrg	  /^X\(\/\).*/{
1239d838582fSmrg	    s//\1/
1240d838582fSmrg	    q
1241d838582fSmrg	  }
1242d838582fSmrg	  s/.*/./; q'`
1243d838582fSmrg  srcdir=$ac_confdir
1244d838582fSmrg  if test ! -r "$srcdir/$ac_unique_file"; then
1245d838582fSmrg    srcdir=..
1246d838582fSmrg  fi
1247d838582fSmrgelse
1248d838582fSmrg  ac_srcdir_defaulted=no
1249d838582fSmrgfi
1250d838582fSmrgif test ! -r "$srcdir/$ac_unique_file"; then
1251d838582fSmrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12521cca5e29Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1253d838582fSmrgfi
1254d838582fSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1255d838582fSmrgac_abs_confdir=`(
12561cca5e29Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1257d838582fSmrg	pwd)`
1258d838582fSmrg# When building in place, set srcdir=.
1259d838582fSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1260d838582fSmrg  srcdir=.
1261d838582fSmrgfi
1262d838582fSmrg# Remove unnecessary trailing slashes from srcdir.
1263d838582fSmrg# Double slashes in file names in object file debugging info
1264d838582fSmrg# mess up M-x gdb in Emacs.
1265d838582fSmrgcase $srcdir in
1266d838582fSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267d838582fSmrgesac
1268d838582fSmrgfor ac_var in $ac_precious_vars; do
1269d838582fSmrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1270d838582fSmrg  eval ac_env_${ac_var}_value=\$${ac_var}
1271d838582fSmrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1272d838582fSmrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1273d838582fSmrgdone
1274d838582fSmrg
1275d838582fSmrg#
1276d838582fSmrg# Report the --help message.
1277d838582fSmrg#
1278d838582fSmrgif test "$ac_init_help" = "long"; then
1279d838582fSmrg  # Omit some internal or obsolete options to make the list less imposing.
1280d838582fSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
1281d838582fSmrg  cat <<_ACEOF
12821cca5e29Smrg\`configure' configures mkfontdir 1.0.6 to adapt to many kinds of systems.
1283d838582fSmrg
1284d838582fSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1285d838582fSmrg
1286d838582fSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1287d838582fSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1288d838582fSmrg
1289d838582fSmrgDefaults for the options are specified in brackets.
1290d838582fSmrg
1291d838582fSmrgConfiguration:
1292d838582fSmrg  -h, --help              display this help and exit
1293d838582fSmrg      --help=short        display options specific to this package
1294d838582fSmrg      --help=recursive    display the short help of all the included packages
1295d838582fSmrg  -V, --version           display version information and exit
12961cca5e29Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
1297d838582fSmrg      --cache-file=FILE   cache test results in FILE [disabled]
1298d838582fSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1299d838582fSmrg  -n, --no-create         do not create output files
1300d838582fSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1301d838582fSmrg
1302d838582fSmrgInstallation directories:
1303d838582fSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1304d466db85Smrg                          [$ac_default_prefix]
1305d838582fSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1306d466db85Smrg                          [PREFIX]
1307d838582fSmrg
1308d838582fSmrgBy default, \`make install' will install all the files in
1309d838582fSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1310d838582fSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311d838582fSmrgfor instance \`--prefix=\$HOME'.
1312d838582fSmrg
1313d838582fSmrgFor better control, use the options below.
1314d838582fSmrg
1315d838582fSmrgFine tuning of the installation directories:
1316d466db85Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1317d466db85Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1318d466db85Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1319d466db85Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1320d466db85Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1321d466db85Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1322d466db85Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1323d466db85Smrg  --includedir=DIR        C header files [PREFIX/include]
1324d466db85Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1325d466db85Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1326d466db85Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1327d466db85Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1328d466db85Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1329d466db85Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1330d466db85Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/mkfontdir]
1331d466db85Smrg  --htmldir=DIR           html documentation [DOCDIR]
1332d466db85Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1333d466db85Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1334d466db85Smrg  --psdir=DIR             ps documentation [DOCDIR]
1335d838582fSmrg_ACEOF
1336d838582fSmrg
1337d838582fSmrg  cat <<\_ACEOF
1338d838582fSmrg
1339d838582fSmrgProgram names:
1340d838582fSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1341d838582fSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1342d838582fSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1343d838582fSmrg
1344d838582fSmrgSystem types:
1345d838582fSmrg  --build=BUILD     configure for building on BUILD [guessed]
1346d838582fSmrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1347d838582fSmrg_ACEOF
1348d838582fSmrgfi
1349d838582fSmrg
1350d838582fSmrgif test -n "$ac_init_help"; then
1351d838582fSmrg  case $ac_init_help in
13521cca5e29Smrg     short | recursive ) echo "Configuration of mkfontdir 1.0.6:";;
1353d838582fSmrg   esac
1354d838582fSmrg  cat <<\_ACEOF
1355d838582fSmrg
1356d838582fSmrgOptional Features:
1357d466db85Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1358d838582fSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1359d838582fSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1360d838582fSmrg  --enable-maintainer-mode  enable make rules and dependencies not useful
1361d838582fSmrg			  (and sometimes confusing) to the casual installer
1362d466db85Smrg  --disable-dependency-tracking  speeds up one-time build
1363d466db85Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
1364d466db85Smrg  --enable-strict-compilation
1365d466db85Smrg                          Enable all warnings from compiler and make them
1366d466db85Smrg                          errors (default: disabled)
13671cca5e29Smrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
13681cca5e29Smrg  --disable-silent-rules         verbose build output (undo: `make V=0')
1369d838582fSmrg
1370d466db85SmrgSome influential environment variables:
1371d466db85Smrg  CC          C compiler command
1372d466db85Smrg  CFLAGS      C compiler flags
1373d466db85Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1374d466db85Smrg              nonstandard directory <lib dir>
1375d466db85Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
13761cca5e29Smrg  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1377d466db85Smrg              you have headers in a nonstandard directory <include dir>
1378d466db85Smrg  CPP         C preprocessor
13791cca5e29Smrg  PKG_CONFIG  path to pkg-config utility
1380d466db85Smrg
1381d466db85SmrgUse these variables to override the choices made by `configure' or to help
1382d466db85Smrgit to find libraries and programs with nonstandard names/locations.
1383d466db85Smrg
1384d838582fSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1385d838582fSmrg_ACEOF
1386d838582fSmrgac_status=$?
1387d838582fSmrgfi
1388d838582fSmrg
1389d838582fSmrgif test "$ac_init_help" = "recursive"; then
1390d838582fSmrg  # If there are subdirs, report their specific --help.
1391d838582fSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392d466db85Smrg    test -d "$ac_dir" ||
1393d466db85Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1394d466db85Smrg      continue
1395d838582fSmrg    ac_builddir=.
1396d838582fSmrg
1397d838582fSmrgcase "$ac_dir" in
1398d838582fSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399d838582fSmrg*)
1400d466db85Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1401d838582fSmrg  # A ".." for each directory in $ac_dir_suffix.
1402d466db85Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1403d838582fSmrg  case $ac_top_builddir_sub in
1404d838582fSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405d838582fSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406d838582fSmrg  esac ;;
1407d838582fSmrgesac
1408d838582fSmrgac_abs_top_builddir=$ac_pwd
1409d838582fSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1410d838582fSmrg# for backward compatibility:
1411d838582fSmrgac_top_builddir=$ac_top_build_prefix
1412d838582fSmrg
1413d838582fSmrgcase $srcdir in
1414d838582fSmrg  .)  # We are building in place.
1415d838582fSmrg    ac_srcdir=.
1416d838582fSmrg    ac_top_srcdir=$ac_top_builddir_sub
1417d838582fSmrg    ac_abs_top_srcdir=$ac_pwd ;;
1418d838582fSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1419d838582fSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
1420d838582fSmrg    ac_top_srcdir=$srcdir
1421d838582fSmrg    ac_abs_top_srcdir=$srcdir ;;
1422d838582fSmrg  *) # Relative name.
1423d838582fSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424d838582fSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1425d838582fSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426d838582fSmrgesac
1427d838582fSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1428d838582fSmrg
1429d838582fSmrg    cd "$ac_dir" || { ac_status=$?; continue; }
1430d838582fSmrg    # Check for guested configure.
1431d838582fSmrg    if test -f "$ac_srcdir/configure.gnu"; then
1432d838582fSmrg      echo &&
1433d838582fSmrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434d838582fSmrg    elif test -f "$ac_srcdir/configure"; then
1435d838582fSmrg      echo &&
1436d838582fSmrg      $SHELL "$ac_srcdir/configure" --help=recursive
1437d838582fSmrg    else
1438d466db85Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439d838582fSmrg    fi || ac_status=$?
1440d838582fSmrg    cd "$ac_pwd" || { ac_status=$?; break; }
1441d838582fSmrg  done
1442d838582fSmrgfi
1443d838582fSmrg
1444d838582fSmrgtest -n "$ac_init_help" && exit $ac_status
1445d838582fSmrgif $ac_init_version; then
1446d838582fSmrg  cat <<\_ACEOF
14471cca5e29Smrgmkfontdir configure 1.0.6
14481cca5e29Smrggenerated by GNU Autoconf 2.68
1449d838582fSmrg
14501cca5e29SmrgCopyright (C) 2010 Free Software Foundation, Inc.
1451d838582fSmrgThis configure script is free software; the Free Software Foundation
1452d838582fSmrggives unlimited permission to copy, distribute and modify it.
1453d838582fSmrg_ACEOF
1454d838582fSmrg  exit
1455d838582fSmrgfi
1456d838582fSmrg
14571cca5e29Smrg## ------------------------ ##
14581cca5e29Smrg## Autoconf initialization. ##
14591cca5e29Smrg## ------------------------ ##
1460d838582fSmrg
14611cca5e29Smrg# ac_fn_c_try_compile LINENO
14621cca5e29Smrg# --------------------------
14631cca5e29Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded.
14641cca5e29Smrgac_fn_c_try_compile ()
1465d838582fSmrg{
14661cca5e29Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14671cca5e29Smrg  rm -f conftest.$ac_objext
14681cca5e29Smrg  if { { ac_try="$ac_compile"
14691cca5e29Smrgcase "(($ac_try" in
14701cca5e29Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14711cca5e29Smrg  *) ac_try_echo=$ac_try;;
14721cca5e29Smrgesac
14731cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14741cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
14751cca5e29Smrg  (eval "$ac_compile") 2>conftest.err
14761cca5e29Smrg  ac_status=$?
14771cca5e29Smrg  if test -s conftest.err; then
14781cca5e29Smrg    grep -v '^ *+' conftest.err >conftest.er1
14791cca5e29Smrg    cat conftest.er1 >&5
14801cca5e29Smrg    mv -f conftest.er1 conftest.err
14811cca5e29Smrg  fi
14821cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14831cca5e29Smrg  test $ac_status = 0; } && {
14841cca5e29Smrg	 test -z "$ac_c_werror_flag" ||
14851cca5e29Smrg	 test ! -s conftest.err
14861cca5e29Smrg       } && test -s conftest.$ac_objext; then :
14871cca5e29Smrg  ac_retval=0
14881cca5e29Smrgelse
14891cca5e29Smrg  $as_echo "$as_me: failed program was:" >&5
14901cca5e29Smrgsed 's/^/| /' conftest.$ac_ext >&5
1491d838582fSmrg
14921cca5e29Smrg	ac_retval=1
14931cca5e29Smrgfi
14941cca5e29Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
14951cca5e29Smrg  as_fn_set_status $ac_retval
1496d838582fSmrg
14971cca5e29Smrg} # ac_fn_c_try_compile
14981cca5e29Smrg
14991cca5e29Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
15001cca5e29Smrg# ---------------------------------------------
15011cca5e29Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
15021cca5e29Smrg# accordingly.
15031cca5e29Smrgac_fn_c_check_decl ()
15041cca5e29Smrg{
15051cca5e29Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15061cca5e29Smrg  as_decl_name=`echo $2|sed 's/ *(.*//'`
15071cca5e29Smrg  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
15081cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
15091cca5e29Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
15101cca5e29Smrgif eval \${$3+:} false; then :
15111cca5e29Smrg  $as_echo_n "(cached) " >&6
15121cca5e29Smrgelse
15131cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141cca5e29Smrg/* end confdefs.h.  */
15151cca5e29Smrg$4
15161cca5e29Smrgint
15171cca5e29Smrgmain ()
15181cca5e29Smrg{
15191cca5e29Smrg#ifndef $as_decl_name
15201cca5e29Smrg#ifdef __cplusplus
15211cca5e29Smrg  (void) $as_decl_use;
15221cca5e29Smrg#else
15231cca5e29Smrg  (void) $as_decl_name;
15241cca5e29Smrg#endif
15251cca5e29Smrg#endif
15261cca5e29Smrg
15271cca5e29Smrg  ;
15281cca5e29Smrg  return 0;
15291cca5e29Smrg}
15301cca5e29Smrg_ACEOF
15311cca5e29Smrgif ac_fn_c_try_compile "$LINENO"; then :
15321cca5e29Smrg  eval "$3=yes"
15331cca5e29Smrgelse
15341cca5e29Smrg  eval "$3=no"
15351cca5e29Smrgfi
15361cca5e29Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371cca5e29Smrgfi
15381cca5e29Smrgeval ac_res=\$$3
15391cca5e29Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15401cca5e29Smrg$as_echo "$ac_res" >&6; }
15411cca5e29Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15421cca5e29Smrg
15431cca5e29Smrg} # ac_fn_c_check_decl
15441cca5e29Smrg
15451cca5e29Smrg# ac_fn_c_try_cpp LINENO
15461cca5e29Smrg# ----------------------
15471cca5e29Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
15481cca5e29Smrgac_fn_c_try_cpp ()
15491cca5e29Smrg{
15501cca5e29Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15511cca5e29Smrg  if { { ac_try="$ac_cpp conftest.$ac_ext"
15521cca5e29Smrgcase "(($ac_try" in
15531cca5e29Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15541cca5e29Smrg  *) ac_try_echo=$ac_try;;
15551cca5e29Smrgesac
15561cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15571cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
15581cca5e29Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
15591cca5e29Smrg  ac_status=$?
15601cca5e29Smrg  if test -s conftest.err; then
15611cca5e29Smrg    grep -v '^ *+' conftest.err >conftest.er1
15621cca5e29Smrg    cat conftest.er1 >&5
15631cca5e29Smrg    mv -f conftest.er1 conftest.err
15641cca5e29Smrg  fi
15651cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15661cca5e29Smrg  test $ac_status = 0; } > conftest.i && {
15671cca5e29Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15681cca5e29Smrg	 test ! -s conftest.err
15691cca5e29Smrg       }; then :
15701cca5e29Smrg  ac_retval=0
15711cca5e29Smrgelse
15721cca5e29Smrg  $as_echo "$as_me: failed program was:" >&5
15731cca5e29Smrgsed 's/^/| /' conftest.$ac_ext >&5
15741cca5e29Smrg
15751cca5e29Smrg    ac_retval=1
15761cca5e29Smrgfi
15771cca5e29Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15781cca5e29Smrg  as_fn_set_status $ac_retval
15791cca5e29Smrg
15801cca5e29Smrg} # ac_fn_c_try_cpp
15811cca5e29Smrg
15821cca5e29Smrg# ac_fn_c_try_run LINENO
15831cca5e29Smrg# ----------------------
15841cca5e29Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
15851cca5e29Smrg# that executables *can* be run.
15861cca5e29Smrgac_fn_c_try_run ()
15871cca5e29Smrg{
15881cca5e29Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15891cca5e29Smrg  if { { ac_try="$ac_link"
15901cca5e29Smrgcase "(($ac_try" in
15911cca5e29Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15921cca5e29Smrg  *) ac_try_echo=$ac_try;;
15931cca5e29Smrgesac
15941cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15951cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
15961cca5e29Smrg  (eval "$ac_link") 2>&5
15971cca5e29Smrg  ac_status=$?
15981cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15991cca5e29Smrg  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
16001cca5e29Smrg  { { case "(($ac_try" in
16011cca5e29Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16021cca5e29Smrg  *) ac_try_echo=$ac_try;;
16031cca5e29Smrgesac
16041cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16051cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
16061cca5e29Smrg  (eval "$ac_try") 2>&5
16071cca5e29Smrg  ac_status=$?
16081cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16091cca5e29Smrg  test $ac_status = 0; }; }; then :
16101cca5e29Smrg  ac_retval=0
16111cca5e29Smrgelse
16121cca5e29Smrg  $as_echo "$as_me: program exited with status $ac_status" >&5
16131cca5e29Smrg       $as_echo "$as_me: failed program was:" >&5
16141cca5e29Smrgsed 's/^/| /' conftest.$ac_ext >&5
16151cca5e29Smrg
16161cca5e29Smrg       ac_retval=$ac_status
16171cca5e29Smrgfi
16181cca5e29Smrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
16191cca5e29Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16201cca5e29Smrg  as_fn_set_status $ac_retval
16211cca5e29Smrg
16221cca5e29Smrg} # ac_fn_c_try_run
16231cca5e29Smrg
16241cca5e29Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
16251cca5e29Smrg# -------------------------------------------------------
16261cca5e29Smrg# Tests whether HEADER exists and can be compiled using the include files in
16271cca5e29Smrg# INCLUDES, setting the cache variable VAR accordingly.
16281cca5e29Smrgac_fn_c_check_header_compile ()
16291cca5e29Smrg{
16301cca5e29Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16311cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
16321cca5e29Smrg$as_echo_n "checking for $2... " >&6; }
16331cca5e29Smrgif eval \${$3+:} false; then :
16341cca5e29Smrg  $as_echo_n "(cached) " >&6
16351cca5e29Smrgelse
16361cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371cca5e29Smrg/* end confdefs.h.  */
16381cca5e29Smrg$4
16391cca5e29Smrg#include <$2>
16401cca5e29Smrg_ACEOF
16411cca5e29Smrgif ac_fn_c_try_compile "$LINENO"; then :
16421cca5e29Smrg  eval "$3=yes"
16431cca5e29Smrgelse
16441cca5e29Smrg  eval "$3=no"
16451cca5e29Smrgfi
16461cca5e29Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16471cca5e29Smrgfi
16481cca5e29Smrgeval ac_res=\$$3
16491cca5e29Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16501cca5e29Smrg$as_echo "$ac_res" >&6; }
16511cca5e29Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16521cca5e29Smrg
16531cca5e29Smrg} # ac_fn_c_check_header_compile
16541cca5e29Smrgcat >config.log <<_ACEOF
16551cca5e29SmrgThis file contains any messages produced by compilers while
16561cca5e29Smrgrunning configure, to aid debugging if configure makes a mistake.
16571cca5e29Smrg
16581cca5e29SmrgIt was created by mkfontdir $as_me 1.0.6, which was
16591cca5e29Smrggenerated by GNU Autoconf 2.68.  Invocation command line was
16601cca5e29Smrg
16611cca5e29Smrg  $ $0 $@
16621cca5e29Smrg
16631cca5e29Smrg_ACEOF
16641cca5e29Smrgexec 5>>config.log
16651cca5e29Smrg{
16661cca5e29Smrgcat <<_ASUNAME
16671cca5e29Smrg## --------- ##
16681cca5e29Smrg## Platform. ##
16691cca5e29Smrg## --------- ##
16701cca5e29Smrg
16711cca5e29Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
16721cca5e29Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
16731cca5e29Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
16741cca5e29Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
16751cca5e29Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
16761cca5e29Smrg
16771cca5e29Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
16781cca5e29Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
16791cca5e29Smrg
16801cca5e29Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
16811cca5e29Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
16821cca5e29Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
16831cca5e29Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
16841cca5e29Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
16851cca5e29Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
16861cca5e29Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
16871cca5e29Smrg
16881cca5e29Smrg_ASUNAME
1689d838582fSmrg
1690d838582fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691d838582fSmrgfor as_dir in $PATH
1692d838582fSmrgdo
1693d838582fSmrg  IFS=$as_save_IFS
1694d838582fSmrg  test -z "$as_dir" && as_dir=.
16951cca5e29Smrg    $as_echo "PATH: $as_dir"
16961cca5e29Smrg  done
1697d838582fSmrgIFS=$as_save_IFS
1698d838582fSmrg
1699d838582fSmrg} >&5
1700d838582fSmrg
1701d838582fSmrgcat >&5 <<_ACEOF
1702d838582fSmrg
1703d838582fSmrg
1704d838582fSmrg## ----------- ##
1705d838582fSmrg## Core tests. ##
1706d838582fSmrg## ----------- ##
1707d838582fSmrg
1708d838582fSmrg_ACEOF
1709d838582fSmrg
1710d838582fSmrg
1711d838582fSmrg# Keep a trace of the command line.
1712d838582fSmrg# Strip out --no-create and --no-recursion so they do not pile up.
1713d838582fSmrg# Strip out --silent because we don't want to record it for future runs.
1714d838582fSmrg# Also quote any args containing shell meta-characters.
1715d838582fSmrg# Make two passes to allow for proper duplicate-argument suppression.
1716d838582fSmrgac_configure_args=
1717d838582fSmrgac_configure_args0=
1718d838582fSmrgac_configure_args1=
1719d838582fSmrgac_must_keep_next=false
1720d838582fSmrgfor ac_pass in 1 2
1721d838582fSmrgdo
1722d838582fSmrg  for ac_arg
1723d838582fSmrg  do
1724d838582fSmrg    case $ac_arg in
1725d838582fSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1726d838582fSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1727d838582fSmrg    | -silent | --silent | --silen | --sile | --sil)
1728d838582fSmrg      continue ;;
1729d838582fSmrg    *\'*)
1730d466db85Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1731d838582fSmrg    esac
1732d838582fSmrg    case $ac_pass in
17331cca5e29Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1734d838582fSmrg    2)
17351cca5e29Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1736d838582fSmrg      if test $ac_must_keep_next = true; then
1737d838582fSmrg	ac_must_keep_next=false # Got value, back to normal.
1738d838582fSmrg      else
1739d838582fSmrg	case $ac_arg in
1740d838582fSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1741d838582fSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1742d838582fSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1743d838582fSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1744d838582fSmrg	    case "$ac_configure_args0 " in
1745d838582fSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1746d838582fSmrg	    esac
1747d838582fSmrg	    ;;
1748d838582fSmrg	  -* ) ac_must_keep_next=true ;;
1749d838582fSmrg	esac
1750d838582fSmrg      fi
17511cca5e29Smrg      as_fn_append ac_configure_args " '$ac_arg'"
1752d838582fSmrg      ;;
1753d838582fSmrg    esac
1754d838582fSmrg  done
1755d838582fSmrgdone
17561cca5e29Smrg{ ac_configure_args0=; unset ac_configure_args0;}
17571cca5e29Smrg{ ac_configure_args1=; unset ac_configure_args1;}
1758d838582fSmrg
1759d838582fSmrg# When interrupted or exit'd, cleanup temporary files, and complete
1760d838582fSmrg# config.log.  We remove comments because anyway the quotes in there
1761d838582fSmrg# would cause problems or look ugly.
1762d838582fSmrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1763d838582fSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1764d838582fSmrgtrap 'exit_status=$?
1765d838582fSmrg  # Save into config.log some information that might help in debugging.
1766d838582fSmrg  {
1767d838582fSmrg    echo
1768d838582fSmrg
17691cca5e29Smrg    $as_echo "## ---------------- ##
1770d838582fSmrg## Cache variables. ##
17711cca5e29Smrg## ---------------- ##"
1772d838582fSmrg    echo
1773d838582fSmrg    # The following way of writing the cache mishandles newlines in values,
1774d838582fSmrg(
1775d838582fSmrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1776d838582fSmrg    eval ac_val=\$$ac_var
1777d838582fSmrg    case $ac_val in #(
1778d838582fSmrg    *${as_nl}*)
1779d838582fSmrg      case $ac_var in #(
17801cca5e29Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1781d466db85Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1782d838582fSmrg      esac
1783d838582fSmrg      case $ac_var in #(
1784d838582fSmrg      _ | IFS | as_nl) ;; #(
1785d466db85Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17861cca5e29Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
1787d838582fSmrg      esac ;;
1788d838582fSmrg    esac
1789d838582fSmrg  done
1790d838582fSmrg  (set) 2>&1 |
1791d838582fSmrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1792d838582fSmrg    *${as_nl}ac_space=\ *)
1793d838582fSmrg      sed -n \
1794d838582fSmrg	"s/'\''/'\''\\\\'\'''\''/g;
1795d838582fSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1796d838582fSmrg      ;; #(
1797d838582fSmrg    *)
1798d838582fSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1799d838582fSmrg      ;;
1800d838582fSmrg    esac |
1801d838582fSmrg    sort
1802d838582fSmrg)
1803d838582fSmrg    echo
1804d838582fSmrg
18051cca5e29Smrg    $as_echo "## ----------------- ##
1806d838582fSmrg## Output variables. ##
18071cca5e29Smrg## ----------------- ##"
1808d838582fSmrg    echo
1809d838582fSmrg    for ac_var in $ac_subst_vars
1810d838582fSmrg    do
1811d838582fSmrg      eval ac_val=\$$ac_var
1812d838582fSmrg      case $ac_val in
1813d466db85Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1814d838582fSmrg      esac
1815d466db85Smrg      $as_echo "$ac_var='\''$ac_val'\''"
1816d838582fSmrg    done | sort
1817d838582fSmrg    echo
1818d838582fSmrg
1819d838582fSmrg    if test -n "$ac_subst_files"; then
18201cca5e29Smrg      $as_echo "## ------------------- ##
1821d838582fSmrg## File substitutions. ##
18221cca5e29Smrg## ------------------- ##"
1823d838582fSmrg      echo
1824d838582fSmrg      for ac_var in $ac_subst_files
1825d838582fSmrg      do
1826d838582fSmrg	eval ac_val=\$$ac_var
1827d838582fSmrg	case $ac_val in
1828d466db85Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1829d838582fSmrg	esac
1830d466db85Smrg	$as_echo "$ac_var='\''$ac_val'\''"
1831d838582fSmrg      done | sort
1832d838582fSmrg      echo
1833d838582fSmrg    fi
1834d838582fSmrg
1835d838582fSmrg    if test -s confdefs.h; then
18361cca5e29Smrg      $as_echo "## ----------- ##
1837d838582fSmrg## confdefs.h. ##
18381cca5e29Smrg## ----------- ##"
1839d838582fSmrg      echo
1840d838582fSmrg      cat confdefs.h
1841d838582fSmrg      echo
1842d838582fSmrg    fi
1843d838582fSmrg    test "$ac_signal" != 0 &&
1844d466db85Smrg      $as_echo "$as_me: caught signal $ac_signal"
1845d466db85Smrg    $as_echo "$as_me: exit $exit_status"
1846d838582fSmrg  } >&5
1847d838582fSmrg  rm -f core *.core core.conftest.* &&
1848d838582fSmrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1849d838582fSmrg    exit $exit_status
1850d838582fSmrg' 0
1851d838582fSmrgfor ac_signal in 1 2 13 15; do
18521cca5e29Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1853d838582fSmrgdone
1854d838582fSmrgac_signal=0
1855d838582fSmrg
1856d838582fSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1857d838582fSmrgrm -f -r conftest* confdefs.h
1858d838582fSmrg
18591cca5e29Smrg$as_echo "/* confdefs.h */" > confdefs.h
18601cca5e29Smrg
1861d838582fSmrg# Predefined preprocessor variables.
1862d838582fSmrg
1863d838582fSmrgcat >>confdefs.h <<_ACEOF
1864d838582fSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
1865d838582fSmrg_ACEOF
1866d838582fSmrg
1867d838582fSmrgcat >>confdefs.h <<_ACEOF
1868d838582fSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1869d838582fSmrg_ACEOF
1870d838582fSmrg
1871d838582fSmrgcat >>confdefs.h <<_ACEOF
1872d838582fSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1873d838582fSmrg_ACEOF
1874d838582fSmrg
1875d838582fSmrgcat >>confdefs.h <<_ACEOF
1876d838582fSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
1877d838582fSmrg_ACEOF
1878d838582fSmrg
1879d838582fSmrgcat >>confdefs.h <<_ACEOF
1880d838582fSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1881d838582fSmrg_ACEOF
1882d838582fSmrg
18831cca5e29Smrgcat >>confdefs.h <<_ACEOF
18841cca5e29Smrg#define PACKAGE_URL "$PACKAGE_URL"
18851cca5e29Smrg_ACEOF
18861cca5e29Smrg
1887d838582fSmrg
1888d838582fSmrg# Let the site file select an alternate cache file if it wants to.
1889d466db85Smrg# Prefer an explicitly selected file to automatically selected ones.
1890d466db85Smrgac_site_file1=NONE
1891d466db85Smrgac_site_file2=NONE
1892d838582fSmrgif test -n "$CONFIG_SITE"; then
18931cca5e29Smrg  # We do not want a PATH search for config.site.
18941cca5e29Smrg  case $CONFIG_SITE in #((
18951cca5e29Smrg    -*)  ac_site_file1=./$CONFIG_SITE;;
18961cca5e29Smrg    */*) ac_site_file1=$CONFIG_SITE;;
18971cca5e29Smrg    *)   ac_site_file1=./$CONFIG_SITE;;
18981cca5e29Smrg  esac
1899d838582fSmrgelif test "x$prefix" != xNONE; then
1900d466db85Smrg  ac_site_file1=$prefix/share/config.site
1901d466db85Smrg  ac_site_file2=$prefix/etc/config.site
1902d838582fSmrgelse
1903d466db85Smrg  ac_site_file1=$ac_default_prefix/share/config.site
1904d466db85Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
1905d838582fSmrgfi
1906d466db85Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
1907d838582fSmrgdo
1908d466db85Smrg  test "x$ac_site_file" = xNONE && continue
19091cca5e29Smrg  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
19101cca5e29Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1911d466db85Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1912d838582fSmrg    sed 's/^/| /' "$ac_site_file" >&5
19131cca5e29Smrg    . "$ac_site_file" \
19141cca5e29Smrg      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19151cca5e29Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19161cca5e29Smrgas_fn_error $? "failed to load site script $ac_site_file
19171cca5e29SmrgSee \`config.log' for more details" "$LINENO" 5; }
1918d838582fSmrg  fi
1919d838582fSmrgdone
1920d838582fSmrg
1921d838582fSmrgif test -r "$cache_file"; then
19221cca5e29Smrg  # Some versions of bash will fail to source /dev/null (special files
19231cca5e29Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
19241cca5e29Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
19251cca5e29Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1926d466db85Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
1927d838582fSmrg    case $cache_file in
1928d838582fSmrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1929d838582fSmrg      *)                      . "./$cache_file";;
1930d838582fSmrg    esac
1931d838582fSmrg  fi
1932d838582fSmrgelse
19331cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1934d466db85Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
1935d838582fSmrg  >$cache_file
1936d838582fSmrgfi
1937d838582fSmrg
1938d838582fSmrg# Check that the precious variables saved in the cache have kept the same
1939d838582fSmrg# value.
1940d838582fSmrgac_cache_corrupted=false
1941d838582fSmrgfor ac_var in $ac_precious_vars; do
1942d838582fSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1943d838582fSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
1944d838582fSmrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1945d838582fSmrg  eval ac_new_val=\$ac_env_${ac_var}_value
1946d838582fSmrg  case $ac_old_set,$ac_new_set in
1947d838582fSmrg    set,)
19481cca5e29Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1949d466db85Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1950d838582fSmrg      ac_cache_corrupted=: ;;
1951d838582fSmrg    ,set)
19521cca5e29Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1953d466db85Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1954d838582fSmrg      ac_cache_corrupted=: ;;
1955d838582fSmrg    ,);;
1956d838582fSmrg    *)
1957d838582fSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1958d466db85Smrg	# differences in whitespace do not lead to failure.
1959d466db85Smrg	ac_old_val_w=`echo x $ac_old_val`
1960d466db85Smrg	ac_new_val_w=`echo x $ac_new_val`
1961d466db85Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
19621cca5e29Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1963d466db85Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1964d466db85Smrg	  ac_cache_corrupted=:
1965d466db85Smrg	else
19661cca5e29Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1967d466db85Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1968d466db85Smrg	  eval $ac_var=\$ac_old_val
1969d466db85Smrg	fi
19701cca5e29Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1971d466db85Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
19721cca5e29Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1973d466db85Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1974d838582fSmrg      fi;;
1975d838582fSmrg  esac
1976d838582fSmrg  # Pass precious variables to config.status.
1977d838582fSmrg  if test "$ac_new_set" = set; then
1978d838582fSmrg    case $ac_new_val in
1979d466db85Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1980d838582fSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
1981d838582fSmrg    esac
1982d838582fSmrg    case " $ac_configure_args " in
1983d838582fSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
19841cca5e29Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1985d838582fSmrg    esac
1986d838582fSmrg  fi
1987d838582fSmrgdone
1988d838582fSmrgif $ac_cache_corrupted; then
19891cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1990d466db85Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19911cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1992d466db85Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
19931cca5e29Smrg  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1994d838582fSmrgfi
19951cca5e29Smrg## -------------------- ##
19961cca5e29Smrg## Main body of script. ##
19971cca5e29Smrg## -------------------- ##
1998d838582fSmrg
1999d838582fSmrgac_ext=c
2000d838582fSmrgac_cpp='$CPP $CPPFLAGS'
2001d838582fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2002d838582fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2003d838582fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2004d838582fSmrg
2005d838582fSmrg
20061cca5e29Smrg
20071cca5e29Smrg
20081cca5e29Smrg# Initialize Automake
2009d466db85Smrgam__api_version='1.11'
2010d838582fSmrg
2011d838582fSmrgac_aux_dir=
2012d838582fSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2013d838582fSmrg  if test -f "$ac_dir/install-sh"; then
2014d838582fSmrg    ac_aux_dir=$ac_dir
2015d838582fSmrg    ac_install_sh="$ac_aux_dir/install-sh -c"
2016d838582fSmrg    break
2017d838582fSmrg  elif test -f "$ac_dir/install.sh"; then
2018d838582fSmrg    ac_aux_dir=$ac_dir
2019d838582fSmrg    ac_install_sh="$ac_aux_dir/install.sh -c"
2020d838582fSmrg    break
2021d838582fSmrg  elif test -f "$ac_dir/shtool"; then
2022d838582fSmrg    ac_aux_dir=$ac_dir
2023d838582fSmrg    ac_install_sh="$ac_aux_dir/shtool install -c"
2024d838582fSmrg    break
2025d838582fSmrg  fi
2026d838582fSmrgdone
2027d838582fSmrgif test -z "$ac_aux_dir"; then
20281cca5e29Smrg  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2029d838582fSmrgfi
2030d838582fSmrg
2031d838582fSmrg# These three variables are undocumented and unsupported,
2032d838582fSmrg# and are intended to be withdrawn in a future Autoconf release.
2033d838582fSmrg# They can cause serious problems if a builder's source tree is in a directory
2034d838582fSmrg# whose full name contains unusual characters.
2035d838582fSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2036d838582fSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2037d838582fSmrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2038d838582fSmrg
2039d838582fSmrg
2040d838582fSmrg# Find a good install program.  We prefer a C program (faster),
2041d838582fSmrg# so one script is as good as another.  But avoid the broken or
2042d838582fSmrg# incompatible versions:
2043d838582fSmrg# SysV /etc/install, /usr/sbin/install
2044d838582fSmrg# SunOS /usr/etc/install
2045d838582fSmrg# IRIX /sbin/install
2046d838582fSmrg# AIX /bin/install
2047d838582fSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
2048d838582fSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2049d838582fSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2050d838582fSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2051d838582fSmrg# OS/2's system install, which has a completely different semantic
2052d838582fSmrg# ./install, which can be erroneously created by make from ./install.sh.
2053d466db85Smrg# Reject install programs that cannot install multiple files.
20541cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2055d466db85Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
2056d838582fSmrgif test -z "$INSTALL"; then
20571cca5e29Smrgif ${ac_cv_path_install+:} false; then :
2058d466db85Smrg  $as_echo_n "(cached) " >&6
2059d838582fSmrgelse
2060d838582fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061d838582fSmrgfor as_dir in $PATH
2062d838582fSmrgdo
2063d838582fSmrg  IFS=$as_save_IFS
2064d838582fSmrg  test -z "$as_dir" && as_dir=.
20651cca5e29Smrg    # Account for people who put trailing slashes in PATH elements.
20661cca5e29Smrgcase $as_dir/ in #((
20671cca5e29Smrg  ./ | .// | /[cC]/* | \
2068d838582fSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
20691cca5e29Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2070d838582fSmrg  /usr/ucb/* ) ;;
2071d838582fSmrg  *)
2072d838582fSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
2073d838582fSmrg    # Don't use installbsd from OSF since it installs stuff as root
2074d838582fSmrg    # by default.
2075d838582fSmrg    for ac_prog in ginstall scoinst install; do
2076d838582fSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
2077d838582fSmrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2078d838582fSmrg	  if test $ac_prog = install &&
2079d838582fSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2080d838582fSmrg	    # AIX install.  It has an incompatible calling convention.
2081d838582fSmrg	    :
2082d838582fSmrg	  elif test $ac_prog = install &&
2083d838582fSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2084d838582fSmrg	    # program-specific install script used by HP pwplus--don't use.
2085d838582fSmrg	    :
2086d838582fSmrg	  else
2087d466db85Smrg	    rm -rf conftest.one conftest.two conftest.dir
2088d466db85Smrg	    echo one > conftest.one
2089d466db85Smrg	    echo two > conftest.two
2090d466db85Smrg	    mkdir conftest.dir
2091d466db85Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2092d466db85Smrg	      test -s conftest.one && test -s conftest.two &&
2093d466db85Smrg	      test -s conftest.dir/conftest.one &&
2094d466db85Smrg	      test -s conftest.dir/conftest.two
2095d466db85Smrg	    then
2096d466db85Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2097d466db85Smrg	      break 3
2098d466db85Smrg	    fi
2099d838582fSmrg	  fi
2100d838582fSmrg	fi
2101d838582fSmrg      done
2102d838582fSmrg    done
2103d838582fSmrg    ;;
2104d838582fSmrgesac
2105d466db85Smrg
21061cca5e29Smrg  done
2107d838582fSmrgIFS=$as_save_IFS
2108d838582fSmrg
2109d466db85Smrgrm -rf conftest.one conftest.two conftest.dir
2110d838582fSmrg
2111d838582fSmrgfi
2112d838582fSmrg  if test "${ac_cv_path_install+set}" = set; then
2113d838582fSmrg    INSTALL=$ac_cv_path_install
2114d838582fSmrg  else
2115d838582fSmrg    # As a last resort, use the slow shell script.  Don't cache a
2116d838582fSmrg    # value for INSTALL within a source directory, because that will
2117d838582fSmrg    # break other packages using the cache if that directory is
2118d838582fSmrg    # removed, or if the value is a relative name.
2119d838582fSmrg    INSTALL=$ac_install_sh
2120d838582fSmrg  fi
2121d838582fSmrgfi
21221cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2123d466db85Smrg$as_echo "$INSTALL" >&6; }
2124d838582fSmrg
2125d838582fSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2126d838582fSmrg# It thinks the first close brace ends the variable substitution.
2127d838582fSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2128d838582fSmrg
2129d838582fSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2130d838582fSmrg
2131d838582fSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2132d838582fSmrg
21331cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2134d466db85Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
2135d838582fSmrg# Just in case
2136d838582fSmrgsleep 1
2137d838582fSmrgecho timestamp > conftest.file
2138d466db85Smrg# Reject unsafe characters in $srcdir or the absolute working directory
2139d466db85Smrg# name.  Accept space and tab only in the latter.
2140d466db85Smrgam_lf='
2141d466db85Smrg'
2142d466db85Smrgcase `pwd` in
2143d466db85Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
21441cca5e29Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2145d466db85Smrgesac
2146d466db85Smrgcase $srcdir in
2147d466db85Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
21481cca5e29Smrg    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2149d466db85Smrgesac
2150d466db85Smrg
2151d838582fSmrg# Do `set' in a subshell so we don't clobber the current shell's
2152d838582fSmrg# arguments.  Must try -L first in case configure is actually a
2153d838582fSmrg# symlink; some systems play weird games with the mod time of symlinks
2154d838582fSmrg# (eg FreeBSD returns the mod time of the symlink's containing
2155d838582fSmrg# directory).
2156d838582fSmrgif (
2157d466db85Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2158d838582fSmrg   if test "$*" = "X"; then
2159d838582fSmrg      # -L didn't work.
2160d466db85Smrg      set X `ls -t "$srcdir/configure" conftest.file`
2161d838582fSmrg   fi
2162d838582fSmrg   rm -f conftest.file
2163d838582fSmrg   if test "$*" != "X $srcdir/configure conftest.file" \
2164d838582fSmrg      && test "$*" != "X conftest.file $srcdir/configure"; then
2165d838582fSmrg
2166d838582fSmrg      # If neither matched, then we have a broken ls.  This can happen
2167d838582fSmrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
2168d838582fSmrg      # broken ls alias from the environment.  This has actually
2169d838582fSmrg      # happened.  Such a system could not be considered "sane".
21701cca5e29Smrg      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
21711cca5e29Smrgalias in your environment" "$LINENO" 5
2172d838582fSmrg   fi
2173d838582fSmrg
2174d838582fSmrg   test "$2" = conftest.file
2175d838582fSmrg   )
2176d838582fSmrgthen
2177d838582fSmrg   # Ok.
2178d838582fSmrg   :
2179d838582fSmrgelse
21801cca5e29Smrg   as_fn_error $? "newly created file is older than distributed files!
21811cca5e29SmrgCheck your system clock" "$LINENO" 5
2182d838582fSmrgfi
21831cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2184d466db85Smrg$as_echo "yes" >&6; }
2185d838582fSmrgtest "$program_prefix" != NONE &&
2186d838582fSmrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2187d838582fSmrg# Use a double $ so make ignores it.
2188d838582fSmrgtest "$program_suffix" != NONE &&
2189d838582fSmrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2190d466db85Smrg# Double any \ or $.
2191d838582fSmrg# By default was `s,x,x', remove it if useless.
2192d466db85Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2193d466db85Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2194d838582fSmrg
2195d838582fSmrg# expand $ac_aux_dir to an absolute path
2196d838582fSmrgam_aux_dir=`cd $ac_aux_dir && pwd`
2197d838582fSmrg
2198d466db85Smrgif test x"${MISSING+set}" != xset; then
2199d466db85Smrg  case $am_aux_dir in
2200d466db85Smrg  *\ * | *\	*)
2201d466db85Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2202d466db85Smrg  *)
2203d466db85Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2204d466db85Smrg  esac
2205d466db85Smrgfi
2206d838582fSmrg# Use eval to expand $SHELL
2207d838582fSmrgif eval "$MISSING --run true"; then
2208d838582fSmrg  am_missing_run="$MISSING --run "
2209d838582fSmrgelse
2210d838582fSmrg  am_missing_run=
22111cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2212d466db85Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2213d838582fSmrgfi
2214d838582fSmrg
2215d466db85Smrgif test x"${install_sh}" != xset; then
2216d466db85Smrg  case $am_aux_dir in
2217d466db85Smrg  *\ * | *\	*)
2218d466db85Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2219d466db85Smrg  *)
2220d466db85Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2221d466db85Smrg  esac
2222d466db85Smrgfi
2223d466db85Smrg
2224d466db85Smrg# Installed binaries are usually stripped using `strip' when the user
2225d466db85Smrg# run `make install-strip'.  However `strip' might not be the right
2226d466db85Smrg# tool to use in cross-compilation environments, therefore Automake
2227d466db85Smrg# will honor the `STRIP' environment variable to overrule this program.
2228d466db85Smrgif test "$cross_compiling" != no; then
2229d466db85Smrg  if test -n "$ac_tool_prefix"; then
2230d466db85Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2231d466db85Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
22321cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2233d466db85Smrg$as_echo_n "checking for $ac_word... " >&6; }
22341cca5e29Smrgif ${ac_cv_prog_STRIP+:} false; then :
2235d466db85Smrg  $as_echo_n "(cached) " >&6
2236d838582fSmrgelse
2237d466db85Smrg  if test -n "$STRIP"; then
2238d466db85Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2239d466db85Smrgelse
2240d466db85Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241d466db85Smrgfor as_dir in $PATH
2242d838582fSmrgdo
2243d838582fSmrg  IFS=$as_save_IFS
2244d838582fSmrg  test -z "$as_dir" && as_dir=.
22451cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2246d466db85Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2247d466db85Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
22481cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2249d466db85Smrg    break 2
2250d466db85Smrg  fi
2251d466db85Smrgdone
22521cca5e29Smrg  done
2253d838582fSmrgIFS=$as_save_IFS
2254d838582fSmrg
2255d838582fSmrgfi
2256d466db85Smrgfi
2257d466db85SmrgSTRIP=$ac_cv_prog_STRIP
2258d466db85Smrgif test -n "$STRIP"; then
22591cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2260d466db85Smrg$as_echo "$STRIP" >&6; }
2261d466db85Smrgelse
22621cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2263d466db85Smrg$as_echo "no" >&6; }
2264d466db85Smrgfi
2265d466db85Smrg
2266d466db85Smrg
2267d466db85Smrgfi
2268d466db85Smrgif test -z "$ac_cv_prog_STRIP"; then
2269d466db85Smrg  ac_ct_STRIP=$STRIP
2270d466db85Smrg  # Extract the first word of "strip", so it can be a program name with args.
2271d466db85Smrgset dummy strip; ac_word=$2
22721cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2273d466db85Smrg$as_echo_n "checking for $ac_word... " >&6; }
22741cca5e29Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2275d466db85Smrg  $as_echo_n "(cached) " >&6
2276d466db85Smrgelse
2277d466db85Smrg  if test -n "$ac_ct_STRIP"; then
2278d466db85Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2279d466db85Smrgelse
2280d466db85Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281d466db85Smrgfor as_dir in $PATH
2282d466db85Smrgdo
2283d466db85Smrg  IFS=$as_save_IFS
2284d466db85Smrg  test -z "$as_dir" && as_dir=.
22851cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2286d466db85Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2287d466db85Smrg    ac_cv_prog_ac_ct_STRIP="strip"
22881cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2289d466db85Smrg    break 2
2290d466db85Smrg  fi
2291d466db85Smrgdone
22921cca5e29Smrg  done
2293d466db85SmrgIFS=$as_save_IFS
2294d466db85Smrg
2295d466db85Smrgfi
2296d466db85Smrgfi
2297d466db85Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2298d466db85Smrgif test -n "$ac_ct_STRIP"; then
22991cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2300d466db85Smrg$as_echo "$ac_ct_STRIP" >&6; }
2301d466db85Smrgelse
23021cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2303d466db85Smrg$as_echo "no" >&6; }
2304d466db85Smrgfi
2305d466db85Smrg
2306d466db85Smrg  if test "x$ac_ct_STRIP" = x; then
2307d466db85Smrg    STRIP=":"
2308d466db85Smrg  else
2309d466db85Smrg    case $cross_compiling:$ac_tool_warned in
2310d466db85Smrgyes:)
23111cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2312d466db85Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2313d466db85Smrgac_tool_warned=yes ;;
2314d466db85Smrgesac
2315d466db85Smrg    STRIP=$ac_ct_STRIP
2316d466db85Smrg  fi
2317d466db85Smrgelse
2318d466db85Smrg  STRIP="$ac_cv_prog_STRIP"
2319d466db85Smrgfi
2320d466db85Smrg
2321d466db85Smrgfi
2322d466db85SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2323d466db85Smrg
23241cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2325d466db85Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2326d466db85Smrgif test -z "$MKDIR_P"; then
23271cca5e29Smrg  if ${ac_cv_path_mkdir+:} false; then :
2328d466db85Smrg  $as_echo_n "(cached) " >&6
2329d466db85Smrgelse
2330d466db85Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331d466db85Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2332d466db85Smrgdo
2333d466db85Smrg  IFS=$as_save_IFS
2334d466db85Smrg  test -z "$as_dir" && as_dir=.
23351cca5e29Smrg    for ac_prog in mkdir gmkdir; do
2336d466db85Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
2337d466db85Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2338d466db85Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2339d466db85Smrg	     'mkdir (GNU coreutils) '* | \
2340d466db85Smrg	     'mkdir (coreutils) '* | \
2341d466db85Smrg	     'mkdir (fileutils) '4.1*)
2342d466db85Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2343d466db85Smrg	       break 3;;
2344d466db85Smrg	   esac
2345d466db85Smrg	 done
2346d466db85Smrg       done
23471cca5e29Smrg  done
2348d466db85SmrgIFS=$as_save_IFS
2349d466db85Smrg
2350d466db85Smrgfi
2351d466db85Smrg
23521cca5e29Smrg  test -d ./--version && rmdir ./--version
2353d466db85Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
2354d466db85Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
2355d466db85Smrg  else
2356d838582fSmrg    # As a last resort, use the slow shell script.  Don't cache a
2357d838582fSmrg    # value for MKDIR_P within a source directory, because that will
2358d838582fSmrg    # break other packages using the cache if that directory is
2359d838582fSmrg    # removed, or if the value is a relative name.
2360d838582fSmrg    MKDIR_P="$ac_install_sh -d"
2361d838582fSmrg  fi
2362d838582fSmrgfi
23631cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2364d466db85Smrg$as_echo "$MKDIR_P" >&6; }
2365d838582fSmrg
2366d838582fSmrgmkdir_p="$MKDIR_P"
2367d838582fSmrgcase $mkdir_p in
2368d838582fSmrg  [\\/$]* | ?:[\\/]*) ;;
2369d838582fSmrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2370d838582fSmrgesac
2371d838582fSmrg
2372d838582fSmrgfor ac_prog in gawk mawk nawk awk
2373d838582fSmrgdo
2374d838582fSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2375d838582fSmrgset dummy $ac_prog; ac_word=$2
23761cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2377d466db85Smrg$as_echo_n "checking for $ac_word... " >&6; }
23781cca5e29Smrgif ${ac_cv_prog_AWK+:} false; then :
2379d466db85Smrg  $as_echo_n "(cached) " >&6
2380d838582fSmrgelse
2381d838582fSmrg  if test -n "$AWK"; then
2382d838582fSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2383d838582fSmrgelse
2384d838582fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385d838582fSmrgfor as_dir in $PATH
2386d838582fSmrgdo
2387d838582fSmrg  IFS=$as_save_IFS
2388d838582fSmrg  test -z "$as_dir" && as_dir=.
23891cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2390d838582fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2391d838582fSmrg    ac_cv_prog_AWK="$ac_prog"
23921cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2393d838582fSmrg    break 2
2394d838582fSmrg  fi
2395d838582fSmrgdone
23961cca5e29Smrg  done
2397d838582fSmrgIFS=$as_save_IFS
2398d838582fSmrg
2399d838582fSmrgfi
2400d838582fSmrgfi
2401d838582fSmrgAWK=$ac_cv_prog_AWK
2402d838582fSmrgif test -n "$AWK"; then
24031cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2404d466db85Smrg$as_echo "$AWK" >&6; }
2405d838582fSmrgelse
24061cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2407d466db85Smrg$as_echo "no" >&6; }
2408d838582fSmrgfi
2409d838582fSmrg
2410d838582fSmrg
2411d838582fSmrg  test -n "$AWK" && break
2412d838582fSmrgdone
2413d838582fSmrg
24141cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2415d466db85Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2416d466db85Smrgset x ${MAKE-make}
2417d466db85Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
24181cca5e29Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2419d466db85Smrg  $as_echo_n "(cached) " >&6
2420d838582fSmrgelse
2421d838582fSmrg  cat >conftest.make <<\_ACEOF
2422d838582fSmrgSHELL = /bin/sh
2423d838582fSmrgall:
2424d838582fSmrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2425d838582fSmrg_ACEOF
24261cca5e29Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2427d838582fSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2428d838582fSmrg  *@@@%%%=?*=@@@%%%*)
2429d838582fSmrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2430d838582fSmrg  *)
2431d838582fSmrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2432d838582fSmrgesac
2433d838582fSmrgrm -f conftest.make
2434d838582fSmrgfi
2435d838582fSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
24361cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2437d466db85Smrg$as_echo "yes" >&6; }
2438d838582fSmrg  SET_MAKE=
2439d838582fSmrgelse
24401cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2441d466db85Smrg$as_echo "no" >&6; }
2442d838582fSmrg  SET_MAKE="MAKE=${MAKE-make}"
2443d838582fSmrgfi
2444d838582fSmrg
2445d838582fSmrgrm -rf .tst 2>/dev/null
2446d838582fSmrgmkdir .tst 2>/dev/null
2447d838582fSmrgif test -d .tst; then
2448d838582fSmrg  am__leading_dot=.
2449d838582fSmrgelse
2450d838582fSmrg  am__leading_dot=_
2451d838582fSmrgfi
2452d838582fSmrgrmdir .tst 2>/dev/null
2453d838582fSmrg
2454d838582fSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2455d838582fSmrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2456d838582fSmrg  # is not polluted with repeated "-I."
2457d838582fSmrg  am__isrc=' -I$(srcdir)'
2458d838582fSmrg  # test to see if srcdir already configured
2459d838582fSmrg  if test -f $srcdir/config.status; then
24601cca5e29Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2461d838582fSmrg  fi
2462d838582fSmrgfi
2463d838582fSmrg
2464d838582fSmrg# test whether we have cygpath
2465d838582fSmrgif test -z "$CYGPATH_W"; then
2466d838582fSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2467d838582fSmrg    CYGPATH_W='cygpath -w'
2468d838582fSmrg  else
2469d838582fSmrg    CYGPATH_W=echo
2470d838582fSmrg  fi
2471d838582fSmrgfi
2472d838582fSmrg
2473d838582fSmrg
2474d838582fSmrg# Define the identity of the package.
2475d838582fSmrg PACKAGE='mkfontdir'
24761cca5e29Smrg VERSION='1.0.6'
2477d838582fSmrg
2478d838582fSmrg
2479d838582fSmrgcat >>confdefs.h <<_ACEOF
2480d838582fSmrg#define PACKAGE "$PACKAGE"
2481d838582fSmrg_ACEOF
2482d838582fSmrg
2483d838582fSmrg
2484d838582fSmrgcat >>confdefs.h <<_ACEOF
2485d838582fSmrg#define VERSION "$VERSION"
2486d838582fSmrg_ACEOF
2487d838582fSmrg
2488d838582fSmrg# Some tools Automake needs.
2489d838582fSmrg
2490d838582fSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2491d838582fSmrg
2492d838582fSmrg
2493d838582fSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2494d838582fSmrg
2495d838582fSmrg
2496d838582fSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2497d838582fSmrg
2498d838582fSmrg
2499d838582fSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2500d838582fSmrg
2501d838582fSmrg
2502d838582fSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2503d838582fSmrg
2504d466db85Smrg# We need awk for the "check" target.  The system "awk" is bad on
2505d466db85Smrg# some platforms.
2506d466db85Smrg# Always define AMTAR for backward compatibility.
2507d838582fSmrg
2508d466db85SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2509d466db85Smrg
2510d466db85Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2511d466db85Smrg
2512d466db85Smrg
2513d466db85Smrg
2514d466db85Smrg
2515d466db85Smrg
2516d466db85Smrg
25171cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2518d466db85Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2519d466db85Smrg    # Check whether --enable-maintainer-mode was given.
25201cca5e29Smrgif test "${enable_maintainer_mode+set}" = set; then :
2521d466db85Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2522d838582fSmrgelse
2523d466db85Smrg  USE_MAINTAINER_MODE=no
2524d466db85Smrgfi
2525d466db85Smrg
25261cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2527d466db85Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
2528d466db85Smrg   if test $USE_MAINTAINER_MODE = yes; then
2529d466db85Smrg  MAINTAINER_MODE_TRUE=
2530d466db85Smrg  MAINTAINER_MODE_FALSE='#'
2531d466db85Smrgelse
2532d466db85Smrg  MAINTAINER_MODE_TRUE='#'
2533d466db85Smrg  MAINTAINER_MODE_FALSE=
2534d466db85Smrgfi
2535d466db85Smrg
2536d466db85Smrg  MAINT=$MAINTAINER_MODE_TRUE
2537d466db85Smrg
2538d466db85Smrg
2539d466db85Smrg
25401cca5e29Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2541d466db85Smrg
2542d466db85Smrg
2543d466db85Smrg
2544d466db85Smrg
2545d466db85Smrg
2546d466db85Smrg
2547d466db85Smrg
2548d466db85Smrg
2549d466db85Smrg
2550d466db85Smrg
2551d466db85Smrg
2552d466db85SmrgDEPDIR="${am__leading_dot}deps"
2553d466db85Smrg
2554d466db85Smrgac_config_commands="$ac_config_commands depfiles"
2555d466db85Smrg
2556d466db85Smrg
2557d466db85Smrgam_make=${MAKE-make}
2558d466db85Smrgcat > confinc << 'END'
2559d466db85Smrgam__doit:
2560d466db85Smrg	@echo this is the am__doit target
2561d466db85Smrg.PHONY: am__doit
2562d466db85SmrgEND
2563d466db85Smrg# If we don't find an include directive, just comment out the code.
25641cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2565d466db85Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
2566d466db85Smrgam__include="#"
2567d466db85Smrgam__quote=
2568d466db85Smrg_am_result=none
2569d466db85Smrg# First try GNU make style include.
2570d466db85Smrgecho "include confinc" > confmf
2571d466db85Smrg# Ignore all kinds of additional output from `make'.
2572d466db85Smrgcase `$am_make -s -f confmf 2> /dev/null` in #(
2573d466db85Smrg*the\ am__doit\ target*)
2574d466db85Smrg  am__include=include
2575d466db85Smrg  am__quote=
2576d466db85Smrg  _am_result=GNU
2577d466db85Smrg  ;;
2578d466db85Smrgesac
2579d466db85Smrg# Now try BSD make style include.
2580d466db85Smrgif test "$am__include" = "#"; then
2581d466db85Smrg   echo '.include "confinc"' > confmf
2582d466db85Smrg   case `$am_make -s -f confmf 2> /dev/null` in #(
2583d466db85Smrg   *the\ am__doit\ target*)
2584d466db85Smrg     am__include=.include
2585d466db85Smrg     am__quote="\""
2586d466db85Smrg     _am_result=BSD
2587d466db85Smrg     ;;
2588d466db85Smrg   esac
2589d466db85Smrgfi
2590d466db85Smrg
2591d466db85Smrg
25921cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2593d466db85Smrg$as_echo "$_am_result" >&6; }
2594d466db85Smrgrm -f confinc confmf
2595d466db85Smrg
2596d466db85Smrg# Check whether --enable-dependency-tracking was given.
25971cca5e29Smrgif test "${enable_dependency_tracking+set}" = set; then :
2598d466db85Smrg  enableval=$enable_dependency_tracking;
2599d466db85Smrgfi
2600d466db85Smrg
2601d466db85Smrgif test "x$enable_dependency_tracking" != xno; then
2602d466db85Smrg  am_depcomp="$ac_aux_dir/depcomp"
2603d466db85Smrg  AMDEPBACKSLASH='\'
2604d466db85Smrgfi
2605d466db85Smrg if test "x$enable_dependency_tracking" != xno; then
2606d466db85Smrg  AMDEP_TRUE=
2607d466db85Smrg  AMDEP_FALSE='#'
2608d466db85Smrgelse
2609d466db85Smrg  AMDEP_TRUE='#'
2610d466db85Smrg  AMDEP_FALSE=
2611d466db85Smrgfi
2612d466db85Smrg
2613d466db85Smrg
2614d466db85Smrgac_ext=c
2615d466db85Smrgac_cpp='$CPP $CPPFLAGS'
2616d466db85Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617d466db85Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618d466db85Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2619d466db85Smrgif test -n "$ac_tool_prefix"; then
2620d466db85Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2621d466db85Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
26221cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623d466db85Smrg$as_echo_n "checking for $ac_word... " >&6; }
26241cca5e29Smrgif ${ac_cv_prog_CC+:} false; then :
2625d466db85Smrg  $as_echo_n "(cached) " >&6
2626d466db85Smrgelse
2627d466db85Smrg  if test -n "$CC"; then
2628d466db85Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2629d838582fSmrgelse
2630d838582fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631d838582fSmrgfor as_dir in $PATH
2632d838582fSmrgdo
2633d838582fSmrg  IFS=$as_save_IFS
2634d838582fSmrg  test -z "$as_dir" && as_dir=.
26351cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2636d838582fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637d466db85Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
26381cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639d838582fSmrg    break 2
2640d838582fSmrg  fi
2641d838582fSmrgdone
26421cca5e29Smrg  done
2643d838582fSmrgIFS=$as_save_IFS
2644d838582fSmrg
2645d838582fSmrgfi
2646d838582fSmrgfi
2647d466db85SmrgCC=$ac_cv_prog_CC
2648d466db85Smrgif test -n "$CC"; then
26491cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2650d466db85Smrg$as_echo "$CC" >&6; }
2651d838582fSmrgelse
26521cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653d466db85Smrg$as_echo "no" >&6; }
2654d838582fSmrgfi
2655d838582fSmrg
2656d838582fSmrg
2657d838582fSmrgfi
2658d466db85Smrgif test -z "$ac_cv_prog_CC"; then
2659d466db85Smrg  ac_ct_CC=$CC
2660d466db85Smrg  # Extract the first word of "gcc", so it can be a program name with args.
2661d466db85Smrgset dummy gcc; ac_word=$2
26621cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663d466db85Smrg$as_echo_n "checking for $ac_word... " >&6; }
26641cca5e29Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2665d466db85Smrg  $as_echo_n "(cached) " >&6
2666d838582fSmrgelse
2667d466db85Smrg  if test -n "$ac_ct_CC"; then
2668d466db85Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2669d838582fSmrgelse
2670d838582fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671d838582fSmrgfor as_dir in $PATH
2672d838582fSmrgdo
2673d838582fSmrg  IFS=$as_save_IFS
2674d838582fSmrg  test -z "$as_dir" && as_dir=.
26751cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2676d838582fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677d466db85Smrg    ac_cv_prog_ac_ct_CC="gcc"
26781cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679d838582fSmrg    break 2
2680d838582fSmrg  fi
2681d838582fSmrgdone
26821cca5e29Smrg  done
2683d838582fSmrgIFS=$as_save_IFS
2684d838582fSmrg
2685d838582fSmrgfi
2686d838582fSmrgfi
2687d466db85Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2688d466db85Smrgif test -n "$ac_ct_CC"; then
26891cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2690d466db85Smrg$as_echo "$ac_ct_CC" >&6; }
2691d838582fSmrgelse
26921cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693d466db85Smrg$as_echo "no" >&6; }
2694d838582fSmrgfi
2695d838582fSmrg
2696d466db85Smrg  if test "x$ac_ct_CC" = x; then
2697d466db85Smrg    CC=""
2698d838582fSmrg  else
2699d838582fSmrg    case $cross_compiling:$ac_tool_warned in
2700d838582fSmrgyes:)
27011cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2702d466db85Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2703d838582fSmrgac_tool_warned=yes ;;
2704d838582fSmrgesac
2705d466db85Smrg    CC=$ac_ct_CC
2706d838582fSmrg  fi
2707d838582fSmrgelse
2708d466db85Smrg  CC="$ac_cv_prog_CC"
2709d838582fSmrgfi
2710d838582fSmrg
2711d466db85Smrgif test -z "$CC"; then
2712d466db85Smrg          if test -n "$ac_tool_prefix"; then
2713d466db85Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2714d466db85Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
27151cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2716d466db85Smrg$as_echo_n "checking for $ac_word... " >&6; }
27171cca5e29Smrgif ${ac_cv_prog_CC+:} false; then :
2718d466db85Smrg  $as_echo_n "(cached) " >&6
2719d466db85Smrgelse
2720d466db85Smrg  if test -n "$CC"; then
2721d466db85Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2722d466db85Smrgelse
2723d466db85Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2724d466db85Smrgfor as_dir in $PATH
2725d466db85Smrgdo
2726d466db85Smrg  IFS=$as_save_IFS
2727d466db85Smrg  test -z "$as_dir" && as_dir=.
27281cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2729d466db85Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2730d466db85Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
27311cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732d466db85Smrg    break 2
2733d466db85Smrg  fi
2734d466db85Smrgdone
27351cca5e29Smrg  done
2736d466db85SmrgIFS=$as_save_IFS
2737d838582fSmrg
2738d466db85Smrgfi
2739d466db85Smrgfi
2740d466db85SmrgCC=$ac_cv_prog_CC
2741d466db85Smrgif test -n "$CC"; then
27421cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2743d466db85Smrg$as_echo "$CC" >&6; }
2744d466db85Smrgelse
27451cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746d466db85Smrg$as_echo "no" >&6; }
2747d466db85Smrgfi
2748d838582fSmrg
2749d838582fSmrg
2750d466db85Smrg  fi
2751d466db85Smrgfi
2752d466db85Smrgif test -z "$CC"; then
2753d466db85Smrg  # Extract the first word of "cc", so it can be a program name with args.
2754d466db85Smrgset dummy cc; ac_word=$2
27551cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2756d466db85Smrg$as_echo_n "checking for $ac_word... " >&6; }
27571cca5e29Smrgif ${ac_cv_prog_CC+:} false; then :
2758d466db85Smrg  $as_echo_n "(cached) " >&6
2759d466db85Smrgelse
2760d466db85Smrg  if test -n "$CC"; then
2761d466db85Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2762d466db85Smrgelse
2763d466db85Smrg  ac_prog_rejected=no
2764d466db85Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2765d466db85Smrgfor as_dir in $PATH
2766d466db85Smrgdo
2767d466db85Smrg  IFS=$as_save_IFS
2768d466db85Smrg  test -z "$as_dir" && as_dir=.
27691cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2770d466db85Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771d466db85Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2772d466db85Smrg       ac_prog_rejected=yes
2773d466db85Smrg       continue
2774d466db85Smrg     fi
2775d466db85Smrg    ac_cv_prog_CC="cc"
27761cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777d466db85Smrg    break 2
2778d466db85Smrg  fi
2779d466db85Smrgdone
27801cca5e29Smrg  done
2781d466db85SmrgIFS=$as_save_IFS
2782d838582fSmrg
2783d466db85Smrgif test $ac_prog_rejected = yes; then
2784d466db85Smrg  # We found a bogon in the path, so make sure we never use it.
2785d466db85Smrg  set dummy $ac_cv_prog_CC
2786d466db85Smrg  shift
2787d466db85Smrg  if test $# != 0; then
2788d466db85Smrg    # We chose a different compiler from the bogus one.
2789d466db85Smrg    # However, it has the same basename, so the bogon will be chosen
2790d466db85Smrg    # first if we set CC to just the basename; use the full file name.
2791d466db85Smrg    shift
2792d466db85Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2793d466db85Smrg  fi
2794d466db85Smrgfi
2795d466db85Smrgfi
2796d466db85Smrgfi
2797d466db85SmrgCC=$ac_cv_prog_CC
2798d466db85Smrgif test -n "$CC"; then
27991cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2800d466db85Smrg$as_echo "$CC" >&6; }
2801d466db85Smrgelse
28021cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803d466db85Smrg$as_echo "no" >&6; }
2804d466db85Smrgfi
2805d838582fSmrg
2806d838582fSmrg
2807d838582fSmrgfi
2808d466db85Smrgif test -z "$CC"; then
2809d466db85Smrg  if test -n "$ac_tool_prefix"; then
2810d466db85Smrg  for ac_prog in cl.exe
2811d466db85Smrg  do
2812d466db85Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2813d466db85Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
28141cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2815d466db85Smrg$as_echo_n "checking for $ac_word... " >&6; }
28161cca5e29Smrgif ${ac_cv_prog_CC+:} false; then :
2817d466db85Smrg  $as_echo_n "(cached) " >&6
2818d466db85Smrgelse
2819d466db85Smrg  if test -n "$CC"; then
2820d466db85Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2821d466db85Smrgelse
2822d466db85Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823d466db85Smrgfor as_dir in $PATH
2824d466db85Smrgdo
2825d466db85Smrg  IFS=$as_save_IFS
2826d466db85Smrg  test -z "$as_dir" && as_dir=.
28271cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2828d466db85Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2829d466db85Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
28301cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831d466db85Smrg    break 2
2832d466db85Smrg  fi
2833d466db85Smrgdone
28341cca5e29Smrg  done
2835d466db85SmrgIFS=$as_save_IFS
2836d838582fSmrg
2837d466db85Smrgfi
2838d466db85Smrgfi
2839d466db85SmrgCC=$ac_cv_prog_CC
2840d466db85Smrgif test -n "$CC"; then
28411cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2842d466db85Smrg$as_echo "$CC" >&6; }
2843d838582fSmrgelse
28441cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845d466db85Smrg$as_echo "no" >&6; }
2846d838582fSmrgfi
2847d838582fSmrg
2848d838582fSmrg
2849d466db85Smrg    test -n "$CC" && break
2850d466db85Smrg  done
2851d466db85Smrgfi
2852d466db85Smrgif test -z "$CC"; then
2853d466db85Smrg  ac_ct_CC=$CC
2854d466db85Smrg  for ac_prog in cl.exe
2855d466db85Smrgdo
2856d466db85Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2857d466db85Smrgset dummy $ac_prog; ac_word=$2
28581cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2859d466db85Smrg$as_echo_n "checking for $ac_word... " >&6; }
28601cca5e29Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2861d466db85Smrg  $as_echo_n "(cached) " >&6
2862d838582fSmrgelse
2863d466db85Smrg  if test -n "$ac_ct_CC"; then
2864d466db85Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2865d466db85Smrgelse
2866d466db85Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867d838582fSmrgfor as_dir in $PATH
2868d838582fSmrgdo
2869d838582fSmrg  IFS=$as_save_IFS
2870d838582fSmrg  test -z "$as_dir" && as_dir=.
28711cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2872d466db85Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2873d466db85Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
28741cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875d466db85Smrg    break 2
2876d466db85Smrg  fi
2877d466db85Smrgdone
28781cca5e29Smrg  done
2879d466db85SmrgIFS=$as_save_IFS
2880d466db85Smrg
2881d466db85Smrgfi
2882d466db85Smrgfi
2883d466db85Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2884d466db85Smrgif test -n "$ac_ct_CC"; then
28851cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2886d466db85Smrg$as_echo "$ac_ct_CC" >&6; }
2887d466db85Smrgelse
28881cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889d466db85Smrg$as_echo "no" >&6; }
2890d466db85Smrgfi
2891d466db85Smrg
2892d466db85Smrg
2893d466db85Smrg  test -n "$ac_ct_CC" && break
2894d466db85Smrgdone
2895d466db85Smrg
2896d466db85Smrg  if test "x$ac_ct_CC" = x; then
2897d466db85Smrg    CC=""
2898d466db85Smrg  else
2899d466db85Smrg    case $cross_compiling:$ac_tool_warned in
2900d466db85Smrgyes:)
29011cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2902d466db85Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2903d466db85Smrgac_tool_warned=yes ;;
2904d466db85Smrgesac
2905d466db85Smrg    CC=$ac_ct_CC
2906d466db85Smrg  fi
2907d466db85Smrgfi
2908d466db85Smrg
2909d466db85Smrgfi
2910d466db85Smrg
2911d466db85Smrg
29121cca5e29Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2913d466db85Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29141cca5e29Smrgas_fn_error $? "no acceptable C compiler found in \$PATH
29151cca5e29SmrgSee \`config.log' for more details" "$LINENO" 5; }
2916d466db85Smrg
2917d466db85Smrg# Provide some information about the compiler.
29181cca5e29Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2919d466db85Smrgset X $ac_compile
2920d466db85Smrgac_compiler=$2
29211cca5e29Smrgfor ac_option in --version -v -V -qversion; do
29221cca5e29Smrg  { { ac_try="$ac_compiler $ac_option >&5"
2923d466db85Smrgcase "(($ac_try" in
2924d466db85Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925d466db85Smrg  *) ac_try_echo=$ac_try;;
2926d466db85Smrgesac
29271cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
29281cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
29291cca5e29Smrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2930d466db85Smrg  ac_status=$?
29311cca5e29Smrg  if test -s conftest.err; then
29321cca5e29Smrg    sed '10a\
29331cca5e29Smrg... rest of stderr output deleted ...
29341cca5e29Smrg         10q' conftest.err >conftest.er1
29351cca5e29Smrg    cat conftest.er1 >&5
29361cca5e29Smrg  fi
29371cca5e29Smrg  rm -f conftest.er1 conftest.err
29381cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29391cca5e29Smrg  test $ac_status = 0; }
29401cca5e29Smrgdone
2941d466db85Smrg
29421cca5e29Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943d466db85Smrg/* end confdefs.h.  */
2944d466db85Smrg
2945d466db85Smrgint
2946d466db85Smrgmain ()
2947d466db85Smrg{
2948d466db85Smrg
2949d466db85Smrg  ;
2950d466db85Smrg  return 0;
2951d466db85Smrg}
2952d466db85Smrg_ACEOF
2953d466db85Smrgac_clean_files_save=$ac_clean_files
2954d466db85Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2955d466db85Smrg# Try to create an executable without -o first, disregard a.out.
2956d466db85Smrg# It will help us diagnose broken compilers, and finding out an intuition
2957d466db85Smrg# of exeext.
29581cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
29591cca5e29Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
2960d466db85Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2961d466db85Smrg
2962d466db85Smrg# The possible output files:
2963d466db85Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2964d466db85Smrg
2965d466db85Smrgac_rmfiles=
2966d466db85Smrgfor ac_file in $ac_files
2967d466db85Smrgdo
2968d466db85Smrg  case $ac_file in
2969d466db85Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2970d466db85Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2971d466db85Smrg  esac
2972d466db85Smrgdone
2973d466db85Smrgrm -f $ac_rmfiles
2974d466db85Smrg
29751cca5e29Smrgif { { ac_try="$ac_link_default"
2976d466db85Smrgcase "(($ac_try" in
2977d466db85Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978d466db85Smrg  *) ac_try_echo=$ac_try;;
2979d466db85Smrgesac
29801cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
29811cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
2982d466db85Smrg  (eval "$ac_link_default") 2>&5
2983d466db85Smrg  ac_status=$?
29841cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29851cca5e29Smrg  test $ac_status = 0; }; then :
2986d466db85Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2987d466db85Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2988d466db85Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2989d466db85Smrg# so that the user can short-circuit this test for compilers unknown to
2990d466db85Smrg# Autoconf.
2991d466db85Smrgfor ac_file in $ac_files ''
2992d466db85Smrgdo
2993d466db85Smrg  test -f "$ac_file" || continue
2994d466db85Smrg  case $ac_file in
2995d466db85Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2996d466db85Smrg	;;
2997d466db85Smrg    [ab].out )
2998d466db85Smrg	# We found the default executable, but exeext='' is most
2999d466db85Smrg	# certainly right.
3000d466db85Smrg	break;;
3001d466db85Smrg    *.* )
30021cca5e29Smrg	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3003d466db85Smrg	then :; else
3004d466db85Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3005d838582fSmrg	fi
3006d466db85Smrg	# We set ac_cv_exeext here because the later test for it is not
3007d466db85Smrg	# safe: cross compilers may not add the suffix if given an `-o'
3008d466db85Smrg	# argument, so we may need to know it at that point already.
3009d466db85Smrg	# Even if this section looks crufty: it has the advantage of
3010d466db85Smrg	# actually working.
3011d466db85Smrg	break;;
3012d466db85Smrg    * )
3013d466db85Smrg	break;;
3014d466db85Smrg  esac
3015d466db85Smrgdone
3016d466db85Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
3017d466db85Smrg
3018d466db85Smrgelse
3019d466db85Smrg  ac_file=''
3020d466db85Smrgfi
30211cca5e29Smrgif test -z "$ac_file"; then :
30221cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30231cca5e29Smrg$as_echo "no" >&6; }
30241cca5e29Smrg$as_echo "$as_me: failed program was:" >&5
3025d466db85Smrgsed 's/^/| /' conftest.$ac_ext >&5
3026d466db85Smrg
30271cca5e29Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3028d466db85Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30291cca5e29Smrgas_fn_error 77 "C compiler cannot create executables
30301cca5e29SmrgSee \`config.log' for more details" "$LINENO" 5; }
30311cca5e29Smrgelse
30321cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30331cca5e29Smrg$as_echo "yes" >&6; }
3034d466db85Smrgfi
30351cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
30361cca5e29Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
30371cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
30381cca5e29Smrg$as_echo "$ac_file" >&6; }
3039d466db85Smrgac_exeext=$ac_cv_exeext
3040d466db85Smrg
3041d466db85Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3042d466db85Smrgac_clean_files=$ac_clean_files_save
30431cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3044d466db85Smrg$as_echo_n "checking for suffix of executables... " >&6; }
30451cca5e29Smrgif { { ac_try="$ac_link"
3046d466db85Smrgcase "(($ac_try" in
3047d466db85Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048d466db85Smrg  *) ac_try_echo=$ac_try;;
3049d466db85Smrgesac
30501cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
30511cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
3052d466db85Smrg  (eval "$ac_link") 2>&5
3053d466db85Smrg  ac_status=$?
30541cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30551cca5e29Smrg  test $ac_status = 0; }; then :
3056d466db85Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3057d466db85Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3058d466db85Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
3059d466db85Smrg# `rm'.
3060d466db85Smrgfor ac_file in conftest.exe conftest conftest.*; do
3061d466db85Smrg  test -f "$ac_file" || continue
3062d466db85Smrg  case $ac_file in
3063d466db85Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3064d466db85Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3065d466db85Smrg	  break;;
3066d466db85Smrg    * ) break;;
3067d466db85Smrg  esac
3068d466db85Smrgdone
3069d466db85Smrgelse
30701cca5e29Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3071d466db85Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30721cca5e29Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link
30731cca5e29SmrgSee \`config.log' for more details" "$LINENO" 5; }
3074d466db85Smrgfi
30751cca5e29Smrgrm -f conftest conftest$ac_cv_exeext
30761cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3077d466db85Smrg$as_echo "$ac_cv_exeext" >&6; }
3078d466db85Smrg
3079d466db85Smrgrm -f conftest.$ac_ext
3080d466db85SmrgEXEEXT=$ac_cv_exeext
3081d466db85Smrgac_exeext=$EXEEXT
30821cca5e29Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3083d466db85Smrg/* end confdefs.h.  */
30841cca5e29Smrg#include <stdio.h>
3085d466db85Smrgint
3086d466db85Smrgmain ()
3087d466db85Smrg{
30881cca5e29SmrgFILE *f = fopen ("conftest.out", "w");
30891cca5e29Smrg return ferror (f) || fclose (f) != 0;
3090d466db85Smrg
3091d466db85Smrg  ;
3092d466db85Smrg  return 0;
3093d466db85Smrg}
3094d466db85Smrg_ACEOF
30951cca5e29Smrgac_clean_files="$ac_clean_files conftest.out"
30961cca5e29Smrg# Check that the compiler produces executables we can run.  If not, either
30971cca5e29Smrg# the compiler is broken, or we cross compile.
30981cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
30991cca5e29Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
31001cca5e29Smrgif test "$cross_compiling" != yes; then
31011cca5e29Smrg  { { ac_try="$ac_link"
3102d466db85Smrgcase "(($ac_try" in
3103d466db85Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104d466db85Smrg  *) ac_try_echo=$ac_try;;
3105d466db85Smrgesac
31061cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31071cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
31081cca5e29Smrg  (eval "$ac_link") 2>&5
3109d466db85Smrg  ac_status=$?
31101cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31111cca5e29Smrg  test $ac_status = 0; }
31121cca5e29Smrg  if { ac_try='./conftest$ac_cv_exeext'
31131cca5e29Smrg  { { case "(($ac_try" in
31141cca5e29Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31151cca5e29Smrg  *) ac_try_echo=$ac_try;;
31161cca5e29Smrgesac
31171cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31181cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
31191cca5e29Smrg  (eval "$ac_try") 2>&5
31201cca5e29Smrg  ac_status=$?
31211cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31221cca5e29Smrg  test $ac_status = 0; }; }; then
31231cca5e29Smrg    cross_compiling=no
31241cca5e29Smrg  else
31251cca5e29Smrg    if test "$cross_compiling" = maybe; then
31261cca5e29Smrg	cross_compiling=yes
31271cca5e29Smrg    else
31281cca5e29Smrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129d466db85Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31301cca5e29Smrgas_fn_error $? "cannot run C compiled programs.
31311cca5e29SmrgIf you meant to cross compile, use \`--host'.
31321cca5e29SmrgSee \`config.log' for more details" "$LINENO" 5; }
31331cca5e29Smrg    fi
31341cca5e29Smrg  fi
3135d466db85Smrgfi
31361cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
31371cca5e29Smrg$as_echo "$cross_compiling" >&6; }
31381cca5e29Smrg
31391cca5e29Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
31401cca5e29Smrgac_clean_files=$ac_clean_files_save
31411cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
31421cca5e29Smrg$as_echo_n "checking for suffix of object files... " >&6; }
31431cca5e29Smrgif ${ac_cv_objext+:} false; then :
31441cca5e29Smrg  $as_echo_n "(cached) " >&6
31451cca5e29Smrgelse
31461cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31471cca5e29Smrg/* end confdefs.h.  */
31481cca5e29Smrg
31491cca5e29Smrgint
31501cca5e29Smrgmain ()
31511cca5e29Smrg{
31521cca5e29Smrg
31531cca5e29Smrg  ;
31541cca5e29Smrg  return 0;
31551cca5e29Smrg}
31561cca5e29Smrg_ACEOF
31571cca5e29Smrgrm -f conftest.o conftest.obj
31581cca5e29Smrgif { { ac_try="$ac_compile"
31591cca5e29Smrgcase "(($ac_try" in
31601cca5e29Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31611cca5e29Smrg  *) ac_try_echo=$ac_try;;
31621cca5e29Smrgesac
31631cca5e29Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31641cca5e29Smrg$as_echo "$ac_try_echo"; } >&5
31651cca5e29Smrg  (eval "$ac_compile") 2>&5
31661cca5e29Smrg  ac_status=$?
31671cca5e29Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31681cca5e29Smrg  test $ac_status = 0; }; then :
31691cca5e29Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
31701cca5e29Smrg  test -f "$ac_file" || continue;
31711cca5e29Smrg  case $ac_file in
31721cca5e29Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
31731cca5e29Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
31741cca5e29Smrg       break;;
31751cca5e29Smrg  esac
31761cca5e29Smrgdone
31771cca5e29Smrgelse
31781cca5e29Smrg  $as_echo "$as_me: failed program was:" >&5
31791cca5e29Smrgsed 's/^/| /' conftest.$ac_ext >&5
3180d466db85Smrg
31811cca5e29Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31821cca5e29Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31831cca5e29Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile
31841cca5e29SmrgSee \`config.log' for more details" "$LINENO" 5; }
31851cca5e29Smrgfi
3186d466db85Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
3187d466db85Smrgfi
31881cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3189d466db85Smrg$as_echo "$ac_cv_objext" >&6; }
3190d466db85SmrgOBJEXT=$ac_cv_objext
3191d466db85Smrgac_objext=$OBJEXT
31921cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3193d466db85Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
31941cca5e29Smrgif ${ac_cv_c_compiler_gnu+:} false; then :
3195d466db85Smrg  $as_echo_n "(cached) " >&6
3196d466db85Smrgelse
31971cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198d466db85Smrg/* end confdefs.h.  */
3199d466db85Smrg
3200d466db85Smrgint
3201d466db85Smrgmain ()
3202d466db85Smrg{
3203d466db85Smrg#ifndef __GNUC__
3204d466db85Smrg       choke me
3205d466db85Smrg#endif
3206d466db85Smrg
3207d466db85Smrg  ;
3208d466db85Smrg  return 0;
3209d466db85Smrg}
3210d466db85Smrg_ACEOF
32111cca5e29Smrgif ac_fn_c_try_compile "$LINENO"; then :
3212d466db85Smrg  ac_compiler_gnu=yes
3213d466db85Smrgelse
32141cca5e29Smrg  ac_compiler_gnu=no
3215d466db85Smrgfi
3216d466db85Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3217d466db85Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
3218d466db85Smrg
3219d466db85Smrgfi
32201cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3221d466db85Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3222d466db85Smrgif test $ac_compiler_gnu = yes; then
3223d466db85Smrg  GCC=yes
3224d466db85Smrgelse
3225d466db85Smrg  GCC=
3226d466db85Smrgfi
3227d466db85Smrgac_test_CFLAGS=${CFLAGS+set}
3228d466db85Smrgac_save_CFLAGS=$CFLAGS
32291cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3230d466db85Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
32311cca5e29Smrgif ${ac_cv_prog_cc_g+:} false; then :
3232d466db85Smrg  $as_echo_n "(cached) " >&6
3233d466db85Smrgelse
3234d466db85Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
3235d466db85Smrg   ac_c_werror_flag=yes
3236d466db85Smrg   ac_cv_prog_cc_g=no
3237d466db85Smrg   CFLAGS="-g"
32381cca5e29Smrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239d466db85Smrg/* end confdefs.h.  */
3240d466db85Smrg
3241d466db85Smrgint
3242d466db85Smrgmain ()
3243d466db85Smrg{
3244d466db85Smrg
3245d466db85Smrg  ;
3246d466db85Smrg  return 0;
3247d466db85Smrg}
3248d466db85Smrg_ACEOF
32491cca5e29Smrgif ac_fn_c_try_compile "$LINENO"; then :
3250d466db85Smrg  ac_cv_prog_cc_g=yes
3251d466db85Smrgelse
32521cca5e29Smrg  CFLAGS=""
32531cca5e29Smrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254d466db85Smrg/* end confdefs.h.  */
3255d466db85Smrg
3256d466db85Smrgint
3257d466db85Smrgmain ()
3258d466db85Smrg{
3259d466db85Smrg
3260d466db85Smrg  ;
3261d466db85Smrg  return 0;
3262d466db85Smrg}
3263d466db85Smrg_ACEOF
32641cca5e29Smrgif ac_fn_c_try_compile "$LINENO"; then :
3265d466db85Smrg
32661cca5e29Smrgelse
32671cca5e29Smrg  ac_c_werror_flag=$ac_save_c_werror_flag
3268d466db85Smrg	 CFLAGS="-g"
32691cca5e29Smrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270d466db85Smrg/* end confdefs.h.  */
3271d466db85Smrg
3272d466db85Smrgint
3273d466db85Smrgmain ()
3274d466db85Smrg{
3275d466db85Smrg
3276d466db85Smrg  ;
3277d466db85Smrg  return 0;
3278d466db85Smrg}
3279d466db85Smrg_ACEOF
32801cca5e29Smrgif ac_fn_c_try_compile "$LINENO"; then :
3281d466db85Smrg  ac_cv_prog_cc_g=yes
3282d466db85Smrgfi
3283d466db85Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284d466db85Smrgfi
3285d466db85Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286d466db85Smrgfi
3287d466db85Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288d466db85Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
3289d466db85Smrgfi
32901cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3291d466db85Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
3292d466db85Smrgif test "$ac_test_CFLAGS" = set; then
3293d466db85Smrg  CFLAGS=$ac_save_CFLAGS
3294d466db85Smrgelif test $ac_cv_prog_cc_g = yes; then
3295d466db85Smrg  if test "$GCC" = yes; then
3296d466db85Smrg    CFLAGS="-g -O2"
3297d466db85Smrg  else
3298d466db85Smrg    CFLAGS="-g"
3299d466db85Smrg  fi
3300d466db85Smrgelse
3301d466db85Smrg  if test "$GCC" = yes; then
3302d466db85Smrg    CFLAGS="-O2"
3303d466db85Smrg  else
3304d466db85Smrg    CFLAGS=
3305d466db85Smrg  fi
3306d466db85Smrgfi
33071cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3308d466db85Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
33091cca5e29Smrgif ${ac_cv_prog_cc_c89+:} false; then :
3310d466db85Smrg  $as_echo_n "(cached) " >&6
3311d466db85Smrgelse
3312d466db85Smrg  ac_cv_prog_cc_c89=no
3313d466db85Smrgac_save_CC=$CC
33141cca5e29Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315d466db85Smrg/* end confdefs.h.  */
3316d466db85Smrg#include <stdarg.h>
3317d466db85Smrg#include <stdio.h>
3318d466db85Smrg#include <sys/types.h>
3319d466db85Smrg#include <sys/stat.h>
3320d466db85Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3321d466db85Smrgstruct buf { int x; };
3322d466db85SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
3323d466db85Smrgstatic char *e (p, i)
3324d466db85Smrg     char **p;
3325d466db85Smrg     int i;
3326d466db85Smrg{
3327d466db85Smrg  return p[i];
3328d466db85Smrg}
3329d466db85Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
3330d466db85Smrg{
3331d466db85Smrg  char *s;
3332d466db85Smrg  va_list v;
3333d466db85Smrg  va_start (v,p);
3334d466db85Smrg  s = g (p, va_arg (v,int));
3335d466db85Smrg  va_end (v);
3336d466db85Smrg  return s;
3337d466db85Smrg}
3338d466db85Smrg
3339d466db85Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3340d466db85Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
3341d466db85Smrg   These don't provoke an error unfortunately, instead are silently treated
3342d466db85Smrg   as 'x'.  The following induces an error, until -std is added to get
3343d466db85Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3344d466db85Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
3345d466db85Smrg   that's true only with -std.  */
3346d466db85Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
3347d466db85Smrg
3348d466db85Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3349d466db85Smrg   inside strings and character constants.  */
3350d466db85Smrg#define FOO(x) 'x'
3351d466db85Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3352d466db85Smrg
3353d466db85Smrgint test (int i, double x);
3354d466db85Smrgstruct s1 {int (*f) (int a);};
3355d466db85Smrgstruct s2 {int (*f) (double a);};
3356d466db85Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3357d466db85Smrgint argc;
3358d466db85Smrgchar **argv;
3359d466db85Smrgint
3360d466db85Smrgmain ()
3361d466db85Smrg{
3362d466db85Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3363d466db85Smrg  ;
3364d466db85Smrg  return 0;
3365d466db85Smrg}
3366d466db85Smrg_ACEOF
3367d466db85Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3368d466db85Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3369d466db85Smrgdo
3370d466db85Smrg  CC="$ac_save_CC $ac_arg"
33711cca5e29Smrg  if ac_fn_c_try_compile "$LINENO"; then :
3372d466db85Smrg  ac_cv_prog_cc_c89=$ac_arg
3373d466db85Smrgfi
3374d466db85Smrgrm -f core conftest.err conftest.$ac_objext
3375d466db85Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
3376d466db85Smrgdone
3377d466db85Smrgrm -f conftest.$ac_ext
3378d466db85SmrgCC=$ac_save_CC
3379d466db85Smrg
3380d466db85Smrgfi
3381d466db85Smrg# AC_CACHE_VAL
3382d466db85Smrgcase "x$ac_cv_prog_cc_c89" in
3383d466db85Smrg  x)
33841cca5e29Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3385d466db85Smrg$as_echo "none needed" >&6; } ;;
3386d466db85Smrg  xno)
33871cca5e29Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3388d466db85Smrg$as_echo "unsupported" >&6; } ;;
3389d466db85Smrg  *)
3390d466db85Smrg    CC="$CC $ac_cv_prog_cc_c89"
33911cca5e29Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3392d466db85Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3393d466db85Smrgesac
33941cca5e29Smrgif test "x$ac_cv_prog_cc_c89" != xno; then :
3395d466db85Smrg
33961cca5e29Smrgfi
3397d466db85Smrg
3398d466db85Smrgac_ext=c
3399d466db85Smrgac_cpp='$CPP $CPPFLAGS'
3400d466db85Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3401d466db85Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3402d466db85Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3403d466db85Smrg
3404d466db85Smrgdepcc="$CC"   am_compiler_list=
3405d466db85Smrg
34061cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3407d466db85Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
34081cca5e29Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then :
3409d466db85Smrg  $as_echo_n "(cached) " >&6
3410d466db85Smrgelse
3411d466db85Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3412d466db85Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
3413d466db85Smrg  # making bogus files that we don't know about and never remove.  For
3414d466db85Smrg  # instance it was reported that on HP-UX the gcc test will end up
3415d466db85Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
3416d466db85Smrg  # in D'.
3417d466db85Smrg  mkdir conftest.dir
3418d466db85Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
3419d466db85Smrg  # using a relative directory.
3420d466db85Smrg  cp "$am_depcomp" conftest.dir
3421d466db85Smrg  cd conftest.dir
3422d466db85Smrg  # We will build objects and dependencies in a subdirectory because
3423d466db85Smrg  # it helps to detect inapplicable dependency modes.  For instance
3424d466db85Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
3425d466db85Smrg  # side effect of compilation, but ICC will put the dependencies in
3426d466db85Smrg  # the current directory while Tru64 will put them in the object
3427d466db85Smrg  # directory.
3428d466db85Smrg  mkdir sub
3429d466db85Smrg
3430d466db85Smrg  am_cv_CC_dependencies_compiler_type=none
3431d466db85Smrg  if test "$am_compiler_list" = ""; then
3432d466db85Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3433d466db85Smrg  fi
3434d466db85Smrg  am__universal=false
3435d466db85Smrg  case " $depcc " in #(
3436d466db85Smrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3437d466db85Smrg     esac
3438d466db85Smrg
3439d466db85Smrg  for depmode in $am_compiler_list; do
3440d466db85Smrg    # Setup a source with many dependencies, because some compilers
3441d466db85Smrg    # like to wrap large dependency lists on column 80 (with \), and
3442d466db85Smrg    # we should not choose a depcomp mode which is confused by this.
3443d466db85Smrg    #
3444d466db85Smrg    # We need to recreate these files for each test, as the compiler may
3445d466db85Smrg    # overwrite some of them when testing with obscure command lines.
3446d466db85Smrg    # This happens at least with the AIX C compiler.
3447d466db85Smrg    : > sub/conftest.c
3448d466db85Smrg    for i in 1 2 3 4 5 6; do
3449d466db85Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3450d466db85Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3451d466db85Smrg      # Solaris 8's {/usr,}/bin/sh.
3452d466db85Smrg      touch sub/conftst$i.h
3453d838582fSmrg    done
3454d466db85Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3455d466db85Smrg
3456d466db85Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3457d466db85Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
3458d466db85Smrg    # handle `-M -o', and we need to detect this.  Also, some Intel
3459d466db85Smrg    # versions had trouble with output in subdirs
3460d466db85Smrg    am__obj=sub/conftest.${OBJEXT-o}
3461d466db85Smrg    am__minus_obj="-o $am__obj"
3462d466db85Smrg    case $depmode in
3463d466db85Smrg    gcc)
3464d466db85Smrg      # This depmode causes a compiler race in universal mode.
3465d466db85Smrg      test "$am__universal" = false || continue
3466d466db85Smrg      ;;
3467d466db85Smrg    nosideeffect)
3468d466db85Smrg      # after this tag, mechanisms are not by side-effect, so they'll
3469d466db85Smrg      # only be used when explicitly requested
3470d466db85Smrg      if test "x$enable_dependency_tracking" = xyes; then
3471d466db85Smrg	continue
3472d466db85Smrg      else
3473d466db85Smrg	break
3474d466db85Smrg      fi
3475d466db85Smrg      ;;
3476d466db85Smrg    msvisualcpp | msvcmsys)
3477d466db85Smrg      # This compiler won't grok `-c -o', but also, the minuso test has
3478d466db85Smrg      # not run yet.  These depmodes are late enough in the game, and
3479d466db85Smrg      # so weak that their functioning should not be impacted.
3480d466db85Smrg      am__obj=conftest.${OBJEXT-o}
3481d466db85Smrg      am__minus_obj=
3482d466db85Smrg      ;;
3483d466db85Smrg    none) break ;;
3484d466db85Smrg    esac
3485d466db85Smrg    if depmode=$depmode \
3486d466db85Smrg       source=sub/conftest.c object=$am__obj \
3487d466db85Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3488d466db85Smrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3489d466db85Smrg         >/dev/null 2>conftest.err &&
3490d466db85Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3491d466db85Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3492d466db85Smrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3493d466db85Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3494d466db85Smrg      # icc doesn't choke on unknown options, it will just issue warnings
3495d466db85Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
3496d466db85Smrg      # that says an option was ignored or not supported.
3497d466db85Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
3498d466db85Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
3499d466db85Smrg      # The diagnosis changed in icc 8.0:
3500d466db85Smrg      #   icc: Command line remark: option '-MP' not supported
3501d466db85Smrg      if (grep 'ignoring option' conftest.err ||
3502d466db85Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3503d466db85Smrg        am_cv_CC_dependencies_compiler_type=$depmode
3504d466db85Smrg        break
3505d466db85Smrg      fi
3506d466db85Smrg    fi
3507d466db85Smrg  done
3508d466db85Smrg
3509d466db85Smrg  cd ..
3510d466db85Smrg  rm -rf conftest.dir
3511d466db85Smrgelse
3512d466db85Smrg  am_cv_CC_dependencies_compiler_type=none
3513d466db85Smrgfi
3514d466db85Smrg
3515d466db85Smrgfi
35161cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3517d466db85Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3518d466db85SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3519d466db85Smrg
3520d466db85Smrg if
3521d466db85Smrg  test "x$enable_dependency_tracking" != xno \
3522d466db85Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3523d466db85Smrg  am__fastdepCC_TRUE=
3524d466db85Smrg  am__fastdepCC_FALSE='#'
3525d466db85Smrgelse
3526d466db85Smrg  am__fastdepCC_TRUE='#'
3527d466db85Smrg  am__fastdepCC_FALSE=
3528d466db85Smrgfi
3529d466db85Smrg
3530d466db85Smrg
35311cca5e29Smrg   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
35321cca5e29Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
35331cca5e29Smrgif ${ac_cv_prog_cc_c99+:} false; then :
3534d466db85Smrg  $as_echo_n "(cached) " >&6
3535d466db85Smrgelse
35361cca5e29Smrg  ac_cv_prog_cc_c99=no
35371cca5e29Smrgac_save_CC=$CC
35381cca5e29Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539d466db85Smrg/* end confdefs.h.  */
35401cca5e29Smrg#include <stdarg.h>
35411cca5e29Smrg#include <stdbool.h>
35421cca5e29Smrg#include <stdlib.h>
35431cca5e29Smrg#include <wchar.h>
35441cca5e29Smrg#include <stdio.h>
35451cca5e29Smrg
35461cca5e29Smrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
35471cca5e29Smrg#define debug(...) fprintf (stderr, __VA_ARGS__)
35481cca5e29Smrg#define showlist(...) puts (#__VA_ARGS__)
35491cca5e29Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
35501cca5e29Smrgstatic void
35511cca5e29Smrgtest_varargs_macros (void)
35521cca5e29Smrg{
35531cca5e29Smrg  int x = 1234;
35541cca5e29Smrg  int y = 5678;
35551cca5e29Smrg  debug ("Flag");
35561cca5e29Smrg  debug ("X = %d\n", x);
35571cca5e29Smrg  showlist (The first, second, and third items.);
35581cca5e29Smrg  report (x>y, "x is %d but y is %d", x, y);
35591cca5e29Smrg}
35601cca5e29Smrg
35611cca5e29Smrg// Check long long types.
35621cca5e29Smrg#define BIG64 18446744073709551615ull
35631cca5e29Smrg#define BIG32 4294967295ul
35641cca5e29Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
35651cca5e29Smrg#if !BIG_OK
35661cca5e29Smrg  your preprocessor is broken;
35671cca5e29Smrg#endif
35681cca5e29Smrg#if BIG_OK
3569d466db85Smrg#else
35701cca5e29Smrg  your preprocessor is broken;
3571d466db85Smrg#endif
35721cca5e29Smrgstatic long long int bignum = -9223372036854775807LL;
35731cca5e29Smrgstatic unsigned long long int ubignum = BIG64;
3574d466db85Smrg
35751cca5e29Smrgstruct incomplete_array
35761cca5e29Smrg{
35771cca5e29Smrg  int datasize;
35781cca5e29Smrg  double data[];
35791cca5e29Smrg};
3580d466db85Smrg
35811cca5e29Smrgstruct named_init {
35821cca5e29Smrg  int number;
35831cca5e29Smrg  const wchar_t *name;
35841cca5e29Smrg  double average;
35851cca5e29Smrg};
3586d466db85Smrg
35871cca5e29Smrgtypedef const char *ccp;
3588d466db85Smrg
35891cca5e29Smrgstatic inline int
35901cca5e29Smrgtest_restrict (ccp restrict text)
35911cca5e29Smrg{
35921cca5e29Smrg  // See if C++-style comments work.
35931cca5e29Smrg  // Iterate through items via the restricted pointer.
35941cca5e29Smrg  // Also check for declarations in for loops.
35951cca5e29Smrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
35961cca5e29Smrg    continue;
35971cca5e29Smrg  return 0;
35981cca5e29Smrg}
3599d466db85Smrg
36001cca5e29Smrg// Check varargs and va_copy.
36011cca5e29Smrgstatic void
36021cca5e29Smrgtest_varargs (const char *format, ...)
36031cca5e29Smrg{
36041cca5e29Smrg  va_list args;
36051cca5e29Smrg  va_start (args, format);
36061cca5e29Smrg  va_list args_copy;
36071cca5e29Smrg  va_copy (args_copy, args);
3608d466db85Smrg
36091cca5e29Smrg  const char *str;
36101cca5e29Smrg  int number;
36111cca5e29Smrg  float fnumber;
3612d466db85Smrg
36131cca5e29Smrg  while (*format)
36141cca5e29Smrg    {
36151cca5e29Smrg      switch (*format++)
36161cca5e29Smrg	{
36171cca5e29Smrg	case 's': // string
36181cca5e29Smrg	  str = va_arg (args_copy, const char *);
36191cca5e29Smrg	  break;
36201cca5e29Smrg	case 'd': // int
36211cca5e29Smrg	  number = va_arg (args_copy, int);
36221cca5e29Smrg	  break;
36231cca5e29Smrg	case 'f': // float
36241cca5e29Smrg	  fnumber = va_arg (args_copy, double);
36251cca5e29Smrg	  break;
36261cca5e29Smrg	default:
36271cca5e29Smrg	  break;
36281cca5e29Smrg	}
36291cca5e29Smrg    }
36301cca5e29Smrg  va_end (args_copy);
36311cca5e29Smrg  va_end (args);
36321cca5e29Smrg}
36331cca5e29Smrg
36341cca5e29Smrgint
36351cca5e29Smrgmain ()
36361cca5e29Smrg{
36371cca5e29Smrg
36381cca5e29Smrg  // Check bool.
36391cca5e29Smrg  _Bool success = false;
36401cca5e29Smrg
36411cca5e29Smrg  // Check restrict.
36421cca5e29Smrg  if (test_restrict ("String literal") == 0)
36431cca5e29Smrg    success = true;
36441cca5e29Smrg  char *restrict newvar = "Another string";
36451cca5e29Smrg
36461cca5e29Smrg  // Check varargs.
36471cca5e29Smrg  test_varargs ("s, d' f .", "string", 65, 34.234);
36481cca5e29Smrg  test_varargs_macros ();
36491cca5e29Smrg
36501cca5e29Smrg  // Check flexible array members.
36511cca5e29Smrg  struct incomplete_array *ia =
36521cca5e29Smrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
36531cca5e29Smrg  ia->datasize = 10;
36541cca5e29Smrg  for (int i = 0; i < ia->datasize; ++i)
36551cca5e29Smrg    ia->data[i] = i * 1.234;
36561cca5e29Smrg
36571cca5e29Smrg  // Check named initializers.
36581cca5e29Smrg  struct named_init ni = {
36591cca5e29Smrg    .number = 34,
36601cca5e29Smrg    .name = L"Test wide string",
36611cca5e29Smrg    .average = 543.34343,
36621cca5e29Smrg  };
36631cca5e29Smrg
36641cca5e29Smrg  ni.number = 58;
36651cca5e29Smrg
36661cca5e29Smrg  int dynamic_array[ni.number];
36671cca5e29Smrg  dynamic_array[ni.number - 1] = 543;
36681cca5e29Smrg
36691cca5e29Smrg  // work around unused variable warnings
36701cca5e29Smrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
36711cca5e29Smrg	  || dynamic_array[ni.number - 1] != 543);
36721cca5e29Smrg
36731cca5e29Smrg  ;
36741cca5e29Smrg  return 0;
36751cca5e29Smrg}
36761cca5e29Smrg_ACEOF
36771cca5e29Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
36781cca5e29Smrgdo
36791cca5e29Smrg  CC="$ac_save_CC $ac_arg"
36801cca5e29Smrg  if ac_fn_c_try_compile "$LINENO"; then :
36811cca5e29Smrg  ac_cv_prog_cc_c99=$ac_arg
36821cca5e29Smrgfi
36831cca5e29Smrgrm -f core conftest.err conftest.$ac_objext
36841cca5e29Smrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
36851cca5e29Smrgdone
36861cca5e29Smrgrm -f conftest.$ac_ext
36871cca5e29SmrgCC=$ac_save_CC
36881cca5e29Smrg
36891cca5e29Smrgfi
36901cca5e29Smrg# AC_CACHE_VAL
36911cca5e29Smrgcase "x$ac_cv_prog_cc_c99" in
36921cca5e29Smrg  x)
36931cca5e29Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
36941cca5e29Smrg$as_echo "none needed" >&6; } ;;
36951cca5e29Smrg  xno)
36961cca5e29Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
36971cca5e29Smrg$as_echo "unsupported" >&6; } ;;
36981cca5e29Smrg  *)
36991cca5e29Smrg    CC="$CC $ac_cv_prog_cc_c99"
37001cca5e29Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
37011cca5e29Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
37021cca5e29Smrgesac
37031cca5e29Smrgif test "x$ac_cv_prog_cc_c99" != xno; then :
37041cca5e29Smrg
37051cca5e29Smrgfi
37061cca5e29Smrg
37071cca5e29Smrg
37081cca5e29Smrg
37091cca5e29Smrgac_ext=c
37101cca5e29Smrgac_cpp='$CPP $CPPFLAGS'
37111cca5e29Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37121cca5e29Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37131cca5e29Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
37141cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
37151cca5e29Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
37161cca5e29Smrg# On Suns, sometimes $CPP names a directory.
37171cca5e29Smrgif test -n "$CPP" && test -d "$CPP"; then
37181cca5e29Smrg  CPP=
37191cca5e29Smrgfi
37201cca5e29Smrgif test -z "$CPP"; then
37211cca5e29Smrg  if ${ac_cv_prog_CPP+:} false; then :
37221cca5e29Smrg  $as_echo_n "(cached) " >&6
37231cca5e29Smrgelse
37241cca5e29Smrg      # Double quotes because CPP needs to be expanded
37251cca5e29Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
37261cca5e29Smrg    do
37271cca5e29Smrg      ac_preproc_ok=false
37281cca5e29Smrgfor ac_c_preproc_warn_flag in '' yes
37291cca5e29Smrgdo
37301cca5e29Smrg  # Use a header file that comes with gcc, so configuring glibc
37311cca5e29Smrg  # with a fresh cross-compiler works.
37321cca5e29Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37331cca5e29Smrg  # <limits.h> exists even on freestanding compilers.
37341cca5e29Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
37351cca5e29Smrg  # not just through cpp. "Syntax error" is here to catch this case.
37361cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37371cca5e29Smrg/* end confdefs.h.  */
37381cca5e29Smrg#ifdef __STDC__
37391cca5e29Smrg# include <limits.h>
37401cca5e29Smrg#else
37411cca5e29Smrg# include <assert.h>
37421cca5e29Smrg#endif
37431cca5e29Smrg		     Syntax error
37441cca5e29Smrg_ACEOF
37451cca5e29Smrgif ac_fn_c_try_cpp "$LINENO"; then :
37461cca5e29Smrg
37471cca5e29Smrgelse
37481cca5e29Smrg  # Broken: fails on valid input.
37491cca5e29Smrgcontinue
37501cca5e29Smrgfi
37511cca5e29Smrgrm -f conftest.err conftest.i conftest.$ac_ext
37521cca5e29Smrg
37531cca5e29Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
37541cca5e29Smrg  # can be detected and how.
37551cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37561cca5e29Smrg/* end confdefs.h.  */
37571cca5e29Smrg#include <ac_nonexistent.h>
37581cca5e29Smrg_ACEOF
37591cca5e29Smrgif ac_fn_c_try_cpp "$LINENO"; then :
37601cca5e29Smrg  # Broken: success on invalid input.
37611cca5e29Smrgcontinue
37621cca5e29Smrgelse
37631cca5e29Smrg  # Passes both tests.
37641cca5e29Smrgac_preproc_ok=:
37651cca5e29Smrgbreak
37661cca5e29Smrgfi
37671cca5e29Smrgrm -f conftest.err conftest.i conftest.$ac_ext
37681cca5e29Smrg
37691cca5e29Smrgdone
37701cca5e29Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
37711cca5e29Smrgrm -f conftest.i conftest.err conftest.$ac_ext
37721cca5e29Smrgif $ac_preproc_ok; then :
37731cca5e29Smrg  break
37741cca5e29Smrgfi
37751cca5e29Smrg
37761cca5e29Smrg    done
37771cca5e29Smrg    ac_cv_prog_CPP=$CPP
3778d466db85Smrg
3779d466db85Smrgfi
3780d466db85Smrg  CPP=$ac_cv_prog_CPP
3781d466db85Smrgelse
3782d466db85Smrg  ac_cv_prog_CPP=$CPP
3783d466db85Smrgfi
37841cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3785d466db85Smrg$as_echo "$CPP" >&6; }
3786d466db85Smrgac_preproc_ok=false
3787d466db85Smrgfor ac_c_preproc_warn_flag in '' yes
3788d466db85Smrgdo
3789d466db85Smrg  # Use a header file that comes with gcc, so configuring glibc
3790d466db85Smrg  # with a fresh cross-compiler works.
3791d466db85Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3792d466db85Smrg  # <limits.h> exists even on freestanding compilers.
3793d466db85Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3794d466db85Smrg  # not just through cpp. "Syntax error" is here to catch this case.
37951cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3796d466db85Smrg/* end confdefs.h.  */
3797d466db85Smrg#ifdef __STDC__
3798d466db85Smrg# include <limits.h>
3799d466db85Smrg#else
3800d466db85Smrg# include <assert.h>
3801d466db85Smrg#endif
3802d466db85Smrg		     Syntax error
3803d466db85Smrg_ACEOF
38041cca5e29Smrgif ac_fn_c_try_cpp "$LINENO"; then :
3805d466db85Smrg
38061cca5e29Smrgelse
3807d466db85Smrg  # Broken: fails on valid input.
3808d466db85Smrgcontinue
3809d466db85Smrgfi
38101cca5e29Smrgrm -f conftest.err conftest.i conftest.$ac_ext
3811d466db85Smrg
3812d466db85Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
3813d466db85Smrg  # can be detected and how.
38141cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815d466db85Smrg/* end confdefs.h.  */
3816d466db85Smrg#include <ac_nonexistent.h>
3817d466db85Smrg_ACEOF
38181cca5e29Smrgif ac_fn_c_try_cpp "$LINENO"; then :
3819d466db85Smrg  # Broken: success on invalid input.
3820d466db85Smrgcontinue
3821d466db85Smrgelse
3822d466db85Smrg  # Passes both tests.
3823d466db85Smrgac_preproc_ok=:
3824d466db85Smrgbreak
3825d466db85Smrgfi
38261cca5e29Smrgrm -f conftest.err conftest.i conftest.$ac_ext
3827d466db85Smrg
3828d466db85Smrgdone
3829d466db85Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
38301cca5e29Smrgrm -f conftest.i conftest.err conftest.$ac_ext
38311cca5e29Smrgif $ac_preproc_ok; then :
38321cca5e29Smrg
3833d466db85Smrgelse
38341cca5e29Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835d466db85Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38361cca5e29Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check
38371cca5e29SmrgSee \`config.log' for more details" "$LINENO" 5; }
3838d466db85Smrgfi
3839d466db85Smrg
3840d466db85Smrgac_ext=c
3841d466db85Smrgac_cpp='$CPP $CPPFLAGS'
3842d466db85Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843d466db85Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844d466db85Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3845d466db85Smrg
3846d466db85Smrg
38471cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3848d466db85Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
38491cca5e29Smrgif ${ac_cv_path_GREP+:} false; then :
3850d466db85Smrg  $as_echo_n "(cached) " >&6
3851d466db85Smrgelse
3852d466db85Smrg  if test -z "$GREP"; then
3853d466db85Smrg  ac_path_GREP_found=false
3854d466db85Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3855d466db85Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856d466db85Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3857d466db85Smrgdo
3858d466db85Smrg  IFS=$as_save_IFS
3859d466db85Smrg  test -z "$as_dir" && as_dir=.
38601cca5e29Smrg    for ac_prog in grep ggrep; do
3861d466db85Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3862d466db85Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3863d466db85Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3864d466db85Smrg# Check for GNU ac_path_GREP and select it if it is found.
3865d466db85Smrg  # Check for GNU $ac_path_GREP
3866d466db85Smrgcase `"$ac_path_GREP" --version 2>&1` in
3867d466db85Smrg*GNU*)
3868d466db85Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3869d466db85Smrg*)
3870d466db85Smrg  ac_count=0
3871d466db85Smrg  $as_echo_n 0123456789 >"conftest.in"
3872d466db85Smrg  while :
3873d466db85Smrg  do
3874d466db85Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3875d466db85Smrg    mv "conftest.tmp" "conftest.in"
3876d466db85Smrg    cp "conftest.in" "conftest.nl"
3877d466db85Smrg    $as_echo 'GREP' >> "conftest.nl"
3878d466db85Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3879d466db85Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
38801cca5e29Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
3881d466db85Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3882d466db85Smrg      # Best one so far, save it but keep looking for a better one
3883d466db85Smrg      ac_cv_path_GREP="$ac_path_GREP"
3884d466db85Smrg      ac_path_GREP_max=$ac_count
3885d466db85Smrg    fi
3886d466db85Smrg    # 10*(2^10) chars as input seems more than enough
3887d466db85Smrg    test $ac_count -gt 10 && break
3888d466db85Smrg  done
3889d466db85Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3890d838582fSmrgesac
3891d466db85Smrg
3892d466db85Smrg      $ac_path_GREP_found && break 3
3893d466db85Smrg    done
3894d466db85Smrg  done
38951cca5e29Smrg  done
3896d838582fSmrgIFS=$as_save_IFS
3897d466db85Smrg  if test -z "$ac_cv_path_GREP"; then
38981cca5e29Smrg    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3899d466db85Smrg  fi
3900d466db85Smrgelse
3901d466db85Smrg  ac_cv_path_GREP=$GREP
3902d466db85Smrgfi
3903d466db85Smrg
3904d466db85Smrgfi
39051cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3906d466db85Smrg$as_echo "$ac_cv_path_GREP" >&6; }
3907d466db85Smrg GREP="$ac_cv_path_GREP"
3908d466db85Smrg
3909d466db85Smrg
39101cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3911d466db85Smrg$as_echo_n "checking for egrep... " >&6; }
39121cca5e29Smrgif ${ac_cv_path_EGREP+:} false; then :
3913d466db85Smrg  $as_echo_n "(cached) " >&6
3914d466db85Smrgelse
3915d466db85Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3916d466db85Smrg   then ac_cv_path_EGREP="$GREP -E"
3917d466db85Smrg   else
3918d466db85Smrg     if test -z "$EGREP"; then
3919d466db85Smrg  ac_path_EGREP_found=false
3920d466db85Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3921d466db85Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922d466db85Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3923d466db85Smrgdo
3924d466db85Smrg  IFS=$as_save_IFS
3925d466db85Smrg  test -z "$as_dir" && as_dir=.
39261cca5e29Smrg    for ac_prog in egrep; do
3927d466db85Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3928d466db85Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3929d466db85Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3930d466db85Smrg# Check for GNU ac_path_EGREP and select it if it is found.
3931d466db85Smrg  # Check for GNU $ac_path_EGREP
3932d466db85Smrgcase `"$ac_path_EGREP" --version 2>&1` in
3933d466db85Smrg*GNU*)
3934d466db85Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3935d466db85Smrg*)
3936d466db85Smrg  ac_count=0
3937d466db85Smrg  $as_echo_n 0123456789 >"conftest.in"
3938d466db85Smrg  while :
3939d466db85Smrg  do
3940d466db85Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3941d466db85Smrg    mv "conftest.tmp" "conftest.in"
3942d466db85Smrg    cp "conftest.in" "conftest.nl"
3943d466db85Smrg    $as_echo 'EGREP' >> "conftest.nl"
3944d466db85Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3945d466db85Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
39461cca5e29Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
3947d466db85Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3948d466db85Smrg      # Best one so far, save it but keep looking for a better one
3949d466db85Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
3950d466db85Smrg      ac_path_EGREP_max=$ac_count
3951d466db85Smrg    fi
3952d466db85Smrg    # 10*(2^10) chars as input seems more than enough
3953d466db85Smrg    test $ac_count -gt 10 && break
3954d466db85Smrg  done
3955d466db85Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3956d466db85Smrgesac
3957d466db85Smrg
3958d466db85Smrg      $ac_path_EGREP_found && break 3
3959d466db85Smrg    done
3960d466db85Smrg  done
39611cca5e29Smrg  done
3962d466db85SmrgIFS=$as_save_IFS
3963d466db85Smrg  if test -z "$ac_cv_path_EGREP"; then
39641cca5e29Smrg    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3965d466db85Smrg  fi
3966d466db85Smrgelse
3967d466db85Smrg  ac_cv_path_EGREP=$EGREP
3968d466db85Smrgfi
3969d466db85Smrg
3970d466db85Smrg   fi
3971d466db85Smrgfi
39721cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3973d466db85Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
3974d466db85Smrg EGREP="$ac_cv_path_EGREP"
3975d466db85Smrg
3976d466db85Smrg
39771cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3978d466db85Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
39791cca5e29Smrgif ${ac_cv_header_stdc+:} false; then :
3980d466db85Smrg  $as_echo_n "(cached) " >&6
3981d466db85Smrgelse
39821cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983d466db85Smrg/* end confdefs.h.  */
3984d466db85Smrg#include <stdlib.h>
3985d466db85Smrg#include <stdarg.h>
3986d466db85Smrg#include <string.h>
3987d466db85Smrg#include <float.h>
3988d466db85Smrg
3989d466db85Smrgint
3990d466db85Smrgmain ()
3991d466db85Smrg{
3992d466db85Smrg
3993d466db85Smrg  ;
3994d466db85Smrg  return 0;
3995d466db85Smrg}
3996d466db85Smrg_ACEOF
39971cca5e29Smrgif ac_fn_c_try_compile "$LINENO"; then :
3998d466db85Smrg  ac_cv_header_stdc=yes
3999d466db85Smrgelse
40001cca5e29Smrg  ac_cv_header_stdc=no
4001d466db85Smrgfi
4002d466db85Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003d466db85Smrg
4004d466db85Smrgif test $ac_cv_header_stdc = yes; then
4005d466db85Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
40061cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007d466db85Smrg/* end confdefs.h.  */
4008d466db85Smrg#include <string.h>
4009d466db85Smrg
4010d466db85Smrg_ACEOF
4011d466db85Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40121cca5e29Smrg  $EGREP "memchr" >/dev/null 2>&1; then :
40131cca5e29Smrg
4014d466db85Smrgelse
4015d466db85Smrg  ac_cv_header_stdc=no
4016d466db85Smrgfi
4017d466db85Smrgrm -f conftest*
4018d466db85Smrg
4019d466db85Smrgfi
4020d466db85Smrg
4021d466db85Smrgif test $ac_cv_header_stdc = yes; then
4022d466db85Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40231cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024d466db85Smrg/* end confdefs.h.  */
4025d466db85Smrg#include <stdlib.h>
4026d466db85Smrg
4027d466db85Smrg_ACEOF
4028d466db85Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40291cca5e29Smrg  $EGREP "free" >/dev/null 2>&1; then :
40301cca5e29Smrg
4031d466db85Smrgelse
4032d466db85Smrg  ac_cv_header_stdc=no
4033d466db85Smrgfi
4034d466db85Smrgrm -f conftest*
4035d466db85Smrg
4036d466db85Smrgfi
4037d466db85Smrg
4038d466db85Smrgif test $ac_cv_header_stdc = yes; then
4039d466db85Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
40401cca5e29Smrg  if test "$cross_compiling" = yes; then :
4041d466db85Smrg  :
4042d466db85Smrgelse
40431cca5e29Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044d466db85Smrg/* end confdefs.h.  */
4045d466db85Smrg#include <ctype.h>
4046d466db85Smrg#include <stdlib.h>
4047d466db85Smrg#if ((' ' & 0x0FF) == 0x020)
4048d466db85Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4049d466db85Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4050d466db85Smrg#else
4051d466db85Smrg# define ISLOWER(c) \
4052d466db85Smrg		   (('a' <= (c) && (c) <= 'i') \
4053d466db85Smrg		     || ('j' <= (c) && (c) <= 'r') \
4054d466db85Smrg		     || ('s' <= (c) && (c) <= 'z'))
4055d466db85Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4056d466db85Smrg#endif
4057d466db85Smrg
4058d466db85Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4059d466db85Smrgint
4060d466db85Smrgmain ()
4061d466db85Smrg{
4062d466db85Smrg  int i;
4063d466db85Smrg  for (i = 0; i < 256; i++)
4064d466db85Smrg    if (XOR (islower (i), ISLOWER (i))
4065d466db85Smrg	|| toupper (i) != TOUPPER (i))
4066d466db85Smrg      return 2;
4067d466db85Smrg  return 0;
4068d466db85Smrg}
4069d466db85Smrg_ACEOF
40701cca5e29Smrgif ac_fn_c_try_run "$LINENO"; then :
4071d466db85Smrg
40721cca5e29Smrgelse
40731cca5e29Smrg  ac_cv_header_stdc=no
4074d466db85Smrgfi
40751cca5e29Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40761cca5e29Smrg  conftest.$ac_objext conftest.beam conftest.$ac_ext
4077d466db85Smrgfi
4078d466db85Smrg
4079d466db85Smrgfi
4080d466db85Smrgfi
40811cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4082d466db85Smrg$as_echo "$ac_cv_header_stdc" >&6; }
4083d466db85Smrgif test $ac_cv_header_stdc = yes; then
4084d466db85Smrg
40851cca5e29Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4086d466db85Smrg
4087d466db85Smrgfi
4088d466db85Smrg
4089d466db85Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4090d466db85Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4091d466db85Smrg		  inttypes.h stdint.h unistd.h
40921cca5e29Smrgdo :
40931cca5e29Smrg  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
40941cca5e29Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
40951cca5e29Smrg"
40961cca5e29Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4097d466db85Smrg  cat >>confdefs.h <<_ACEOF
4098d466db85Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4099d466db85Smrg_ACEOF
4100d466db85Smrg
4101d466db85Smrgfi
4102d466db85Smrg
4103d466db85Smrgdone
4104d466db85Smrg
4105d466db85Smrg
4106d466db85Smrg
4107d466db85Smrg
41081cca5e29Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41091cca5e29Smrg	if test -n "$ac_tool_prefix"; then
41101cca5e29Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41111cca5e29Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41121cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41131cca5e29Smrg$as_echo_n "checking for $ac_word... " >&6; }
41141cca5e29Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then :
41151cca5e29Smrg  $as_echo_n "(cached) " >&6
41161cca5e29Smrgelse
41171cca5e29Smrg  case $PKG_CONFIG in
41181cca5e29Smrg  [\\/]* | ?:[\\/]*)
41191cca5e29Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41201cca5e29Smrg  ;;
41211cca5e29Smrg  *)
41221cca5e29Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41231cca5e29Smrgfor as_dir in $PATH
4124d466db85Smrgdo
41251cca5e29Smrg  IFS=$as_save_IFS
41261cca5e29Smrg  test -z "$as_dir" && as_dir=.
41271cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
41281cca5e29Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41291cca5e29Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41301cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41311cca5e29Smrg    break 2
41321cca5e29Smrg  fi
41331cca5e29Smrgdone
41341cca5e29Smrg  done
41351cca5e29SmrgIFS=$as_save_IFS
41361cca5e29Smrg
41371cca5e29Smrg  ;;
4138d838582fSmrgesac
41391cca5e29Smrgfi
41401cca5e29SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
41411cca5e29Smrgif test -n "$PKG_CONFIG"; then
41421cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
41431cca5e29Smrg$as_echo "$PKG_CONFIG" >&6; }
4144d838582fSmrgelse
41451cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41461cca5e29Smrg$as_echo "no" >&6; }
4147d838582fSmrgfi
4148d838582fSmrg
4149d466db85Smrg
4150d466db85Smrgfi
41511cca5e29Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
41521cca5e29Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
41531cca5e29Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
41541cca5e29Smrgset dummy pkg-config; ac_word=$2
41551cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41561cca5e29Smrg$as_echo_n "checking for $ac_word... " >&6; }
41571cca5e29Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
41581cca5e29Smrg  $as_echo_n "(cached) " >&6
41591cca5e29Smrgelse
41601cca5e29Smrg  case $ac_pt_PKG_CONFIG in
41611cca5e29Smrg  [\\/]* | ?:[\\/]*)
41621cca5e29Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41631cca5e29Smrg  ;;
4164d466db85Smrg  *)
41651cca5e29Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41661cca5e29Smrgfor as_dir in $PATH
41671cca5e29Smrgdo
41681cca5e29Smrg  IFS=$as_save_IFS
41691cca5e29Smrg  test -z "$as_dir" && as_dir=.
41701cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
41711cca5e29Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41721cca5e29Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41731cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41741cca5e29Smrg    break 2
41751cca5e29Smrg  fi
41761cca5e29Smrgdone
41771cca5e29Smrg  done
41781cca5e29SmrgIFS=$as_save_IFS
41791cca5e29Smrg
41801cca5e29Smrg  ;;
4181d466db85Smrgesac
41821cca5e29Smrgfi
41831cca5e29Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41841cca5e29Smrgif test -n "$ac_pt_PKG_CONFIG"; then
41851cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
41861cca5e29Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
41871cca5e29Smrgelse
41881cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41891cca5e29Smrg$as_echo "no" >&6; }
41901cca5e29Smrgfi
4191d838582fSmrg
41921cca5e29Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
41931cca5e29Smrg    PKG_CONFIG=""
41941cca5e29Smrg  else
41951cca5e29Smrg    case $cross_compiling:$ac_tool_warned in
41961cca5e29Smrgyes:)
41971cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
41981cca5e29Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
41991cca5e29Smrgac_tool_warned=yes ;;
42001cca5e29Smrgesac
42011cca5e29Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
42021cca5e29Smrg  fi
42031cca5e29Smrgelse
42041cca5e29Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42051cca5e29Smrgfi
4206d838582fSmrg
42071cca5e29Smrgfi
42081cca5e29Smrgif test -n "$PKG_CONFIG"; then
42091cca5e29Smrg	_pkg_min_version=0.9.0
42101cca5e29Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
42111cca5e29Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
42121cca5e29Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42131cca5e29Smrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42141cca5e29Smrg$as_echo "yes" >&6; }
42151cca5e29Smrg	else
42161cca5e29Smrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42171cca5e29Smrg$as_echo "no" >&6; }
42181cca5e29Smrg		PKG_CONFIG=""
42191cca5e29Smrg	fi
4220d838582fSmrg
42211cca5e29Smrgfi
4222d838582fSmrg# Make sure we can run config.sub.
4223d838582fSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
42241cca5e29Smrg  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4225d838582fSmrg
42261cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4227d466db85Smrg$as_echo_n "checking build system type... " >&6; }
42281cca5e29Smrgif ${ac_cv_build+:} false; then :
4229d466db85Smrg  $as_echo_n "(cached) " >&6
4230d838582fSmrgelse
4231d838582fSmrg  ac_build_alias=$build_alias
4232d838582fSmrgtest "x$ac_build_alias" = x &&
4233d838582fSmrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4234d838582fSmrgtest "x$ac_build_alias" = x &&
42351cca5e29Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4236d838582fSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
42371cca5e29Smrg  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4238d838582fSmrg
4239d838582fSmrgfi
42401cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4241d466db85Smrg$as_echo "$ac_cv_build" >&6; }
4242d838582fSmrgcase $ac_cv_build in
4243d838582fSmrg*-*-*) ;;
42441cca5e29Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4245d838582fSmrgesac
4246d838582fSmrgbuild=$ac_cv_build
4247d838582fSmrgac_save_IFS=$IFS; IFS='-'
4248d838582fSmrgset x $ac_cv_build
4249d838582fSmrgshift
4250d838582fSmrgbuild_cpu=$1
4251d838582fSmrgbuild_vendor=$2
4252d838582fSmrgshift; shift
4253d838582fSmrg# Remember, the first character of IFS is used to create $*,
4254d838582fSmrg# except with old shells:
4255d838582fSmrgbuild_os=$*
4256d838582fSmrgIFS=$ac_save_IFS
4257d838582fSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4258d838582fSmrg
4259d838582fSmrg
42601cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
42611cca5e29Smrg$as_echo_n "checking host system type... " >&6; }
42621cca5e29Smrgif ${ac_cv_host+:} false; then :
42631cca5e29Smrg  $as_echo_n "(cached) " >&6
42641cca5e29Smrgelse
42651cca5e29Smrg  if test "x$host_alias" = x; then
42661cca5e29Smrg  ac_cv_host=$ac_cv_build
42671cca5e29Smrgelse
42681cca5e29Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
42691cca5e29Smrg    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
42701cca5e29Smrgfi
42711cca5e29Smrg
42721cca5e29Smrgfi
42731cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
42741cca5e29Smrg$as_echo "$ac_cv_host" >&6; }
42751cca5e29Smrgcase $ac_cv_host in
42761cca5e29Smrg*-*-*) ;;
42771cca5e29Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
42781cca5e29Smrgesac
42791cca5e29Smrghost=$ac_cv_host
42801cca5e29Smrgac_save_IFS=$IFS; IFS='-'
42811cca5e29Smrgset x $ac_cv_host
42821cca5e29Smrgshift
42831cca5e29Smrghost_cpu=$1
42841cca5e29Smrghost_vendor=$2
42851cca5e29Smrgshift; shift
42861cca5e29Smrg# Remember, the first character of IFS is used to create $*,
42871cca5e29Smrg# except with old shells:
42881cca5e29Smrghost_os=$*
42891cca5e29SmrgIFS=$ac_save_IFS
42901cca5e29Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
42911cca5e29Smrg
42921cca5e29Smrg
42931cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
42941cca5e29Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; }
42951cca5e29Smrgif ${ac_cv_path_SED+:} false; then :
42961cca5e29Smrg  $as_echo_n "(cached) " >&6
42971cca5e29Smrgelse
42981cca5e29Smrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
42991cca5e29Smrg     for ac_i in 1 2 3 4 5 6 7; do
43001cca5e29Smrg       ac_script="$ac_script$as_nl$ac_script"
43011cca5e29Smrg     done
43021cca5e29Smrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
43031cca5e29Smrg     { ac_script=; unset ac_script;}
43041cca5e29Smrg     if test -z "$SED"; then
43051cca5e29Smrg  ac_path_SED_found=false
43061cca5e29Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
43071cca5e29Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43081cca5e29Smrgfor as_dir in $PATH
43091cca5e29Smrgdo
43101cca5e29Smrg  IFS=$as_save_IFS
43111cca5e29Smrg  test -z "$as_dir" && as_dir=.
43121cca5e29Smrg    for ac_prog in sed gsed; do
43131cca5e29Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
43141cca5e29Smrg      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
43151cca5e29Smrg      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
43161cca5e29Smrg# Check for GNU ac_path_SED and select it if it is found.
43171cca5e29Smrg  # Check for GNU $ac_path_SED
43181cca5e29Smrgcase `"$ac_path_SED" --version 2>&1` in
43191cca5e29Smrg*GNU*)
43201cca5e29Smrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
43211cca5e29Smrg*)
43221cca5e29Smrg  ac_count=0
43231cca5e29Smrg  $as_echo_n 0123456789 >"conftest.in"
43241cca5e29Smrg  while :
43251cca5e29Smrg  do
43261cca5e29Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
43271cca5e29Smrg    mv "conftest.tmp" "conftest.in"
43281cca5e29Smrg    cp "conftest.in" "conftest.nl"
43291cca5e29Smrg    $as_echo '' >> "conftest.nl"
43301cca5e29Smrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
43311cca5e29Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
43321cca5e29Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
43331cca5e29Smrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
43341cca5e29Smrg      # Best one so far, save it but keep looking for a better one
43351cca5e29Smrg      ac_cv_path_SED="$ac_path_SED"
43361cca5e29Smrg      ac_path_SED_max=$ac_count
43371cca5e29Smrg    fi
43381cca5e29Smrg    # 10*(2^10) chars as input seems more than enough
43391cca5e29Smrg    test $ac_count -gt 10 && break
43401cca5e29Smrg  done
43411cca5e29Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
43421cca5e29Smrgesac
43431cca5e29Smrg
43441cca5e29Smrg      $ac_path_SED_found && break 3
43451cca5e29Smrg    done
43461cca5e29Smrg  done
43471cca5e29Smrg  done
43481cca5e29SmrgIFS=$as_save_IFS
43491cca5e29Smrg  if test -z "$ac_cv_path_SED"; then
43501cca5e29Smrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
43511cca5e29Smrg  fi
4352d838582fSmrgelse
43531cca5e29Smrg  ac_cv_path_SED=$SED
4354d838582fSmrgfi
4355d838582fSmrg
4356d838582fSmrgfi
43571cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
43581cca5e29Smrg$as_echo "$ac_cv_path_SED" >&6; }
43591cca5e29Smrg SED="$ac_cv_path_SED"
43601cca5e29Smrg  rm -f conftest.sed
4361d838582fSmrg
4362d838582fSmrg
4363d838582fSmrg
4364d838582fSmrg
4365d838582fSmrg
4366d466db85Smrgif  test "x$GCC" = xyes ; then
4367d466db85Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4368d466db85Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
43691cca5e29Smrg-Wbad-function-cast -Wformat=2"
4370d466db85Smrg    case `$CC -dumpversion` in
4371d466db85Smrg    3.4.* | 4.*)
4372d466db85Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4373d466db85Smrg	;;
4374d466db85Smrg    esac
4375d466db85Smrgelse
43761cca5e29Smrg    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
43771cca5e29Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4378d466db85Smrg  SUNCC="yes"
4379d466db85Smrgelse
4380d466db85Smrg  SUNCC="no"
4381d466db85Smrgfi
4382d466db85Smrg
4383d466db85Smrg    if test "x$SUNCC" = "xyes"; then
4384d466db85Smrg	CWARNFLAGS="-v"
4385d466db85Smrg    fi
4386d466db85Smrgfi
4387d466db85Smrg
4388d466db85Smrg
4389d466db85Smrg
43901cca5e29Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4391d466db85Smrg
4392d466db85Smrg
4393d466db85Smrg
4394d466db85Smrg# Check whether --enable-strict-compilation was given.
43951cca5e29Smrgif test "${enable_strict_compilation+set}" = set; then :
4396d466db85Smrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4397d466db85Smrgelse
4398d466db85Smrg  STRICT_COMPILE=no
4399d466db85Smrgfi
4400d466db85Smrg
4401d466db85Smrgif test "x$STRICT_COMPILE" = "xyes"; then
44021cca5e29Smrg	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
44031cca5e29Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4404d466db85Smrg  SUNCC="yes"
4405d466db85Smrgelse
4406d466db85Smrg  SUNCC="no"
4407d466db85Smrgfi
4408d466db85Smrg
44091cca5e29Smrg	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
44101cca5e29Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4411d466db85Smrg  INTELCC="yes"
4412d466db85Smrgelse
4413d466db85Smrg  INTELCC="no"
4414d466db85Smrgfi
4415d466db85Smrg
4416d466db85Smrg	if test "x$GCC" = xyes ; then
4417d466db85Smrg		STRICT_CFLAGS="-pedantic -Werror"
4418d466db85Smrg	elif test "x$SUNCC" = "xyes"; then
4419d466db85Smrg		STRICT_CFLAGS="-errwarn"
4420d466db85Smrg    elif test "x$INTELCC" = "xyes"; then
4421d466db85Smrg		STRICT_CFLAGS="-Werror"
4422d466db85Smrg	fi
4423d466db85Smrgfi
4424d466db85SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4425d466db85Smrg
4426d466db85Smrg
4427d466db85Smrg
4428d466db85Smrg
4429d466db85Smrgcat >>confdefs.h <<_ACEOF
4430d466db85Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4431d466db85Smrg_ACEOF
4432d466db85Smrg
4433d466db85Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4434d466db85Smrg	if test "x$PVM" = "x"; then
4435d466db85Smrg		PVM="0"
4436d466db85Smrg	fi
4437d466db85Smrg
4438d466db85Smrgcat >>confdefs.h <<_ACEOF
4439d466db85Smrg#define PACKAGE_VERSION_MINOR $PVM
4440d466db85Smrg_ACEOF
4441d466db85Smrg
4442d466db85Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4443d466db85Smrg	if test "x$PVP" = "x"; then
4444d466db85Smrg		PVP="0"
4445d466db85Smrg	fi
4446d466db85Smrg
4447d466db85Smrgcat >>confdefs.h <<_ACEOF
4448d466db85Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
4449d466db85Smrg_ACEOF
4450d466db85Smrg
4451d466db85Smrg
4452d466db85Smrg
44531cca5e29SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
44541cca5e29Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
44551cca5e29Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4456d466db85Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
4457d466db85Smrg
44581cca5e29Smrg
44591cca5e29Smrg
44601cca5e29Smrg
44611cca5e29Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
44621cca5e29SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
44631cca5e29Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
44641cca5e29Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
44651cca5e29Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
44661cca5e29Smrg
4467d466db85Smrg
4468d466db85Smrg
4469d466db85Smrg
4470d466db85Smrg
4471d466db85Smrg
4472d838582fSmrgif test x$APP_MAN_SUFFIX = x    ; then
4473d838582fSmrg    APP_MAN_SUFFIX=1
4474d838582fSmrgfi
4475d838582fSmrgif test x$APP_MAN_DIR = x    ; then
4476d838582fSmrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4477d838582fSmrgfi
4478d838582fSmrg
4479d838582fSmrgif test x$LIB_MAN_SUFFIX = x    ; then
4480d838582fSmrg    LIB_MAN_SUFFIX=3
4481d838582fSmrgfi
4482d838582fSmrgif test x$LIB_MAN_DIR = x    ; then
4483d838582fSmrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4484d838582fSmrgfi
4485d838582fSmrg
4486d838582fSmrgif test x$FILE_MAN_SUFFIX = x    ; then
4487d838582fSmrg    case $host_os in
4488d838582fSmrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
4489d838582fSmrg	*)		FILE_MAN_SUFFIX=5  ;;
4490d838582fSmrg    esac
4491d838582fSmrgfi
4492d838582fSmrgif test x$FILE_MAN_DIR = x    ; then
4493d838582fSmrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4494d838582fSmrgfi
4495d838582fSmrg
4496d838582fSmrgif test x$MISC_MAN_SUFFIX = x    ; then
4497d838582fSmrg    case $host_os in
4498d838582fSmrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
4499d838582fSmrg	*)		MISC_MAN_SUFFIX=7  ;;
4500d838582fSmrg    esac
4501d838582fSmrgfi
4502d838582fSmrgif test x$MISC_MAN_DIR = x    ; then
4503d838582fSmrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4504d838582fSmrgfi
4505d838582fSmrg
4506d466db85Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
4507d466db85Smrg    case $host_os in
4508d466db85Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4509d466db85Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
4510d466db85Smrg    esac
4511d466db85Smrgfi
4512d466db85Smrgif test x$DRIVER_MAN_DIR = x    ; then
4513d466db85Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4514d466db85Smrgfi
4515d466db85Smrg
4516d466db85Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
4517d466db85Smrg    case $host_os in
4518d466db85Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4519d466db85Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
4520d466db85Smrg    esac
4521d466db85Smrgfi
4522d466db85Smrgif test x$ADMIN_MAN_DIR = x    ; then
4523d466db85Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4524d466db85Smrgfi
4525d466db85Smrg
4526d466db85Smrg
4527d466db85Smrg
4528d466db85Smrg
45291cca5e29Smrg
45301cca5e29Smrg
45311cca5e29Smrg
45321cca5e29Smrg
45331cca5e29Smrg
45341cca5e29Smrg
45351cca5e29Smrg
45361cca5e29Smrg
45371cca5e29Smrg
45381cca5e29Smrg
45391cca5e29Smrg
45401cca5e29SmrgXORG_MAN_PAGE="X Version 11"
45411cca5e29Smrg
45421cca5e29SmrgMAN_SUBSTS="\
45431cca5e29Smrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
45441cca5e29Smrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
45451cca5e29Smrg	-e 's|__xservername__|Xorg|g' \
45461cca5e29Smrg	-e 's|__xconfigfile__|xorg.conf|g' \
45471cca5e29Smrg	-e 's|__projectroot__|\$(prefix)|g' \
45481cca5e29Smrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
45491cca5e29Smrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
45501cca5e29Smrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
45511cca5e29Smrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
45521cca5e29Smrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
45531cca5e29Smrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
45541cca5e29Smrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
45551cca5e29Smrg
45561cca5e29Smrg
45571cca5e29Smrg
45581cca5e29Smrg# Check whether --enable-silent-rules was given.
45591cca5e29Smrgif test "${enable_silent_rules+set}" = set; then :
45601cca5e29Smrg  enableval=$enable_silent_rules;
4561d838582fSmrgfi
4562d838582fSmrg
45631cca5e29Smrgcase $enable_silent_rules in
45641cca5e29Smrgyes) AM_DEFAULT_VERBOSITY=0;;
45651cca5e29Smrgno)  AM_DEFAULT_VERBOSITY=1;;
45661cca5e29Smrg*)   AM_DEFAULT_VERBOSITY=0;;
45671cca5e29Smrgesac
45681cca5e29SmrgAM_BACKSLASH='\'
45691cca5e29Smrg
45701cca5e29Smrg
4571d838582fSmrg
4572d838582fSmrg
4573d838582fSmrg
4574d838582fSmrgac_config_files="$ac_config_files Makefile"
4575d838582fSmrg
4576d838582fSmrgcat >confcache <<\_ACEOF
4577d838582fSmrg# This file is a shell script that caches the results of configure
4578d838582fSmrg# tests run on this system so they can be shared between configure
4579d838582fSmrg# scripts and configure runs, see configure's option --config-cache.
4580d838582fSmrg# It is not useful on other systems.  If it contains results you don't
4581d838582fSmrg# want to keep, you may remove or edit it.
4582d838582fSmrg#
4583d838582fSmrg# config.status only pays attention to the cache file if you give it
4584d838582fSmrg# the --recheck option to rerun configure.
4585d838582fSmrg#
4586d838582fSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
4587d838582fSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
4588d838582fSmrg# following values.
4589d838582fSmrg
4590d838582fSmrg_ACEOF
4591d838582fSmrg
4592d838582fSmrg# The following way of writing the cache mishandles newlines in values,
4593d838582fSmrg# but we know of no workaround that is simple, portable, and efficient.
4594d838582fSmrg# So, we kill variables containing newlines.
4595d838582fSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
4596d838582fSmrg# and sets the high bit in the cache file unless we assign to the vars.
4597d838582fSmrg(
4598d838582fSmrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4599d838582fSmrg    eval ac_val=\$$ac_var
4600d838582fSmrg    case $ac_val in #(
4601d838582fSmrg    *${as_nl}*)
4602d838582fSmrg      case $ac_var in #(
46031cca5e29Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4604d466db85Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4605d838582fSmrg      esac
4606d838582fSmrg      case $ac_var in #(
4607d838582fSmrg      _ | IFS | as_nl) ;; #(
4608d466db85Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
46091cca5e29Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
4610d838582fSmrg      esac ;;
4611d838582fSmrg    esac
4612d838582fSmrg  done
4613d838582fSmrg
4614d838582fSmrg  (set) 2>&1 |
4615d838582fSmrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4616d838582fSmrg    *${as_nl}ac_space=\ *)
46171cca5e29Smrg      # `set' does not quote correctly, so add quotes: double-quote
46181cca5e29Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
4619d838582fSmrg      sed -n \
4620d838582fSmrg	"s/'/'\\\\''/g;
4621d838582fSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4622d838582fSmrg      ;; #(
4623d838582fSmrg    *)
4624d838582fSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
4625d838582fSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4626d838582fSmrg      ;;
4627d838582fSmrg    esac |
4628d838582fSmrg    sort
4629d838582fSmrg) |
4630d838582fSmrg  sed '
4631d838582fSmrg     /^ac_cv_env_/b end
4632d838582fSmrg     t clear
4633d838582fSmrg     :clear
4634d838582fSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4635d838582fSmrg     t end
4636d838582fSmrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4637d838582fSmrg     :end' >>confcache
4638d838582fSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4639d838582fSmrg  if test -w "$cache_file"; then
46401cca5e29Smrg    if test "x$cache_file" != "x/dev/null"; then
46411cca5e29Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4642d466db85Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
46431cca5e29Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
46441cca5e29Smrg	cat confcache >"$cache_file"
46451cca5e29Smrg      else
46461cca5e29Smrg        case $cache_file in #(
46471cca5e29Smrg        */* | ?:*)
46481cca5e29Smrg	  mv -f confcache "$cache_file"$$ &&
46491cca5e29Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
46501cca5e29Smrg        *)
46511cca5e29Smrg	  mv -f confcache "$cache_file" ;;
46521cca5e29Smrg	esac
46531cca5e29Smrg      fi
46541cca5e29Smrg    fi
4655d838582fSmrg  else
46561cca5e29Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4657d466db85Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4658d838582fSmrg  fi
4659d838582fSmrgfi
4660d838582fSmrgrm -f confcache
4661d838582fSmrg
4662d838582fSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
4663d838582fSmrg# Let make expand exec_prefix.
4664d838582fSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4665d838582fSmrg
4666d838582fSmrg# Transform confdefs.h into DEFS.
4667d838582fSmrg# Protect against shell expansion while executing Makefile rules.
4668d838582fSmrg# Protect against Makefile macro expansion.
4669d838582fSmrg#
4670d838582fSmrg# If the first sed substitution is executed (which looks for macros that
4671d838582fSmrg# take arguments), then branch to the quote section.  Otherwise,
4672d838582fSmrg# look for a macro that doesn't take arguments.
4673d838582fSmrgac_script='
4674d466db85Smrg:mline
4675d466db85Smrg/\\$/{
4676d466db85Smrg N
4677d466db85Smrg s,\\\n,,
4678d466db85Smrg b mline
4679d466db85Smrg}
4680d838582fSmrgt clear
4681d838582fSmrg:clear
4682d838582fSmrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
4683d838582fSmrgt quote
4684d838582fSmrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
4685d838582fSmrgt quote
4686d838582fSmrgb any
4687d838582fSmrg:quote
4688d838582fSmrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4689d838582fSmrgs/\[/\\&/g
4690d838582fSmrgs/\]/\\&/g
4691d838582fSmrgs/\$/$$/g
4692d838582fSmrgH
4693d838582fSmrg:any
4694d838582fSmrg${
4695d838582fSmrg	g
4696d838582fSmrg	s/^\n//
4697d838582fSmrg	s/\n/ /g
4698d838582fSmrg	p
4699d838582fSmrg}
4700d838582fSmrg'
4701d838582fSmrgDEFS=`sed -n "$ac_script" confdefs.h`
4702d838582fSmrg
4703d838582fSmrg
4704d838582fSmrgac_libobjs=
4705d838582fSmrgac_ltlibobjs=
47061cca5e29SmrgU=
4707d838582fSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4708d838582fSmrg  # 1. Remove the extension, and $U if already installed.
4709d838582fSmrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4710d466db85Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4711d838582fSmrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4712d838582fSmrg  #    will be set to the directory where LIBOBJS objects are built.
47131cca5e29Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
47141cca5e29Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4715d838582fSmrgdone
4716d838582fSmrgLIBOBJS=$ac_libobjs
4717d838582fSmrg
4718d838582fSmrgLTLIBOBJS=$ac_ltlibobjs
4719d838582fSmrg
4720d838582fSmrg
4721d466db85Smrg if test -n "$EXEEXT"; then
4722d466db85Smrg  am__EXEEXT_TRUE=
4723d466db85Smrg  am__EXEEXT_FALSE='#'
4724d466db85Smrgelse
4725d466db85Smrg  am__EXEEXT_TRUE='#'
4726d466db85Smrg  am__EXEEXT_FALSE=
4727d466db85Smrgfi
4728d466db85Smrg
4729d838582fSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
47301cca5e29Smrg  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
47311cca5e29SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4732d466db85Smrgfi
4733d466db85Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
47341cca5e29Smrg  as_fn_error $? "conditional \"AMDEP\" was never defined.
47351cca5e29SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4736d466db85Smrgfi
4737d466db85Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
47381cca5e29Smrg  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
47391cca5e29SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
4740d838582fSmrgfi
4741d838582fSmrg
47421cca5e29Smrg: "${CONFIG_STATUS=./config.status}"
4743d466db85Smrgac_write_fail=0
4744d838582fSmrgac_clean_files_save=$ac_clean_files
4745d838582fSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
47461cca5e29Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4747d466db85Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
47481cca5e29Smrgas_write_fail=0
47491cca5e29Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4750d838582fSmrg#! $SHELL
4751d838582fSmrg# Generated by $as_me.
4752d838582fSmrg# Run this file to recreate the current configuration.
4753d838582fSmrg# Compiler output produced by configure, useful for debugging
4754d838582fSmrg# configure, is in config.log if it exists.
4755d838582fSmrg
4756d838582fSmrgdebug=false
4757d838582fSmrgac_cs_recheck=false
4758d838582fSmrgac_cs_silent=false
4759d838582fSmrg
47601cca5e29SmrgSHELL=\${CONFIG_SHELL-$SHELL}
47611cca5e29Smrgexport SHELL
47621cca5e29Smrg_ASEOF
47631cca5e29Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
47641cca5e29Smrg## -------------------- ##
47651cca5e29Smrg## M4sh Initialization. ##
47661cca5e29Smrg## -------------------- ##
4767d838582fSmrg
4768d838582fSmrg# Be more Bourne compatible
4769d838582fSmrgDUALCASE=1; export DUALCASE # for MKS sh
47701cca5e29Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4771d838582fSmrg  emulate sh
4772d838582fSmrg  NULLCMD=:
4773d466db85Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4774d838582fSmrg  # is contrary to our usage.  Disable this feature.
4775d838582fSmrg  alias -g '${1+"$@"}'='"$@"'
4776d838582fSmrg  setopt NO_GLOB_SUBST
4777d838582fSmrgelse
47781cca5e29Smrg  case `(set -o) 2>/dev/null` in #(
47791cca5e29Smrg  *posix*) :
47801cca5e29Smrg    set -o posix ;; #(
47811cca5e29Smrg  *) :
47821cca5e29Smrg     ;;
4783d838582fSmrgesac
4784d838582fSmrgfi
4785d838582fSmrg
4786d838582fSmrg
4787d466db85Smrgas_nl='
4788d466db85Smrg'
4789d466db85Smrgexport as_nl
4790d466db85Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
4791d466db85Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4792d466db85Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4793d466db85Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47941cca5e29Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
47951cca5e29Smrg# but without wasting forks for bash or zsh.
47961cca5e29Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
47971cca5e29Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47981cca5e29Smrg  as_echo='print -r --'
47991cca5e29Smrg  as_echo_n='print -rn --'
48001cca5e29Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4801d466db85Smrg  as_echo='printf %s\n'
4802d466db85Smrg  as_echo_n='printf %s'
4803d466db85Smrgelse
4804d466db85Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4805d466db85Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4806d466db85Smrg    as_echo_n='/usr/ucb/echo -n'
4807d838582fSmrg  else
4808d466db85Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4809d466db85Smrg    as_echo_n_body='eval
4810d466db85Smrg      arg=$1;
48111cca5e29Smrg      case $arg in #(
4812d466db85Smrg      *"$as_nl"*)
4813d466db85Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
4814d466db85Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4815d466db85Smrg      esac;
4816d466db85Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4817d466db85Smrg    '
4818d466db85Smrg    export as_echo_n_body
4819d466db85Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
4820d838582fSmrg  fi
4821d466db85Smrg  export as_echo_body
4822d466db85Smrg  as_echo='sh -c $as_echo_body as_echo'
4823d466db85Smrgfi
4824d466db85Smrg
4825d466db85Smrg# The user is always right.
4826d466db85Smrgif test "${PATH_SEPARATOR+set}" != set; then
4827d466db85Smrg  PATH_SEPARATOR=:
4828d466db85Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4829d466db85Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4830d466db85Smrg      PATH_SEPARATOR=';'
4831d466db85Smrg  }
4832d838582fSmrgfi
4833d838582fSmrg
4834d838582fSmrg
4835d838582fSmrg# IFS
4836d838582fSmrg# We need space, tab and new line, in precisely that order.  Quoting is
4837d838582fSmrg# there to prevent editors from complaining about space-tab.
4838d838582fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4839d838582fSmrg# splitting by setting IFS to empty value.)
4840d838582fSmrgIFS=" ""	$as_nl"
4841d838582fSmrg
4842d838582fSmrg# Find who we are.  Look in the path if we contain no directory separator.
48431cca5e29Smrgas_myself=
48441cca5e29Smrgcase $0 in #((
4845d838582fSmrg  *[\\/]* ) as_myself=$0 ;;
4846d838582fSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847d838582fSmrgfor as_dir in $PATH
4848d838582fSmrgdo
4849d838582fSmrg  IFS=$as_save_IFS
4850d838582fSmrg  test -z "$as_dir" && as_dir=.
48511cca5e29Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
48521cca5e29Smrg  done
4853d838582fSmrgIFS=$as_save_IFS
4854d838582fSmrg
4855d838582fSmrg     ;;
4856d838582fSmrgesac
4857d838582fSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
4858d838582fSmrg# in which case we are not to be found in the path.
4859d838582fSmrgif test "x$as_myself" = x; then
4860d838582fSmrg  as_myself=$0
4861d838582fSmrgfi
4862d838582fSmrgif test ! -f "$as_myself"; then
4863d466db85Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
48641cca5e29Smrg  exit 1
4865d838582fSmrgfi
4866d838582fSmrg
48671cca5e29Smrg# Unset variables that we do not need and which cause bugs (e.g. in
48681cca5e29Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
48691cca5e29Smrg# suppresses any "Segmentation fault" message there.  '((' could
48701cca5e29Smrg# trigger a bug in pdksh 5.2.14.
48711cca5e29Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
48721cca5e29Smrgdo eval test x\${$as_var+set} = xset \
48731cca5e29Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4874d838582fSmrgdone
4875d838582fSmrgPS1='$ '
4876d838582fSmrgPS2='> '
4877d838582fSmrgPS4='+ '
4878d838582fSmrg
4879d838582fSmrg# NLS nuisances.
4880d466db85SmrgLC_ALL=C
4881d466db85Smrgexport LC_ALL
4882d466db85SmrgLANGUAGE=C
4883d466db85Smrgexport LANGUAGE
4884d838582fSmrg
48851cca5e29Smrg# CDPATH.
48861cca5e29Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
48871cca5e29Smrg
48881cca5e29Smrg
48891cca5e29Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
48901cca5e29Smrg# ----------------------------------------
48911cca5e29Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
48921cca5e29Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
48931cca5e29Smrg# script with STATUS, using 1 if that was 0.
48941cca5e29Smrgas_fn_error ()
48951cca5e29Smrg{
48961cca5e29Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
48971cca5e29Smrg  if test "$4"; then
48981cca5e29Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
48991cca5e29Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
49001cca5e29Smrg  fi
49011cca5e29Smrg  $as_echo "$as_me: error: $2" >&2
49021cca5e29Smrg  as_fn_exit $as_status
49031cca5e29Smrg} # as_fn_error
49041cca5e29Smrg
49051cca5e29Smrg
49061cca5e29Smrg# as_fn_set_status STATUS
49071cca5e29Smrg# -----------------------
49081cca5e29Smrg# Set $? to STATUS, without forking.
49091cca5e29Smrgas_fn_set_status ()
49101cca5e29Smrg{
49111cca5e29Smrg  return $1
49121cca5e29Smrg} # as_fn_set_status
49131cca5e29Smrg
49141cca5e29Smrg# as_fn_exit STATUS
49151cca5e29Smrg# -----------------
49161cca5e29Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
49171cca5e29Smrgas_fn_exit ()
49181cca5e29Smrg{
49191cca5e29Smrg  set +e
49201cca5e29Smrg  as_fn_set_status $1
49211cca5e29Smrg  exit $1
49221cca5e29Smrg} # as_fn_exit
49231cca5e29Smrg
49241cca5e29Smrg# as_fn_unset VAR
49251cca5e29Smrg# ---------------
49261cca5e29Smrg# Portably unset VAR.
49271cca5e29Smrgas_fn_unset ()
49281cca5e29Smrg{
49291cca5e29Smrg  { eval $1=; unset $1;}
49301cca5e29Smrg}
49311cca5e29Smrgas_unset=as_fn_unset
49321cca5e29Smrg# as_fn_append VAR VALUE
49331cca5e29Smrg# ----------------------
49341cca5e29Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
49351cca5e29Smrg# advantage of any shell optimizations that allow amortized linear growth over
49361cca5e29Smrg# repeated appends, instead of the typical quadratic growth present in naive
49371cca5e29Smrg# implementations.
49381cca5e29Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
49391cca5e29Smrg  eval 'as_fn_append ()
49401cca5e29Smrg  {
49411cca5e29Smrg    eval $1+=\$2
49421cca5e29Smrg  }'
49431cca5e29Smrgelse
49441cca5e29Smrg  as_fn_append ()
49451cca5e29Smrg  {
49461cca5e29Smrg    eval $1=\$$1\$2
49471cca5e29Smrg  }
49481cca5e29Smrgfi # as_fn_append
49491cca5e29Smrg
49501cca5e29Smrg# as_fn_arith ARG...
49511cca5e29Smrg# ------------------
49521cca5e29Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
49531cca5e29Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
49541cca5e29Smrg# must be portable across $(()) and expr.
49551cca5e29Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
49561cca5e29Smrg  eval 'as_fn_arith ()
49571cca5e29Smrg  {
49581cca5e29Smrg    as_val=$(( $* ))
49591cca5e29Smrg  }'
49601cca5e29Smrgelse
49611cca5e29Smrg  as_fn_arith ()
49621cca5e29Smrg  {
49631cca5e29Smrg    as_val=`expr "$@" || test $? -eq 1`
49641cca5e29Smrg  }
49651cca5e29Smrgfi # as_fn_arith
49661cca5e29Smrg
49671cca5e29Smrg
4968d838582fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4969d838582fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4970d838582fSmrg  as_expr=expr
4971d838582fSmrgelse
4972d838582fSmrg  as_expr=false
4973d838582fSmrgfi
4974d838582fSmrg
4975d838582fSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4976d838582fSmrg  as_basename=basename
4977d838582fSmrgelse
4978d838582fSmrg  as_basename=false
4979d838582fSmrgfi
4980d838582fSmrg
49811cca5e29Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49821cca5e29Smrg  as_dirname=dirname
49831cca5e29Smrgelse
49841cca5e29Smrg  as_dirname=false
49851cca5e29Smrgfi
4986d838582fSmrg
4987d838582fSmrgas_me=`$as_basename -- "$0" ||
4988d838582fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4989d838582fSmrg	 X"$0" : 'X\(//\)$' \| \
4990d838582fSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4991d466db85Smrg$as_echo X/"$0" |
4992d838582fSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
4993d838582fSmrg	    s//\1/
4994d838582fSmrg	    q
4995d838582fSmrg	  }
4996d838582fSmrg	  /^X\/\(\/\/\)$/{
4997d838582fSmrg	    s//\1/
4998d838582fSmrg	    q
4999d838582fSmrg	  }
5000d838582fSmrg	  /^X\/\(\/\).*/{
5001d838582fSmrg	    s//\1/
5002d838582fSmrg	    q
5003d838582fSmrg	  }
5004d838582fSmrg	  s/.*/./; q'`
5005d838582fSmrg
50061cca5e29Smrg# Avoid depending upon Character Ranges.
50071cca5e29Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
50081cca5e29Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50091cca5e29Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
50101cca5e29Smrgas_cr_digits='0123456789'
50111cca5e29Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
5012d838582fSmrg
5013d838582fSmrgECHO_C= ECHO_N= ECHO_T=
50141cca5e29Smrgcase `echo -n x` in #(((((
5015d838582fSmrg-n*)
50161cca5e29Smrg  case `echo 'xy\c'` in
5017d838582fSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
50181cca5e29Smrg  xy)  ECHO_C='\c';;
50191cca5e29Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
50201cca5e29Smrg       ECHO_T='	';;
5021d838582fSmrg  esac;;
5022d838582fSmrg*)
5023d838582fSmrg  ECHO_N='-n';;
5024d838582fSmrgesac
5025d838582fSmrg
5026d838582fSmrgrm -f conf$$ conf$$.exe conf$$.file
5027d838582fSmrgif test -d conf$$.dir; then
5028d838582fSmrg  rm -f conf$$.dir/conf$$.file
5029d838582fSmrgelse
5030d838582fSmrg  rm -f conf$$.dir
5031d466db85Smrg  mkdir conf$$.dir 2>/dev/null
5032d466db85Smrgfi
5033d466db85Smrgif (echo >conf$$.file) 2>/dev/null; then
5034d466db85Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5035d466db85Smrg    as_ln_s='ln -s'
5036d466db85Smrg    # ... but there are two gotchas:
5037d466db85Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5038d466db85Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5039d466db85Smrg    # In both cases, we have to default to `cp -p'.
5040d466db85Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5041d466db85Smrg      as_ln_s='cp -p'
5042d466db85Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5043d466db85Smrg    as_ln_s=ln
5044d466db85Smrg  else
5045d838582fSmrg    as_ln_s='cp -p'
5046d466db85Smrg  fi
5047d838582fSmrgelse
5048d838582fSmrg  as_ln_s='cp -p'
5049d838582fSmrgfi
5050d838582fSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5051d838582fSmrgrmdir conf$$.dir 2>/dev/null
5052d838582fSmrg
50531cca5e29Smrg
50541cca5e29Smrg# as_fn_mkdir_p
50551cca5e29Smrg# -------------
50561cca5e29Smrg# Create "$as_dir" as a directory, including parents if necessary.
50571cca5e29Smrgas_fn_mkdir_p ()
50581cca5e29Smrg{
50591cca5e29Smrg
50601cca5e29Smrg  case $as_dir in #(
50611cca5e29Smrg  -*) as_dir=./$as_dir;;
50621cca5e29Smrg  esac
50631cca5e29Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
50641cca5e29Smrg    as_dirs=
50651cca5e29Smrg    while :; do
50661cca5e29Smrg      case $as_dir in #(
50671cca5e29Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
50681cca5e29Smrg      *) as_qdir=$as_dir;;
50691cca5e29Smrg      esac
50701cca5e29Smrg      as_dirs="'$as_qdir' $as_dirs"
50711cca5e29Smrg      as_dir=`$as_dirname -- "$as_dir" ||
50721cca5e29Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50731cca5e29Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
50741cca5e29Smrg	 X"$as_dir" : 'X\(//\)$' \| \
50751cca5e29Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50761cca5e29Smrg$as_echo X"$as_dir" |
50771cca5e29Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50781cca5e29Smrg	    s//\1/
50791cca5e29Smrg	    q
50801cca5e29Smrg	  }
50811cca5e29Smrg	  /^X\(\/\/\)[^/].*/{
50821cca5e29Smrg	    s//\1/
50831cca5e29Smrg	    q
50841cca5e29Smrg	  }
50851cca5e29Smrg	  /^X\(\/\/\)$/{
50861cca5e29Smrg	    s//\1/
50871cca5e29Smrg	    q
50881cca5e29Smrg	  }
50891cca5e29Smrg	  /^X\(\/\).*/{
50901cca5e29Smrg	    s//\1/
50911cca5e29Smrg	    q
50921cca5e29Smrg	  }
50931cca5e29Smrg	  s/.*/./; q'`
50941cca5e29Smrg      test -d "$as_dir" && break
50951cca5e29Smrg    done
50961cca5e29Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
50971cca5e29Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
50981cca5e29Smrg
50991cca5e29Smrg
51001cca5e29Smrg} # as_fn_mkdir_p
5101d838582fSmrgif mkdir -p . 2>/dev/null; then
51021cca5e29Smrg  as_mkdir_p='mkdir -p "$as_dir"'
5103d838582fSmrgelse
5104d838582fSmrg  test -d ./-p && rmdir ./-p
5105d838582fSmrg  as_mkdir_p=false
5106d838582fSmrgfi
5107d838582fSmrg
5108d838582fSmrgif test -x / >/dev/null 2>&1; then
5109d838582fSmrg  as_test_x='test -x'
5110d838582fSmrgelse
5111d838582fSmrg  if ls -dL / >/dev/null 2>&1; then
5112d838582fSmrg    as_ls_L_option=L
5113d838582fSmrg  else
5114d838582fSmrg    as_ls_L_option=
5115d838582fSmrg  fi
5116d838582fSmrg  as_test_x='
5117d838582fSmrg    eval sh -c '\''
5118d838582fSmrg      if test -d "$1"; then
5119d466db85Smrg	test -d "$1/.";
5120d838582fSmrg      else
51211cca5e29Smrg	case $1 in #(
5122d466db85Smrg	-*)set "./$1";;
5123d838582fSmrg	esac;
51241cca5e29Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5125d838582fSmrg	???[sx]*):;;*)false;;esac;fi
5126d838582fSmrg    '\'' sh
5127d838582fSmrg  '
5128d838582fSmrgfi
5129d838582fSmrgas_executable_p=$as_test_x
5130d838582fSmrg
5131d838582fSmrg# Sed expression to map a string onto a valid CPP name.
5132d838582fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5133d838582fSmrg
5134d838582fSmrg# Sed expression to map a string onto a valid variable name.
5135d838582fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5136d838582fSmrg
5137d838582fSmrg
5138d838582fSmrgexec 6>&1
51391cca5e29Smrg## ----------------------------------- ##
51401cca5e29Smrg## Main body of $CONFIG_STATUS script. ##
51411cca5e29Smrg## ----------------------------------- ##
51421cca5e29Smrg_ASEOF
51431cca5e29Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5144d838582fSmrg
51451cca5e29Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51461cca5e29Smrg# Save the log message, to keep $0 and so on meaningful, and to
5147d838582fSmrg# report actual input values of CONFIG_FILES etc. instead of their
5148d838582fSmrg# values after options handling.
5149d838582fSmrgac_log="
51501cca5e29SmrgThis file was extended by mkfontdir $as_me 1.0.6, which was
51511cca5e29Smrggenerated by GNU Autoconf 2.68.  Invocation command line was
5152d838582fSmrg
5153d838582fSmrg  CONFIG_FILES    = $CONFIG_FILES
5154d838582fSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
5155d838582fSmrg  CONFIG_LINKS    = $CONFIG_LINKS
5156d838582fSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
5157d838582fSmrg  $ $0 $@
5158d838582fSmrg
5159d838582fSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
5160d838582fSmrg"
5161d838582fSmrg
5162d838582fSmrg_ACEOF
5163d838582fSmrg
5164d466db85Smrgcase $ac_config_files in *"
5165d466db85Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
5166d466db85Smrgesac
5167d466db85Smrg
5168d466db85Smrg
5169d466db85Smrg
5170d466db85Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5171d838582fSmrg# Files that config.status was made for.
5172d838582fSmrgconfig_files="$ac_config_files"
5173d466db85Smrgconfig_commands="$ac_config_commands"
5174d838582fSmrg
5175d838582fSmrg_ACEOF
5176d838582fSmrg
5177d466db85Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5178d838582fSmrgac_cs_usage="\
51791cca5e29Smrg\`$as_me' instantiates files and other configuration actions
51801cca5e29Smrgfrom templates according to the current configuration.  Unless the files
51811cca5e29Smrgand actions are specified as TAGs, all are instantiated by default.
5182d838582fSmrg
51831cca5e29SmrgUsage: $0 [OPTION]... [TAG]...
5184d838582fSmrg
5185d838582fSmrg  -h, --help       print this help, then exit
5186d838582fSmrg  -V, --version    print version number and configuration settings, then exit
51871cca5e29Smrg      --config     print configuration, then exit
5188d466db85Smrg  -q, --quiet, --silent
5189d466db85Smrg                   do not print progress messages
5190d838582fSmrg  -d, --debug      don't remove temporary files
5191d838582fSmrg      --recheck    update $as_me by reconfiguring in the same conditions
5192d466db85Smrg      --file=FILE[:TEMPLATE]
5193d466db85Smrg                   instantiate the configuration file FILE
5194d838582fSmrg
5195d838582fSmrgConfiguration files:
5196d838582fSmrg$config_files
5197d838582fSmrg
5198d466db85SmrgConfiguration commands:
5199d466db85Smrg$config_commands
5200d466db85Smrg
52011cca5e29SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5202d838582fSmrg
5203d838582fSmrg_ACEOF
5204d466db85Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52051cca5e29Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5206d838582fSmrgac_cs_version="\\
52071cca5e29Smrgmkfontdir config.status 1.0.6
52081cca5e29Smrgconfigured by $0, generated by GNU Autoconf 2.68,
52091cca5e29Smrg  with options \\"\$ac_cs_config\\"
5210d838582fSmrg
52111cca5e29SmrgCopyright (C) 2010 Free Software Foundation, Inc.
5212d838582fSmrgThis config.status script is free software; the Free Software Foundation
5213d838582fSmrggives unlimited permission to copy, distribute and modify it."
5214d838582fSmrg
5215d838582fSmrgac_pwd='$ac_pwd'
5216d838582fSmrgsrcdir='$srcdir'
5217d838582fSmrgINSTALL='$INSTALL'
5218d838582fSmrgMKDIR_P='$MKDIR_P'
5219d466db85SmrgAWK='$AWK'
5220d466db85Smrgtest -n "\$AWK" || AWK=awk
5221d838582fSmrg_ACEOF
5222d838582fSmrg
5223d466db85Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5224d466db85Smrg# The default lists apply if the user does not specify any file.
5225d838582fSmrgac_need_defaults=:
5226d838582fSmrgwhile test $# != 0
5227d838582fSmrgdo
5228d838582fSmrg  case $1 in
52291cca5e29Smrg  --*=?*)
5230d838582fSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5231d838582fSmrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5232d838582fSmrg    ac_shift=:
5233d838582fSmrg    ;;
52341cca5e29Smrg  --*=)
52351cca5e29Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
52361cca5e29Smrg    ac_optarg=
52371cca5e29Smrg    ac_shift=:
52381cca5e29Smrg    ;;
5239d838582fSmrg  *)
5240d838582fSmrg    ac_option=$1
5241d838582fSmrg    ac_optarg=$2
5242d838582fSmrg    ac_shift=shift
5243d838582fSmrg    ;;
5244d838582fSmrg  esac
5245d838582fSmrg
5246d838582fSmrg  case $ac_option in
5247d838582fSmrg  # Handling of the options.
5248d838582fSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5249d838582fSmrg    ac_cs_recheck=: ;;
5250d838582fSmrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5251d466db85Smrg    $as_echo "$ac_cs_version"; exit ;;
52521cca5e29Smrg  --config | --confi | --conf | --con | --co | --c )
52531cca5e29Smrg    $as_echo "$ac_cs_config"; exit ;;
5254d838582fSmrg  --debug | --debu | --deb | --de | --d | -d )
5255d838582fSmrg    debug=: ;;
5256d838582fSmrg  --file | --fil | --fi | --f )
5257d838582fSmrg    $ac_shift
5258d466db85Smrg    case $ac_optarg in
5259d466db85Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
52601cca5e29Smrg    '') as_fn_error $? "missing file argument" ;;
5261d466db85Smrg    esac
52621cca5e29Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
5263d838582fSmrg    ac_need_defaults=false;;
5264d838582fSmrg  --he | --h |  --help | --hel | -h )
5265d466db85Smrg    $as_echo "$ac_cs_usage"; exit ;;
5266d838582fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5267d838582fSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5268d838582fSmrg    ac_cs_silent=: ;;
5269d838582fSmrg
5270d838582fSmrg  # This is an error.
52711cca5e29Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
52721cca5e29SmrgTry \`$0 --help' for more information." ;;
5273d838582fSmrg
52741cca5e29Smrg  *) as_fn_append ac_config_targets " $1"
5275d838582fSmrg     ac_need_defaults=false ;;
5276d838582fSmrg
5277d838582fSmrg  esac
5278d838582fSmrg  shift
5279d838582fSmrgdone
5280d838582fSmrg
5281d838582fSmrgac_configure_extra_args=
5282d838582fSmrg
5283d838582fSmrgif $ac_cs_silent; then
5284d838582fSmrg  exec 6>/dev/null
5285d838582fSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
5286d838582fSmrgfi
5287d838582fSmrg
5288d838582fSmrg_ACEOF
5289d466db85Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5290d838582fSmrgif \$ac_cs_recheck; then
5291d466db85Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5292d466db85Smrg  shift
5293d466db85Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5294d466db85Smrg  CONFIG_SHELL='$SHELL'
5295d838582fSmrg  export CONFIG_SHELL
5296d466db85Smrg  exec "\$@"
5297d838582fSmrgfi
5298d838582fSmrg
5299d838582fSmrg_ACEOF
5300d466db85Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5301d838582fSmrgexec 5>>config.log
5302d838582fSmrg{
5303d838582fSmrg  echo
5304d838582fSmrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5305d838582fSmrg## Running $as_me. ##
5306d838582fSmrg_ASBOX
5307d466db85Smrg  $as_echo "$ac_log"
5308d838582fSmrg} >&5
5309d838582fSmrg
5310d838582fSmrg_ACEOF
5311d466db85Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5312d466db85Smrg#
5313d466db85Smrg# INIT-COMMANDS
5314d466db85Smrg#
5315d466db85SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5316d466db85Smrg
5317d838582fSmrg_ACEOF
5318d838582fSmrg
5319d466db85Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5320d838582fSmrg
5321d838582fSmrg# Handling of arguments.
5322d838582fSmrgfor ac_config_target in $ac_config_targets
5323d838582fSmrgdo
5324d838582fSmrg  case $ac_config_target in
5325d466db85Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5326d838582fSmrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5327d838582fSmrg
53281cca5e29Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5329d838582fSmrg  esac
5330d838582fSmrgdone
5331d838582fSmrg
5332d838582fSmrg
5333d838582fSmrg# If the user did not use the arguments to specify the items to instantiate,
5334d838582fSmrg# then the envvar interface is used.  Set only those that are not.
5335d838582fSmrg# We use the long form for the default assignment because of an extremely
5336d838582fSmrg# bizarre bug on SunOS 4.1.3.
5337d838582fSmrgif $ac_need_defaults; then
5338d838582fSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5339d466db85Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5340d838582fSmrgfi
5341d838582fSmrg
5342d838582fSmrg# Have a temporary directory for convenience.  Make it in the build tree
5343d838582fSmrg# simply because there is no reason against having it here, and in addition,
5344d838582fSmrg# creating and moving files from /tmp can sometimes cause problems.
5345d838582fSmrg# Hook for its removal unless debugging.
5346d838582fSmrg# Note that there is a small window in which the directory will not be cleaned:
5347d838582fSmrg# after its creation but before its name has been assigned to `$tmp'.
5348d838582fSmrg$debug ||
5349d838582fSmrg{
53501cca5e29Smrg  tmp= ac_tmp=
5351d838582fSmrg  trap 'exit_status=$?
53521cca5e29Smrg  : "${ac_tmp:=$tmp}"
53531cca5e29Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5354d838582fSmrg' 0
53551cca5e29Smrg  trap 'as_fn_exit 1' 1 2 13 15
5356d838582fSmrg}
5357d838582fSmrg# Create a (secure) tmp directory for tmp files.
5358d838582fSmrg
5359d838582fSmrg{
5360d838582fSmrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53611cca5e29Smrg  test -d "$tmp"
5362d838582fSmrg}  ||
5363d838582fSmrg{
5364d838582fSmrg  tmp=./conf$$-$RANDOM
5365d838582fSmrg  (umask 077 && mkdir "$tmp")
53661cca5e29Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
53671cca5e29Smrgac_tmp=$tmp
5368d838582fSmrg
5369d466db85Smrg# Set up the scripts for CONFIG_FILES section.
5370d466db85Smrg# No need to generate them if there are no CONFIG_FILES.
5371d466db85Smrg# This happens for instance with `./config.status config.h'.
5372d838582fSmrgif test -n "$CONFIG_FILES"; then
5373d838582fSmrg
5374d838582fSmrg
53751cca5e29Smrgac_cr=`echo X | tr X '\015'`
53761cca5e29Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
53771cca5e29Smrg# But we know of no other shell where ac_cr would be empty at this
53781cca5e29Smrg# point, so we can use a bashism as a fallback.
53791cca5e29Smrgif test "x$ac_cr" = x; then
53801cca5e29Smrg  eval ac_cr=\$\'\\r\'
53811cca5e29Smrgfi
5382d466db85Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5383d466db85Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5384d466db85Smrg  ac_cs_awk_cr='\\r'
5385d466db85Smrgelse
5386d466db85Smrg  ac_cs_awk_cr=$ac_cr
5387d466db85Smrgfi
5388d466db85Smrg
53891cca5e29Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5390d466db85Smrg_ACEOF
5391d838582fSmrg
5392d838582fSmrg
5393d466db85Smrg{
5394d466db85Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
5395d466db85Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5396d466db85Smrg  echo "_ACEOF"
5397d466db85Smrg} >conf$$subs.sh ||
53981cca5e29Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
53991cca5e29Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5400d838582fSmrgac_delim='%!_!# '
5401d838582fSmrgfor ac_last_try in false false false false false :; do
5402d466db85Smrg  . ./conf$$subs.sh ||
54031cca5e29Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5404d466db85Smrg
5405d466db85Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5406d466db85Smrg  if test $ac_delim_n = $ac_delim_num; then
5407d838582fSmrg    break
5408d838582fSmrg  elif $ac_last_try; then
54091cca5e29Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5410d838582fSmrg  else
5411d838582fSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5412d838582fSmrg  fi
5413d838582fSmrgdone
5414d466db85Smrgrm -f conf$$subs.sh
5415d838582fSmrg
5416d466db85Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
54171cca5e29Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5418d466db85Smrg_ACEOF
5419d466db85Smrgsed -n '
5420d466db85Smrgh
5421d466db85Smrgs/^/S["/; s/!.*/"]=/
5422d466db85Smrgp
5423d466db85Smrgg
5424d466db85Smrgs/^[^!]*!//
5425d466db85Smrg:repl
5426d466db85Smrgt repl
5427d466db85Smrgs/'"$ac_delim"'$//
5428d466db85Smrgt delim
5429d466db85Smrg:nl
5430d466db85Smrgh
54311cca5e29Smrgs/\(.\{148\}\)..*/\1/
5432d466db85Smrgt more1
5433d466db85Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5434d466db85Smrgp
5435d466db85Smrgn
5436d466db85Smrgb repl
5437d466db85Smrg:more1
5438d466db85Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5439d466db85Smrgp
5440d466db85Smrgg
5441d466db85Smrgs/.\{148\}//
5442d466db85Smrgt nl
5443d466db85Smrg:delim
5444d466db85Smrgh
54451cca5e29Smrgs/\(.\{148\}\)..*/\1/
5446d466db85Smrgt more2
5447d466db85Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
5448d466db85Smrgp
5449d466db85Smrgb
5450d466db85Smrg:more2
5451d466db85Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5452d466db85Smrgp
5453d466db85Smrgg
5454d466db85Smrgs/.\{148\}//
5455d466db85Smrgt delim
5456d466db85Smrg' <conf$$subs.awk | sed '
5457d466db85Smrg/^[^""]/{
5458d466db85Smrg  N
5459d466db85Smrg  s/\n//
5460d466db85Smrg}
5461d466db85Smrg' >>$CONFIG_STATUS || ac_write_fail=1
5462d466db85Smrgrm -f conf$$subs.awk
5463d466db85Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5464d466db85Smrg_ACAWK
54651cca5e29Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5466d466db85Smrg  for (key in S) S_is_set[key] = 1
5467d466db85Smrg  FS = ""
5468d466db85Smrg
5469d466db85Smrg}
5470d466db85Smrg{
5471d466db85Smrg  line = $ 0
5472d466db85Smrg  nfields = split(line, field, "@")
5473d466db85Smrg  substed = 0
5474d466db85Smrg  len = length(field[1])
5475d466db85Smrg  for (i = 2; i < nfields; i++) {
5476d466db85Smrg    key = field[i]
5477d466db85Smrg    keylen = length(key)
5478d466db85Smrg    if (S_is_set[key]) {
5479d466db85Smrg      value = S[key]
5480d466db85Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5481d466db85Smrg      len += length(value) + length(field[++i])
5482d466db85Smrg      substed = 1
5483d466db85Smrg    } else
5484d466db85Smrg      len += 1 + keylen
5485d466db85Smrg  }
5486d466db85Smrg
5487d466db85Smrg  print line
5488d466db85Smrg}
5489d838582fSmrg
5490d466db85Smrg_ACAWK
5491d838582fSmrg_ACEOF
5492d466db85Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5493d466db85Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5494d466db85Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5495d466db85Smrgelse
5496d466db85Smrg  cat
54971cca5e29Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
54981cca5e29Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5499d838582fSmrg_ACEOF
5500d838582fSmrg
55011cca5e29Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
55021cca5e29Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5503d838582fSmrg# trailing colons and then remove the whole line if VPATH becomes empty
5504d838582fSmrg# (actually we leave an empty line to preserve line numbers).
5505d838582fSmrgif test "x$srcdir" = x.; then
55061cca5e29Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
55071cca5e29Smrgh
55081cca5e29Smrgs///
55091cca5e29Smrgs/^/:/
55101cca5e29Smrgs/[	 ]*$/:/
55111cca5e29Smrgs/:\$(srcdir):/:/g
55121cca5e29Smrgs/:\${srcdir}:/:/g
55131cca5e29Smrgs/:@srcdir@:/:/g
55141cca5e29Smrgs/^:*//
5515d838582fSmrgs/:*$//
55161cca5e29Smrgx
55171cca5e29Smrgs/\(=[	 ]*\).*/\1/
55181cca5e29SmrgG
55191cca5e29Smrgs/\n//
5520d838582fSmrgs/^[^=]*=[	 ]*$//
5521d838582fSmrg}'
5522d838582fSmrgfi
5523d838582fSmrg
5524d466db85Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5525d838582fSmrgfi # test -n "$CONFIG_FILES"
5526d838582fSmrg
5527d838582fSmrg
5528d466db85Smrgeval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
5529d466db85Smrgshift
5530d466db85Smrgfor ac_tag
5531d838582fSmrgdo
5532d838582fSmrg  case $ac_tag in
5533d838582fSmrg  :[FHLC]) ac_mode=$ac_tag; continue;;
5534d838582fSmrg  esac
5535d838582fSmrg  case $ac_mode$ac_tag in
5536d838582fSmrg  :[FHL]*:*);;
55371cca5e29Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5538d838582fSmrg  :[FH]-) ac_tag=-:-;;
5539d838582fSmrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5540d838582fSmrg  esac
5541d838582fSmrg  ac_save_IFS=$IFS
5542d838582fSmrg  IFS=:
5543d838582fSmrg  set x $ac_tag
5544d838582fSmrg  IFS=$ac_save_IFS
5545d838582fSmrg  shift
5546d838582fSmrg  ac_file=$1
5547d838582fSmrg  shift
5548d838582fSmrg
5549d838582fSmrg  case $ac_mode in
5550d838582fSmrg  :L) ac_source=$1;;
5551d838582fSmrg  :[FH])
5552d838582fSmrg    ac_file_inputs=
5553d838582fSmrg    for ac_f
5554d838582fSmrg    do
5555d838582fSmrg      case $ac_f in
55561cca5e29Smrg      -) ac_f="$ac_tmp/stdin";;
5557d838582fSmrg      *) # Look for the file first in the build tree, then in the source tree
5558d838582fSmrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5559d838582fSmrg	 # because $ac_f cannot contain `:'.
5560d838582fSmrg	 test -f "$ac_f" ||
5561d838582fSmrg	   case $ac_f in
5562d838582fSmrg	   [\\/$]*) false;;
5563d838582fSmrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5564d838582fSmrg	   esac ||
55651cca5e29Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5566d838582fSmrg      esac
5567d466db85Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
55681cca5e29Smrg      as_fn_append ac_file_inputs " '$ac_f'"
5569d838582fSmrg    done
5570d838582fSmrg
5571d838582fSmrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
5572d838582fSmrg    # use $as_me), people would be surprised to read:
5573d838582fSmrg    #    /* config.h.  Generated by config.status.  */
5574d466db85Smrg    configure_input='Generated from '`
5575d466db85Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5576d466db85Smrg	`' by configure.'
5577d838582fSmrg    if test x"$ac_file" != x-; then
5578d838582fSmrg      configure_input="$ac_file.  $configure_input"
55791cca5e29Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5580d466db85Smrg$as_echo "$as_me: creating $ac_file" >&6;}
5581d838582fSmrg    fi
5582d466db85Smrg    # Neutralize special characters interpreted by sed in replacement strings.
5583d466db85Smrg    case $configure_input in #(
5584d466db85Smrg    *\&* | *\|* | *\\* )
5585d466db85Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
5586d466db85Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5587d466db85Smrg    *) ac_sed_conf_input=$configure_input;;
5588d466db85Smrg    esac
5589d838582fSmrg
5590d838582fSmrg    case $ac_tag in
55911cca5e29Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
55921cca5e29Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5593d838582fSmrg    esac
5594d838582fSmrg    ;;
5595d838582fSmrg  esac
5596d838582fSmrg
5597d838582fSmrg  ac_dir=`$as_dirname -- "$ac_file" ||
5598d838582fSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5599d838582fSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
5600d838582fSmrg	 X"$ac_file" : 'X\(//\)$' \| \
5601d838582fSmrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5602d466db85Smrg$as_echo X"$ac_file" |
5603d838582fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5604d838582fSmrg	    s//\1/
5605d838582fSmrg	    q
5606d838582fSmrg	  }
5607d838582fSmrg	  /^X\(\/\/\)[^/].*/{
5608d838582fSmrg	    s//\1/
5609d838582fSmrg	    q
5610d838582fSmrg	  }
5611d838582fSmrg	  /^X\(\/\/\)$/{
5612d838582fSmrg	    s//\1/
5613d838582fSmrg	    q
5614d838582fSmrg	  }
5615d838582fSmrg	  /^X\(\/\).*/{
5616d838582fSmrg	    s//\1/
5617d838582fSmrg	    q
5618d838582fSmrg	  }
5619d838582fSmrg	  s/.*/./; q'`
56201cca5e29Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
5621d838582fSmrg  ac_builddir=.
5622d838582fSmrg
5623d838582fSmrgcase "$ac_dir" in
5624d838582fSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5625d838582fSmrg*)
5626d466db85Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5627d838582fSmrg  # A ".." for each directory in $ac_dir_suffix.
5628d466db85Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5629d838582fSmrg  case $ac_top_builddir_sub in
5630d838582fSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5631d838582fSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5632d838582fSmrg  esac ;;
5633d838582fSmrgesac
5634d838582fSmrgac_abs_top_builddir=$ac_pwd
5635d838582fSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
5636d838582fSmrg# for backward compatibility:
5637d838582fSmrgac_top_builddir=$ac_top_build_prefix
5638d838582fSmrg
5639d838582fSmrgcase $srcdir in
5640d838582fSmrg  .)  # We are building in place.
5641d838582fSmrg    ac_srcdir=.
5642d838582fSmrg    ac_top_srcdir=$ac_top_builddir_sub
5643d838582fSmrg    ac_abs_top_srcdir=$ac_pwd ;;
5644d838582fSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
5645d838582fSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
5646d838582fSmrg    ac_top_srcdir=$srcdir
5647d838582fSmrg    ac_abs_top_srcdir=$srcdir ;;
5648d838582fSmrg  *) # Relative name.
5649d838582fSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5650d838582fSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
5651d838582fSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5652d838582fSmrgesac
5653d838582fSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5654d838582fSmrg
5655d838582fSmrg
5656d838582fSmrg  case $ac_mode in
5657d838582fSmrg  :F)
5658d838582fSmrg  #
5659d838582fSmrg  # CONFIG_FILE
5660d838582fSmrg  #
5661d838582fSmrg
5662d838582fSmrg  case $INSTALL in
5663d838582fSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5664d838582fSmrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5665d838582fSmrg  esac
5666d838582fSmrg  ac_MKDIR_P=$MKDIR_P
5667d838582fSmrg  case $MKDIR_P in
5668d838582fSmrg  [\\/$]* | ?:[\\/]* ) ;;
5669d838582fSmrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5670d838582fSmrg  esac
5671d838582fSmrg_ACEOF
5672d838582fSmrg
5673d466db85Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5674d838582fSmrg# If the template does not know about datarootdir, expand it.
5675d838582fSmrg# FIXME: This hack should be removed a few years after 2.60.
5676d838582fSmrgac_datarootdir_hack=; ac_datarootdir_seen=
5677d466db85Smrgac_sed_dataroot='
5678d466db85Smrg/datarootdir/ {
5679d838582fSmrg  p
5680d838582fSmrg  q
5681d838582fSmrg}
5682d838582fSmrg/@datadir@/p
5683d838582fSmrg/@docdir@/p
5684d838582fSmrg/@infodir@/p
5685d838582fSmrg/@localedir@/p
56861cca5e29Smrg/@mandir@/p'
5687d466db85Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5688d838582fSmrg*datarootdir*) ac_datarootdir_seen=yes;;
5689d838582fSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
56901cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5691d466db85Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5692d838582fSmrg_ACEOF
5693d466db85Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5694d838582fSmrg  ac_datarootdir_hack='
5695d838582fSmrg  s&@datadir@&$datadir&g
5696d838582fSmrg  s&@docdir@&$docdir&g
5697d838582fSmrg  s&@infodir@&$infodir&g
5698d838582fSmrg  s&@localedir@&$localedir&g
5699d838582fSmrg  s&@mandir@&$mandir&g
57001cca5e29Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
5701d838582fSmrgesac
5702d838582fSmrg_ACEOF
5703d838582fSmrg
5704d838582fSmrg# Neutralize VPATH when `$srcdir' = `.'.
5705d838582fSmrg# Shell code in configure.ac might set extrasub.
5706d838582fSmrg# FIXME: do we really want to maintain this feature?
5707d466db85Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5708d466db85Smrgac_sed_extra="$ac_vpsub
5709d838582fSmrg$extrasub
5710d838582fSmrg_ACEOF
5711d466db85Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5712d838582fSmrg:t
5713d838582fSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5714d466db85Smrgs|@configure_input@|$ac_sed_conf_input|;t t
5715d838582fSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t
5716d466db85Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
5717d838582fSmrgs&@srcdir@&$ac_srcdir&;t t
5718d838582fSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
5719d838582fSmrgs&@top_srcdir@&$ac_top_srcdir&;t t
5720d838582fSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5721d838582fSmrgs&@builddir@&$ac_builddir&;t t
5722d838582fSmrgs&@abs_builddir@&$ac_abs_builddir&;t t
5723d838582fSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5724d838582fSmrgs&@INSTALL@&$ac_INSTALL&;t t
5725d838582fSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
5726d838582fSmrg$ac_datarootdir_hack
5727d466db85Smrg"
57281cca5e29Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
57291cca5e29Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5730d838582fSmrg
5731d838582fSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57321cca5e29Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
57331cca5e29Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
57341cca5e29Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
57351cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57361cca5e29Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
5737d466db85Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57381cca5e29Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
5739d838582fSmrg
57401cca5e29Smrg  rm -f "$ac_tmp/stdin"
5741d838582fSmrg  case $ac_file in
57421cca5e29Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
57431cca5e29Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5744d466db85Smrg  esac \
57451cca5e29Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5746d838582fSmrg ;;
5747d838582fSmrg
5748d838582fSmrg
57491cca5e29Smrg  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5750d466db85Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
5751d466db85Smrg ;;
5752d466db85Smrg  esac
5753d466db85Smrg
5754d838582fSmrg
5755d466db85Smrg  case $ac_file$ac_mode in
5756d466db85Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5757d466db85Smrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
5758d466db85Smrg  # are listed without --file.  Let's play safe and only enable the eval
5759d466db85Smrg  # if we detect the quoting.
5760d466db85Smrg  case $CONFIG_FILES in
5761d466db85Smrg  *\'*) eval set x "$CONFIG_FILES" ;;
5762d466db85Smrg  *)   set x $CONFIG_FILES ;;
5763d466db85Smrg  esac
5764d466db85Smrg  shift
5765d466db85Smrg  for mf
5766d466db85Smrg  do
5767d466db85Smrg    # Strip MF so we end up with the name of the file.
5768d466db85Smrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
5769d466db85Smrg    # Check whether this is an Automake generated Makefile or not.
5770d466db85Smrg    # We used to match only the files named `Makefile.in', but
5771d466db85Smrg    # some people rename them; so instead we look at the file content.
5772d466db85Smrg    # Grep'ing the first line is not enough: some people post-process
5773d466db85Smrg    # each Makefile.in and add a new line on top of each file to say so.
5774d466db85Smrg    # Grep'ing the whole file is not good either: AIX grep has a line
5775d466db85Smrg    # limit of 2048, but all sed's we know have understand at least 4000.
5776d466db85Smrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5777d466db85Smrg      dirpart=`$as_dirname -- "$mf" ||
5778d466db85Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5779d466db85Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
5780d466db85Smrg	 X"$mf" : 'X\(//\)$' \| \
5781d466db85Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5782d466db85Smrg$as_echo X"$mf" |
5783d466db85Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5784d466db85Smrg	    s//\1/
5785d466db85Smrg	    q
5786d466db85Smrg	  }
5787d466db85Smrg	  /^X\(\/\/\)[^/].*/{
5788d466db85Smrg	    s//\1/
5789d466db85Smrg	    q
5790d466db85Smrg	  }
5791d466db85Smrg	  /^X\(\/\/\)$/{
5792d466db85Smrg	    s//\1/
5793d466db85Smrg	    q
5794d466db85Smrg	  }
5795d466db85Smrg	  /^X\(\/\).*/{
5796d466db85Smrg	    s//\1/
5797d466db85Smrg	    q
5798d466db85Smrg	  }
5799d466db85Smrg	  s/.*/./; q'`
5800d466db85Smrg    else
5801d466db85Smrg      continue
5802d466db85Smrg    fi
5803d466db85Smrg    # Extract the definition of DEPDIR, am__include, and am__quote
5804d466db85Smrg    # from the Makefile without running `make'.
5805d466db85Smrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5806d466db85Smrg    test -z "$DEPDIR" && continue
5807d466db85Smrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
5808d466db85Smrg    test -z "am__include" && continue
5809d466db85Smrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5810d466db85Smrg    # When using ansi2knr, U may be empty or an underscore; expand it
5811d466db85Smrg    U=`sed -n 's/^U = //p' < "$mf"`
5812d466db85Smrg    # Find all dependency output files, they are included files with
5813d466db85Smrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
5814d466db85Smrg    # simplest approach to changing $(DEPDIR) to its actual value in the
5815d466db85Smrg    # expansion.
5816d466db85Smrg    for file in `sed -n "
5817d466db85Smrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5818d466db85Smrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5819d466db85Smrg      # Make sure the directory exists.
5820d466db85Smrg      test -f "$dirpart/$file" && continue
5821d466db85Smrg      fdir=`$as_dirname -- "$file" ||
5822d466db85Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5823d466db85Smrg	 X"$file" : 'X\(//\)[^/]' \| \
5824d466db85Smrg	 X"$file" : 'X\(//\)$' \| \
5825d466db85Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5826d466db85Smrg$as_echo X"$file" |
5827d466db85Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5828d466db85Smrg	    s//\1/
5829d466db85Smrg	    q
5830d466db85Smrg	  }
5831d466db85Smrg	  /^X\(\/\/\)[^/].*/{
5832d466db85Smrg	    s//\1/
5833d466db85Smrg	    q
5834d466db85Smrg	  }
5835d466db85Smrg	  /^X\(\/\/\)$/{
5836d466db85Smrg	    s//\1/
5837d466db85Smrg	    q
5838d466db85Smrg	  }
5839d466db85Smrg	  /^X\(\/\).*/{
5840d466db85Smrg	    s//\1/
5841d466db85Smrg	    q
5842d466db85Smrg	  }
5843d466db85Smrg	  s/.*/./; q'`
58441cca5e29Smrg      as_dir=$dirpart/$fdir; as_fn_mkdir_p
5845d466db85Smrg      # echo "creating $dirpart/$file"
5846d466db85Smrg      echo '# dummy' > "$dirpart/$file"
5847d466db85Smrg    done
5848d466db85Smrg  done
5849d466db85Smrg}
5850d466db85Smrg ;;
5851d838582fSmrg
5852d466db85Smrg  esac
5853d838582fSmrgdone # for ac_tag
5854d838582fSmrg
5855d838582fSmrg
58561cca5e29Smrgas_fn_exit 0
5857d838582fSmrg_ACEOF
5858d838582fSmrgac_clean_files=$ac_clean_files_save
5859d838582fSmrg
5860d466db85Smrgtest $ac_write_fail = 0 ||
58611cca5e29Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5862d466db85Smrg
5863d838582fSmrg
5864d838582fSmrg# configure is writing to config.log, and then calls config.status.
5865d838582fSmrg# config.status does its own redirection, appending to config.log.
5866d838582fSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
5867d838582fSmrg# by configure, so config.status won't be able to write to it; its
5868d838582fSmrg# output is simply discarded.  So we exec the FD to /dev/null,
5869d838582fSmrg# effectively closing config.log, so it can be properly (re)opened and
5870d838582fSmrg# appended to by config.status.  When coming back to configure, we
5871d838582fSmrg# need to make the FD available again.
5872d838582fSmrgif test "$no_create" != yes; then
5873d838582fSmrg  ac_cs_success=:
5874d838582fSmrg  ac_config_status_args=
5875d838582fSmrg  test "$silent" = yes &&
5876d838582fSmrg    ac_config_status_args="$ac_config_status_args --quiet"
5877d838582fSmrg  exec 5>/dev/null
5878d838582fSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5879d838582fSmrg  exec 5>>config.log
5880d838582fSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5881d838582fSmrg  # would make configure fail if this is the last instruction.
58821cca5e29Smrg  $ac_cs_success || as_fn_exit 1
5883d838582fSmrgfi
5884d466db85Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
58851cca5e29Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5886d466db85Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5887d466db85Smrgfi
5888d838582fSmrg
5889