configure revision 3a67387e
156f6b22bSmrg#! /bin/sh
256f6b22bSmrg# Guess values for system-dependent variables and create Makefiles.
33a67387eSmrg# Generated by GNU Autoconf 2.68 for font-bitstream-100dpi 1.0.3.
456f6b22bSmrg#
556f6b22bSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
656f6b22bSmrg#
73a67387eSmrg#
8ef7198c0Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
93a67387eSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
103a67387eSmrg# Foundation, Inc.
113a67387eSmrg#
123a67387eSmrg#
1356f6b22bSmrg# This configure script is free software; the Free Software Foundation
1456f6b22bSmrg# gives unlimited permission to copy, distribute and modify it.
153a67387eSmrg## -------------------- ##
163a67387eSmrg## M4sh Initialization. ##
173a67387eSmrg## -------------------- ##
1856f6b22bSmrg
19ef7198c0Smrg# Be more Bourne compatible
20ef7198c0SmrgDUALCASE=1; export DUALCASE # for MKS sh
213a67387eSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2256f6b22bSmrg  emulate sh
2356f6b22bSmrg  NULLCMD=:
24ef7198c0Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2556f6b22bSmrg  # is contrary to our usage.  Disable this feature.
2656f6b22bSmrg  alias -g '${1+"$@"}'='"$@"'
27ef7198c0Smrg  setopt NO_GLOB_SUBST
28ef7198c0Smrgelse
293a67387eSmrg  case `(set -o) 2>/dev/null` in #(
303a67387eSmrg  *posix*) :
313a67387eSmrg    set -o posix ;; #(
323a67387eSmrg  *) :
333a67387eSmrg     ;;
34ef7198c0Smrgesac
35ef7198c0Smrgfi
36ef7198c0Smrg
37ef7198c0Smrg
38ef7198c0Smrgas_nl='
39ef7198c0Smrg'
40ef7198c0Smrgexport as_nl
41ef7198c0Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
42ef7198c0Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43ef7198c0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44ef7198c0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
453a67387eSmrg# Prefer a ksh shell builtin over an external printf program on Solaris,
463a67387eSmrg# but without wasting forks for bash or zsh.
473a67387eSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \
483a67387eSmrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
493a67387eSmrg  as_echo='print -r --'
503a67387eSmrg  as_echo_n='print -rn --'
513a67387eSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52ef7198c0Smrg  as_echo='printf %s\n'
53ef7198c0Smrg  as_echo_n='printf %s'
54ef7198c0Smrgelse
55ef7198c0Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56ef7198c0Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57ef7198c0Smrg    as_echo_n='/usr/ucb/echo -n'
58ef7198c0Smrg  else
59ef7198c0Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60ef7198c0Smrg    as_echo_n_body='eval
61ef7198c0Smrg      arg=$1;
623a67387eSmrg      case $arg in #(
63ef7198c0Smrg      *"$as_nl"*)
64ef7198c0Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
65ef7198c0Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66ef7198c0Smrg      esac;
67ef7198c0Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68ef7198c0Smrg    '
69ef7198c0Smrg    export as_echo_n_body
70ef7198c0Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
71ef7198c0Smrg  fi
72ef7198c0Smrg  export as_echo_body
73ef7198c0Smrg  as_echo='sh -c $as_echo_body as_echo'
74ef7198c0Smrgfi
75ef7198c0Smrg
76ef7198c0Smrg# The user is always right.
77ef7198c0Smrgif test "${PATH_SEPARATOR+set}" != set; then
78ef7198c0Smrg  PATH_SEPARATOR=:
79ef7198c0Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80ef7198c0Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81ef7198c0Smrg      PATH_SEPARATOR=';'
82ef7198c0Smrg  }
8356f6b22bSmrgfi
8456f6b22bSmrg
8556f6b22bSmrg
86ef7198c0Smrg# IFS
87ef7198c0Smrg# We need space, tab and new line, in precisely that order.  Quoting is
88ef7198c0Smrg# there to prevent editors from complaining about space-tab.
89ef7198c0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90ef7198c0Smrg# splitting by setting IFS to empty value.)
91ef7198c0SmrgIFS=" ""	$as_nl"
92ef7198c0Smrg
93ef7198c0Smrg# Find who we are.  Look in the path if we contain no directory separator.
943a67387eSmrgas_myself=
953a67387eSmrgcase $0 in #((
96ef7198c0Smrg  *[\\/]* ) as_myself=$0 ;;
97ef7198c0Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98ef7198c0Smrgfor as_dir in $PATH
99ef7198c0Smrgdo
100ef7198c0Smrg  IFS=$as_save_IFS
101ef7198c0Smrg  test -z "$as_dir" && as_dir=.
1023a67387eSmrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1033a67387eSmrg  done
104ef7198c0SmrgIFS=$as_save_IFS
105ef7198c0Smrg
106ef7198c0Smrg     ;;
107ef7198c0Smrgesac
108ef7198c0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
109ef7198c0Smrg# in which case we are not to be found in the path.
110ef7198c0Smrgif test "x$as_myself" = x; then
111ef7198c0Smrg  as_myself=$0
112ef7198c0Smrgfi
113ef7198c0Smrgif test ! -f "$as_myself"; then
114ef7198c0Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1153a67387eSmrg  exit 1
116ef7198c0Smrgfi
117ef7198c0Smrg
1183a67387eSmrg# Unset variables that we do not need and which cause bugs (e.g. in
1193a67387eSmrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
1203a67387eSmrg# suppresses any "Segmentation fault" message there.  '((' could
1213a67387eSmrg# trigger a bug in pdksh 5.2.14.
1223a67387eSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH
1233a67387eSmrgdo eval test x\${$as_var+set} = xset \
1243a67387eSmrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125ef7198c0Smrgdone
12656f6b22bSmrgPS1='$ '
12756f6b22bSmrgPS2='> '
12856f6b22bSmrgPS4='+ '
12956f6b22bSmrg
13056f6b22bSmrg# NLS nuisances.
131ef7198c0SmrgLC_ALL=C
132ef7198c0Smrgexport LC_ALL
133ef7198c0SmrgLANGUAGE=C
134ef7198c0Smrgexport LANGUAGE
13556f6b22bSmrg
1363a67387eSmrg# CDPATH.
1373a67387eSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1383a67387eSmrg
1393a67387eSmrgif test "x$CONFIG_SHELL" = x; then
1403a67387eSmrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
1413a67387eSmrg  emulate sh
1423a67387eSmrg  NULLCMD=:
1433a67387eSmrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
1443a67387eSmrg  # is contrary to our usage.  Disable this feature.
1453a67387eSmrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
1463a67387eSmrg  setopt NO_GLOB_SUBST
1473a67387eSmrgelse
1483a67387eSmrg  case \`(set -o) 2>/dev/null\` in #(
1493a67387eSmrg  *posix*) :
1503a67387eSmrg    set -o posix ;; #(
1513a67387eSmrg  *) :
1523a67387eSmrg     ;;
1533a67387eSmrgesac
1543a67387eSmrgfi
1553a67387eSmrg"
1563a67387eSmrg  as_required="as_fn_return () { (exit \$1); }
1573a67387eSmrgas_fn_success () { as_fn_return 0; }
1583a67387eSmrgas_fn_failure () { as_fn_return 1; }
1593a67387eSmrgas_fn_ret_success () { return 0; }
1603a67387eSmrgas_fn_ret_failure () { return 1; }
1613a67387eSmrg
1623a67387eSmrgexitcode=0
1633a67387eSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
1643a67387eSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
1653a67387eSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
1663a67387eSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1673a67387eSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
1683a67387eSmrg
1693a67387eSmrgelse
1703a67387eSmrg  exitcode=1; echo positional parameters were not saved.
1713a67387eSmrgfi
1723a67387eSmrgtest x\$exitcode = x0 || exit 1"
1733a67387eSmrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1743a67387eSmrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1753a67387eSmrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1763a67387eSmrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1773a67387eSmrgtest \$(( 1 + 1 )) = 2 || exit 1"
1783a67387eSmrg  if (eval "$as_required") 2>/dev/null; then :
1793a67387eSmrg  as_have_required=yes
1803a67387eSmrgelse
1813a67387eSmrg  as_have_required=no
1823a67387eSmrgfi
1833a67387eSmrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1843a67387eSmrg
1853a67387eSmrgelse
1863a67387eSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873a67387eSmrgas_found=false
1883a67387eSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1893a67387eSmrgdo
1903a67387eSmrg  IFS=$as_save_IFS
1913a67387eSmrg  test -z "$as_dir" && as_dir=.
1923a67387eSmrg  as_found=:
1933a67387eSmrg  case $as_dir in #(
1943a67387eSmrg	 /*)
1953a67387eSmrg	   for as_base in sh bash ksh sh5; do
1963a67387eSmrg	     # Try only shells that exist, to save several forks.
1973a67387eSmrg	     as_shell=$as_dir/$as_base
1983a67387eSmrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1993a67387eSmrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
2003a67387eSmrg  CONFIG_SHELL=$as_shell as_have_required=yes
2013a67387eSmrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
2023a67387eSmrg  break 2
2033a67387eSmrgfi
2043a67387eSmrgfi
2053a67387eSmrg	   done;;
2063a67387eSmrg       esac
2073a67387eSmrg  as_found=false
2083a67387eSmrgdone
2093a67387eSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2103a67387eSmrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
2113a67387eSmrg  CONFIG_SHELL=$SHELL as_have_required=yes
2123a67387eSmrgfi; }
2133a67387eSmrgIFS=$as_save_IFS
2143a67387eSmrg
2153a67387eSmrg
2163a67387eSmrg      if test "x$CONFIG_SHELL" != x; then :
2173a67387eSmrg  # We cannot yet assume a decent shell, so we have to provide a
2183a67387eSmrg	# neutralization value for shells without unset; and this also
2193a67387eSmrg	# works around shells that cannot unset nonexistent variables.
2203a67387eSmrg	# Preserve -v and -x to the replacement shell.
2213a67387eSmrg	BASH_ENV=/dev/null
2223a67387eSmrg	ENV=/dev/null
2233a67387eSmrg	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
2243a67387eSmrg	export CONFIG_SHELL
2253a67387eSmrg	case $- in # ((((
2263a67387eSmrg	  *v*x* | *x*v* ) as_opts=-vx ;;
2273a67387eSmrg	  *v* ) as_opts=-v ;;
2283a67387eSmrg	  *x* ) as_opts=-x ;;
2293a67387eSmrg	  * ) as_opts= ;;
2303a67387eSmrg	esac
2313a67387eSmrg	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
2323a67387eSmrgfi
2333a67387eSmrg
2343a67387eSmrg    if test x$as_have_required = xno; then :
2353a67387eSmrg  $as_echo "$0: This script requires a shell more modern than all"
2363a67387eSmrg  $as_echo "$0: the shells that I found on your system."
2373a67387eSmrg  if test x${ZSH_VERSION+set} = xset ; then
2383a67387eSmrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2393a67387eSmrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
2403a67387eSmrg  else
2413a67387eSmrg    $as_echo "$0: Please tell bug-autoconf@gnu.org and
2423a67387eSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
2433a67387eSmrg$0: about your system, including any error possibly output
2443a67387eSmrg$0: before this message. Then install a modern shell, or
2453a67387eSmrg$0: manually run the script under such a shell if you do
2463a67387eSmrg$0: have one."
2473a67387eSmrg  fi
2483a67387eSmrg  exit 1
2493a67387eSmrgfi
2503a67387eSmrgfi
2513a67387eSmrgfi
2523a67387eSmrgSHELL=${CONFIG_SHELL-/bin/sh}
2533a67387eSmrgexport SHELL
2543a67387eSmrg# Unset more variables known to interfere with behavior of common tools.
2553a67387eSmrgCLICOLOR_FORCE= GREP_OPTIONS=
2563a67387eSmrgunset CLICOLOR_FORCE GREP_OPTIONS
2573a67387eSmrg
2583a67387eSmrg## --------------------- ##
2593a67387eSmrg## M4sh Shell Functions. ##
2603a67387eSmrg## --------------------- ##
2613a67387eSmrg# as_fn_unset VAR
2623a67387eSmrg# ---------------
2633a67387eSmrg# Portably unset VAR.
2643a67387eSmrgas_fn_unset ()
2653a67387eSmrg{
2663a67387eSmrg  { eval $1=; unset $1;}
2673a67387eSmrg}
2683a67387eSmrgas_unset=as_fn_unset
2693a67387eSmrg
2703a67387eSmrg# as_fn_set_status STATUS
2713a67387eSmrg# -----------------------
2723a67387eSmrg# Set $? to STATUS, without forking.
2733a67387eSmrgas_fn_set_status ()
2743a67387eSmrg{
2753a67387eSmrg  return $1
2763a67387eSmrg} # as_fn_set_status
2773a67387eSmrg
2783a67387eSmrg# as_fn_exit STATUS
2793a67387eSmrg# -----------------
2803a67387eSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2813a67387eSmrgas_fn_exit ()
2823a67387eSmrg{
2833a67387eSmrg  set +e
2843a67387eSmrg  as_fn_set_status $1
2853a67387eSmrg  exit $1
2863a67387eSmrg} # as_fn_exit
2873a67387eSmrg
2883a67387eSmrg# as_fn_mkdir_p
2893a67387eSmrg# -------------
2903a67387eSmrg# Create "$as_dir" as a directory, including parents if necessary.
2913a67387eSmrgas_fn_mkdir_p ()
2923a67387eSmrg{
2933a67387eSmrg
2943a67387eSmrg  case $as_dir in #(
2953a67387eSmrg  -*) as_dir=./$as_dir;;
2963a67387eSmrg  esac
2973a67387eSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
2983a67387eSmrg    as_dirs=
2993a67387eSmrg    while :; do
3003a67387eSmrg      case $as_dir in #(
3013a67387eSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3023a67387eSmrg      *) as_qdir=$as_dir;;
3033a67387eSmrg      esac
3043a67387eSmrg      as_dirs="'$as_qdir' $as_dirs"
3053a67387eSmrg      as_dir=`$as_dirname -- "$as_dir" ||
3063a67387eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3073a67387eSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3083a67387eSmrg	 X"$as_dir" : 'X\(//\)$' \| \
3093a67387eSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3103a67387eSmrg$as_echo X"$as_dir" |
3113a67387eSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3123a67387eSmrg	    s//\1/
3133a67387eSmrg	    q
3143a67387eSmrg	  }
3153a67387eSmrg	  /^X\(\/\/\)[^/].*/{
3163a67387eSmrg	    s//\1/
3173a67387eSmrg	    q
3183a67387eSmrg	  }
3193a67387eSmrg	  /^X\(\/\/\)$/{
3203a67387eSmrg	    s//\1/
3213a67387eSmrg	    q
3223a67387eSmrg	  }
3233a67387eSmrg	  /^X\(\/\).*/{
3243a67387eSmrg	    s//\1/
3253a67387eSmrg	    q
3263a67387eSmrg	  }
3273a67387eSmrg	  s/.*/./; q'`
3283a67387eSmrg      test -d "$as_dir" && break
3293a67387eSmrg    done
3303a67387eSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3313a67387eSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3323a67387eSmrg
3333a67387eSmrg
3343a67387eSmrg} # as_fn_mkdir_p
3353a67387eSmrg# as_fn_append VAR VALUE
3363a67387eSmrg# ----------------------
3373a67387eSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3383a67387eSmrg# advantage of any shell optimizations that allow amortized linear growth over
3393a67387eSmrg# repeated appends, instead of the typical quadratic growth present in naive
3403a67387eSmrg# implementations.
3413a67387eSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3423a67387eSmrg  eval 'as_fn_append ()
3433a67387eSmrg  {
3443a67387eSmrg    eval $1+=\$2
3453a67387eSmrg  }'
3463a67387eSmrgelse
3473a67387eSmrg  as_fn_append ()
3483a67387eSmrg  {
3493a67387eSmrg    eval $1=\$$1\$2
3503a67387eSmrg  }
3513a67387eSmrgfi # as_fn_append
3523a67387eSmrg
3533a67387eSmrg# as_fn_arith ARG...
3543a67387eSmrg# ------------------
3553a67387eSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
3563a67387eSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
3573a67387eSmrg# must be portable across $(()) and expr.
3583a67387eSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3593a67387eSmrg  eval 'as_fn_arith ()
3603a67387eSmrg  {
3613a67387eSmrg    as_val=$(( $* ))
3623a67387eSmrg  }'
3633a67387eSmrgelse
3643a67387eSmrg  as_fn_arith ()
3653a67387eSmrg  {
3663a67387eSmrg    as_val=`expr "$@" || test $? -eq 1`
3673a67387eSmrg  }
3683a67387eSmrgfi # as_fn_arith
3693a67387eSmrg
3703a67387eSmrg
3713a67387eSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
3723a67387eSmrg# ----------------------------------------
3733a67387eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3743a67387eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3753a67387eSmrg# script with STATUS, using 1 if that was 0.
3763a67387eSmrgas_fn_error ()
3773a67387eSmrg{
3783a67387eSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
3793a67387eSmrg  if test "$4"; then
3803a67387eSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3813a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3823a67387eSmrg  fi
3833a67387eSmrg  $as_echo "$as_me: error: $2" >&2
3843a67387eSmrg  as_fn_exit $as_status
3853a67387eSmrg} # as_fn_error
3863a67387eSmrg
387ef7198c0Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
388ef7198c0Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
38956f6b22bSmrg  as_expr=expr
39056f6b22bSmrgelse
39156f6b22bSmrg  as_expr=false
39256f6b22bSmrgfi
39356f6b22bSmrg
394ef7198c0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
39556f6b22bSmrg  as_basename=basename
39656f6b22bSmrgelse
39756f6b22bSmrg  as_basename=false
39856f6b22bSmrgfi
39956f6b22bSmrg
4003a67387eSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4013a67387eSmrg  as_dirname=dirname
4023a67387eSmrgelse
4033a67387eSmrg  as_dirname=false
4043a67387eSmrgfi
40556f6b22bSmrg
406ef7198c0Smrgas_me=`$as_basename -- "$0" ||
40756f6b22bSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40856f6b22bSmrg	 X"$0" : 'X\(//\)$' \| \
409ef7198c0Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410ef7198c0Smrg$as_echo X/"$0" |
411ef7198c0Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
412ef7198c0Smrg	    s//\1/
413ef7198c0Smrg	    q
414ef7198c0Smrg	  }
415ef7198c0Smrg	  /^X\/\(\/\/\)$/{
416ef7198c0Smrg	    s//\1/
417ef7198c0Smrg	    q
418ef7198c0Smrg	  }
419ef7198c0Smrg	  /^X\/\(\/\).*/{
420ef7198c0Smrg	    s//\1/
421ef7198c0Smrg	    q
422ef7198c0Smrg	  }
423ef7198c0Smrg	  s/.*/./; q'`
42456f6b22bSmrg
4253a67387eSmrg# Avoid depending upon Character Ranges.
4263a67387eSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
4273a67387eSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4283a67387eSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
4293a67387eSmrgas_cr_digits='0123456789'
4303a67387eSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
43156f6b22bSmrg
43256f6b22bSmrg
4333a67387eSmrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
4343a67387eSmrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
4353a67387eSmrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
4363a67387eSmrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
4373a67387eSmrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
4383a67387eSmrg  sed -n '
4393a67387eSmrg    p
4403a67387eSmrg    /[$]LINENO/=
4413a67387eSmrg  ' <$as_myself |
4423a67387eSmrg    sed '
4433a67387eSmrg      s/[$]LINENO.*/&-/
4443a67387eSmrg      t lineno
4453a67387eSmrg      b
4463a67387eSmrg      :lineno
4473a67387eSmrg      N
4483a67387eSmrg      :loop
4493a67387eSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4503a67387eSmrg      t loop
4513a67387eSmrg      s/-\n.*//
4523a67387eSmrg    ' >$as_me.lineno &&
4533a67387eSmrg  chmod +x "$as_me.lineno" ||
4543a67387eSmrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
45556f6b22bSmrg
4563a67387eSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
4573a67387eSmrg  # (the dirname of $[0] is not the place where we might find the
4583a67387eSmrg  # original and so on.  Autoconf is especially sensitive to this).
4593a67387eSmrg  . "./$as_me.lineno"
4603a67387eSmrg  # Exit status is that of the last command.
4613a67387eSmrg  exit
462ef7198c0Smrg}
46356f6b22bSmrg
4643a67387eSmrgECHO_C= ECHO_N= ECHO_T=
4653a67387eSmrgcase `echo -n x` in #(((((
4663a67387eSmrg-n*)
4673a67387eSmrg  case `echo 'xy\c'` in
4683a67387eSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4693a67387eSmrg  xy)  ECHO_C='\c';;
4703a67387eSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4713a67387eSmrg       ECHO_T='	';;
4723a67387eSmrg  esac;;
4733a67387eSmrg*)
4743a67387eSmrg  ECHO_N='-n';;
4753a67387eSmrgesac
47656f6b22bSmrg
4773a67387eSmrgrm -f conf$$ conf$$.exe conf$$.file
4783a67387eSmrgif test -d conf$$.dir; then
4793a67387eSmrg  rm -f conf$$.dir/conf$$.file
4803a67387eSmrgelse
4813a67387eSmrg  rm -f conf$$.dir
4823a67387eSmrg  mkdir conf$$.dir 2>/dev/null
483ef7198c0Smrgfi
4843a67387eSmrgif (echo >conf$$.file) 2>/dev/null; then
4853a67387eSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
4863a67387eSmrg    as_ln_s='ln -s'
4873a67387eSmrg    # ... but there are two gotchas:
4883a67387eSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4893a67387eSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4903a67387eSmrg    # In both cases, we have to default to `cp -p'.
4913a67387eSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4923a67387eSmrg      as_ln_s='cp -p'
4933a67387eSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
4943a67387eSmrg    as_ln_s=ln
4953a67387eSmrg  else
4963a67387eSmrg    as_ln_s='cp -p'
4973a67387eSmrg  fi
498ef7198c0Smrgelse
4993a67387eSmrg  as_ln_s='cp -p'
500ef7198c0Smrgfi
5013a67387eSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5023a67387eSmrgrmdir conf$$.dir 2>/dev/null
503ef7198c0Smrg
5043a67387eSmrgif mkdir -p . 2>/dev/null; then
5053a67387eSmrg  as_mkdir_p='mkdir -p "$as_dir"'
5063a67387eSmrgelse
5073a67387eSmrg  test -d ./-p && rmdir ./-p
5083a67387eSmrg  as_mkdir_p=false
509ef7198c0Smrgfi
510ef7198c0Smrg
5113a67387eSmrgif test -x / >/dev/null 2>&1; then
5123a67387eSmrg  as_test_x='test -x'
513ef7198c0Smrgelse
5143a67387eSmrg  if ls -dL / >/dev/null 2>&1; then
5153a67387eSmrg    as_ls_L_option=L
5163a67387eSmrg  else
5173a67387eSmrg    as_ls_L_option=
5183a67387eSmrg  fi
5193a67387eSmrg  as_test_x='
5203a67387eSmrg    eval sh -c '\''
5213a67387eSmrg      if test -d "$1"; then
5223a67387eSmrg	test -d "$1/.";
5233a67387eSmrg      else
5243a67387eSmrg	case $1 in #(
5253a67387eSmrg	-*)set "./$1";;
5263a67387eSmrg	esac;
5273a67387eSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5283a67387eSmrg	???[sx]*):;;*)false;;esac;fi
5293a67387eSmrg    '\'' sh
5303a67387eSmrg  '
531ef7198c0Smrgfi
5323a67387eSmrgas_executable_p=$as_test_x
533ef7198c0Smrg
5343a67387eSmrg# Sed expression to map a string onto a valid CPP name.
5353a67387eSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536ef7198c0Smrg
5373a67387eSmrg# Sed expression to map a string onto a valid variable name.
5383a67387eSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539ef7198c0Smrg
540ef7198c0Smrg
5413a67387eSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null
5423a67387eSmrgexec 6>&1
54356f6b22bSmrg
54456f6b22bSmrg# Name of the host.
5453a67387eSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
54656f6b22bSmrg# so uname gets run too.
54756f6b22bSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
54856f6b22bSmrg
54956f6b22bSmrg#
55056f6b22bSmrg# Initializations.
55156f6b22bSmrg#
55256f6b22bSmrgac_default_prefix=/usr/local
553ef7198c0Smrgac_clean_files=
55456f6b22bSmrgac_config_libobj_dir=.
555ef7198c0SmrgLIBOBJS=
55656f6b22bSmrgcross_compiling=no
55756f6b22bSmrgsubdirs=
55856f6b22bSmrgMFLAGS=
55956f6b22bSmrgMAKEFLAGS=
56056f6b22bSmrg
56156f6b22bSmrg# Identity of this package.
56256f6b22bSmrgPACKAGE_NAME='font-bitstream-100dpi'
56356f6b22bSmrgPACKAGE_TARNAME='font-bitstream-100dpi'
5643a67387eSmrgPACKAGE_VERSION='1.0.3'
5653a67387eSmrgPACKAGE_STRING='font-bitstream-100dpi 1.0.3'
56656f6b22bSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
5673a67387eSmrgPACKAGE_URL=''
56856f6b22bSmrg
569ef7198c0Smrg# Factoring default headers for most tests.
570ef7198c0Smrgac_includes_default="\
571ef7198c0Smrg#include <stdio.h>
572ef7198c0Smrg#ifdef HAVE_SYS_TYPES_H
573ef7198c0Smrg# include <sys/types.h>
574ef7198c0Smrg#endif
575ef7198c0Smrg#ifdef HAVE_SYS_STAT_H
576ef7198c0Smrg# include <sys/stat.h>
577ef7198c0Smrg#endif
578ef7198c0Smrg#ifdef STDC_HEADERS
579ef7198c0Smrg# include <stdlib.h>
580ef7198c0Smrg# include <stddef.h>
581ef7198c0Smrg#else
582ef7198c0Smrg# ifdef HAVE_STDLIB_H
583ef7198c0Smrg#  include <stdlib.h>
584ef7198c0Smrg# endif
585ef7198c0Smrg#endif
586ef7198c0Smrg#ifdef HAVE_STRING_H
587ef7198c0Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588ef7198c0Smrg#  include <memory.h>
589ef7198c0Smrg# endif
590ef7198c0Smrg# include <string.h>
591ef7198c0Smrg#endif
592ef7198c0Smrg#ifdef HAVE_STRINGS_H
593ef7198c0Smrg# include <strings.h>
594ef7198c0Smrg#endif
595ef7198c0Smrg#ifdef HAVE_INTTYPES_H
596ef7198c0Smrg# include <inttypes.h>
597ef7198c0Smrg#endif
598ef7198c0Smrg#ifdef HAVE_STDINT_H
599ef7198c0Smrg# include <stdint.h>
600ef7198c0Smrg#endif
601ef7198c0Smrg#ifdef HAVE_UNISTD_H
602ef7198c0Smrg# include <unistd.h>
603ef7198c0Smrg#endif"
604ef7198c0Smrg
605ef7198c0Smrgac_subst_vars='am__EXEEXT_FALSE
606ef7198c0Smrgam__EXEEXT_TRUE
607ef7198c0SmrgLTLIBOBJS
608ef7198c0SmrgLIBOBJS
609ef7198c0SmrgCOMPRESS_SUFFIX
610ef7198c0SmrgCOMPRESS
611ef7198c0SmrgBDFTOPCF
612ef7198c0SmrgMKFONTDIR
613ef7198c0SmrgRUN_FCCACHE
614ef7198c0SmrgFCCACHE
615ef7198c0SmrgFONTDIR
616ef7198c0SmrgFONTROOTDIR
6173a67387eSmrgAM_BACKSLASH
6183a67387eSmrgAM_DEFAULT_VERBOSITY
6193a67387eSmrgMAN_SUBSTS
6203a67387eSmrgXORG_MAN_PAGE
621ef7198c0SmrgADMIN_MAN_DIR
622ef7198c0SmrgDRIVER_MAN_DIR
623ef7198c0SmrgMISC_MAN_DIR
624ef7198c0SmrgFILE_MAN_DIR
625ef7198c0SmrgLIB_MAN_DIR
626ef7198c0SmrgAPP_MAN_DIR
627ef7198c0SmrgADMIN_MAN_SUFFIX
628ef7198c0SmrgDRIVER_MAN_SUFFIX
629ef7198c0SmrgMISC_MAN_SUFFIX
630ef7198c0SmrgFILE_MAN_SUFFIX
631ef7198c0SmrgLIB_MAN_SUFFIX
632ef7198c0SmrgAPP_MAN_SUFFIX
6333a67387eSmrgSED
634ef7198c0Smrghost_os
635ef7198c0Smrghost_vendor
636ef7198c0Smrghost_cpu
637ef7198c0Smrghost
638ef7198c0Smrgbuild_os
639ef7198c0Smrgbuild_vendor
640ef7198c0Smrgbuild_cpu
641ef7198c0Smrgbuild
6423a67387eSmrgINSTALL_CMD
6433a67387eSmrgPKG_CONFIG_LIBDIR
6443a67387eSmrgPKG_CONFIG_PATH
6453a67387eSmrgPKG_CONFIG
646ef7198c0SmrgCHANGELOG_CMD
647ef7198c0SmrgCWARNFLAGS
648ef7198c0SmrgEGREP
649ef7198c0SmrgGREP
650ef7198c0SmrgCPP
651ef7198c0Smrgam__fastdepCC_FALSE
652ef7198c0Smrgam__fastdepCC_TRUE
653ef7198c0SmrgCCDEPMODE
654ef7198c0SmrgAMDEPBACKSLASH
655ef7198c0SmrgAMDEP_FALSE
656ef7198c0SmrgAMDEP_TRUE
657ef7198c0Smrgam__quote
658ef7198c0Smrgam__include
659ef7198c0SmrgDEPDIR
660ef7198c0SmrgOBJEXT
661ef7198c0SmrgEXEEXT
662ef7198c0Smrgac_ct_CC
663ef7198c0SmrgCPPFLAGS
664ef7198c0SmrgLDFLAGS
665ef7198c0SmrgCFLAGS
666ef7198c0SmrgCC
667ef7198c0SmrgMAINT
668ef7198c0SmrgMAINTAINER_MODE_FALSE
669ef7198c0SmrgMAINTAINER_MODE_TRUE
670ef7198c0Smrgam__untar
671ef7198c0Smrgam__tar
672ef7198c0SmrgAMTAR
673ef7198c0Smrgam__leading_dot
674ef7198c0SmrgSET_MAKE
675ef7198c0SmrgAWK
676ef7198c0Smrgmkdir_p
677ef7198c0SmrgMKDIR_P
678ef7198c0SmrgINSTALL_STRIP_PROGRAM
679ef7198c0SmrgSTRIP
680ef7198c0Smrginstall_sh
681ef7198c0SmrgMAKEINFO
682ef7198c0SmrgAUTOHEADER
683ef7198c0SmrgAUTOMAKE
684ef7198c0SmrgAUTOCONF
685ef7198c0SmrgACLOCAL
686ef7198c0SmrgVERSION
687ef7198c0SmrgPACKAGE
688ef7198c0SmrgCYGPATH_W
689ef7198c0Smrgam__isrc
690ef7198c0SmrgINSTALL_DATA
691ef7198c0SmrgINSTALL_SCRIPT
692ef7198c0SmrgINSTALL_PROGRAM
693ef7198c0Smrgtarget_alias
694ef7198c0Smrghost_alias
695ef7198c0Smrgbuild_alias
696ef7198c0SmrgLIBS
697ef7198c0SmrgECHO_T
698ef7198c0SmrgECHO_N
699ef7198c0SmrgECHO_C
700ef7198c0SmrgDEFS
701ef7198c0Smrgmandir
702ef7198c0Smrglocaledir
703ef7198c0Smrglibdir
704ef7198c0Smrgpsdir
705ef7198c0Smrgpdfdir
706ef7198c0Smrgdvidir
707ef7198c0Smrghtmldir
708ef7198c0Smrginfodir
709ef7198c0Smrgdocdir
710ef7198c0Smrgoldincludedir
711ef7198c0Smrgincludedir
712ef7198c0Smrglocalstatedir
713ef7198c0Smrgsharedstatedir
714ef7198c0Smrgsysconfdir
715ef7198c0Smrgdatadir
716ef7198c0Smrgdatarootdir
717ef7198c0Smrglibexecdir
718ef7198c0Smrgsbindir
719ef7198c0Smrgbindir
720ef7198c0Smrgprogram_transform_name
721ef7198c0Smrgprefix
722ef7198c0Smrgexec_prefix
7233a67387eSmrgPACKAGE_URL
724ef7198c0SmrgPACKAGE_BUGREPORT
725ef7198c0SmrgPACKAGE_STRING
726ef7198c0SmrgPACKAGE_VERSION
727ef7198c0SmrgPACKAGE_TARNAME
728ef7198c0SmrgPACKAGE_NAME
729ef7198c0SmrgPATH_SEPARATOR
730ef7198c0SmrgSHELL'
73156f6b22bSmrgac_subst_files=''
732ef7198c0Smrgac_user_opts='
733ef7198c0Smrgenable_option_checking
734ef7198c0Smrgenable_maintainer_mode
735ef7198c0Smrgenable_dependency_tracking
736ef7198c0Smrgenable_strict_compilation
7373a67387eSmrgenable_silent_rules
738ef7198c0Smrgwith_fontrootdir
739ef7198c0Smrgwith_fontdir
740ef7198c0Smrgwith_compression
741ef7198c0Smrg'
742ef7198c0Smrg      ac_precious_vars='build_alias
743ef7198c0Smrghost_alias
744ef7198c0Smrgtarget_alias
745ef7198c0SmrgCC
746ef7198c0SmrgCFLAGS
747ef7198c0SmrgLDFLAGS
748ef7198c0SmrgLIBS
749ef7198c0SmrgCPPFLAGS
750ef7198c0SmrgCPP
7513a67387eSmrgPKG_CONFIG
7523a67387eSmrgPKG_CONFIG_PATH
7533a67387eSmrgPKG_CONFIG_LIBDIR'
754ef7198c0Smrg
75556f6b22bSmrg
75656f6b22bSmrg# Initialize some variables set by options.
75756f6b22bSmrgac_init_help=
75856f6b22bSmrgac_init_version=false
759ef7198c0Smrgac_unrecognized_opts=
760ef7198c0Smrgac_unrecognized_sep=
76156f6b22bSmrg# The variables have the same names as the options, with
76256f6b22bSmrg# dashes changed to underlines.
76356f6b22bSmrgcache_file=/dev/null
76456f6b22bSmrgexec_prefix=NONE
76556f6b22bSmrgno_create=
76656f6b22bSmrgno_recursion=
76756f6b22bSmrgprefix=NONE
76856f6b22bSmrgprogram_prefix=NONE
76956f6b22bSmrgprogram_suffix=NONE
77056f6b22bSmrgprogram_transform_name=s,x,x,
77156f6b22bSmrgsilent=
77256f6b22bSmrgsite=
77356f6b22bSmrgsrcdir=
77456f6b22bSmrgverbose=
77556f6b22bSmrgx_includes=NONE
77656f6b22bSmrgx_libraries=NONE
77756f6b22bSmrg
77856f6b22bSmrg# Installation directory options.
77956f6b22bSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
78056f6b22bSmrg# and all the variables that are supposed to be based on exec_prefix
78156f6b22bSmrg# by default will actually change.
78256f6b22bSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
783ef7198c0Smrg# (The list follows the same order as the GNU Coding Standards.)
78456f6b22bSmrgbindir='${exec_prefix}/bin'
78556f6b22bSmrgsbindir='${exec_prefix}/sbin'
78656f6b22bSmrglibexecdir='${exec_prefix}/libexec'
787ef7198c0Smrgdatarootdir='${prefix}/share'
788ef7198c0Smrgdatadir='${datarootdir}'
78956f6b22bSmrgsysconfdir='${prefix}/etc'
79056f6b22bSmrgsharedstatedir='${prefix}/com'
79156f6b22bSmrglocalstatedir='${prefix}/var'
79256f6b22bSmrgincludedir='${prefix}/include'
79356f6b22bSmrgoldincludedir='/usr/include'
794ef7198c0Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
795ef7198c0Smrginfodir='${datarootdir}/info'
796ef7198c0Smrghtmldir='${docdir}'
797ef7198c0Smrgdvidir='${docdir}'
798ef7198c0Smrgpdfdir='${docdir}'
799ef7198c0Smrgpsdir='${docdir}'
800ef7198c0Smrglibdir='${exec_prefix}/lib'
801ef7198c0Smrglocaledir='${datarootdir}/locale'
802ef7198c0Smrgmandir='${datarootdir}/man'
80356f6b22bSmrg
80456f6b22bSmrgac_prev=
805ef7198c0Smrgac_dashdash=
80656f6b22bSmrgfor ac_option
80756f6b22bSmrgdo
80856f6b22bSmrg  # If the previous option needs an argument, assign it.
80956f6b22bSmrg  if test -n "$ac_prev"; then
810ef7198c0Smrg    eval $ac_prev=\$ac_option
81156f6b22bSmrg    ac_prev=
81256f6b22bSmrg    continue
81356f6b22bSmrg  fi
81456f6b22bSmrg
815ef7198c0Smrg  case $ac_option in
8163a67387eSmrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
8173a67387eSmrg  *=)   ac_optarg= ;;
8183a67387eSmrg  *)    ac_optarg=yes ;;
819ef7198c0Smrg  esac
82056f6b22bSmrg
82156f6b22bSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
82256f6b22bSmrg
823ef7198c0Smrg  case $ac_dashdash$ac_option in
824ef7198c0Smrg  --)
825ef7198c0Smrg    ac_dashdash=yes ;;
82656f6b22bSmrg
82756f6b22bSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
82856f6b22bSmrg    ac_prev=bindir ;;
82956f6b22bSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
83056f6b22bSmrg    bindir=$ac_optarg ;;
83156f6b22bSmrg
83256f6b22bSmrg  -build | --build | --buil | --bui | --bu)
83356f6b22bSmrg    ac_prev=build_alias ;;
83456f6b22bSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
83556f6b22bSmrg    build_alias=$ac_optarg ;;
83656f6b22bSmrg
83756f6b22bSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
83856f6b22bSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
83956f6b22bSmrg    ac_prev=cache_file ;;
84056f6b22bSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
84156f6b22bSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
84256f6b22bSmrg    cache_file=$ac_optarg ;;
84356f6b22bSmrg
84456f6b22bSmrg  --config-cache | -C)
84556f6b22bSmrg    cache_file=config.cache ;;
84656f6b22bSmrg
847ef7198c0Smrg  -datadir | --datadir | --datadi | --datad)
84856f6b22bSmrg    ac_prev=datadir ;;
849ef7198c0Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
85056f6b22bSmrg    datadir=$ac_optarg ;;
85156f6b22bSmrg
852ef7198c0Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
853ef7198c0Smrg  | --dataroo | --dataro | --datar)
854ef7198c0Smrg    ac_prev=datarootdir ;;
855ef7198c0Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856ef7198c0Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857ef7198c0Smrg    datarootdir=$ac_optarg ;;
858ef7198c0Smrg
85956f6b22bSmrg  -disable-* | --disable-*)
860ef7198c0Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
86156f6b22bSmrg    # Reject names that are not valid shell variable names.
862ef7198c0Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8633a67387eSmrg      as_fn_error $? "invalid feature name: $ac_useropt"
864ef7198c0Smrg    ac_useropt_orig=$ac_useropt
865ef7198c0Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866ef7198c0Smrg    case $ac_user_opts in
867ef7198c0Smrg      *"
868ef7198c0Smrg"enable_$ac_useropt"
869ef7198c0Smrg"*) ;;
870ef7198c0Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
871ef7198c0Smrg	 ac_unrecognized_sep=', ';;
872ef7198c0Smrg    esac
873ef7198c0Smrg    eval enable_$ac_useropt=no ;;
874ef7198c0Smrg
875ef7198c0Smrg  -docdir | --docdir | --docdi | --doc | --do)
876ef7198c0Smrg    ac_prev=docdir ;;
877ef7198c0Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
878ef7198c0Smrg    docdir=$ac_optarg ;;
879ef7198c0Smrg
880ef7198c0Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
881ef7198c0Smrg    ac_prev=dvidir ;;
882ef7198c0Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
883ef7198c0Smrg    dvidir=$ac_optarg ;;
88456f6b22bSmrg
88556f6b22bSmrg  -enable-* | --enable-*)
886ef7198c0Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
88756f6b22bSmrg    # Reject names that are not valid shell variable names.
888ef7198c0Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8893a67387eSmrg      as_fn_error $? "invalid feature name: $ac_useropt"
890ef7198c0Smrg    ac_useropt_orig=$ac_useropt
891ef7198c0Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892ef7198c0Smrg    case $ac_user_opts in
893ef7198c0Smrg      *"
894ef7198c0Smrg"enable_$ac_useropt"
895ef7198c0Smrg"*) ;;
896ef7198c0Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897ef7198c0Smrg	 ac_unrecognized_sep=', ';;
89856f6b22bSmrg    esac
899ef7198c0Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
90056f6b22bSmrg
90156f6b22bSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
90256f6b22bSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
90356f6b22bSmrg  | --exec | --exe | --ex)
90456f6b22bSmrg    ac_prev=exec_prefix ;;
90556f6b22bSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
90656f6b22bSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
90756f6b22bSmrg  | --exec=* | --exe=* | --ex=*)
90856f6b22bSmrg    exec_prefix=$ac_optarg ;;
90956f6b22bSmrg
91056f6b22bSmrg  -gas | --gas | --ga | --g)
91156f6b22bSmrg    # Obsolete; use --with-gas.
91256f6b22bSmrg    with_gas=yes ;;
91356f6b22bSmrg
91456f6b22bSmrg  -help | --help | --hel | --he | -h)
91556f6b22bSmrg    ac_init_help=long ;;
91656f6b22bSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
91756f6b22bSmrg    ac_init_help=recursive ;;
91856f6b22bSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
91956f6b22bSmrg    ac_init_help=short ;;
92056f6b22bSmrg
92156f6b22bSmrg  -host | --host | --hos | --ho)
92256f6b22bSmrg    ac_prev=host_alias ;;
92356f6b22bSmrg  -host=* | --host=* | --hos=* | --ho=*)
92456f6b22bSmrg    host_alias=$ac_optarg ;;
92556f6b22bSmrg
926ef7198c0Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
927ef7198c0Smrg    ac_prev=htmldir ;;
928ef7198c0Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
929ef7198c0Smrg  | --ht=*)
930ef7198c0Smrg    htmldir=$ac_optarg ;;
931ef7198c0Smrg
93256f6b22bSmrg  -includedir | --includedir | --includedi | --included | --include \
93356f6b22bSmrg  | --includ | --inclu | --incl | --inc)
93456f6b22bSmrg    ac_prev=includedir ;;
93556f6b22bSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
93656f6b22bSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
93756f6b22bSmrg    includedir=$ac_optarg ;;
93856f6b22bSmrg
93956f6b22bSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
94056f6b22bSmrg    ac_prev=infodir ;;
94156f6b22bSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
94256f6b22bSmrg    infodir=$ac_optarg ;;
94356f6b22bSmrg
94456f6b22bSmrg  -libdir | --libdir | --libdi | --libd)
94556f6b22bSmrg    ac_prev=libdir ;;
94656f6b22bSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
94756f6b22bSmrg    libdir=$ac_optarg ;;
94856f6b22bSmrg
94956f6b22bSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
95056f6b22bSmrg  | --libexe | --libex | --libe)
95156f6b22bSmrg    ac_prev=libexecdir ;;
95256f6b22bSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
95356f6b22bSmrg  | --libexe=* | --libex=* | --libe=*)
95456f6b22bSmrg    libexecdir=$ac_optarg ;;
95556f6b22bSmrg
956ef7198c0Smrg  -localedir | --localedir | --localedi | --localed | --locale)
957ef7198c0Smrg    ac_prev=localedir ;;
958ef7198c0Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
959ef7198c0Smrg    localedir=$ac_optarg ;;
960ef7198c0Smrg
96156f6b22bSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
962ef7198c0Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
96356f6b22bSmrg    ac_prev=localstatedir ;;
96456f6b22bSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
965ef7198c0Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
96656f6b22bSmrg    localstatedir=$ac_optarg ;;
96756f6b22bSmrg
96856f6b22bSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
96956f6b22bSmrg    ac_prev=mandir ;;
97056f6b22bSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
97156f6b22bSmrg    mandir=$ac_optarg ;;
97256f6b22bSmrg
97356f6b22bSmrg  -nfp | --nfp | --nf)
97456f6b22bSmrg    # Obsolete; use --without-fp.
97556f6b22bSmrg    with_fp=no ;;
97656f6b22bSmrg
97756f6b22bSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
97856f6b22bSmrg  | --no-cr | --no-c | -n)
97956f6b22bSmrg    no_create=yes ;;
98056f6b22bSmrg
98156f6b22bSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
98256f6b22bSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
98356f6b22bSmrg    no_recursion=yes ;;
98456f6b22bSmrg
98556f6b22bSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
98656f6b22bSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
98756f6b22bSmrg  | --oldin | --oldi | --old | --ol | --o)
98856f6b22bSmrg    ac_prev=oldincludedir ;;
98956f6b22bSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
99056f6b22bSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
99156f6b22bSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
99256f6b22bSmrg    oldincludedir=$ac_optarg ;;
99356f6b22bSmrg
99456f6b22bSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
99556f6b22bSmrg    ac_prev=prefix ;;
99656f6b22bSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
99756f6b22bSmrg    prefix=$ac_optarg ;;
99856f6b22bSmrg
99956f6b22bSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
100056f6b22bSmrg  | --program-pre | --program-pr | --program-p)
100156f6b22bSmrg    ac_prev=program_prefix ;;
100256f6b22bSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
100356f6b22bSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
100456f6b22bSmrg    program_prefix=$ac_optarg ;;
100556f6b22bSmrg
100656f6b22bSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
100756f6b22bSmrg  | --program-suf | --program-su | --program-s)
100856f6b22bSmrg    ac_prev=program_suffix ;;
100956f6b22bSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
101056f6b22bSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
101156f6b22bSmrg    program_suffix=$ac_optarg ;;
101256f6b22bSmrg
101356f6b22bSmrg  -program-transform-name | --program-transform-name \
101456f6b22bSmrg  | --program-transform-nam | --program-transform-na \
101556f6b22bSmrg  | --program-transform-n | --program-transform- \
101656f6b22bSmrg  | --program-transform | --program-transfor \
101756f6b22bSmrg  | --program-transfo | --program-transf \
101856f6b22bSmrg  | --program-trans | --program-tran \
101956f6b22bSmrg  | --progr-tra | --program-tr | --program-t)
102056f6b22bSmrg    ac_prev=program_transform_name ;;
102156f6b22bSmrg  -program-transform-name=* | --program-transform-name=* \
102256f6b22bSmrg  | --program-transform-nam=* | --program-transform-na=* \
102356f6b22bSmrg  | --program-transform-n=* | --program-transform-=* \
102456f6b22bSmrg  | --program-transform=* | --program-transfor=* \
102556f6b22bSmrg  | --program-transfo=* | --program-transf=* \
102656f6b22bSmrg  | --program-trans=* | --program-tran=* \
102756f6b22bSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
102856f6b22bSmrg    program_transform_name=$ac_optarg ;;
102956f6b22bSmrg
1030ef7198c0Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1031ef7198c0Smrg    ac_prev=pdfdir ;;
1032ef7198c0Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1033ef7198c0Smrg    pdfdir=$ac_optarg ;;
1034ef7198c0Smrg
1035ef7198c0Smrg  -psdir | --psdir | --psdi | --psd | --ps)
1036ef7198c0Smrg    ac_prev=psdir ;;
1037ef7198c0Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1038ef7198c0Smrg    psdir=$ac_optarg ;;
1039ef7198c0Smrg
104056f6b22bSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
104156f6b22bSmrg  | -silent | --silent | --silen | --sile | --sil)
104256f6b22bSmrg    silent=yes ;;
104356f6b22bSmrg
104456f6b22bSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
104556f6b22bSmrg    ac_prev=sbindir ;;
104656f6b22bSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
104756f6b22bSmrg  | --sbi=* | --sb=*)
104856f6b22bSmrg    sbindir=$ac_optarg ;;
104956f6b22bSmrg
105056f6b22bSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
105156f6b22bSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
105256f6b22bSmrg  | --sharedst | --shareds | --shared | --share | --shar \
105356f6b22bSmrg  | --sha | --sh)
105456f6b22bSmrg    ac_prev=sharedstatedir ;;
105556f6b22bSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
105656f6b22bSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
105756f6b22bSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
105856f6b22bSmrg  | --sha=* | --sh=*)
105956f6b22bSmrg    sharedstatedir=$ac_optarg ;;
106056f6b22bSmrg
106156f6b22bSmrg  -site | --site | --sit)
106256f6b22bSmrg    ac_prev=site ;;
106356f6b22bSmrg  -site=* | --site=* | --sit=*)
106456f6b22bSmrg    site=$ac_optarg ;;
106556f6b22bSmrg
106656f6b22bSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
106756f6b22bSmrg    ac_prev=srcdir ;;
106856f6b22bSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
106956f6b22bSmrg    srcdir=$ac_optarg ;;
107056f6b22bSmrg
107156f6b22bSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
107256f6b22bSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
107356f6b22bSmrg    ac_prev=sysconfdir ;;
107456f6b22bSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
107556f6b22bSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
107656f6b22bSmrg    sysconfdir=$ac_optarg ;;
107756f6b22bSmrg
107856f6b22bSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
107956f6b22bSmrg    ac_prev=target_alias ;;
108056f6b22bSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
108156f6b22bSmrg    target_alias=$ac_optarg ;;
108256f6b22bSmrg
108356f6b22bSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
108456f6b22bSmrg    verbose=yes ;;
108556f6b22bSmrg
108656f6b22bSmrg  -version | --version | --versio | --versi | --vers | -V)
108756f6b22bSmrg    ac_init_version=: ;;
108856f6b22bSmrg
108956f6b22bSmrg  -with-* | --with-*)
1090ef7198c0Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
109156f6b22bSmrg    # Reject names that are not valid shell variable names.
1092ef7198c0Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10933a67387eSmrg      as_fn_error $? "invalid package name: $ac_useropt"
1094ef7198c0Smrg    ac_useropt_orig=$ac_useropt
1095ef7198c0Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096ef7198c0Smrg    case $ac_user_opts in
1097ef7198c0Smrg      *"
1098ef7198c0Smrg"with_$ac_useropt"
1099ef7198c0Smrg"*) ;;
1100ef7198c0Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101ef7198c0Smrg	 ac_unrecognized_sep=', ';;
110256f6b22bSmrg    esac
1103ef7198c0Smrg    eval with_$ac_useropt=\$ac_optarg ;;
110456f6b22bSmrg
110556f6b22bSmrg  -without-* | --without-*)
1106ef7198c0Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
110756f6b22bSmrg    # Reject names that are not valid shell variable names.
1108ef7198c0Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11093a67387eSmrg      as_fn_error $? "invalid package name: $ac_useropt"
1110ef7198c0Smrg    ac_useropt_orig=$ac_useropt
1111ef7198c0Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112ef7198c0Smrg    case $ac_user_opts in
1113ef7198c0Smrg      *"
1114ef7198c0Smrg"with_$ac_useropt"
1115ef7198c0Smrg"*) ;;
1116ef7198c0Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117ef7198c0Smrg	 ac_unrecognized_sep=', ';;
1118ef7198c0Smrg    esac
1119ef7198c0Smrg    eval with_$ac_useropt=no ;;
112056f6b22bSmrg
112156f6b22bSmrg  --x)
112256f6b22bSmrg    # Obsolete; use --with-x.
112356f6b22bSmrg    with_x=yes ;;
112456f6b22bSmrg
112556f6b22bSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
112656f6b22bSmrg  | --x-incl | --x-inc | --x-in | --x-i)
112756f6b22bSmrg    ac_prev=x_includes ;;
112856f6b22bSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
112956f6b22bSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
113056f6b22bSmrg    x_includes=$ac_optarg ;;
113156f6b22bSmrg
113256f6b22bSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
113356f6b22bSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
113456f6b22bSmrg    ac_prev=x_libraries ;;
113556f6b22bSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
113656f6b22bSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
113756f6b22bSmrg    x_libraries=$ac_optarg ;;
113856f6b22bSmrg
11393a67387eSmrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
11403a67387eSmrgTry \`$0 --help' for more information"
114156f6b22bSmrg    ;;
114256f6b22bSmrg
114356f6b22bSmrg  *=*)
114456f6b22bSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
114556f6b22bSmrg    # Reject names that are not valid shell variable names.
11463a67387eSmrg    case $ac_envvar in #(
11473a67387eSmrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
11483a67387eSmrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
11493a67387eSmrg    esac
1150ef7198c0Smrg    eval $ac_envvar=\$ac_optarg
115156f6b22bSmrg    export $ac_envvar ;;
115256f6b22bSmrg
115356f6b22bSmrg  *)
115456f6b22bSmrg    # FIXME: should be removed in autoconf 3.0.
1155ef7198c0Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
115656f6b22bSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157ef7198c0Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11583a67387eSmrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
115956f6b22bSmrg    ;;
116056f6b22bSmrg
116156f6b22bSmrg  esac
116256f6b22bSmrgdone
116356f6b22bSmrg
116456f6b22bSmrgif test -n "$ac_prev"; then
116556f6b22bSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11663a67387eSmrg  as_fn_error $? "missing argument to $ac_option"
116756f6b22bSmrgfi
116856f6b22bSmrg
1169ef7198c0Smrgif test -n "$ac_unrecognized_opts"; then
1170ef7198c0Smrg  case $enable_option_checking in
1171ef7198c0Smrg    no) ;;
11723a67387eSmrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1173ef7198c0Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
117456f6b22bSmrg  esac
1175ef7198c0Smrgfi
117656f6b22bSmrg
1177ef7198c0Smrg# Check all directory arguments for consistency.
1178ef7198c0Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179ef7198c0Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1180ef7198c0Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181ef7198c0Smrg		libdir localedir mandir
118256f6b22bSmrgdo
1183ef7198c0Smrg  eval ac_val=\$$ac_var
1184ef7198c0Smrg  # Remove trailing slashes.
118556f6b22bSmrg  case $ac_val in
1186ef7198c0Smrg    */ )
1187ef7198c0Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188ef7198c0Smrg      eval $ac_var=\$ac_val;;
1189ef7198c0Smrg  esac
1190ef7198c0Smrg  # Be sure to have absolute directory names.
1191ef7198c0Smrg  case $ac_val in
1192ef7198c0Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1193ef7198c0Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
119456f6b22bSmrg  esac
11953a67387eSmrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
119656f6b22bSmrgdone
119756f6b22bSmrg
119856f6b22bSmrg# There might be people who depend on the old broken behavior: `$host'
119956f6b22bSmrg# used to hold the argument of --host etc.
120056f6b22bSmrg# FIXME: To remove some day.
120156f6b22bSmrgbuild=$build_alias
120256f6b22bSmrghost=$host_alias
120356f6b22bSmrgtarget=$target_alias
120456f6b22bSmrg
120556f6b22bSmrg# FIXME: To remove some day.
120656f6b22bSmrgif test "x$host_alias" != x; then
120756f6b22bSmrg  if test "x$build_alias" = x; then
120856f6b22bSmrg    cross_compiling=maybe
12093a67387eSmrg    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
12103a67387eSmrg    If a cross compiler is detected then cross compile mode will be used" >&2
121156f6b22bSmrg  elif test "x$build_alias" != "x$host_alias"; then
121256f6b22bSmrg    cross_compiling=yes
121356f6b22bSmrg  fi
121456f6b22bSmrgfi
121556f6b22bSmrg
121656f6b22bSmrgac_tool_prefix=
121756f6b22bSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
121856f6b22bSmrg
121956f6b22bSmrgtest "$silent" = yes && exec 6>/dev/null
122056f6b22bSmrg
122156f6b22bSmrg
1222ef7198c0Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1223ef7198c0Smrgac_ls_di=`ls -di .` &&
1224ef7198c0Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12253a67387eSmrg  as_fn_error $? "working directory cannot be determined"
1226ef7198c0Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12273a67387eSmrg  as_fn_error $? "pwd does not report name of working directory"
1228ef7198c0Smrg
1229ef7198c0Smrg
123056f6b22bSmrg# Find the source files, if location was not specified.
123156f6b22bSmrgif test -z "$srcdir"; then
123256f6b22bSmrg  ac_srcdir_defaulted=yes
1233ef7198c0Smrg  # Try the directory containing this script, then the parent directory.
1234ef7198c0Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1235ef7198c0Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236ef7198c0Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1237ef7198c0Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1238ef7198c0Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239ef7198c0Smrg$as_echo X"$as_myself" |
1240ef7198c0Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241ef7198c0Smrg	    s//\1/
1242ef7198c0Smrg	    q
1243ef7198c0Smrg	  }
1244ef7198c0Smrg	  /^X\(\/\/\)[^/].*/{
1245ef7198c0Smrg	    s//\1/
1246ef7198c0Smrg	    q
1247ef7198c0Smrg	  }
1248ef7198c0Smrg	  /^X\(\/\/\)$/{
1249ef7198c0Smrg	    s//\1/
1250ef7198c0Smrg	    q
1251ef7198c0Smrg	  }
1252ef7198c0Smrg	  /^X\(\/\).*/{
1253ef7198c0Smrg	    s//\1/
1254ef7198c0Smrg	    q
1255ef7198c0Smrg	  }
1256ef7198c0Smrg	  s/.*/./; q'`
125756f6b22bSmrg  srcdir=$ac_confdir
1258ef7198c0Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
125956f6b22bSmrg    srcdir=..
126056f6b22bSmrg  fi
126156f6b22bSmrgelse
126256f6b22bSmrg  ac_srcdir_defaulted=no
126356f6b22bSmrgfi
1264ef7198c0Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1265ef7198c0Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12663a67387eSmrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
126756f6b22bSmrgfi
1268ef7198c0Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269ef7198c0Smrgac_abs_confdir=`(
12703a67387eSmrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1271ef7198c0Smrg	pwd)`
1272ef7198c0Smrg# When building in place, set srcdir=.
1273ef7198c0Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1274ef7198c0Smrg  srcdir=.
1275ef7198c0Smrgfi
1276ef7198c0Smrg# Remove unnecessary trailing slashes from srcdir.
1277ef7198c0Smrg# Double slashes in file names in object file debugging info
1278ef7198c0Smrg# mess up M-x gdb in Emacs.
1279ef7198c0Smrgcase $srcdir in
1280ef7198c0Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281ef7198c0Smrgesac
1282ef7198c0Smrgfor ac_var in $ac_precious_vars; do
1283ef7198c0Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284ef7198c0Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1285ef7198c0Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286ef7198c0Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287ef7198c0Smrgdone
128856f6b22bSmrg
128956f6b22bSmrg#
129056f6b22bSmrg# Report the --help message.
129156f6b22bSmrg#
129256f6b22bSmrgif test "$ac_init_help" = "long"; then
129356f6b22bSmrg  # Omit some internal or obsolete options to make the list less imposing.
129456f6b22bSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
129556f6b22bSmrg  cat <<_ACEOF
12963a67387eSmrg\`configure' configures font-bitstream-100dpi 1.0.3 to adapt to many kinds of systems.
129756f6b22bSmrg
129856f6b22bSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
129956f6b22bSmrg
130056f6b22bSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
130156f6b22bSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
130256f6b22bSmrg
130356f6b22bSmrgDefaults for the options are specified in brackets.
130456f6b22bSmrg
130556f6b22bSmrgConfiguration:
130656f6b22bSmrg  -h, --help              display this help and exit
130756f6b22bSmrg      --help=short        display options specific to this package
130856f6b22bSmrg      --help=recursive    display the short help of all the included packages
130956f6b22bSmrg  -V, --version           display version information and exit
13103a67387eSmrg  -q, --quiet, --silent   do not print \`checking ...' messages
131156f6b22bSmrg      --cache-file=FILE   cache test results in FILE [disabled]
131256f6b22bSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
131356f6b22bSmrg  -n, --no-create         do not create output files
131456f6b22bSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
131556f6b22bSmrg
131656f6b22bSmrgInstallation directories:
131756f6b22bSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1318ef7198c0Smrg                          [$ac_default_prefix]
131956f6b22bSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1320ef7198c0Smrg                          [PREFIX]
132156f6b22bSmrg
132256f6b22bSmrgBy default, \`make install' will install all the files in
132356f6b22bSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
132456f6b22bSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
132556f6b22bSmrgfor instance \`--prefix=\$HOME'.
132656f6b22bSmrg
132756f6b22bSmrgFor better control, use the options below.
132856f6b22bSmrg
132956f6b22bSmrgFine tuning of the installation directories:
1330ef7198c0Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1331ef7198c0Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1332ef7198c0Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1333ef7198c0Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1334ef7198c0Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1335ef7198c0Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1336ef7198c0Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1337ef7198c0Smrg  --includedir=DIR        C header files [PREFIX/include]
1338ef7198c0Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1339ef7198c0Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1340ef7198c0Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1341ef7198c0Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1342ef7198c0Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1343ef7198c0Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1344ef7198c0Smrg  --docdir=DIR            documentation root
1345ef7198c0Smrg                          [DATAROOTDIR/doc/font-bitstream-100dpi]
1346ef7198c0Smrg  --htmldir=DIR           html documentation [DOCDIR]
1347ef7198c0Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1348ef7198c0Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1349ef7198c0Smrg  --psdir=DIR             ps documentation [DOCDIR]
135056f6b22bSmrg_ACEOF
135156f6b22bSmrg
135256f6b22bSmrg  cat <<\_ACEOF
135356f6b22bSmrg
135456f6b22bSmrgProgram names:
135556f6b22bSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
135656f6b22bSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
135756f6b22bSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1358ef7198c0Smrg
1359ef7198c0SmrgSystem types:
1360ef7198c0Smrg  --build=BUILD     configure for building on BUILD [guessed]
1361ef7198c0Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
136256f6b22bSmrg_ACEOF
136356f6b22bSmrgfi
136456f6b22bSmrg
136556f6b22bSmrgif test -n "$ac_init_help"; then
136656f6b22bSmrg  case $ac_init_help in
13673a67387eSmrg     short | recursive ) echo "Configuration of font-bitstream-100dpi 1.0.3:";;
136856f6b22bSmrg   esac
136956f6b22bSmrg  cat <<\_ACEOF
137056f6b22bSmrg
137156f6b22bSmrgOptional Features:
1372ef7198c0Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
137356f6b22bSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
137456f6b22bSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1375ef7198c0Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
1376ef7198c0Smrg			  (and sometimes confusing) to the casual installer
1377ef7198c0Smrg  --disable-dependency-tracking  speeds up one-time build
1378ef7198c0Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
1379ef7198c0Smrg  --enable-strict-compilation
1380ef7198c0Smrg                          Enable all warnings from compiler and make them
1381ef7198c0Smrg                          errors (default: disabled)
13823a67387eSmrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
13833a67387eSmrg  --disable-silent-rules         verbose build output (undo: `make V=0')
138456f6b22bSmrg
138556f6b22bSmrgOptional Packages:
138656f6b22bSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
138756f6b22bSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1388ef7198c0Smrg  --with-fontrootdir=DIR  Path to root directory for font files
1389ef7198c0Smrg  --with-fontdir=DIR      Path to 100dpi files [FONTROOTDIR/100dpi]
1390ef7198c0Smrg  --with-compression=<no|compress|gzip|bzip2>
1391ef7198c0Smrg                          compression method to use on pcf fonts
1392ef7198c0Smrg
1393ef7198c0SmrgSome influential environment variables:
1394ef7198c0Smrg  CC          C compiler command
1395ef7198c0Smrg  CFLAGS      C compiler flags
1396ef7198c0Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1397ef7198c0Smrg              nonstandard directory <lib dir>
1398ef7198c0Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
13993a67387eSmrg  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1400ef7198c0Smrg              you have headers in a nonstandard directory <include dir>
1401ef7198c0Smrg  CPP         C preprocessor
1402ef7198c0Smrg  PKG_CONFIG  path to pkg-config utility
14033a67387eSmrg  PKG_CONFIG_PATH
14043a67387eSmrg              directories to add to pkg-config's search path
14053a67387eSmrg  PKG_CONFIG_LIBDIR
14063a67387eSmrg              path overriding pkg-config's built-in search path
1407ef7198c0Smrg
1408ef7198c0SmrgUse these variables to override the choices made by `configure' or to help
1409ef7198c0Smrgit to find libraries and programs with nonstandard names/locations.
141056f6b22bSmrg
141156f6b22bSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
141256f6b22bSmrg_ACEOF
1413ef7198c0Smrgac_status=$?
141456f6b22bSmrgfi
141556f6b22bSmrg
141656f6b22bSmrgif test "$ac_init_help" = "recursive"; then
141756f6b22bSmrg  # If there are subdirs, report their specific --help.
141856f6b22bSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1419ef7198c0Smrg    test -d "$ac_dir" ||
1420ef7198c0Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1421ef7198c0Smrg      continue
142256f6b22bSmrg    ac_builddir=.
142356f6b22bSmrg
1424ef7198c0Smrgcase "$ac_dir" in
1425ef7198c0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426ef7198c0Smrg*)
1427ef7198c0Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428ef7198c0Smrg  # A ".." for each directory in $ac_dir_suffix.
1429ef7198c0Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430ef7198c0Smrg  case $ac_top_builddir_sub in
1431ef7198c0Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432ef7198c0Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433ef7198c0Smrg  esac ;;
1434ef7198c0Smrgesac
1435ef7198c0Smrgac_abs_top_builddir=$ac_pwd
1436ef7198c0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1437ef7198c0Smrg# for backward compatibility:
1438ef7198c0Smrgac_top_builddir=$ac_top_build_prefix
143956f6b22bSmrg
144056f6b22bSmrgcase $srcdir in
1441ef7198c0Smrg  .)  # We are building in place.
144256f6b22bSmrg    ac_srcdir=.
1443ef7198c0Smrg    ac_top_srcdir=$ac_top_builddir_sub
1444ef7198c0Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1445ef7198c0Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
144656f6b22bSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
1447ef7198c0Smrg    ac_top_srcdir=$srcdir
1448ef7198c0Smrg    ac_abs_top_srcdir=$srcdir ;;
1449ef7198c0Smrg  *) # Relative name.
1450ef7198c0Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451ef7198c0Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1452ef7198c0Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
145356f6b22bSmrgesac
1454ef7198c0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1455ef7198c0Smrg
1456ef7198c0Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
1457ef7198c0Smrg    # Check for guested configure.
1458ef7198c0Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1459ef7198c0Smrg      echo &&
1460ef7198c0Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461ef7198c0Smrg    elif test -f "$ac_srcdir/configure"; then
1462ef7198c0Smrg      echo &&
1463ef7198c0Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
146456f6b22bSmrg    else
1465ef7198c0Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466ef7198c0Smrg    fi || ac_status=$?
1467ef7198c0Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
146856f6b22bSmrg  done
146956f6b22bSmrgfi
147056f6b22bSmrg
1471ef7198c0Smrgtest -n "$ac_init_help" && exit $ac_status
147256f6b22bSmrgif $ac_init_version; then
147356f6b22bSmrg  cat <<\_ACEOF
14743a67387eSmrgfont-bitstream-100dpi configure 1.0.3
14753a67387eSmrggenerated by GNU Autoconf 2.68
147656f6b22bSmrg
14773a67387eSmrgCopyright (C) 2010 Free Software Foundation, Inc.
147856f6b22bSmrgThis configure script is free software; the Free Software Foundation
147956f6b22bSmrggives unlimited permission to copy, distribute and modify it.
148056f6b22bSmrg_ACEOF
1481ef7198c0Smrg  exit
148256f6b22bSmrgfi
148356f6b22bSmrg
14843a67387eSmrg## ------------------------ ##
14853a67387eSmrg## Autoconf initialization. ##
14863a67387eSmrg## ------------------------ ##
148756f6b22bSmrg
14883a67387eSmrg# ac_fn_c_try_compile LINENO
14893a67387eSmrg# --------------------------
14903a67387eSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded.
14913a67387eSmrgac_fn_c_try_compile ()
149256f6b22bSmrg{
14933a67387eSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14943a67387eSmrg  rm -f conftest.$ac_objext
14953a67387eSmrg  if { { ac_try="$ac_compile"
14963a67387eSmrgcase "(($ac_try" in
14973a67387eSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14983a67387eSmrg  *) ac_try_echo=$ac_try;;
14993a67387eSmrgesac
15003a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15013a67387eSmrg$as_echo "$ac_try_echo"; } >&5
15023a67387eSmrg  (eval "$ac_compile") 2>conftest.err
15033a67387eSmrg  ac_status=$?
15043a67387eSmrg  if test -s conftest.err; then
15053a67387eSmrg    grep -v '^ *+' conftest.err >conftest.er1
15063a67387eSmrg    cat conftest.er1 >&5
15073a67387eSmrg    mv -f conftest.er1 conftest.err
15083a67387eSmrg  fi
15093a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15103a67387eSmrg  test $ac_status = 0; } && {
15113a67387eSmrg	 test -z "$ac_c_werror_flag" ||
15123a67387eSmrg	 test ! -s conftest.err
15133a67387eSmrg       } && test -s conftest.$ac_objext; then :
15143a67387eSmrg  ac_retval=0
15153a67387eSmrgelse
15163a67387eSmrg  $as_echo "$as_me: failed program was:" >&5
15173a67387eSmrgsed 's/^/| /' conftest.$ac_ext >&5
151856f6b22bSmrg
15193a67387eSmrg	ac_retval=1
15203a67387eSmrgfi
15213a67387eSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15223a67387eSmrg  as_fn_set_status $ac_retval
152356f6b22bSmrg
15243a67387eSmrg} # ac_fn_c_try_compile
152556f6b22bSmrg
15263a67387eSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
15273a67387eSmrg# ---------------------------------------------
15283a67387eSmrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
15293a67387eSmrg# accordingly.
15303a67387eSmrgac_fn_c_check_decl ()
15313a67387eSmrg{
15323a67387eSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15333a67387eSmrg  as_decl_name=`echo $2|sed 's/ *(.*//'`
15343a67387eSmrg  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
15353a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
15363a67387eSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
15373a67387eSmrgif eval \${$3+:} false; then :
15383a67387eSmrg  $as_echo_n "(cached) " >&6
15393a67387eSmrgelse
15403a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413a67387eSmrg/* end confdefs.h.  */
15423a67387eSmrg$4
15433a67387eSmrgint
15443a67387eSmrgmain ()
15453a67387eSmrg{
15463a67387eSmrg#ifndef $as_decl_name
15473a67387eSmrg#ifdef __cplusplus
15483a67387eSmrg  (void) $as_decl_use;
15493a67387eSmrg#else
15503a67387eSmrg  (void) $as_decl_name;
15513a67387eSmrg#endif
15523a67387eSmrg#endif
15533a67387eSmrg
15543a67387eSmrg  ;
15553a67387eSmrg  return 0;
15563a67387eSmrg}
15573a67387eSmrg_ACEOF
15583a67387eSmrgif ac_fn_c_try_compile "$LINENO"; then :
15593a67387eSmrg  eval "$3=yes"
15603a67387eSmrgelse
15613a67387eSmrg  eval "$3=no"
15623a67387eSmrgfi
15633a67387eSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15643a67387eSmrgfi
15653a67387eSmrgeval ac_res=\$$3
15663a67387eSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15673a67387eSmrg$as_echo "$ac_res" >&6; }
15683a67387eSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15693a67387eSmrg
15703a67387eSmrg} # ac_fn_c_check_decl
15713a67387eSmrg
15723a67387eSmrg# ac_fn_c_try_cpp LINENO
15733a67387eSmrg# ----------------------
15743a67387eSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
15753a67387eSmrgac_fn_c_try_cpp ()
15763a67387eSmrg{
15773a67387eSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15783a67387eSmrg  if { { ac_try="$ac_cpp conftest.$ac_ext"
15793a67387eSmrgcase "(($ac_try" in
15803a67387eSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15813a67387eSmrg  *) ac_try_echo=$ac_try;;
15823a67387eSmrgesac
15833a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15843a67387eSmrg$as_echo "$ac_try_echo"; } >&5
15853a67387eSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
15863a67387eSmrg  ac_status=$?
15873a67387eSmrg  if test -s conftest.err; then
15883a67387eSmrg    grep -v '^ *+' conftest.err >conftest.er1
15893a67387eSmrg    cat conftest.er1 >&5
15903a67387eSmrg    mv -f conftest.er1 conftest.err
15913a67387eSmrg  fi
15923a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15933a67387eSmrg  test $ac_status = 0; } > conftest.i && {
15943a67387eSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15953a67387eSmrg	 test ! -s conftest.err
15963a67387eSmrg       }; then :
15973a67387eSmrg  ac_retval=0
15983a67387eSmrgelse
15993a67387eSmrg  $as_echo "$as_me: failed program was:" >&5
16003a67387eSmrgsed 's/^/| /' conftest.$ac_ext >&5
16013a67387eSmrg
16023a67387eSmrg    ac_retval=1
16033a67387eSmrgfi
16043a67387eSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16053a67387eSmrg  as_fn_set_status $ac_retval
16063a67387eSmrg
16073a67387eSmrg} # ac_fn_c_try_cpp
16083a67387eSmrg
16093a67387eSmrg# ac_fn_c_try_run LINENO
16103a67387eSmrg# ----------------------
16113a67387eSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
16123a67387eSmrg# that executables *can* be run.
16133a67387eSmrgac_fn_c_try_run ()
16143a67387eSmrg{
16153a67387eSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16163a67387eSmrg  if { { ac_try="$ac_link"
16173a67387eSmrgcase "(($ac_try" in
16183a67387eSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16193a67387eSmrg  *) ac_try_echo=$ac_try;;
16203a67387eSmrgesac
16213a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16223a67387eSmrg$as_echo "$ac_try_echo"; } >&5
16233a67387eSmrg  (eval "$ac_link") 2>&5
16243a67387eSmrg  ac_status=$?
16253a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16263a67387eSmrg  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
16273a67387eSmrg  { { case "(($ac_try" in
16283a67387eSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16293a67387eSmrg  *) ac_try_echo=$ac_try;;
16303a67387eSmrgesac
16313a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16323a67387eSmrg$as_echo "$ac_try_echo"; } >&5
16333a67387eSmrg  (eval "$ac_try") 2>&5
16343a67387eSmrg  ac_status=$?
16353a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16363a67387eSmrg  test $ac_status = 0; }; }; then :
16373a67387eSmrg  ac_retval=0
16383a67387eSmrgelse
16393a67387eSmrg  $as_echo "$as_me: program exited with status $ac_status" >&5
16403a67387eSmrg       $as_echo "$as_me: failed program was:" >&5
16413a67387eSmrgsed 's/^/| /' conftest.$ac_ext >&5
16423a67387eSmrg
16433a67387eSmrg       ac_retval=$ac_status
16443a67387eSmrgfi
16453a67387eSmrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
16463a67387eSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16473a67387eSmrg  as_fn_set_status $ac_retval
16483a67387eSmrg
16493a67387eSmrg} # ac_fn_c_try_run
16503a67387eSmrg
16513a67387eSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
16523a67387eSmrg# -------------------------------------------------------
16533a67387eSmrg# Tests whether HEADER exists and can be compiled using the include files in
16543a67387eSmrg# INCLUDES, setting the cache variable VAR accordingly.
16553a67387eSmrgac_fn_c_check_header_compile ()
16563a67387eSmrg{
16573a67387eSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16583a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
16593a67387eSmrg$as_echo_n "checking for $2... " >&6; }
16603a67387eSmrgif eval \${$3+:} false; then :
16613a67387eSmrg  $as_echo_n "(cached) " >&6
16623a67387eSmrgelse
16633a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643a67387eSmrg/* end confdefs.h.  */
16653a67387eSmrg$4
16663a67387eSmrg#include <$2>
16673a67387eSmrg_ACEOF
16683a67387eSmrgif ac_fn_c_try_compile "$LINENO"; then :
16693a67387eSmrg  eval "$3=yes"
16703a67387eSmrgelse
16713a67387eSmrg  eval "$3=no"
16723a67387eSmrgfi
16733a67387eSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16743a67387eSmrgfi
16753a67387eSmrgeval ac_res=\$$3
16763a67387eSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16773a67387eSmrg$as_echo "$ac_res" >&6; }
16783a67387eSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16793a67387eSmrg
16803a67387eSmrg} # ac_fn_c_check_header_compile
16813a67387eSmrgcat >config.log <<_ACEOF
16823a67387eSmrgThis file contains any messages produced by compilers while
16833a67387eSmrgrunning configure, to aid debugging if configure makes a mistake.
16843a67387eSmrg
16853a67387eSmrgIt was created by font-bitstream-100dpi $as_me 1.0.3, which was
16863a67387eSmrggenerated by GNU Autoconf 2.68.  Invocation command line was
16873a67387eSmrg
16883a67387eSmrg  $ $0 $@
16893a67387eSmrg
16903a67387eSmrg_ACEOF
16913a67387eSmrgexec 5>>config.log
16923a67387eSmrg{
16933a67387eSmrgcat <<_ASUNAME
16943a67387eSmrg## --------- ##
16953a67387eSmrg## Platform. ##
16963a67387eSmrg## --------- ##
16973a67387eSmrg
16983a67387eSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
16993a67387eSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
17003a67387eSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
17013a67387eSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
17023a67387eSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
17033a67387eSmrg
17043a67387eSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
17053a67387eSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
17063a67387eSmrg
17073a67387eSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
17083a67387eSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
17093a67387eSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
17103a67387eSmrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
17113a67387eSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
17123a67387eSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
17133a67387eSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
17143a67387eSmrg
17153a67387eSmrg_ASUNAME
17163a67387eSmrg
17173a67387eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
171856f6b22bSmrgfor as_dir in $PATH
171956f6b22bSmrgdo
172056f6b22bSmrg  IFS=$as_save_IFS
172156f6b22bSmrg  test -z "$as_dir" && as_dir=.
17223a67387eSmrg    $as_echo "PATH: $as_dir"
17233a67387eSmrg  done
1724ef7198c0SmrgIFS=$as_save_IFS
172556f6b22bSmrg
172656f6b22bSmrg} >&5
172756f6b22bSmrg
172856f6b22bSmrgcat >&5 <<_ACEOF
172956f6b22bSmrg
173056f6b22bSmrg
173156f6b22bSmrg## ----------- ##
173256f6b22bSmrg## Core tests. ##
173356f6b22bSmrg## ----------- ##
173456f6b22bSmrg
173556f6b22bSmrg_ACEOF
173656f6b22bSmrg
173756f6b22bSmrg
173856f6b22bSmrg# Keep a trace of the command line.
173956f6b22bSmrg# Strip out --no-create and --no-recursion so they do not pile up.
174056f6b22bSmrg# Strip out --silent because we don't want to record it for future runs.
174156f6b22bSmrg# Also quote any args containing shell meta-characters.
174256f6b22bSmrg# Make two passes to allow for proper duplicate-argument suppression.
174356f6b22bSmrgac_configure_args=
174456f6b22bSmrgac_configure_args0=
174556f6b22bSmrgac_configure_args1=
174656f6b22bSmrgac_must_keep_next=false
174756f6b22bSmrgfor ac_pass in 1 2
174856f6b22bSmrgdo
174956f6b22bSmrg  for ac_arg
175056f6b22bSmrg  do
175156f6b22bSmrg    case $ac_arg in
175256f6b22bSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
175356f6b22bSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
175456f6b22bSmrg    | -silent | --silent | --silen | --sile | --sil)
175556f6b22bSmrg      continue ;;
1756ef7198c0Smrg    *\'*)
1757ef7198c0Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
175856f6b22bSmrg    esac
175956f6b22bSmrg    case $ac_pass in
17603a67387eSmrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
176156f6b22bSmrg    2)
17623a67387eSmrg      as_fn_append ac_configure_args1 " '$ac_arg'"
176356f6b22bSmrg      if test $ac_must_keep_next = true; then
176456f6b22bSmrg	ac_must_keep_next=false # Got value, back to normal.
176556f6b22bSmrg      else
176656f6b22bSmrg	case $ac_arg in
176756f6b22bSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
176856f6b22bSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
176956f6b22bSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
177056f6b22bSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
177156f6b22bSmrg	    case "$ac_configure_args0 " in
177256f6b22bSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
177356f6b22bSmrg	    esac
177456f6b22bSmrg	    ;;
177556f6b22bSmrg	  -* ) ac_must_keep_next=true ;;
177656f6b22bSmrg	esac
177756f6b22bSmrg      fi
17783a67387eSmrg      as_fn_append ac_configure_args " '$ac_arg'"
177956f6b22bSmrg      ;;
178056f6b22bSmrg    esac
178156f6b22bSmrg  done
178256f6b22bSmrgdone
17833a67387eSmrg{ ac_configure_args0=; unset ac_configure_args0;}
17843a67387eSmrg{ ac_configure_args1=; unset ac_configure_args1;}
178556f6b22bSmrg
178656f6b22bSmrg# When interrupted or exit'd, cleanup temporary files, and complete
178756f6b22bSmrg# config.log.  We remove comments because anyway the quotes in there
178856f6b22bSmrg# would cause problems or look ugly.
1789ef7198c0Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1790ef7198c0Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
179156f6b22bSmrgtrap 'exit_status=$?
179256f6b22bSmrg  # Save into config.log some information that might help in debugging.
179356f6b22bSmrg  {
179456f6b22bSmrg    echo
179556f6b22bSmrg
17963a67387eSmrg    $as_echo "## ---------------- ##
179756f6b22bSmrg## Cache variables. ##
17983a67387eSmrg## ---------------- ##"
179956f6b22bSmrg    echo
180056f6b22bSmrg    # The following way of writing the cache mishandles newlines in values,
1801ef7198c0Smrg(
1802ef7198c0Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1803ef7198c0Smrg    eval ac_val=\$$ac_var
1804ef7198c0Smrg    case $ac_val in #(
1805ef7198c0Smrg    *${as_nl}*)
1806ef7198c0Smrg      case $ac_var in #(
18073a67387eSmrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1808ef7198c0Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1809ef7198c0Smrg      esac
1810ef7198c0Smrg      case $ac_var in #(
1811ef7198c0Smrg      _ | IFS | as_nl) ;; #(
1812ef7198c0Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18133a67387eSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
1814ef7198c0Smrg      esac ;;
1815ef7198c0Smrg    esac
1816ef7198c0Smrg  done
181756f6b22bSmrg  (set) 2>&1 |
1818ef7198c0Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1819ef7198c0Smrg    *${as_nl}ac_space=\ *)
182056f6b22bSmrg      sed -n \
1821ef7198c0Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1822ef7198c0Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1823ef7198c0Smrg      ;; #(
182456f6b22bSmrg    *)
1825ef7198c0Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
182656f6b22bSmrg      ;;
1827ef7198c0Smrg    esac |
1828ef7198c0Smrg    sort
1829ef7198c0Smrg)
183056f6b22bSmrg    echo
183156f6b22bSmrg
18323a67387eSmrg    $as_echo "## ----------------- ##
183356f6b22bSmrg## Output variables. ##
18343a67387eSmrg## ----------------- ##"
183556f6b22bSmrg    echo
183656f6b22bSmrg    for ac_var in $ac_subst_vars
183756f6b22bSmrg    do
1838ef7198c0Smrg      eval ac_val=\$$ac_var
1839ef7198c0Smrg      case $ac_val in
1840ef7198c0Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1841ef7198c0Smrg      esac
1842ef7198c0Smrg      $as_echo "$ac_var='\''$ac_val'\''"
184356f6b22bSmrg    done | sort
184456f6b22bSmrg    echo
184556f6b22bSmrg
184656f6b22bSmrg    if test -n "$ac_subst_files"; then
18473a67387eSmrg      $as_echo "## ------------------- ##
1848ef7198c0Smrg## File substitutions. ##
18493a67387eSmrg## ------------------- ##"
185056f6b22bSmrg      echo
185156f6b22bSmrg      for ac_var in $ac_subst_files
185256f6b22bSmrg      do
1853ef7198c0Smrg	eval ac_val=\$$ac_var
1854ef7198c0Smrg	case $ac_val in
1855ef7198c0Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1856ef7198c0Smrg	esac
1857ef7198c0Smrg	$as_echo "$ac_var='\''$ac_val'\''"
185856f6b22bSmrg      done | sort
185956f6b22bSmrg      echo
186056f6b22bSmrg    fi
186156f6b22bSmrg
186256f6b22bSmrg    if test -s confdefs.h; then
18633a67387eSmrg      $as_echo "## ----------- ##
186456f6b22bSmrg## confdefs.h. ##
18653a67387eSmrg## ----------- ##"
186656f6b22bSmrg      echo
1867ef7198c0Smrg      cat confdefs.h
186856f6b22bSmrg      echo
186956f6b22bSmrg    fi
187056f6b22bSmrg    test "$ac_signal" != 0 &&
1871ef7198c0Smrg      $as_echo "$as_me: caught signal $ac_signal"
1872ef7198c0Smrg    $as_echo "$as_me: exit $exit_status"
187356f6b22bSmrg  } >&5
1874ef7198c0Smrg  rm -f core *.core core.conftest.* &&
1875ef7198c0Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
187656f6b22bSmrg    exit $exit_status
1877ef7198c0Smrg' 0
187856f6b22bSmrgfor ac_signal in 1 2 13 15; do
18793a67387eSmrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
188056f6b22bSmrgdone
188156f6b22bSmrgac_signal=0
188256f6b22bSmrg
188356f6b22bSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1884ef7198c0Smrgrm -f -r conftest* confdefs.h
188556f6b22bSmrg
18863a67387eSmrg$as_echo "/* confdefs.h */" > confdefs.h
18873a67387eSmrg
188856f6b22bSmrg# Predefined preprocessor variables.
188956f6b22bSmrg
189056f6b22bSmrgcat >>confdefs.h <<_ACEOF
189156f6b22bSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
189256f6b22bSmrg_ACEOF
189356f6b22bSmrg
189456f6b22bSmrgcat >>confdefs.h <<_ACEOF
189556f6b22bSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
189656f6b22bSmrg_ACEOF
189756f6b22bSmrg
189856f6b22bSmrgcat >>confdefs.h <<_ACEOF
189956f6b22bSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
190056f6b22bSmrg_ACEOF
190156f6b22bSmrg
190256f6b22bSmrgcat >>confdefs.h <<_ACEOF
190356f6b22bSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
190456f6b22bSmrg_ACEOF
190556f6b22bSmrg
190656f6b22bSmrgcat >>confdefs.h <<_ACEOF
190756f6b22bSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
190856f6b22bSmrg_ACEOF
190956f6b22bSmrg
19103a67387eSmrgcat >>confdefs.h <<_ACEOF
19113a67387eSmrg#define PACKAGE_URL "$PACKAGE_URL"
19123a67387eSmrg_ACEOF
19133a67387eSmrg
191456f6b22bSmrg
191556f6b22bSmrg# Let the site file select an alternate cache file if it wants to.
1916ef7198c0Smrg# Prefer an explicitly selected file to automatically selected ones.
1917ef7198c0Smrgac_site_file1=NONE
1918ef7198c0Smrgac_site_file2=NONE
1919ef7198c0Smrgif test -n "$CONFIG_SITE"; then
19203a67387eSmrg  # We do not want a PATH search for config.site.
19213a67387eSmrg  case $CONFIG_SITE in #((
19223a67387eSmrg    -*)  ac_site_file1=./$CONFIG_SITE;;
19233a67387eSmrg    */*) ac_site_file1=$CONFIG_SITE;;
19243a67387eSmrg    *)   ac_site_file1=./$CONFIG_SITE;;
19253a67387eSmrg  esac
1926ef7198c0Smrgelif test "x$prefix" != xNONE; then
1927ef7198c0Smrg  ac_site_file1=$prefix/share/config.site
1928ef7198c0Smrg  ac_site_file2=$prefix/etc/config.site
1929ef7198c0Smrgelse
1930ef7198c0Smrg  ac_site_file1=$ac_default_prefix/share/config.site
1931ef7198c0Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
193256f6b22bSmrgfi
1933ef7198c0Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
1934ef7198c0Smrgdo
1935ef7198c0Smrg  test "x$ac_site_file" = xNONE && continue
19363a67387eSmrg  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
19373a67387eSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1938ef7198c0Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
193956f6b22bSmrg    sed 's/^/| /' "$ac_site_file" >&5
19403a67387eSmrg    . "$ac_site_file" \
19413a67387eSmrg      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19423a67387eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19433a67387eSmrgas_fn_error $? "failed to load site script $ac_site_file
19443a67387eSmrgSee \`config.log' for more details" "$LINENO" 5; }
194556f6b22bSmrg  fi
194656f6b22bSmrgdone
194756f6b22bSmrg
194856f6b22bSmrgif test -r "$cache_file"; then
19493a67387eSmrg  # Some versions of bash will fail to source /dev/null (special files
19503a67387eSmrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
19513a67387eSmrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
19523a67387eSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1953ef7198c0Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
195456f6b22bSmrg    case $cache_file in
1955ef7198c0Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1956ef7198c0Smrg      *)                      . "./$cache_file";;
195756f6b22bSmrg    esac
195856f6b22bSmrg  fi
195956f6b22bSmrgelse
19603a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1961ef7198c0Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
196256f6b22bSmrg  >$cache_file
196356f6b22bSmrgfi
196456f6b22bSmrg
196556f6b22bSmrg# Check that the precious variables saved in the cache have kept the same
196656f6b22bSmrg# value.
196756f6b22bSmrgac_cache_corrupted=false
1968ef7198c0Smrgfor ac_var in $ac_precious_vars; do
196956f6b22bSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
197056f6b22bSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
1971ef7198c0Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1972ef7198c0Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
197356f6b22bSmrg  case $ac_old_set,$ac_new_set in
197456f6b22bSmrg    set,)
19753a67387eSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1976ef7198c0Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
197756f6b22bSmrg      ac_cache_corrupted=: ;;
197856f6b22bSmrg    ,set)
19793a67387eSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1980ef7198c0Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
198156f6b22bSmrg      ac_cache_corrupted=: ;;
198256f6b22bSmrg    ,);;
198356f6b22bSmrg    *)
198456f6b22bSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1985ef7198c0Smrg	# differences in whitespace do not lead to failure.
1986ef7198c0Smrg	ac_old_val_w=`echo x $ac_old_val`
1987ef7198c0Smrg	ac_new_val_w=`echo x $ac_new_val`
1988ef7198c0Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
19893a67387eSmrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1990ef7198c0Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1991ef7198c0Smrg	  ac_cache_corrupted=:
1992ef7198c0Smrg	else
19933a67387eSmrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1994ef7198c0Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1995ef7198c0Smrg	  eval $ac_var=\$ac_old_val
1996ef7198c0Smrg	fi
19973a67387eSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1998ef7198c0Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
19993a67387eSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2000ef7198c0Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
200156f6b22bSmrg      fi;;
200256f6b22bSmrg  esac
200356f6b22bSmrg  # Pass precious variables to config.status.
200456f6b22bSmrg  if test "$ac_new_set" = set; then
200556f6b22bSmrg    case $ac_new_val in
2006ef7198c0Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
200756f6b22bSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
200856f6b22bSmrg    esac
200956f6b22bSmrg    case " $ac_configure_args " in
201056f6b22bSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
20113a67387eSmrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
201256f6b22bSmrg    esac
201356f6b22bSmrg  fi
201456f6b22bSmrgdone
201556f6b22bSmrgif $ac_cache_corrupted; then
20163a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2017ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20183a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2019ef7198c0Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
20203a67387eSmrg  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
202156f6b22bSmrgfi
20223a67387eSmrg## -------------------- ##
20233a67387eSmrg## Main body of script. ##
20243a67387eSmrg## -------------------- ##
202556f6b22bSmrg
2026ef7198c0Smrgac_ext=c
2027ef7198c0Smrgac_cpp='$CPP $CPPFLAGS'
2028ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2029ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2030ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
203156f6b22bSmrg
203256f6b22bSmrg
2033ef7198c0Smrgam__api_version='1.11'
203456f6b22bSmrg
203556f6b22bSmrgac_aux_dir=
2036ef7198c0Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2037ef7198c0Smrg  if test -f "$ac_dir/install-sh"; then
203856f6b22bSmrg    ac_aux_dir=$ac_dir
203956f6b22bSmrg    ac_install_sh="$ac_aux_dir/install-sh -c"
204056f6b22bSmrg    break
2041ef7198c0Smrg  elif test -f "$ac_dir/install.sh"; then
204256f6b22bSmrg    ac_aux_dir=$ac_dir
204356f6b22bSmrg    ac_install_sh="$ac_aux_dir/install.sh -c"
204456f6b22bSmrg    break
2045ef7198c0Smrg  elif test -f "$ac_dir/shtool"; then
204656f6b22bSmrg    ac_aux_dir=$ac_dir
204756f6b22bSmrg    ac_install_sh="$ac_aux_dir/shtool install -c"
204856f6b22bSmrg    break
204956f6b22bSmrg  fi
205056f6b22bSmrgdone
205156f6b22bSmrgif test -z "$ac_aux_dir"; then
20523a67387eSmrg  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
205356f6b22bSmrgfi
2054ef7198c0Smrg
2055ef7198c0Smrg# These three variables are undocumented and unsupported,
2056ef7198c0Smrg# and are intended to be withdrawn in a future Autoconf release.
2057ef7198c0Smrg# They can cause serious problems if a builder's source tree is in a directory
2058ef7198c0Smrg# whose full name contains unusual characters.
2059ef7198c0Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2060ef7198c0Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2061ef7198c0Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2062ef7198c0Smrg
206356f6b22bSmrg
206456f6b22bSmrg# Find a good install program.  We prefer a C program (faster),
206556f6b22bSmrg# so one script is as good as another.  But avoid the broken or
206656f6b22bSmrg# incompatible versions:
206756f6b22bSmrg# SysV /etc/install, /usr/sbin/install
206856f6b22bSmrg# SunOS /usr/etc/install
206956f6b22bSmrg# IRIX /sbin/install
207056f6b22bSmrg# AIX /bin/install
207156f6b22bSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
207256f6b22bSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
207356f6b22bSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
207456f6b22bSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
207556f6b22bSmrg# OS/2's system install, which has a completely different semantic
207656f6b22bSmrg# ./install, which can be erroneously created by make from ./install.sh.
2077ef7198c0Smrg# Reject install programs that cannot install multiple files.
20783a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2079ef7198c0Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
208056f6b22bSmrgif test -z "$INSTALL"; then
20813a67387eSmrgif ${ac_cv_path_install+:} false; then :
2082ef7198c0Smrg  $as_echo_n "(cached) " >&6
208356f6b22bSmrgelse
208456f6b22bSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208556f6b22bSmrgfor as_dir in $PATH
208656f6b22bSmrgdo
208756f6b22bSmrg  IFS=$as_save_IFS
208856f6b22bSmrg  test -z "$as_dir" && as_dir=.
20893a67387eSmrg    # Account for people who put trailing slashes in PATH elements.
20903a67387eSmrgcase $as_dir/ in #((
20913a67387eSmrg  ./ | .// | /[cC]/* | \
209256f6b22bSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
20933a67387eSmrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
209456f6b22bSmrg  /usr/ucb/* ) ;;
209556f6b22bSmrg  *)
209656f6b22bSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
209756f6b22bSmrg    # Don't use installbsd from OSF since it installs stuff as root
209856f6b22bSmrg    # by default.
209956f6b22bSmrg    for ac_prog in ginstall scoinst install; do
210056f6b22bSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
2101ef7198c0Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
210256f6b22bSmrg	  if test $ac_prog = install &&
210356f6b22bSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
210456f6b22bSmrg	    # AIX install.  It has an incompatible calling convention.
210556f6b22bSmrg	    :
210656f6b22bSmrg	  elif test $ac_prog = install &&
210756f6b22bSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
210856f6b22bSmrg	    # program-specific install script used by HP pwplus--don't use.
210956f6b22bSmrg	    :
211056f6b22bSmrg	  else
2111ef7198c0Smrg	    rm -rf conftest.one conftest.two conftest.dir
2112ef7198c0Smrg	    echo one > conftest.one
2113ef7198c0Smrg	    echo two > conftest.two
2114ef7198c0Smrg	    mkdir conftest.dir
2115ef7198c0Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2116ef7198c0Smrg	      test -s conftest.one && test -s conftest.two &&
2117ef7198c0Smrg	      test -s conftest.dir/conftest.one &&
2118ef7198c0Smrg	      test -s conftest.dir/conftest.two
2119ef7198c0Smrg	    then
2120ef7198c0Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2121ef7198c0Smrg	      break 3
2122ef7198c0Smrg	    fi
212356f6b22bSmrg	  fi
212456f6b22bSmrg	fi
212556f6b22bSmrg      done
212656f6b22bSmrg    done
212756f6b22bSmrg    ;;
212856f6b22bSmrgesac
2129ef7198c0Smrg
21303a67387eSmrg  done
2131ef7198c0SmrgIFS=$as_save_IFS
213256f6b22bSmrg
2133ef7198c0Smrgrm -rf conftest.one conftest.two conftest.dir
213456f6b22bSmrg
213556f6b22bSmrgfi
213656f6b22bSmrg  if test "${ac_cv_path_install+set}" = set; then
213756f6b22bSmrg    INSTALL=$ac_cv_path_install
213856f6b22bSmrg  else
2139ef7198c0Smrg    # As a last resort, use the slow shell script.  Don't cache a
2140ef7198c0Smrg    # value for INSTALL within a source directory, because that will
214156f6b22bSmrg    # break other packages using the cache if that directory is
2142ef7198c0Smrg    # removed, or if the value is a relative name.
214356f6b22bSmrg    INSTALL=$ac_install_sh
214456f6b22bSmrg  fi
214556f6b22bSmrgfi
21463a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2147ef7198c0Smrg$as_echo "$INSTALL" >&6; }
214856f6b22bSmrg
214956f6b22bSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
215056f6b22bSmrg# It thinks the first close brace ends the variable substitution.
215156f6b22bSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
215256f6b22bSmrg
215356f6b22bSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
215456f6b22bSmrg
215556f6b22bSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
215656f6b22bSmrg
21573a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2158ef7198c0Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
215956f6b22bSmrg# Just in case
216056f6b22bSmrgsleep 1
216156f6b22bSmrgecho timestamp > conftest.file
2162ef7198c0Smrg# Reject unsafe characters in $srcdir or the absolute working directory
2163ef7198c0Smrg# name.  Accept space and tab only in the latter.
2164ef7198c0Smrgam_lf='
2165ef7198c0Smrg'
2166ef7198c0Smrgcase `pwd` in
2167ef7198c0Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
21683a67387eSmrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2169ef7198c0Smrgesac
2170ef7198c0Smrgcase $srcdir in
2171ef7198c0Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
21723a67387eSmrg    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2173ef7198c0Smrgesac
2174ef7198c0Smrg
217556f6b22bSmrg# Do `set' in a subshell so we don't clobber the current shell's
217656f6b22bSmrg# arguments.  Must try -L first in case configure is actually a
217756f6b22bSmrg# symlink; some systems play weird games with the mod time of symlinks
217856f6b22bSmrg# (eg FreeBSD returns the mod time of the symlink's containing
217956f6b22bSmrg# directory).
218056f6b22bSmrgif (
2181ef7198c0Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
218256f6b22bSmrg   if test "$*" = "X"; then
218356f6b22bSmrg      # -L didn't work.
2184ef7198c0Smrg      set X `ls -t "$srcdir/configure" conftest.file`
218556f6b22bSmrg   fi
218656f6b22bSmrg   rm -f conftest.file
218756f6b22bSmrg   if test "$*" != "X $srcdir/configure conftest.file" \
218856f6b22bSmrg      && test "$*" != "X conftest.file $srcdir/configure"; then
218956f6b22bSmrg
219056f6b22bSmrg      # If neither matched, then we have a broken ls.  This can happen
219156f6b22bSmrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
219256f6b22bSmrg      # broken ls alias from the environment.  This has actually
219356f6b22bSmrg      # happened.  Such a system could not be considered "sane".
21943a67387eSmrg      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
21953a67387eSmrgalias in your environment" "$LINENO" 5
219656f6b22bSmrg   fi
219756f6b22bSmrg
219856f6b22bSmrg   test "$2" = conftest.file
219956f6b22bSmrg   )
220056f6b22bSmrgthen
220156f6b22bSmrg   # Ok.
220256f6b22bSmrg   :
220356f6b22bSmrgelse
22043a67387eSmrg   as_fn_error $? "newly created file is older than distributed files!
22053a67387eSmrgCheck your system clock" "$LINENO" 5
220656f6b22bSmrgfi
22073a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2208ef7198c0Smrg$as_echo "yes" >&6; }
220956f6b22bSmrgtest "$program_prefix" != NONE &&
2210ef7198c0Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
221156f6b22bSmrg# Use a double $ so make ignores it.
221256f6b22bSmrgtest "$program_suffix" != NONE &&
2213ef7198c0Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2214ef7198c0Smrg# Double any \ or $.
221556f6b22bSmrg# By default was `s,x,x', remove it if useless.
2216ef7198c0Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2217ef7198c0Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
221856f6b22bSmrg
221956f6b22bSmrg# expand $ac_aux_dir to an absolute path
222056f6b22bSmrgam_aux_dir=`cd $ac_aux_dir && pwd`
222156f6b22bSmrg
2222ef7198c0Smrgif test x"${MISSING+set}" != xset; then
2223ef7198c0Smrg  case $am_aux_dir in
2224ef7198c0Smrg  *\ * | *\	*)
2225ef7198c0Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2226ef7198c0Smrg  *)
2227ef7198c0Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2228ef7198c0Smrg  esac
2229ef7198c0Smrgfi
223056f6b22bSmrg# Use eval to expand $SHELL
223156f6b22bSmrgif eval "$MISSING --run true"; then
223256f6b22bSmrg  am_missing_run="$MISSING --run "
223356f6b22bSmrgelse
223456f6b22bSmrg  am_missing_run=
22353a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2236ef7198c0Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2237ef7198c0Smrgfi
2238ef7198c0Smrg
2239ef7198c0Smrgif test x"${install_sh}" != xset; then
2240ef7198c0Smrg  case $am_aux_dir in
2241ef7198c0Smrg  *\ * | *\	*)
2242ef7198c0Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2243ef7198c0Smrg  *)
2244ef7198c0Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2245ef7198c0Smrg  esac
2246ef7198c0Smrgfi
2247ef7198c0Smrg
2248ef7198c0Smrg# Installed binaries are usually stripped using `strip' when the user
2249ef7198c0Smrg# run `make install-strip'.  However `strip' might not be the right
2250ef7198c0Smrg# tool to use in cross-compilation environments, therefore Automake
2251ef7198c0Smrg# will honor the `STRIP' environment variable to overrule this program.
2252ef7198c0Smrgif test "$cross_compiling" != no; then
2253ef7198c0Smrg  if test -n "$ac_tool_prefix"; then
2254ef7198c0Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2255ef7198c0Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
22563a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2257ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
22583a67387eSmrgif ${ac_cv_prog_STRIP+:} false; then :
2259ef7198c0Smrg  $as_echo_n "(cached) " >&6
2260ef7198c0Smrgelse
2261ef7198c0Smrg  if test -n "$STRIP"; then
2262ef7198c0Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2263ef7198c0Smrgelse
2264ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265ef7198c0Smrgfor as_dir in $PATH
2266ef7198c0Smrgdo
2267ef7198c0Smrg  IFS=$as_save_IFS
2268ef7198c0Smrg  test -z "$as_dir" && as_dir=.
22693a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2270ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271ef7198c0Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
22723a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2273ef7198c0Smrg    break 2
2274ef7198c0Smrg  fi
2275ef7198c0Smrgdone
22763a67387eSmrg  done
2277ef7198c0SmrgIFS=$as_save_IFS
2278ef7198c0Smrg
2279ef7198c0Smrgfi
2280ef7198c0Smrgfi
2281ef7198c0SmrgSTRIP=$ac_cv_prog_STRIP
2282ef7198c0Smrgif test -n "$STRIP"; then
22833a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2284ef7198c0Smrg$as_echo "$STRIP" >&6; }
2285ef7198c0Smrgelse
22863a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2287ef7198c0Smrg$as_echo "no" >&6; }
2288ef7198c0Smrgfi
2289ef7198c0Smrg
2290ef7198c0Smrg
2291ef7198c0Smrgfi
2292ef7198c0Smrgif test -z "$ac_cv_prog_STRIP"; then
2293ef7198c0Smrg  ac_ct_STRIP=$STRIP
2294ef7198c0Smrg  # Extract the first word of "strip", so it can be a program name with args.
2295ef7198c0Smrgset dummy strip; ac_word=$2
22963a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2297ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
22983a67387eSmrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2299ef7198c0Smrg  $as_echo_n "(cached) " >&6
2300ef7198c0Smrgelse
2301ef7198c0Smrg  if test -n "$ac_ct_STRIP"; then
2302ef7198c0Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2303ef7198c0Smrgelse
2304ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305ef7198c0Smrgfor as_dir in $PATH
2306ef7198c0Smrgdo
2307ef7198c0Smrg  IFS=$as_save_IFS
2308ef7198c0Smrg  test -z "$as_dir" && as_dir=.
23093a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2310ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2311ef7198c0Smrg    ac_cv_prog_ac_ct_STRIP="strip"
23123a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2313ef7198c0Smrg    break 2
2314ef7198c0Smrg  fi
2315ef7198c0Smrgdone
23163a67387eSmrg  done
2317ef7198c0SmrgIFS=$as_save_IFS
2318ef7198c0Smrg
2319ef7198c0Smrgfi
2320ef7198c0Smrgfi
2321ef7198c0Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2322ef7198c0Smrgif test -n "$ac_ct_STRIP"; then
23233a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2324ef7198c0Smrg$as_echo "$ac_ct_STRIP" >&6; }
2325ef7198c0Smrgelse
23263a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2327ef7198c0Smrg$as_echo "no" >&6; }
2328ef7198c0Smrgfi
2329ef7198c0Smrg
2330ef7198c0Smrg  if test "x$ac_ct_STRIP" = x; then
2331ef7198c0Smrg    STRIP=":"
2332ef7198c0Smrg  else
2333ef7198c0Smrg    case $cross_compiling:$ac_tool_warned in
2334ef7198c0Smrgyes:)
23353a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2336ef7198c0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2337ef7198c0Smrgac_tool_warned=yes ;;
2338ef7198c0Smrgesac
2339ef7198c0Smrg    STRIP=$ac_ct_STRIP
2340ef7198c0Smrg  fi
2341ef7198c0Smrgelse
2342ef7198c0Smrg  STRIP="$ac_cv_prog_STRIP"
2343ef7198c0Smrgfi
2344ef7198c0Smrg
2345ef7198c0Smrgfi
2346ef7198c0SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2347ef7198c0Smrg
23483a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2349ef7198c0Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2350ef7198c0Smrgif test -z "$MKDIR_P"; then
23513a67387eSmrg  if ${ac_cv_path_mkdir+:} false; then :
2352ef7198c0Smrg  $as_echo_n "(cached) " >&6
2353ef7198c0Smrgelse
2354ef7198c0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355ef7198c0Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2356ef7198c0Smrgdo
2357ef7198c0Smrg  IFS=$as_save_IFS
2358ef7198c0Smrg  test -z "$as_dir" && as_dir=.
23593a67387eSmrg    for ac_prog in mkdir gmkdir; do
2360ef7198c0Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
2361ef7198c0Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2362ef7198c0Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2363ef7198c0Smrg	     'mkdir (GNU coreutils) '* | \
2364ef7198c0Smrg	     'mkdir (coreutils) '* | \
2365ef7198c0Smrg	     'mkdir (fileutils) '4.1*)
2366ef7198c0Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2367ef7198c0Smrg	       break 3;;
2368ef7198c0Smrg	   esac
2369ef7198c0Smrg	 done
2370ef7198c0Smrg       done
23713a67387eSmrg  done
2372ef7198c0SmrgIFS=$as_save_IFS
2373ef7198c0Smrg
2374ef7198c0Smrgfi
2375ef7198c0Smrg
23763a67387eSmrg  test -d ./--version && rmdir ./--version
2377ef7198c0Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
2378ef7198c0Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
2379ef7198c0Smrg  else
2380ef7198c0Smrg    # As a last resort, use the slow shell script.  Don't cache a
2381ef7198c0Smrg    # value for MKDIR_P within a source directory, because that will
2382ef7198c0Smrg    # break other packages using the cache if that directory is
2383ef7198c0Smrg    # removed, or if the value is a relative name.
2384ef7198c0Smrg    MKDIR_P="$ac_install_sh -d"
2385ef7198c0Smrg  fi
238656f6b22bSmrgfi
23873a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2388ef7198c0Smrg$as_echo "$MKDIR_P" >&6; }
2389ef7198c0Smrg
2390ef7198c0Smrgmkdir_p="$MKDIR_P"
2391ef7198c0Smrgcase $mkdir_p in
2392ef7198c0Smrg  [\\/$]* | ?:[\\/]*) ;;
2393ef7198c0Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2394ef7198c0Smrgesac
239556f6b22bSmrg
239656f6b22bSmrgfor ac_prog in gawk mawk nawk awk
239756f6b22bSmrgdo
239856f6b22bSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
239956f6b22bSmrgset dummy $ac_prog; ac_word=$2
24003a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2401ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
24023a67387eSmrgif ${ac_cv_prog_AWK+:} false; then :
2403ef7198c0Smrg  $as_echo_n "(cached) " >&6
240456f6b22bSmrgelse
240556f6b22bSmrg  if test -n "$AWK"; then
240656f6b22bSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
240756f6b22bSmrgelse
240856f6b22bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
240956f6b22bSmrgfor as_dir in $PATH
241056f6b22bSmrgdo
241156f6b22bSmrg  IFS=$as_save_IFS
241256f6b22bSmrg  test -z "$as_dir" && as_dir=.
24133a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2414ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
241556f6b22bSmrg    ac_cv_prog_AWK="$ac_prog"
24163a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
241756f6b22bSmrg    break 2
241856f6b22bSmrg  fi
241956f6b22bSmrgdone
24203a67387eSmrg  done
2421ef7198c0SmrgIFS=$as_save_IFS
242256f6b22bSmrg
242356f6b22bSmrgfi
242456f6b22bSmrgfi
242556f6b22bSmrgAWK=$ac_cv_prog_AWK
242656f6b22bSmrgif test -n "$AWK"; then
24273a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2428ef7198c0Smrg$as_echo "$AWK" >&6; }
242956f6b22bSmrgelse
24303a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2431ef7198c0Smrg$as_echo "no" >&6; }
243256f6b22bSmrgfi
243356f6b22bSmrg
2434ef7198c0Smrg
243556f6b22bSmrg  test -n "$AWK" && break
243656f6b22bSmrgdone
243756f6b22bSmrg
24383a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2439ef7198c0Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2440ef7198c0Smrgset x ${MAKE-make}
2441ef7198c0Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
24423a67387eSmrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2443ef7198c0Smrg  $as_echo_n "(cached) " >&6
244456f6b22bSmrgelse
244556f6b22bSmrg  cat >conftest.make <<\_ACEOF
2446ef7198c0SmrgSHELL = /bin/sh
244756f6b22bSmrgall:
2448ef7198c0Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
244956f6b22bSmrg_ACEOF
24503a67387eSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2451ef7198c0Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2452ef7198c0Smrg  *@@@%%%=?*=@@@%%%*)
2453ef7198c0Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2454ef7198c0Smrg  *)
2455ef7198c0Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2456ef7198c0Smrgesac
245756f6b22bSmrgrm -f conftest.make
245856f6b22bSmrgfi
2459ef7198c0Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
24603a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2461ef7198c0Smrg$as_echo "yes" >&6; }
246256f6b22bSmrg  SET_MAKE=
246356f6b22bSmrgelse
24643a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2465ef7198c0Smrg$as_echo "no" >&6; }
246656f6b22bSmrg  SET_MAKE="MAKE=${MAKE-make}"
246756f6b22bSmrgfi
246856f6b22bSmrg
246956f6b22bSmrgrm -rf .tst 2>/dev/null
247056f6b22bSmrgmkdir .tst 2>/dev/null
247156f6b22bSmrgif test -d .tst; then
247256f6b22bSmrg  am__leading_dot=.
247356f6b22bSmrgelse
247456f6b22bSmrg  am__leading_dot=_
247556f6b22bSmrgfi
247656f6b22bSmrgrmdir .tst 2>/dev/null
247756f6b22bSmrg
2478ef7198c0Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2479ef7198c0Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2480ef7198c0Smrg  # is not polluted with repeated "-I."
2481ef7198c0Smrg  am__isrc=' -I$(srcdir)'
2482ef7198c0Smrg  # test to see if srcdir already configured
2483ef7198c0Smrg  if test -f $srcdir/config.status; then
24843a67387eSmrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2485ef7198c0Smrg  fi
248656f6b22bSmrgfi
248756f6b22bSmrg
248856f6b22bSmrg# test whether we have cygpath
248956f6b22bSmrgif test -z "$CYGPATH_W"; then
249056f6b22bSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
249156f6b22bSmrg    CYGPATH_W='cygpath -w'
249256f6b22bSmrg  else
249356f6b22bSmrg    CYGPATH_W=echo
249456f6b22bSmrg  fi
249556f6b22bSmrgfi
249656f6b22bSmrg
249756f6b22bSmrg
249856f6b22bSmrg# Define the identity of the package.
249956f6b22bSmrg PACKAGE='font-bitstream-100dpi'
25003a67387eSmrg VERSION='1.0.3'
250156f6b22bSmrg
250256f6b22bSmrg
250356f6b22bSmrgcat >>confdefs.h <<_ACEOF
250456f6b22bSmrg#define PACKAGE "$PACKAGE"
250556f6b22bSmrg_ACEOF
250656f6b22bSmrg
250756f6b22bSmrg
250856f6b22bSmrgcat >>confdefs.h <<_ACEOF
250956f6b22bSmrg#define VERSION "$VERSION"
251056f6b22bSmrg_ACEOF
251156f6b22bSmrg
251256f6b22bSmrg# Some tools Automake needs.
251356f6b22bSmrg
251456f6b22bSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
251556f6b22bSmrg
251656f6b22bSmrg
251756f6b22bSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
251856f6b22bSmrg
251956f6b22bSmrg
252056f6b22bSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
252156f6b22bSmrg
252256f6b22bSmrg
252356f6b22bSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
252456f6b22bSmrg
252556f6b22bSmrg
252656f6b22bSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
252756f6b22bSmrg
2528ef7198c0Smrg# We need awk for the "check" target.  The system "awk" is bad on
2529ef7198c0Smrg# some platforms.
2530ef7198c0Smrg# Always define AMTAR for backward compatibility.
253156f6b22bSmrg
253256f6b22bSmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
253356f6b22bSmrg
2534ef7198c0Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
253556f6b22bSmrg
2536ef7198c0Smrg
2537ef7198c0Smrg
2538ef7198c0Smrg
2539ef7198c0Smrg
2540ef7198c0Smrg
25413a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2542ef7198c0Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2543ef7198c0Smrg    # Check whether --enable-maintainer-mode was given.
25443a67387eSmrgif test "${enable_maintainer_mode+set}" = set; then :
2545ef7198c0Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
254656f6b22bSmrgelse
2547ef7198c0Smrg  USE_MAINTAINER_MODE=no
2548ef7198c0Smrgfi
2549ef7198c0Smrg
25503a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2551ef7198c0Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
2552ef7198c0Smrg   if test $USE_MAINTAINER_MODE = yes; then
2553ef7198c0Smrg  MAINTAINER_MODE_TRUE=
2554ef7198c0Smrg  MAINTAINER_MODE_FALSE='#'
2555ef7198c0Smrgelse
2556ef7198c0Smrg  MAINTAINER_MODE_TRUE='#'
2557ef7198c0Smrg  MAINTAINER_MODE_FALSE=
2558ef7198c0Smrgfi
2559ef7198c0Smrg
2560ef7198c0Smrg  MAINT=$MAINTAINER_MODE_TRUE
2561ef7198c0Smrg
2562ef7198c0Smrg
2563ef7198c0Smrg
2564ef7198c0Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS
2565ef7198c0Smrg
2566ef7198c0Smrg
2567ef7198c0Smrg
2568ef7198c0Smrg
2569ef7198c0Smrg
2570ef7198c0Smrg
2571ef7198c0Smrg
2572ef7198c0Smrg
2573ef7198c0Smrg
2574ef7198c0Smrg
2575ef7198c0Smrg
2576ef7198c0SmrgDEPDIR="${am__leading_dot}deps"
2577ef7198c0Smrg
2578ef7198c0Smrgac_config_commands="$ac_config_commands depfiles"
2579ef7198c0Smrg
2580ef7198c0Smrg
2581ef7198c0Smrgam_make=${MAKE-make}
2582ef7198c0Smrgcat > confinc << 'END'
2583ef7198c0Smrgam__doit:
2584ef7198c0Smrg	@echo this is the am__doit target
2585ef7198c0Smrg.PHONY: am__doit
2586ef7198c0SmrgEND
2587ef7198c0Smrg# If we don't find an include directive, just comment out the code.
25883a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2589ef7198c0Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
2590ef7198c0Smrgam__include="#"
2591ef7198c0Smrgam__quote=
2592ef7198c0Smrg_am_result=none
2593ef7198c0Smrg# First try GNU make style include.
2594ef7198c0Smrgecho "include confinc" > confmf
2595ef7198c0Smrg# Ignore all kinds of additional output from `make'.
2596ef7198c0Smrgcase `$am_make -s -f confmf 2> /dev/null` in #(
2597ef7198c0Smrg*the\ am__doit\ target*)
2598ef7198c0Smrg  am__include=include
2599ef7198c0Smrg  am__quote=
2600ef7198c0Smrg  _am_result=GNU
2601ef7198c0Smrg  ;;
2602ef7198c0Smrgesac
2603ef7198c0Smrg# Now try BSD make style include.
2604ef7198c0Smrgif test "$am__include" = "#"; then
2605ef7198c0Smrg   echo '.include "confinc"' > confmf
2606ef7198c0Smrg   case `$am_make -s -f confmf 2> /dev/null` in #(
2607ef7198c0Smrg   *the\ am__doit\ target*)
2608ef7198c0Smrg     am__include=.include
2609ef7198c0Smrg     am__quote="\""
2610ef7198c0Smrg     _am_result=BSD
2611ef7198c0Smrg     ;;
2612ef7198c0Smrg   esac
2613ef7198c0Smrgfi
2614ef7198c0Smrg
2615ef7198c0Smrg
26163a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2617ef7198c0Smrg$as_echo "$_am_result" >&6; }
2618ef7198c0Smrgrm -f confinc confmf
2619ef7198c0Smrg
2620ef7198c0Smrg# Check whether --enable-dependency-tracking was given.
26213a67387eSmrgif test "${enable_dependency_tracking+set}" = set; then :
2622ef7198c0Smrg  enableval=$enable_dependency_tracking;
2623ef7198c0Smrgfi
2624ef7198c0Smrg
2625ef7198c0Smrgif test "x$enable_dependency_tracking" != xno; then
2626ef7198c0Smrg  am_depcomp="$ac_aux_dir/depcomp"
2627ef7198c0Smrg  AMDEPBACKSLASH='\'
2628ef7198c0Smrgfi
2629ef7198c0Smrg if test "x$enable_dependency_tracking" != xno; then
2630ef7198c0Smrg  AMDEP_TRUE=
2631ef7198c0Smrg  AMDEP_FALSE='#'
2632ef7198c0Smrgelse
2633ef7198c0Smrg  AMDEP_TRUE='#'
2634ef7198c0Smrg  AMDEP_FALSE=
2635ef7198c0Smrgfi
2636ef7198c0Smrg
2637ef7198c0Smrg
2638ef7198c0Smrgac_ext=c
2639ef7198c0Smrgac_cpp='$CPP $CPPFLAGS'
2640ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2643ef7198c0Smrgif test -n "$ac_tool_prefix"; then
2644ef7198c0Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2645ef7198c0Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
26463a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
26483a67387eSmrgif ${ac_cv_prog_CC+:} false; then :
2649ef7198c0Smrg  $as_echo_n "(cached) " >&6
2650ef7198c0Smrgelse
2651ef7198c0Smrg  if test -n "$CC"; then
2652ef7198c0Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
265356f6b22bSmrgelse
265456f6b22bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
265556f6b22bSmrgfor as_dir in $PATH
265656f6b22bSmrgdo
265756f6b22bSmrg  IFS=$as_save_IFS
265856f6b22bSmrg  test -z "$as_dir" && as_dir=.
26593a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2660ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661ef7198c0Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
26623a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
266356f6b22bSmrg    break 2
266456f6b22bSmrg  fi
266556f6b22bSmrgdone
26663a67387eSmrg  done
2667ef7198c0SmrgIFS=$as_save_IFS
266856f6b22bSmrg
266956f6b22bSmrgfi
267056f6b22bSmrgfi
2671ef7198c0SmrgCC=$ac_cv_prog_CC
2672ef7198c0Smrgif test -n "$CC"; then
26733a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2674ef7198c0Smrg$as_echo "$CC" >&6; }
267556f6b22bSmrgelse
26763a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677ef7198c0Smrg$as_echo "no" >&6; }
267856f6b22bSmrgfi
267956f6b22bSmrg
2680ef7198c0Smrg
268156f6b22bSmrgfi
2682ef7198c0Smrgif test -z "$ac_cv_prog_CC"; then
2683ef7198c0Smrg  ac_ct_CC=$CC
2684ef7198c0Smrg  # Extract the first word of "gcc", so it can be a program name with args.
2685ef7198c0Smrgset dummy gcc; ac_word=$2
26863a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
26883a67387eSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2689ef7198c0Smrg  $as_echo_n "(cached) " >&6
269056f6b22bSmrgelse
2691ef7198c0Smrg  if test -n "$ac_ct_CC"; then
2692ef7198c0Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
269356f6b22bSmrgelse
269456f6b22bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
269556f6b22bSmrgfor as_dir in $PATH
269656f6b22bSmrgdo
269756f6b22bSmrg  IFS=$as_save_IFS
269856f6b22bSmrg  test -z "$as_dir" && as_dir=.
26993a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2700ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701ef7198c0Smrg    ac_cv_prog_ac_ct_CC="gcc"
27023a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
270356f6b22bSmrg    break 2
270456f6b22bSmrg  fi
270556f6b22bSmrgdone
27063a67387eSmrg  done
2707ef7198c0SmrgIFS=$as_save_IFS
270856f6b22bSmrg
270956f6b22bSmrgfi
271056f6b22bSmrgfi
2711ef7198c0Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2712ef7198c0Smrgif test -n "$ac_ct_CC"; then
27133a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2714ef7198c0Smrg$as_echo "$ac_ct_CC" >&6; }
271556f6b22bSmrgelse
27163a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717ef7198c0Smrg$as_echo "no" >&6; }
271856f6b22bSmrgfi
271956f6b22bSmrg
2720ef7198c0Smrg  if test "x$ac_ct_CC" = x; then
2721ef7198c0Smrg    CC=""
2722ef7198c0Smrg  else
2723ef7198c0Smrg    case $cross_compiling:$ac_tool_warned in
2724ef7198c0Smrgyes:)
27253a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2726ef7198c0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2727ef7198c0Smrgac_tool_warned=yes ;;
2728ef7198c0Smrgesac
2729ef7198c0Smrg    CC=$ac_ct_CC
2730ef7198c0Smrg  fi
273156f6b22bSmrgelse
2732ef7198c0Smrg  CC="$ac_cv_prog_CC"
273356f6b22bSmrgfi
273456f6b22bSmrg
2735ef7198c0Smrgif test -z "$CC"; then
2736ef7198c0Smrg          if test -n "$ac_tool_prefix"; then
2737ef7198c0Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2738ef7198c0Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
27393a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
27413a67387eSmrgif ${ac_cv_prog_CC+:} false; then :
2742ef7198c0Smrg  $as_echo_n "(cached) " >&6
274356f6b22bSmrgelse
2744ef7198c0Smrg  if test -n "$CC"; then
2745ef7198c0Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2746ef7198c0Smrgelse
2747ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748ef7198c0Smrgfor as_dir in $PATH
2749ef7198c0Smrgdo
2750ef7198c0Smrg  IFS=$as_save_IFS
2751ef7198c0Smrg  test -z "$as_dir" && as_dir=.
27523a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2753ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754ef7198c0Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
27553a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756ef7198c0Smrg    break 2
2757ef7198c0Smrg  fi
2758ef7198c0Smrgdone
27593a67387eSmrg  done
2760ef7198c0SmrgIFS=$as_save_IFS
2761ef7198c0Smrg
2762ef7198c0Smrgfi
2763ef7198c0Smrgfi
2764ef7198c0SmrgCC=$ac_cv_prog_CC
2765ef7198c0Smrgif test -n "$CC"; then
27663a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2767ef7198c0Smrg$as_echo "$CC" >&6; }
2768ef7198c0Smrgelse
27693a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770ef7198c0Smrg$as_echo "no" >&6; }
2771ef7198c0Smrgfi
2772ef7198c0Smrg
2773ef7198c0Smrg
2774ef7198c0Smrg  fi
2775ef7198c0Smrgfi
2776ef7198c0Smrgif test -z "$CC"; then
2777ef7198c0Smrg  # Extract the first word of "cc", so it can be a program name with args.
2778ef7198c0Smrgset dummy cc; ac_word=$2
27793a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
27813a67387eSmrgif ${ac_cv_prog_CC+:} false; then :
2782ef7198c0Smrg  $as_echo_n "(cached) " >&6
2783ef7198c0Smrgelse
2784ef7198c0Smrg  if test -n "$CC"; then
2785ef7198c0Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2786ef7198c0Smrgelse
2787ef7198c0Smrg  ac_prog_rejected=no
2788ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789ef7198c0Smrgfor as_dir in $PATH
2790ef7198c0Smrgdo
2791ef7198c0Smrg  IFS=$as_save_IFS
2792ef7198c0Smrg  test -z "$as_dir" && as_dir=.
27933a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2794ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795ef7198c0Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2796ef7198c0Smrg       ac_prog_rejected=yes
2797ef7198c0Smrg       continue
2798ef7198c0Smrg     fi
2799ef7198c0Smrg    ac_cv_prog_CC="cc"
28003a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801ef7198c0Smrg    break 2
2802ef7198c0Smrg  fi
2803ef7198c0Smrgdone
28043a67387eSmrg  done
2805ef7198c0SmrgIFS=$as_save_IFS
2806ef7198c0Smrg
2807ef7198c0Smrgif test $ac_prog_rejected = yes; then
2808ef7198c0Smrg  # We found a bogon in the path, so make sure we never use it.
2809ef7198c0Smrg  set dummy $ac_cv_prog_CC
2810ef7198c0Smrg  shift
2811ef7198c0Smrg  if test $# != 0; then
2812ef7198c0Smrg    # We chose a different compiler from the bogus one.
2813ef7198c0Smrg    # However, it has the same basename, so the bogon will be chosen
2814ef7198c0Smrg    # first if we set CC to just the basename; use the full file name.
2815ef7198c0Smrg    shift
2816ef7198c0Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2817ef7198c0Smrg  fi
2818ef7198c0Smrgfi
2819ef7198c0Smrgfi
2820ef7198c0Smrgfi
2821ef7198c0SmrgCC=$ac_cv_prog_CC
2822ef7198c0Smrgif test -n "$CC"; then
28233a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2824ef7198c0Smrg$as_echo "$CC" >&6; }
2825ef7198c0Smrgelse
28263a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827ef7198c0Smrg$as_echo "no" >&6; }
2828ef7198c0Smrgfi
2829ef7198c0Smrg
2830ef7198c0Smrg
2831ef7198c0Smrgfi
2832ef7198c0Smrgif test -z "$CC"; then
2833ef7198c0Smrg  if test -n "$ac_tool_prefix"; then
2834ef7198c0Smrg  for ac_prog in cl.exe
2835ef7198c0Smrg  do
2836ef7198c0Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2837ef7198c0Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
28383a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
28403a67387eSmrgif ${ac_cv_prog_CC+:} false; then :
2841ef7198c0Smrg  $as_echo_n "(cached) " >&6
2842ef7198c0Smrgelse
2843ef7198c0Smrg  if test -n "$CC"; then
2844ef7198c0Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2845ef7198c0Smrgelse
2846ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847ef7198c0Smrgfor as_dir in $PATH
2848ef7198c0Smrgdo
2849ef7198c0Smrg  IFS=$as_save_IFS
2850ef7198c0Smrg  test -z "$as_dir" && as_dir=.
28513a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2852ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2853ef7198c0Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
28543a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855ef7198c0Smrg    break 2
2856ef7198c0Smrg  fi
2857ef7198c0Smrgdone
28583a67387eSmrg  done
2859ef7198c0SmrgIFS=$as_save_IFS
2860ef7198c0Smrg
2861ef7198c0Smrgfi
2862ef7198c0Smrgfi
2863ef7198c0SmrgCC=$ac_cv_prog_CC
2864ef7198c0Smrgif test -n "$CC"; then
28653a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2866ef7198c0Smrg$as_echo "$CC" >&6; }
2867ef7198c0Smrgelse
28683a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869ef7198c0Smrg$as_echo "no" >&6; }
2870ef7198c0Smrgfi
2871ef7198c0Smrg
2872ef7198c0Smrg
2873ef7198c0Smrg    test -n "$CC" && break
2874ef7198c0Smrg  done
2875ef7198c0Smrgfi
2876ef7198c0Smrgif test -z "$CC"; then
2877ef7198c0Smrg  ac_ct_CC=$CC
2878ef7198c0Smrg  for ac_prog in cl.exe
2879ef7198c0Smrgdo
2880ef7198c0Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2881ef7198c0Smrgset dummy $ac_prog; ac_word=$2
28823a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
28843a67387eSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2885ef7198c0Smrg  $as_echo_n "(cached) " >&6
2886ef7198c0Smrgelse
2887ef7198c0Smrg  if test -n "$ac_ct_CC"; then
2888ef7198c0Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2889ef7198c0Smrgelse
2890ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891ef7198c0Smrgfor as_dir in $PATH
2892ef7198c0Smrgdo
2893ef7198c0Smrg  IFS=$as_save_IFS
2894ef7198c0Smrg  test -z "$as_dir" && as_dir=.
28953a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2896ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897ef7198c0Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
28983a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899ef7198c0Smrg    break 2
2900ef7198c0Smrg  fi
2901ef7198c0Smrgdone
29023a67387eSmrg  done
2903ef7198c0SmrgIFS=$as_save_IFS
2904ef7198c0Smrg
2905ef7198c0Smrgfi
2906ef7198c0Smrgfi
2907ef7198c0Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2908ef7198c0Smrgif test -n "$ac_ct_CC"; then
29093a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2910ef7198c0Smrg$as_echo "$ac_ct_CC" >&6; }
2911ef7198c0Smrgelse
29123a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913ef7198c0Smrg$as_echo "no" >&6; }
2914ef7198c0Smrgfi
2915ef7198c0Smrg
2916ef7198c0Smrg
2917ef7198c0Smrg  test -n "$ac_ct_CC" && break
2918ef7198c0Smrgdone
2919ef7198c0Smrg
2920ef7198c0Smrg  if test "x$ac_ct_CC" = x; then
2921ef7198c0Smrg    CC=""
2922ef7198c0Smrg  else
2923ef7198c0Smrg    case $cross_compiling:$ac_tool_warned in
2924ef7198c0Smrgyes:)
29253a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2926ef7198c0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2927ef7198c0Smrgac_tool_warned=yes ;;
2928ef7198c0Smrgesac
2929ef7198c0Smrg    CC=$ac_ct_CC
2930ef7198c0Smrg  fi
2931ef7198c0Smrgfi
2932ef7198c0Smrg
2933ef7198c0Smrgfi
2934ef7198c0Smrg
2935ef7198c0Smrg
29363a67387eSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2937ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29383a67387eSmrgas_fn_error $? "no acceptable C compiler found in \$PATH
29393a67387eSmrgSee \`config.log' for more details" "$LINENO" 5; }
2940ef7198c0Smrg
2941ef7198c0Smrg# Provide some information about the compiler.
29423a67387eSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2943ef7198c0Smrgset X $ac_compile
2944ef7198c0Smrgac_compiler=$2
29453a67387eSmrgfor ac_option in --version -v -V -qversion; do
29463a67387eSmrg  { { ac_try="$ac_compiler $ac_option >&5"
2947ef7198c0Smrgcase "(($ac_try" in
2948ef7198c0Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949ef7198c0Smrg  *) ac_try_echo=$ac_try;;
2950ef7198c0Smrgesac
29513a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
29523a67387eSmrg$as_echo "$ac_try_echo"; } >&5
29533a67387eSmrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2954ef7198c0Smrg  ac_status=$?
29553a67387eSmrg  if test -s conftest.err; then
29563a67387eSmrg    sed '10a\
29573a67387eSmrg... rest of stderr output deleted ...
29583a67387eSmrg         10q' conftest.err >conftest.er1
29593a67387eSmrg    cat conftest.er1 >&5
29603a67387eSmrg  fi
29613a67387eSmrg  rm -f conftest.er1 conftest.err
29623a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29633a67387eSmrg  test $ac_status = 0; }
29643a67387eSmrgdone
2965ef7198c0Smrg
29663a67387eSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967ef7198c0Smrg/* end confdefs.h.  */
2968ef7198c0Smrg
2969ef7198c0Smrgint
2970ef7198c0Smrgmain ()
2971ef7198c0Smrg{
2972ef7198c0Smrg
2973ef7198c0Smrg  ;
2974ef7198c0Smrg  return 0;
2975ef7198c0Smrg}
2976ef7198c0Smrg_ACEOF
2977ef7198c0Smrgac_clean_files_save=$ac_clean_files
2978ef7198c0Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2979ef7198c0Smrg# Try to create an executable without -o first, disregard a.out.
2980ef7198c0Smrg# It will help us diagnose broken compilers, and finding out an intuition
2981ef7198c0Smrg# of exeext.
29823a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
29833a67387eSmrg$as_echo_n "checking whether the C compiler works... " >&6; }
2984ef7198c0Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2985ef7198c0Smrg
2986ef7198c0Smrg# The possible output files:
2987ef7198c0Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2988ef7198c0Smrg
2989ef7198c0Smrgac_rmfiles=
2990ef7198c0Smrgfor ac_file in $ac_files
2991ef7198c0Smrgdo
2992ef7198c0Smrg  case $ac_file in
2993ef7198c0Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2994ef7198c0Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2995ef7198c0Smrg  esac
2996ef7198c0Smrgdone
2997ef7198c0Smrgrm -f $ac_rmfiles
2998ef7198c0Smrg
29993a67387eSmrgif { { ac_try="$ac_link_default"
3000ef7198c0Smrgcase "(($ac_try" in
3001ef7198c0Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002ef7198c0Smrg  *) ac_try_echo=$ac_try;;
3003ef7198c0Smrgesac
30043a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
30053a67387eSmrg$as_echo "$ac_try_echo"; } >&5
3006ef7198c0Smrg  (eval "$ac_link_default") 2>&5
3007ef7198c0Smrg  ac_status=$?
30083a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30093a67387eSmrg  test $ac_status = 0; }; then :
3010ef7198c0Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3011ef7198c0Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3012ef7198c0Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3013ef7198c0Smrg# so that the user can short-circuit this test for compilers unknown to
3014ef7198c0Smrg# Autoconf.
3015ef7198c0Smrgfor ac_file in $ac_files ''
3016ef7198c0Smrgdo
3017ef7198c0Smrg  test -f "$ac_file" || continue
3018ef7198c0Smrg  case $ac_file in
3019ef7198c0Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3020ef7198c0Smrg	;;
3021ef7198c0Smrg    [ab].out )
3022ef7198c0Smrg	# We found the default executable, but exeext='' is most
3023ef7198c0Smrg	# certainly right.
3024ef7198c0Smrg	break;;
3025ef7198c0Smrg    *.* )
30263a67387eSmrg	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3027ef7198c0Smrg	then :; else
3028ef7198c0Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3029ef7198c0Smrg	fi
3030ef7198c0Smrg	# We set ac_cv_exeext here because the later test for it is not
3031ef7198c0Smrg	# safe: cross compilers may not add the suffix if given an `-o'
3032ef7198c0Smrg	# argument, so we may need to know it at that point already.
3033ef7198c0Smrg	# Even if this section looks crufty: it has the advantage of
3034ef7198c0Smrg	# actually working.
3035ef7198c0Smrg	break;;
3036ef7198c0Smrg    * )
3037ef7198c0Smrg	break;;
3038ef7198c0Smrg  esac
3039ef7198c0Smrgdone
3040ef7198c0Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
3041ef7198c0Smrg
3042ef7198c0Smrgelse
3043ef7198c0Smrg  ac_file=''
3044ef7198c0Smrgfi
30453a67387eSmrgif test -z "$ac_file"; then :
30463a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30473a67387eSmrg$as_echo "no" >&6; }
30483a67387eSmrg$as_echo "$as_me: failed program was:" >&5
3049ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5
3050ef7198c0Smrg
30513a67387eSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30533a67387eSmrgas_fn_error 77 "C compiler cannot create executables
30543a67387eSmrgSee \`config.log' for more details" "$LINENO" 5; }
30553a67387eSmrgelse
30563a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30573a67387eSmrg$as_echo "yes" >&6; }
3058ef7198c0Smrgfi
30593a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
30603a67387eSmrg$as_echo_n "checking for C compiler default output file name... " >&6; }
30613a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
30623a67387eSmrg$as_echo "$ac_file" >&6; }
3063ef7198c0Smrgac_exeext=$ac_cv_exeext
3064ef7198c0Smrg
3065ef7198c0Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3066ef7198c0Smrgac_clean_files=$ac_clean_files_save
30673a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3068ef7198c0Smrg$as_echo_n "checking for suffix of executables... " >&6; }
30693a67387eSmrgif { { ac_try="$ac_link"
3070ef7198c0Smrgcase "(($ac_try" in
3071ef7198c0Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072ef7198c0Smrg  *) ac_try_echo=$ac_try;;
3073ef7198c0Smrgesac
30743a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
30753a67387eSmrg$as_echo "$ac_try_echo"; } >&5
3076ef7198c0Smrg  (eval "$ac_link") 2>&5
3077ef7198c0Smrg  ac_status=$?
30783a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30793a67387eSmrg  test $ac_status = 0; }; then :
3080ef7198c0Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3081ef7198c0Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3082ef7198c0Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
3083ef7198c0Smrg# `rm'.
3084ef7198c0Smrgfor ac_file in conftest.exe conftest conftest.*; do
3085ef7198c0Smrg  test -f "$ac_file" || continue
3086ef7198c0Smrg  case $ac_file in
3087ef7198c0Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3088ef7198c0Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3089ef7198c0Smrg	  break;;
3090ef7198c0Smrg    * ) break;;
3091ef7198c0Smrg  esac
3092ef7198c0Smrgdone
3093ef7198c0Smrgelse
30943a67387eSmrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30963a67387eSmrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link
30973a67387eSmrgSee \`config.log' for more details" "$LINENO" 5; }
3098ef7198c0Smrgfi
30993a67387eSmrgrm -f conftest conftest$ac_cv_exeext
31003a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3101ef7198c0Smrg$as_echo "$ac_cv_exeext" >&6; }
3102ef7198c0Smrg
3103ef7198c0Smrgrm -f conftest.$ac_ext
3104ef7198c0SmrgEXEEXT=$ac_cv_exeext
3105ef7198c0Smrgac_exeext=$EXEEXT
31063a67387eSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107ef7198c0Smrg/* end confdefs.h.  */
31083a67387eSmrg#include <stdio.h>
3109ef7198c0Smrgint
3110ef7198c0Smrgmain ()
3111ef7198c0Smrg{
31123a67387eSmrgFILE *f = fopen ("conftest.out", "w");
31133a67387eSmrg return ferror (f) || fclose (f) != 0;
3114ef7198c0Smrg
3115ef7198c0Smrg  ;
3116ef7198c0Smrg  return 0;
3117ef7198c0Smrg}
3118ef7198c0Smrg_ACEOF
31193a67387eSmrgac_clean_files="$ac_clean_files conftest.out"
31203a67387eSmrg# Check that the compiler produces executables we can run.  If not, either
31213a67387eSmrg# the compiler is broken, or we cross compile.
31223a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
31233a67387eSmrg$as_echo_n "checking whether we are cross compiling... " >&6; }
31243a67387eSmrgif test "$cross_compiling" != yes; then
31253a67387eSmrg  { { ac_try="$ac_link"
3126ef7198c0Smrgcase "(($ac_try" in
3127ef7198c0Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128ef7198c0Smrg  *) ac_try_echo=$ac_try;;
3129ef7198c0Smrgesac
31303a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31313a67387eSmrg$as_echo "$ac_try_echo"; } >&5
31323a67387eSmrg  (eval "$ac_link") 2>&5
3133ef7198c0Smrg  ac_status=$?
31343a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31353a67387eSmrg  test $ac_status = 0; }
31363a67387eSmrg  if { ac_try='./conftest$ac_cv_exeext'
31373a67387eSmrg  { { case "(($ac_try" in
31383a67387eSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31393a67387eSmrg  *) ac_try_echo=$ac_try;;
31403a67387eSmrgesac
31413a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31423a67387eSmrg$as_echo "$ac_try_echo"; } >&5
31433a67387eSmrg  (eval "$ac_try") 2>&5
31443a67387eSmrg  ac_status=$?
31453a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31463a67387eSmrg  test $ac_status = 0; }; }; then
31473a67387eSmrg    cross_compiling=no
31483a67387eSmrg  else
31493a67387eSmrg    if test "$cross_compiling" = maybe; then
31503a67387eSmrg	cross_compiling=yes
31513a67387eSmrg    else
31523a67387eSmrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31533a67387eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31543a67387eSmrgas_fn_error $? "cannot run C compiled programs.
31553a67387eSmrgIf you meant to cross compile, use \`--host'.
31563a67387eSmrgSee \`config.log' for more details" "$LINENO" 5; }
31573a67387eSmrg    fi
31583a67387eSmrg  fi
3159ef7198c0Smrgfi
31603a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
31613a67387eSmrg$as_echo "$cross_compiling" >&6; }
31623a67387eSmrg
31633a67387eSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
31643a67387eSmrgac_clean_files=$ac_clean_files_save
31653a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
31663a67387eSmrg$as_echo_n "checking for suffix of object files... " >&6; }
31673a67387eSmrgif ${ac_cv_objext+:} false; then :
31683a67387eSmrg  $as_echo_n "(cached) " >&6
31693a67387eSmrgelse
31703a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31713a67387eSmrg/* end confdefs.h.  */
31723a67387eSmrg
31733a67387eSmrgint
31743a67387eSmrgmain ()
31753a67387eSmrg{
31763a67387eSmrg
31773a67387eSmrg  ;
31783a67387eSmrg  return 0;
31793a67387eSmrg}
31803a67387eSmrg_ACEOF
31813a67387eSmrgrm -f conftest.o conftest.obj
31823a67387eSmrgif { { ac_try="$ac_compile"
31833a67387eSmrgcase "(($ac_try" in
31843a67387eSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31853a67387eSmrg  *) ac_try_echo=$ac_try;;
31863a67387eSmrgesac
31873a67387eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
31883a67387eSmrg$as_echo "$ac_try_echo"; } >&5
31893a67387eSmrg  (eval "$ac_compile") 2>&5
31903a67387eSmrg  ac_status=$?
31913a67387eSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31923a67387eSmrg  test $ac_status = 0; }; then :
31933a67387eSmrg  for ac_file in conftest.o conftest.obj conftest.*; do
31943a67387eSmrg  test -f "$ac_file" || continue;
31953a67387eSmrg  case $ac_file in
31963a67387eSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
31973a67387eSmrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
31983a67387eSmrg       break;;
31993a67387eSmrg  esac
32003a67387eSmrgdone
32013a67387eSmrgelse
32023a67387eSmrg  $as_echo "$as_me: failed program was:" >&5
32033a67387eSmrgsed 's/^/| /' conftest.$ac_ext >&5
3204ef7198c0Smrg
32053a67387eSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32063a67387eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32073a67387eSmrgas_fn_error $? "cannot compute suffix of object files: cannot compile
32083a67387eSmrgSee \`config.log' for more details" "$LINENO" 5; }
32093a67387eSmrgfi
3210ef7198c0Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
3211ef7198c0Smrgfi
32123a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3213ef7198c0Smrg$as_echo "$ac_cv_objext" >&6; }
3214ef7198c0SmrgOBJEXT=$ac_cv_objext
3215ef7198c0Smrgac_objext=$OBJEXT
32163a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3217ef7198c0Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
32183a67387eSmrgif ${ac_cv_c_compiler_gnu+:} false; then :
3219ef7198c0Smrg  $as_echo_n "(cached) " >&6
3220ef7198c0Smrgelse
32213a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222ef7198c0Smrg/* end confdefs.h.  */
3223ef7198c0Smrg
3224ef7198c0Smrgint
3225ef7198c0Smrgmain ()
3226ef7198c0Smrg{
3227ef7198c0Smrg#ifndef __GNUC__
3228ef7198c0Smrg       choke me
3229ef7198c0Smrg#endif
3230ef7198c0Smrg
3231ef7198c0Smrg  ;
3232ef7198c0Smrg  return 0;
3233ef7198c0Smrg}
3234ef7198c0Smrg_ACEOF
32353a67387eSmrgif ac_fn_c_try_compile "$LINENO"; then :
3236ef7198c0Smrg  ac_compiler_gnu=yes
3237ef7198c0Smrgelse
32383a67387eSmrg  ac_compiler_gnu=no
3239ef7198c0Smrgfi
3240ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241ef7198c0Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
3242ef7198c0Smrg
3243ef7198c0Smrgfi
32443a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3245ef7198c0Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3246ef7198c0Smrgif test $ac_compiler_gnu = yes; then
3247ef7198c0Smrg  GCC=yes
3248ef7198c0Smrgelse
3249ef7198c0Smrg  GCC=
3250ef7198c0Smrgfi
3251ef7198c0Smrgac_test_CFLAGS=${CFLAGS+set}
3252ef7198c0Smrgac_save_CFLAGS=$CFLAGS
32533a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3254ef7198c0Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
32553a67387eSmrgif ${ac_cv_prog_cc_g+:} false; then :
3256ef7198c0Smrg  $as_echo_n "(cached) " >&6
3257ef7198c0Smrgelse
3258ef7198c0Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
3259ef7198c0Smrg   ac_c_werror_flag=yes
3260ef7198c0Smrg   ac_cv_prog_cc_g=no
3261ef7198c0Smrg   CFLAGS="-g"
32623a67387eSmrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263ef7198c0Smrg/* end confdefs.h.  */
3264ef7198c0Smrg
3265ef7198c0Smrgint
3266ef7198c0Smrgmain ()
3267ef7198c0Smrg{
3268ef7198c0Smrg
3269ef7198c0Smrg  ;
3270ef7198c0Smrg  return 0;
3271ef7198c0Smrg}
3272ef7198c0Smrg_ACEOF
32733a67387eSmrgif ac_fn_c_try_compile "$LINENO"; then :
3274ef7198c0Smrg  ac_cv_prog_cc_g=yes
3275ef7198c0Smrgelse
32763a67387eSmrg  CFLAGS=""
32773a67387eSmrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278ef7198c0Smrg/* end confdefs.h.  */
3279ef7198c0Smrg
3280ef7198c0Smrgint
3281ef7198c0Smrgmain ()
3282ef7198c0Smrg{
3283ef7198c0Smrg
3284ef7198c0Smrg  ;
3285ef7198c0Smrg  return 0;
3286ef7198c0Smrg}
3287ef7198c0Smrg_ACEOF
32883a67387eSmrgif ac_fn_c_try_compile "$LINENO"; then :
3289ef7198c0Smrg
32903a67387eSmrgelse
32913a67387eSmrg  ac_c_werror_flag=$ac_save_c_werror_flag
3292ef7198c0Smrg	 CFLAGS="-g"
32933a67387eSmrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294ef7198c0Smrg/* end confdefs.h.  */
3295ef7198c0Smrg
3296ef7198c0Smrgint
3297ef7198c0Smrgmain ()
3298ef7198c0Smrg{
3299ef7198c0Smrg
3300ef7198c0Smrg  ;
3301ef7198c0Smrg  return 0;
3302ef7198c0Smrg}
3303ef7198c0Smrg_ACEOF
33043a67387eSmrgif ac_fn_c_try_compile "$LINENO"; then :
3305ef7198c0Smrg  ac_cv_prog_cc_g=yes
3306ef7198c0Smrgfi
3307ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308ef7198c0Smrgfi
3309ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310ef7198c0Smrgfi
3311ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312ef7198c0Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
3313ef7198c0Smrgfi
33143a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3315ef7198c0Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
3316ef7198c0Smrgif test "$ac_test_CFLAGS" = set; then
3317ef7198c0Smrg  CFLAGS=$ac_save_CFLAGS
3318ef7198c0Smrgelif test $ac_cv_prog_cc_g = yes; then
3319ef7198c0Smrg  if test "$GCC" = yes; then
3320ef7198c0Smrg    CFLAGS="-g -O2"
3321ef7198c0Smrg  else
3322ef7198c0Smrg    CFLAGS="-g"
3323ef7198c0Smrg  fi
3324ef7198c0Smrgelse
3325ef7198c0Smrg  if test "$GCC" = yes; then
3326ef7198c0Smrg    CFLAGS="-O2"
3327ef7198c0Smrg  else
3328ef7198c0Smrg    CFLAGS=
3329ef7198c0Smrg  fi
3330ef7198c0Smrgfi
33313a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3332ef7198c0Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
33333a67387eSmrgif ${ac_cv_prog_cc_c89+:} false; then :
3334ef7198c0Smrg  $as_echo_n "(cached) " >&6
3335ef7198c0Smrgelse
3336ef7198c0Smrg  ac_cv_prog_cc_c89=no
3337ef7198c0Smrgac_save_CC=$CC
33383a67387eSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339ef7198c0Smrg/* end confdefs.h.  */
3340ef7198c0Smrg#include <stdarg.h>
3341ef7198c0Smrg#include <stdio.h>
3342ef7198c0Smrg#include <sys/types.h>
3343ef7198c0Smrg#include <sys/stat.h>
3344ef7198c0Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3345ef7198c0Smrgstruct buf { int x; };
3346ef7198c0SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
3347ef7198c0Smrgstatic char *e (p, i)
3348ef7198c0Smrg     char **p;
3349ef7198c0Smrg     int i;
3350ef7198c0Smrg{
3351ef7198c0Smrg  return p[i];
3352ef7198c0Smrg}
3353ef7198c0Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
3354ef7198c0Smrg{
3355ef7198c0Smrg  char *s;
3356ef7198c0Smrg  va_list v;
3357ef7198c0Smrg  va_start (v,p);
3358ef7198c0Smrg  s = g (p, va_arg (v,int));
3359ef7198c0Smrg  va_end (v);
3360ef7198c0Smrg  return s;
3361ef7198c0Smrg}
3362ef7198c0Smrg
3363ef7198c0Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3364ef7198c0Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
3365ef7198c0Smrg   These don't provoke an error unfortunately, instead are silently treated
3366ef7198c0Smrg   as 'x'.  The following induces an error, until -std is added to get
3367ef7198c0Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3368ef7198c0Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
3369ef7198c0Smrg   that's true only with -std.  */
3370ef7198c0Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
3371ef7198c0Smrg
3372ef7198c0Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3373ef7198c0Smrg   inside strings and character constants.  */
3374ef7198c0Smrg#define FOO(x) 'x'
3375ef7198c0Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3376ef7198c0Smrg
3377ef7198c0Smrgint test (int i, double x);
3378ef7198c0Smrgstruct s1 {int (*f) (int a);};
3379ef7198c0Smrgstruct s2 {int (*f) (double a);};
3380ef7198c0Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3381ef7198c0Smrgint argc;
3382ef7198c0Smrgchar **argv;
3383ef7198c0Smrgint
3384ef7198c0Smrgmain ()
3385ef7198c0Smrg{
3386ef7198c0Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3387ef7198c0Smrg  ;
3388ef7198c0Smrg  return 0;
3389ef7198c0Smrg}
3390ef7198c0Smrg_ACEOF
3391ef7198c0Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3392ef7198c0Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3393ef7198c0Smrgdo
3394ef7198c0Smrg  CC="$ac_save_CC $ac_arg"
33953a67387eSmrg  if ac_fn_c_try_compile "$LINENO"; then :
3396ef7198c0Smrg  ac_cv_prog_cc_c89=$ac_arg
3397ef7198c0Smrgfi
3398ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext
3399ef7198c0Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
3400ef7198c0Smrgdone
3401ef7198c0Smrgrm -f conftest.$ac_ext
3402ef7198c0SmrgCC=$ac_save_CC
3403ef7198c0Smrg
3404ef7198c0Smrgfi
3405ef7198c0Smrg# AC_CACHE_VAL
3406ef7198c0Smrgcase "x$ac_cv_prog_cc_c89" in
3407ef7198c0Smrg  x)
34083a67387eSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3409ef7198c0Smrg$as_echo "none needed" >&6; } ;;
3410ef7198c0Smrg  xno)
34113a67387eSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3412ef7198c0Smrg$as_echo "unsupported" >&6; } ;;
3413ef7198c0Smrg  *)
3414ef7198c0Smrg    CC="$CC $ac_cv_prog_cc_c89"
34153a67387eSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3416ef7198c0Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3417ef7198c0Smrgesac
34183a67387eSmrgif test "x$ac_cv_prog_cc_c89" != xno; then :
3419ef7198c0Smrg
34203a67387eSmrgfi
3421ef7198c0Smrg
3422ef7198c0Smrgac_ext=c
3423ef7198c0Smrgac_cpp='$CPP $CPPFLAGS'
3424ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3425ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3426ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3427ef7198c0Smrg
3428ef7198c0Smrgdepcc="$CC"   am_compiler_list=
3429ef7198c0Smrg
34303a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3431ef7198c0Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
34323a67387eSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then :
3433ef7198c0Smrg  $as_echo_n "(cached) " >&6
3434ef7198c0Smrgelse
3435ef7198c0Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3436ef7198c0Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
3437ef7198c0Smrg  # making bogus files that we don't know about and never remove.  For
3438ef7198c0Smrg  # instance it was reported that on HP-UX the gcc test will end up
3439ef7198c0Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
3440ef7198c0Smrg  # in D'.
3441ef7198c0Smrg  mkdir conftest.dir
3442ef7198c0Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
3443ef7198c0Smrg  # using a relative directory.
3444ef7198c0Smrg  cp "$am_depcomp" conftest.dir
3445ef7198c0Smrg  cd conftest.dir
3446ef7198c0Smrg  # We will build objects and dependencies in a subdirectory because
3447ef7198c0Smrg  # it helps to detect inapplicable dependency modes.  For instance
3448ef7198c0Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
3449ef7198c0Smrg  # side effect of compilation, but ICC will put the dependencies in
3450ef7198c0Smrg  # the current directory while Tru64 will put them in the object
3451ef7198c0Smrg  # directory.
3452ef7198c0Smrg  mkdir sub
3453ef7198c0Smrg
3454ef7198c0Smrg  am_cv_CC_dependencies_compiler_type=none
3455ef7198c0Smrg  if test "$am_compiler_list" = ""; then
3456ef7198c0Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3457ef7198c0Smrg  fi
3458ef7198c0Smrg  am__universal=false
3459ef7198c0Smrg  case " $depcc " in #(
3460ef7198c0Smrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3461ef7198c0Smrg     esac
3462ef7198c0Smrg
3463ef7198c0Smrg  for depmode in $am_compiler_list; do
3464ef7198c0Smrg    # Setup a source with many dependencies, because some compilers
3465ef7198c0Smrg    # like to wrap large dependency lists on column 80 (with \), and
3466ef7198c0Smrg    # we should not choose a depcomp mode which is confused by this.
3467ef7198c0Smrg    #
3468ef7198c0Smrg    # We need to recreate these files for each test, as the compiler may
3469ef7198c0Smrg    # overwrite some of them when testing with obscure command lines.
3470ef7198c0Smrg    # This happens at least with the AIX C compiler.
3471ef7198c0Smrg    : > sub/conftest.c
3472ef7198c0Smrg    for i in 1 2 3 4 5 6; do
3473ef7198c0Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3474ef7198c0Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3475ef7198c0Smrg      # Solaris 8's {/usr,}/bin/sh.
3476ef7198c0Smrg      touch sub/conftst$i.h
3477ef7198c0Smrg    done
3478ef7198c0Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3479ef7198c0Smrg
3480ef7198c0Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3481ef7198c0Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
3482ef7198c0Smrg    # handle `-M -o', and we need to detect this.  Also, some Intel
3483ef7198c0Smrg    # versions had trouble with output in subdirs
3484ef7198c0Smrg    am__obj=sub/conftest.${OBJEXT-o}
3485ef7198c0Smrg    am__minus_obj="-o $am__obj"
3486ef7198c0Smrg    case $depmode in
3487ef7198c0Smrg    gcc)
3488ef7198c0Smrg      # This depmode causes a compiler race in universal mode.
3489ef7198c0Smrg      test "$am__universal" = false || continue
3490ef7198c0Smrg      ;;
3491ef7198c0Smrg    nosideeffect)
3492ef7198c0Smrg      # after this tag, mechanisms are not by side-effect, so they'll
3493ef7198c0Smrg      # only be used when explicitly requested
3494ef7198c0Smrg      if test "x$enable_dependency_tracking" = xyes; then
3495ef7198c0Smrg	continue
3496ef7198c0Smrg      else
3497ef7198c0Smrg	break
3498ef7198c0Smrg      fi
3499ef7198c0Smrg      ;;
3500ef7198c0Smrg    msvisualcpp | msvcmsys)
3501ef7198c0Smrg      # This compiler won't grok `-c -o', but also, the minuso test has
3502ef7198c0Smrg      # not run yet.  These depmodes are late enough in the game, and
3503ef7198c0Smrg      # so weak that their functioning should not be impacted.
3504ef7198c0Smrg      am__obj=conftest.${OBJEXT-o}
3505ef7198c0Smrg      am__minus_obj=
3506ef7198c0Smrg      ;;
3507ef7198c0Smrg    none) break ;;
3508ef7198c0Smrg    esac
3509ef7198c0Smrg    if depmode=$depmode \
3510ef7198c0Smrg       source=sub/conftest.c object=$am__obj \
3511ef7198c0Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3512ef7198c0Smrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3513ef7198c0Smrg         >/dev/null 2>conftest.err &&
3514ef7198c0Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3515ef7198c0Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3516ef7198c0Smrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3517ef7198c0Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3518ef7198c0Smrg      # icc doesn't choke on unknown options, it will just issue warnings
3519ef7198c0Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
3520ef7198c0Smrg      # that says an option was ignored or not supported.
3521ef7198c0Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
3522ef7198c0Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
3523ef7198c0Smrg      # The diagnosis changed in icc 8.0:
3524ef7198c0Smrg      #   icc: Command line remark: option '-MP' not supported
3525ef7198c0Smrg      if (grep 'ignoring option' conftest.err ||
3526ef7198c0Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3527ef7198c0Smrg        am_cv_CC_dependencies_compiler_type=$depmode
3528ef7198c0Smrg        break
3529ef7198c0Smrg      fi
3530ef7198c0Smrg    fi
3531ef7198c0Smrg  done
3532ef7198c0Smrg
3533ef7198c0Smrg  cd ..
3534ef7198c0Smrg  rm -rf conftest.dir
3535ef7198c0Smrgelse
3536ef7198c0Smrg  am_cv_CC_dependencies_compiler_type=none
3537ef7198c0Smrgfi
3538ef7198c0Smrg
3539ef7198c0Smrgfi
35403a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3541ef7198c0Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3542ef7198c0SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3543ef7198c0Smrg
3544ef7198c0Smrg if
3545ef7198c0Smrg  test "x$enable_dependency_tracking" != xno \
3546ef7198c0Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3547ef7198c0Smrg  am__fastdepCC_TRUE=
3548ef7198c0Smrg  am__fastdepCC_FALSE='#'
3549ef7198c0Smrgelse
3550ef7198c0Smrg  am__fastdepCC_TRUE='#'
3551ef7198c0Smrg  am__fastdepCC_FALSE=
3552ef7198c0Smrgfi
3553ef7198c0Smrg
3554ef7198c0Smrg
35553a67387eSmrg   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
35563a67387eSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
35573a67387eSmrgif ${ac_cv_prog_cc_c99+:} false; then :
3558ef7198c0Smrg  $as_echo_n "(cached) " >&6
3559ef7198c0Smrgelse
35603a67387eSmrg  ac_cv_prog_cc_c99=no
35613a67387eSmrgac_save_CC=$CC
35623a67387eSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563ef7198c0Smrg/* end confdefs.h.  */
35643a67387eSmrg#include <stdarg.h>
35653a67387eSmrg#include <stdbool.h>
35663a67387eSmrg#include <stdlib.h>
35673a67387eSmrg#include <wchar.h>
35683a67387eSmrg#include <stdio.h>
35693a67387eSmrg
35703a67387eSmrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
35713a67387eSmrg#define debug(...) fprintf (stderr, __VA_ARGS__)
35723a67387eSmrg#define showlist(...) puts (#__VA_ARGS__)
35733a67387eSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
35743a67387eSmrgstatic void
35753a67387eSmrgtest_varargs_macros (void)
35763a67387eSmrg{
35773a67387eSmrg  int x = 1234;
35783a67387eSmrg  int y = 5678;
35793a67387eSmrg  debug ("Flag");
35803a67387eSmrg  debug ("X = %d\n", x);
35813a67387eSmrg  showlist (The first, second, and third items.);
35823a67387eSmrg  report (x>y, "x is %d but y is %d", x, y);
35833a67387eSmrg}
35843a67387eSmrg
35853a67387eSmrg// Check long long types.
35863a67387eSmrg#define BIG64 18446744073709551615ull
35873a67387eSmrg#define BIG32 4294967295ul
35883a67387eSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
35893a67387eSmrg#if !BIG_OK
35903a67387eSmrg  your preprocessor is broken;
35913a67387eSmrg#endif
35923a67387eSmrg#if BIG_OK
3593ef7198c0Smrg#else
35943a67387eSmrg  your preprocessor is broken;
3595ef7198c0Smrg#endif
35963a67387eSmrgstatic long long int bignum = -9223372036854775807LL;
35973a67387eSmrgstatic unsigned long long int ubignum = BIG64;
3598ef7198c0Smrg
35993a67387eSmrgstruct incomplete_array
36003a67387eSmrg{
36013a67387eSmrg  int datasize;
36023a67387eSmrg  double data[];
36033a67387eSmrg};
3604ef7198c0Smrg
36053a67387eSmrgstruct named_init {
36063a67387eSmrg  int number;
36073a67387eSmrg  const wchar_t *name;
36083a67387eSmrg  double average;
36093a67387eSmrg};
3610ef7198c0Smrg
36113a67387eSmrgtypedef const char *ccp;
3612ef7198c0Smrg
36133a67387eSmrgstatic inline int
36143a67387eSmrgtest_restrict (ccp restrict text)
36153a67387eSmrg{
36163a67387eSmrg  // See if C++-style comments work.
36173a67387eSmrg  // Iterate through items via the restricted pointer.
36183a67387eSmrg  // Also check for declarations in for loops.
36193a67387eSmrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
36203a67387eSmrg    continue;
36213a67387eSmrg  return 0;
36223a67387eSmrg}
3623ef7198c0Smrg
36243a67387eSmrg// Check varargs and va_copy.
36253a67387eSmrgstatic void
36263a67387eSmrgtest_varargs (const char *format, ...)
36273a67387eSmrg{
36283a67387eSmrg  va_list args;
36293a67387eSmrg  va_start (args, format);
36303a67387eSmrg  va_list args_copy;
36313a67387eSmrg  va_copy (args_copy, args);
3632ef7198c0Smrg
36333a67387eSmrg  const char *str;
36343a67387eSmrg  int number;
36353a67387eSmrg  float fnumber;
3636ef7198c0Smrg
36373a67387eSmrg  while (*format)
36383a67387eSmrg    {
36393a67387eSmrg      switch (*format++)
36403a67387eSmrg	{
36413a67387eSmrg	case 's': // string
36423a67387eSmrg	  str = va_arg (args_copy, const char *);
36433a67387eSmrg	  break;
36443a67387eSmrg	case 'd': // int
36453a67387eSmrg	  number = va_arg (args_copy, int);
36463a67387eSmrg	  break;
36473a67387eSmrg	case 'f': // float
36483a67387eSmrg	  fnumber = va_arg (args_copy, double);
36493a67387eSmrg	  break;
36503a67387eSmrg	default:
36513a67387eSmrg	  break;
36523a67387eSmrg	}
36533a67387eSmrg    }
36543a67387eSmrg  va_end (args_copy);
36553a67387eSmrg  va_end (args);
36563a67387eSmrg}
36573a67387eSmrg
36583a67387eSmrgint
36593a67387eSmrgmain ()
36603a67387eSmrg{
36613a67387eSmrg
36623a67387eSmrg  // Check bool.
36633a67387eSmrg  _Bool success = false;
36643a67387eSmrg
36653a67387eSmrg  // Check restrict.
36663a67387eSmrg  if (test_restrict ("String literal") == 0)
36673a67387eSmrg    success = true;
36683a67387eSmrg  char *restrict newvar = "Another string";
36693a67387eSmrg
36703a67387eSmrg  // Check varargs.
36713a67387eSmrg  test_varargs ("s, d' f .", "string", 65, 34.234);
36723a67387eSmrg  test_varargs_macros ();
36733a67387eSmrg
36743a67387eSmrg  // Check flexible array members.
36753a67387eSmrg  struct incomplete_array *ia =
36763a67387eSmrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
36773a67387eSmrg  ia->datasize = 10;
36783a67387eSmrg  for (int i = 0; i < ia->datasize; ++i)
36793a67387eSmrg    ia->data[i] = i * 1.234;
36803a67387eSmrg
36813a67387eSmrg  // Check named initializers.
36823a67387eSmrg  struct named_init ni = {
36833a67387eSmrg    .number = 34,
36843a67387eSmrg    .name = L"Test wide string",
36853a67387eSmrg    .average = 543.34343,
36863a67387eSmrg  };
36873a67387eSmrg
36883a67387eSmrg  ni.number = 58;
36893a67387eSmrg
36903a67387eSmrg  int dynamic_array[ni.number];
36913a67387eSmrg  dynamic_array[ni.number - 1] = 543;
36923a67387eSmrg
36933a67387eSmrg  // work around unused variable warnings
36943a67387eSmrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
36953a67387eSmrg	  || dynamic_array[ni.number - 1] != 543);
36963a67387eSmrg
36973a67387eSmrg  ;
36983a67387eSmrg  return 0;
36993a67387eSmrg}
37003a67387eSmrg_ACEOF
37013a67387eSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
37023a67387eSmrgdo
37033a67387eSmrg  CC="$ac_save_CC $ac_arg"
37043a67387eSmrg  if ac_fn_c_try_compile "$LINENO"; then :
37053a67387eSmrg  ac_cv_prog_cc_c99=$ac_arg
37063a67387eSmrgfi
37073a67387eSmrgrm -f core conftest.err conftest.$ac_objext
37083a67387eSmrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
37093a67387eSmrgdone
37103a67387eSmrgrm -f conftest.$ac_ext
37113a67387eSmrgCC=$ac_save_CC
37123a67387eSmrg
37133a67387eSmrgfi
37143a67387eSmrg# AC_CACHE_VAL
37153a67387eSmrgcase "x$ac_cv_prog_cc_c99" in
37163a67387eSmrg  x)
37173a67387eSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
37183a67387eSmrg$as_echo "none needed" >&6; } ;;
37193a67387eSmrg  xno)
37203a67387eSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
37213a67387eSmrg$as_echo "unsupported" >&6; } ;;
37223a67387eSmrg  *)
37233a67387eSmrg    CC="$CC $ac_cv_prog_cc_c99"
37243a67387eSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
37253a67387eSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
37263a67387eSmrgesac
37273a67387eSmrgif test "x$ac_cv_prog_cc_c99" != xno; then :
37283a67387eSmrg
37293a67387eSmrgfi
37303a67387eSmrg
37313a67387eSmrg
37323a67387eSmrg
37333a67387eSmrgac_ext=c
37343a67387eSmrgac_cpp='$CPP $CPPFLAGS'
37353a67387eSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37363a67387eSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373a67387eSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
37383a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
37393a67387eSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
37403a67387eSmrg# On Suns, sometimes $CPP names a directory.
37413a67387eSmrgif test -n "$CPP" && test -d "$CPP"; then
37423a67387eSmrg  CPP=
37433a67387eSmrgfi
37443a67387eSmrgif test -z "$CPP"; then
37453a67387eSmrg  if ${ac_cv_prog_CPP+:} false; then :
37463a67387eSmrg  $as_echo_n "(cached) " >&6
37473a67387eSmrgelse
37483a67387eSmrg      # Double quotes because CPP needs to be expanded
37493a67387eSmrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
37503a67387eSmrg    do
37513a67387eSmrg      ac_preproc_ok=false
37523a67387eSmrgfor ac_c_preproc_warn_flag in '' yes
37533a67387eSmrgdo
37543a67387eSmrg  # Use a header file that comes with gcc, so configuring glibc
37553a67387eSmrg  # with a fresh cross-compiler works.
37563a67387eSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37573a67387eSmrg  # <limits.h> exists even on freestanding compilers.
37583a67387eSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
37593a67387eSmrg  # not just through cpp. "Syntax error" is here to catch this case.
37603a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37613a67387eSmrg/* end confdefs.h.  */
37623a67387eSmrg#ifdef __STDC__
37633a67387eSmrg# include <limits.h>
37643a67387eSmrg#else
37653a67387eSmrg# include <assert.h>
37663a67387eSmrg#endif
37673a67387eSmrg		     Syntax error
37683a67387eSmrg_ACEOF
37693a67387eSmrgif ac_fn_c_try_cpp "$LINENO"; then :
37703a67387eSmrg
37713a67387eSmrgelse
37723a67387eSmrg  # Broken: fails on valid input.
37733a67387eSmrgcontinue
37743a67387eSmrgfi
37753a67387eSmrgrm -f conftest.err conftest.i conftest.$ac_ext
37763a67387eSmrg
37773a67387eSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
37783a67387eSmrg  # can be detected and how.
37793a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37803a67387eSmrg/* end confdefs.h.  */
37813a67387eSmrg#include <ac_nonexistent.h>
37823a67387eSmrg_ACEOF
37833a67387eSmrgif ac_fn_c_try_cpp "$LINENO"; then :
37843a67387eSmrg  # Broken: success on invalid input.
37853a67387eSmrgcontinue
37863a67387eSmrgelse
37873a67387eSmrg  # Passes both tests.
37883a67387eSmrgac_preproc_ok=:
37893a67387eSmrgbreak
37903a67387eSmrgfi
37913a67387eSmrgrm -f conftest.err conftest.i conftest.$ac_ext
37923a67387eSmrg
37933a67387eSmrgdone
37943a67387eSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
37953a67387eSmrgrm -f conftest.i conftest.err conftest.$ac_ext
37963a67387eSmrgif $ac_preproc_ok; then :
37973a67387eSmrg  break
37983a67387eSmrgfi
37993a67387eSmrg
38003a67387eSmrg    done
3801ef7198c0Smrg    ac_cv_prog_CPP=$CPP
3802ef7198c0Smrg
3803ef7198c0Smrgfi
3804ef7198c0Smrg  CPP=$ac_cv_prog_CPP
3805ef7198c0Smrgelse
3806ef7198c0Smrg  ac_cv_prog_CPP=$CPP
3807ef7198c0Smrgfi
38083a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3809ef7198c0Smrg$as_echo "$CPP" >&6; }
3810ef7198c0Smrgac_preproc_ok=false
3811ef7198c0Smrgfor ac_c_preproc_warn_flag in '' yes
3812ef7198c0Smrgdo
3813ef7198c0Smrg  # Use a header file that comes with gcc, so configuring glibc
3814ef7198c0Smrg  # with a fresh cross-compiler works.
3815ef7198c0Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3816ef7198c0Smrg  # <limits.h> exists even on freestanding compilers.
3817ef7198c0Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3818ef7198c0Smrg  # not just through cpp. "Syntax error" is here to catch this case.
38193a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820ef7198c0Smrg/* end confdefs.h.  */
3821ef7198c0Smrg#ifdef __STDC__
3822ef7198c0Smrg# include <limits.h>
3823ef7198c0Smrg#else
3824ef7198c0Smrg# include <assert.h>
3825ef7198c0Smrg#endif
3826ef7198c0Smrg		     Syntax error
3827ef7198c0Smrg_ACEOF
38283a67387eSmrgif ac_fn_c_try_cpp "$LINENO"; then :
3829ef7198c0Smrg
38303a67387eSmrgelse
3831ef7198c0Smrg  # Broken: fails on valid input.
3832ef7198c0Smrgcontinue
3833ef7198c0Smrgfi
38343a67387eSmrgrm -f conftest.err conftest.i conftest.$ac_ext
3835ef7198c0Smrg
3836ef7198c0Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
3837ef7198c0Smrg  # can be detected and how.
38383a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839ef7198c0Smrg/* end confdefs.h.  */
3840ef7198c0Smrg#include <ac_nonexistent.h>
3841ef7198c0Smrg_ACEOF
38423a67387eSmrgif ac_fn_c_try_cpp "$LINENO"; then :
3843ef7198c0Smrg  # Broken: success on invalid input.
3844ef7198c0Smrgcontinue
3845ef7198c0Smrgelse
3846ef7198c0Smrg  # Passes both tests.
3847ef7198c0Smrgac_preproc_ok=:
3848ef7198c0Smrgbreak
3849ef7198c0Smrgfi
38503a67387eSmrgrm -f conftest.err conftest.i conftest.$ac_ext
3851ef7198c0Smrg
3852ef7198c0Smrgdone
3853ef7198c0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
38543a67387eSmrgrm -f conftest.i conftest.err conftest.$ac_ext
38553a67387eSmrgif $ac_preproc_ok; then :
38563a67387eSmrg
3857ef7198c0Smrgelse
38583a67387eSmrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3859ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38603a67387eSmrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check
38613a67387eSmrgSee \`config.log' for more details" "$LINENO" 5; }
3862ef7198c0Smrgfi
3863ef7198c0Smrg
3864ef7198c0Smrgac_ext=c
3865ef7198c0Smrgac_cpp='$CPP $CPPFLAGS'
3866ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3869ef7198c0Smrg
3870ef7198c0Smrg
38713a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3872ef7198c0Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
38733a67387eSmrgif ${ac_cv_path_GREP+:} false; then :
3874ef7198c0Smrg  $as_echo_n "(cached) " >&6
3875ef7198c0Smrgelse
3876ef7198c0Smrg  if test -z "$GREP"; then
3877ef7198c0Smrg  ac_path_GREP_found=false
3878ef7198c0Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3879ef7198c0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880ef7198c0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3881ef7198c0Smrgdo
3882ef7198c0Smrg  IFS=$as_save_IFS
3883ef7198c0Smrg  test -z "$as_dir" && as_dir=.
38843a67387eSmrg    for ac_prog in grep ggrep; do
3885ef7198c0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3886ef7198c0Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3887ef7198c0Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3888ef7198c0Smrg# Check for GNU ac_path_GREP and select it if it is found.
3889ef7198c0Smrg  # Check for GNU $ac_path_GREP
3890ef7198c0Smrgcase `"$ac_path_GREP" --version 2>&1` in
3891ef7198c0Smrg*GNU*)
3892ef7198c0Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3893ef7198c0Smrg*)
3894ef7198c0Smrg  ac_count=0
3895ef7198c0Smrg  $as_echo_n 0123456789 >"conftest.in"
3896ef7198c0Smrg  while :
3897ef7198c0Smrg  do
3898ef7198c0Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3899ef7198c0Smrg    mv "conftest.tmp" "conftest.in"
3900ef7198c0Smrg    cp "conftest.in" "conftest.nl"
3901ef7198c0Smrg    $as_echo 'GREP' >> "conftest.nl"
3902ef7198c0Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3903ef7198c0Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
39043a67387eSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
3905ef7198c0Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3906ef7198c0Smrg      # Best one so far, save it but keep looking for a better one
3907ef7198c0Smrg      ac_cv_path_GREP="$ac_path_GREP"
3908ef7198c0Smrg      ac_path_GREP_max=$ac_count
3909ef7198c0Smrg    fi
3910ef7198c0Smrg    # 10*(2^10) chars as input seems more than enough
3911ef7198c0Smrg    test $ac_count -gt 10 && break
3912ef7198c0Smrg  done
3913ef7198c0Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3914ef7198c0Smrgesac
3915ef7198c0Smrg
3916ef7198c0Smrg      $ac_path_GREP_found && break 3
3917ef7198c0Smrg    done
3918ef7198c0Smrg  done
39193a67387eSmrg  done
3920ef7198c0SmrgIFS=$as_save_IFS
3921ef7198c0Smrg  if test -z "$ac_cv_path_GREP"; then
39223a67387eSmrg    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3923ef7198c0Smrg  fi
3924ef7198c0Smrgelse
3925ef7198c0Smrg  ac_cv_path_GREP=$GREP
3926ef7198c0Smrgfi
3927ef7198c0Smrg
3928ef7198c0Smrgfi
39293a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3930ef7198c0Smrg$as_echo "$ac_cv_path_GREP" >&6; }
3931ef7198c0Smrg GREP="$ac_cv_path_GREP"
3932ef7198c0Smrg
3933ef7198c0Smrg
39343a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3935ef7198c0Smrg$as_echo_n "checking for egrep... " >&6; }
39363a67387eSmrgif ${ac_cv_path_EGREP+:} false; then :
3937ef7198c0Smrg  $as_echo_n "(cached) " >&6
393856f6b22bSmrgelse
3939ef7198c0Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3940ef7198c0Smrg   then ac_cv_path_EGREP="$GREP -E"
3941ef7198c0Smrg   else
3942ef7198c0Smrg     if test -z "$EGREP"; then
3943ef7198c0Smrg  ac_path_EGREP_found=false
3944ef7198c0Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3945ef7198c0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946ef7198c0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3947ef7198c0Smrgdo
3948ef7198c0Smrg  IFS=$as_save_IFS
3949ef7198c0Smrg  test -z "$as_dir" && as_dir=.
39503a67387eSmrg    for ac_prog in egrep; do
3951ef7198c0Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3952ef7198c0Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3953ef7198c0Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3954ef7198c0Smrg# Check for GNU ac_path_EGREP and select it if it is found.
3955ef7198c0Smrg  # Check for GNU $ac_path_EGREP
3956ef7198c0Smrgcase `"$ac_path_EGREP" --version 2>&1` in
3957ef7198c0Smrg*GNU*)
3958ef7198c0Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3959ef7198c0Smrg*)
3960ef7198c0Smrg  ac_count=0
3961ef7198c0Smrg  $as_echo_n 0123456789 >"conftest.in"
3962ef7198c0Smrg  while :
3963ef7198c0Smrg  do
3964ef7198c0Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3965ef7198c0Smrg    mv "conftest.tmp" "conftest.in"
3966ef7198c0Smrg    cp "conftest.in" "conftest.nl"
3967ef7198c0Smrg    $as_echo 'EGREP' >> "conftest.nl"
3968ef7198c0Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3969ef7198c0Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
39703a67387eSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
3971ef7198c0Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3972ef7198c0Smrg      # Best one so far, save it but keep looking for a better one
3973ef7198c0Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
3974ef7198c0Smrg      ac_path_EGREP_max=$ac_count
3975ef7198c0Smrg    fi
3976ef7198c0Smrg    # 10*(2^10) chars as input seems more than enough
3977ef7198c0Smrg    test $ac_count -gt 10 && break
3978ef7198c0Smrg  done
3979ef7198c0Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3980ef7198c0Smrgesac
3981ef7198c0Smrg
3982ef7198c0Smrg      $ac_path_EGREP_found && break 3
3983ef7198c0Smrg    done
3984ef7198c0Smrg  done
39853a67387eSmrg  done
3986ef7198c0SmrgIFS=$as_save_IFS
3987ef7198c0Smrg  if test -z "$ac_cv_path_EGREP"; then
39883a67387eSmrg    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3989ef7198c0Smrg  fi
3990ef7198c0Smrgelse
3991ef7198c0Smrg  ac_cv_path_EGREP=$EGREP
3992ef7198c0Smrgfi
3993ef7198c0Smrg
3994ef7198c0Smrg   fi
3995ef7198c0Smrgfi
39963a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3997ef7198c0Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
3998ef7198c0Smrg EGREP="$ac_cv_path_EGREP"
3999ef7198c0Smrg
4000ef7198c0Smrg
40013a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4002ef7198c0Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
40033a67387eSmrgif ${ac_cv_header_stdc+:} false; then :
4004ef7198c0Smrg  $as_echo_n "(cached) " >&6
4005ef7198c0Smrgelse
40063a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007ef7198c0Smrg/* end confdefs.h.  */
4008ef7198c0Smrg#include <stdlib.h>
4009ef7198c0Smrg#include <stdarg.h>
4010ef7198c0Smrg#include <string.h>
4011ef7198c0Smrg#include <float.h>
4012ef7198c0Smrg
4013ef7198c0Smrgint
4014ef7198c0Smrgmain ()
4015ef7198c0Smrg{
4016ef7198c0Smrg
4017ef7198c0Smrg  ;
4018ef7198c0Smrg  return 0;
4019ef7198c0Smrg}
4020ef7198c0Smrg_ACEOF
40213a67387eSmrgif ac_fn_c_try_compile "$LINENO"; then :
4022ef7198c0Smrg  ac_cv_header_stdc=yes
4023ef7198c0Smrgelse
40243a67387eSmrg  ac_cv_header_stdc=no
4025ef7198c0Smrgfi
4026ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027ef7198c0Smrg
4028ef7198c0Smrgif test $ac_cv_header_stdc = yes; then
4029ef7198c0Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
40303a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031ef7198c0Smrg/* end confdefs.h.  */
4032ef7198c0Smrg#include <string.h>
4033ef7198c0Smrg
4034ef7198c0Smrg_ACEOF
4035ef7198c0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40363a67387eSmrg  $EGREP "memchr" >/dev/null 2>&1; then :
40373a67387eSmrg
4038ef7198c0Smrgelse
4039ef7198c0Smrg  ac_cv_header_stdc=no
4040ef7198c0Smrgfi
4041ef7198c0Smrgrm -f conftest*
4042ef7198c0Smrg
4043ef7198c0Smrgfi
4044ef7198c0Smrg
4045ef7198c0Smrgif test $ac_cv_header_stdc = yes; then
4046ef7198c0Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40473a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048ef7198c0Smrg/* end confdefs.h.  */
4049ef7198c0Smrg#include <stdlib.h>
4050ef7198c0Smrg
4051ef7198c0Smrg_ACEOF
4052ef7198c0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40533a67387eSmrg  $EGREP "free" >/dev/null 2>&1; then :
40543a67387eSmrg
4055ef7198c0Smrgelse
4056ef7198c0Smrg  ac_cv_header_stdc=no
4057ef7198c0Smrgfi
4058ef7198c0Smrgrm -f conftest*
4059ef7198c0Smrg
4060ef7198c0Smrgfi
4061ef7198c0Smrg
4062ef7198c0Smrgif test $ac_cv_header_stdc = yes; then
4063ef7198c0Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
40643a67387eSmrg  if test "$cross_compiling" = yes; then :
4065ef7198c0Smrg  :
4066ef7198c0Smrgelse
40673a67387eSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068ef7198c0Smrg/* end confdefs.h.  */
4069ef7198c0Smrg#include <ctype.h>
4070ef7198c0Smrg#include <stdlib.h>
4071ef7198c0Smrg#if ((' ' & 0x0FF) == 0x020)
4072ef7198c0Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4073ef7198c0Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4074ef7198c0Smrg#else
4075ef7198c0Smrg# define ISLOWER(c) \
4076ef7198c0Smrg		   (('a' <= (c) && (c) <= 'i') \
4077ef7198c0Smrg		     || ('j' <= (c) && (c) <= 'r') \
4078ef7198c0Smrg		     || ('s' <= (c) && (c) <= 'z'))
4079ef7198c0Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4080ef7198c0Smrg#endif
4081ef7198c0Smrg
4082ef7198c0Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4083ef7198c0Smrgint
4084ef7198c0Smrgmain ()
4085ef7198c0Smrg{
4086ef7198c0Smrg  int i;
4087ef7198c0Smrg  for (i = 0; i < 256; i++)
4088ef7198c0Smrg    if (XOR (islower (i), ISLOWER (i))
4089ef7198c0Smrg	|| toupper (i) != TOUPPER (i))
4090ef7198c0Smrg      return 2;
4091ef7198c0Smrg  return 0;
4092ef7198c0Smrg}
4093ef7198c0Smrg_ACEOF
40943a67387eSmrgif ac_fn_c_try_run "$LINENO"; then :
4095ef7198c0Smrg
40963a67387eSmrgelse
40973a67387eSmrg  ac_cv_header_stdc=no
4098ef7198c0Smrgfi
40993a67387eSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41003a67387eSmrg  conftest.$ac_objext conftest.beam conftest.$ac_ext
4101ef7198c0Smrgfi
4102ef7198c0Smrg
4103ef7198c0Smrgfi
4104ef7198c0Smrgfi
41053a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4106ef7198c0Smrg$as_echo "$ac_cv_header_stdc" >&6; }
4107ef7198c0Smrgif test $ac_cv_header_stdc = yes; then
4108ef7198c0Smrg
41093a67387eSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4110ef7198c0Smrg
4111ef7198c0Smrgfi
4112ef7198c0Smrg
4113ef7198c0Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4114ef7198c0Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4115ef7198c0Smrg		  inttypes.h stdint.h unistd.h
41163a67387eSmrgdo :
41173a67387eSmrg  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
41183a67387eSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
41193a67387eSmrg"
41203a67387eSmrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4121ef7198c0Smrg  cat >>confdefs.h <<_ACEOF
4122ef7198c0Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4123ef7198c0Smrg_ACEOF
4124ef7198c0Smrg
4125ef7198c0Smrgfi
4126ef7198c0Smrg
4127ef7198c0Smrgdone
4128ef7198c0Smrg
4129ef7198c0Smrg
4130ef7198c0Smrg
4131ef7198c0Smrg
4132ef7198c0Smrg
4133ef7198c0Smrg
4134ef7198c0Smrg
4135ef7198c0Smrg
41363a67387eSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41373a67387eSmrg	if test -n "$ac_tool_prefix"; then
41383a67387eSmrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41393a67387eSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41403a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41413a67387eSmrg$as_echo_n "checking for $ac_word... " >&6; }
41423a67387eSmrgif ${ac_cv_path_PKG_CONFIG+:} false; then :
41433a67387eSmrg  $as_echo_n "(cached) " >&6
41443a67387eSmrgelse
41453a67387eSmrg  case $PKG_CONFIG in
41463a67387eSmrg  [\\/]* | ?:[\\/]*)
41473a67387eSmrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41483a67387eSmrg  ;;
41493a67387eSmrg  *)
41503a67387eSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41513a67387eSmrgfor as_dir in $PATH
4152ef7198c0Smrgdo
41533a67387eSmrg  IFS=$as_save_IFS
41543a67387eSmrg  test -z "$as_dir" && as_dir=.
41553a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
41563a67387eSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41573a67387eSmrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41583a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41593a67387eSmrg    break 2
41603a67387eSmrg  fi
41613a67387eSmrgdone
41623a67387eSmrg  done
41633a67387eSmrgIFS=$as_save_IFS
41643a67387eSmrg
41653a67387eSmrg  ;;
4166ef7198c0Smrgesac
41673a67387eSmrgfi
41683a67387eSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
41693a67387eSmrgif test -n "$PKG_CONFIG"; then
41703a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
41713a67387eSmrg$as_echo "$PKG_CONFIG" >&6; }
4172ef7198c0Smrgelse
41733a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41743a67387eSmrg$as_echo "no" >&6; }
4175ef7198c0Smrgfi
4176ef7198c0Smrg
4177ef7198c0Smrg
4178ef7198c0Smrgfi
41793a67387eSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then
41803a67387eSmrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
41813a67387eSmrg  # Extract the first word of "pkg-config", so it can be a program name with args.
41823a67387eSmrgset dummy pkg-config; ac_word=$2
41833a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41843a67387eSmrg$as_echo_n "checking for $ac_word... " >&6; }
41853a67387eSmrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
41863a67387eSmrg  $as_echo_n "(cached) " >&6
41873a67387eSmrgelse
41883a67387eSmrg  case $ac_pt_PKG_CONFIG in
41893a67387eSmrg  [\\/]* | ?:[\\/]*)
41903a67387eSmrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41913a67387eSmrg  ;;
4192ef7198c0Smrg  *)
41933a67387eSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41943a67387eSmrgfor as_dir in $PATH
41953a67387eSmrgdo
41963a67387eSmrg  IFS=$as_save_IFS
41973a67387eSmrg  test -z "$as_dir" && as_dir=.
41983a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
41993a67387eSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42003a67387eSmrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42013a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
42023a67387eSmrg    break 2
42033a67387eSmrg  fi
42043a67387eSmrgdone
42053a67387eSmrg  done
42063a67387eSmrgIFS=$as_save_IFS
4207ef7198c0Smrg
42083a67387eSmrg  ;;
42093a67387eSmrgesac
42103a67387eSmrgfi
42113a67387eSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42123a67387eSmrgif test -n "$ac_pt_PKG_CONFIG"; then
42133a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
42143a67387eSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
42153a67387eSmrgelse
42163a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42173a67387eSmrg$as_echo "no" >&6; }
42183a67387eSmrgfi
4219ef7198c0Smrg
42203a67387eSmrg  if test "x$ac_pt_PKG_CONFIG" = x; then
42213a67387eSmrg    PKG_CONFIG=""
42223a67387eSmrg  else
42233a67387eSmrg    case $cross_compiling:$ac_tool_warned in
42243a67387eSmrgyes:)
42253a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
42263a67387eSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
42273a67387eSmrgac_tool_warned=yes ;;
42283a67387eSmrgesac
42293a67387eSmrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
42303a67387eSmrg  fi
42313a67387eSmrgelse
42323a67387eSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42333a67387eSmrgfi
4234ef7198c0Smrg
42353a67387eSmrgfi
42363a67387eSmrgif test -n "$PKG_CONFIG"; then
42373a67387eSmrg	_pkg_min_version=0.9.0
42383a67387eSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
42393a67387eSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
42403a67387eSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42413a67387eSmrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42423a67387eSmrg$as_echo "yes" >&6; }
42433a67387eSmrg	else
42443a67387eSmrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42453a67387eSmrg$as_echo "no" >&6; }
42463a67387eSmrg		PKG_CONFIG=""
42473a67387eSmrg	fi
42483a67387eSmrgfi
4249ef7198c0Smrg# Make sure we can run config.sub.
4250ef7198c0Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
42513a67387eSmrg  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4252ef7198c0Smrg
42533a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4254ef7198c0Smrg$as_echo_n "checking build system type... " >&6; }
42553a67387eSmrgif ${ac_cv_build+:} false; then :
4256ef7198c0Smrg  $as_echo_n "(cached) " >&6
4257ef7198c0Smrgelse
4258ef7198c0Smrg  ac_build_alias=$build_alias
4259ef7198c0Smrgtest "x$ac_build_alias" = x &&
4260ef7198c0Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4261ef7198c0Smrgtest "x$ac_build_alias" = x &&
42623a67387eSmrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4263ef7198c0Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
42643a67387eSmrg  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4265ef7198c0Smrg
4266ef7198c0Smrgfi
42673a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4268ef7198c0Smrg$as_echo "$ac_cv_build" >&6; }
4269ef7198c0Smrgcase $ac_cv_build in
4270ef7198c0Smrg*-*-*) ;;
42713a67387eSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4272ef7198c0Smrgesac
4273ef7198c0Smrgbuild=$ac_cv_build
4274ef7198c0Smrgac_save_IFS=$IFS; IFS='-'
4275ef7198c0Smrgset x $ac_cv_build
4276ef7198c0Smrgshift
4277ef7198c0Smrgbuild_cpu=$1
4278ef7198c0Smrgbuild_vendor=$2
4279ef7198c0Smrgshift; shift
4280ef7198c0Smrg# Remember, the first character of IFS is used to create $*,
4281ef7198c0Smrg# except with old shells:
4282ef7198c0Smrgbuild_os=$*
4283ef7198c0SmrgIFS=$ac_save_IFS
4284ef7198c0Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4285ef7198c0Smrg
4286ef7198c0Smrg
42873a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4288ef7198c0Smrg$as_echo_n "checking host system type... " >&6; }
42893a67387eSmrgif ${ac_cv_host+:} false; then :
4290ef7198c0Smrg  $as_echo_n "(cached) " >&6
4291ef7198c0Smrgelse
4292ef7198c0Smrg  if test "x$host_alias" = x; then
4293ef7198c0Smrg  ac_cv_host=$ac_cv_build
4294ef7198c0Smrgelse
4295ef7198c0Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
42963a67387eSmrg    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4297ef7198c0Smrgfi
4298ef7198c0Smrg
4299ef7198c0Smrgfi
43003a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4301ef7198c0Smrg$as_echo "$ac_cv_host" >&6; }
4302ef7198c0Smrgcase $ac_cv_host in
4303ef7198c0Smrg*-*-*) ;;
43043a67387eSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4305ef7198c0Smrgesac
4306ef7198c0Smrghost=$ac_cv_host
4307ef7198c0Smrgac_save_IFS=$IFS; IFS='-'
4308ef7198c0Smrgset x $ac_cv_host
4309ef7198c0Smrgshift
4310ef7198c0Smrghost_cpu=$1
4311ef7198c0Smrghost_vendor=$2
4312ef7198c0Smrgshift; shift
4313ef7198c0Smrg# Remember, the first character of IFS is used to create $*,
4314ef7198c0Smrg# except with old shells:
4315ef7198c0Smrghost_os=$*
4316ef7198c0SmrgIFS=$ac_save_IFS
4317ef7198c0Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4318ef7198c0Smrg
4319ef7198c0Smrg
43203a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
43213a67387eSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; }
43223a67387eSmrgif ${ac_cv_path_SED+:} false; then :
43233a67387eSmrg  $as_echo_n "(cached) " >&6
43243a67387eSmrgelse
43253a67387eSmrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
43263a67387eSmrg     for ac_i in 1 2 3 4 5 6 7; do
43273a67387eSmrg       ac_script="$ac_script$as_nl$ac_script"
43283a67387eSmrg     done
43293a67387eSmrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
43303a67387eSmrg     { ac_script=; unset ac_script;}
43313a67387eSmrg     if test -z "$SED"; then
43323a67387eSmrg  ac_path_SED_found=false
43333a67387eSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
43343a67387eSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43353a67387eSmrgfor as_dir in $PATH
43363a67387eSmrgdo
43373a67387eSmrg  IFS=$as_save_IFS
43383a67387eSmrg  test -z "$as_dir" && as_dir=.
43393a67387eSmrg    for ac_prog in sed gsed; do
43403a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
43413a67387eSmrg      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
43423a67387eSmrg      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
43433a67387eSmrg# Check for GNU ac_path_SED and select it if it is found.
43443a67387eSmrg  # Check for GNU $ac_path_SED
43453a67387eSmrgcase `"$ac_path_SED" --version 2>&1` in
43463a67387eSmrg*GNU*)
43473a67387eSmrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
43483a67387eSmrg*)
43493a67387eSmrg  ac_count=0
43503a67387eSmrg  $as_echo_n 0123456789 >"conftest.in"
43513a67387eSmrg  while :
43523a67387eSmrg  do
43533a67387eSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
43543a67387eSmrg    mv "conftest.tmp" "conftest.in"
43553a67387eSmrg    cp "conftest.in" "conftest.nl"
43563a67387eSmrg    $as_echo '' >> "conftest.nl"
43573a67387eSmrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
43583a67387eSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
43593a67387eSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
43603a67387eSmrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
43613a67387eSmrg      # Best one so far, save it but keep looking for a better one
43623a67387eSmrg      ac_cv_path_SED="$ac_path_SED"
43633a67387eSmrg      ac_path_SED_max=$ac_count
43643a67387eSmrg    fi
43653a67387eSmrg    # 10*(2^10) chars as input seems more than enough
43663a67387eSmrg    test $ac_count -gt 10 && break
43673a67387eSmrg  done
43683a67387eSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
43693a67387eSmrgesac
43703a67387eSmrg
43713a67387eSmrg      $ac_path_SED_found && break 3
43723a67387eSmrg    done
43733a67387eSmrg  done
43743a67387eSmrg  done
43753a67387eSmrgIFS=$as_save_IFS
43763a67387eSmrg  if test -z "$ac_cv_path_SED"; then
43773a67387eSmrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
43783a67387eSmrg  fi
43793a67387eSmrgelse
43803a67387eSmrg  ac_cv_path_SED=$SED
43813a67387eSmrgfi
43823a67387eSmrg
43833a67387eSmrgfi
43843a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
43853a67387eSmrg$as_echo "$ac_cv_path_SED" >&6; }
43863a67387eSmrg SED="$ac_cv_path_SED"
43873a67387eSmrg  rm -f conftest.sed
43883a67387eSmrg
43893a67387eSmrg
4390ef7198c0Smrg
4391ef7198c0Smrg
4392ef7198c0Smrg
4393ef7198c0Smrgif  test "x$GCC" = xyes ; then
4394ef7198c0Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4395ef7198c0Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
43963a67387eSmrg-Wbad-function-cast -Wformat=2"
4397ef7198c0Smrg    case `$CC -dumpversion` in
4398ef7198c0Smrg    3.4.* | 4.*)
4399ef7198c0Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4400ef7198c0Smrg	;;
4401ef7198c0Smrg    esac
44023a67387eSmrgelse
44033a67387eSmrg    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
44043a67387eSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
44053a67387eSmrg  SUNCC="yes"
44063a67387eSmrgelse
44073a67387eSmrg  SUNCC="no"
44083a67387eSmrgfi
4409ef7198c0Smrg
44103a67387eSmrg    if test "x$SUNCC" = "xyes"; then
44113a67387eSmrg	CWARNFLAGS="-v"
44123a67387eSmrg    fi
44133a67387eSmrgfi
4414ef7198c0Smrg
4415ef7198c0Smrg
4416ef7198c0Smrg
44173a67387eSmrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4418ef7198c0Smrg
4419ef7198c0Smrg
4420ef7198c0Smrg
4421ef7198c0Smrg# Check whether --enable-strict-compilation was given.
44223a67387eSmrgif test "${enable_strict_compilation+set}" = set; then :
4423ef7198c0Smrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4424ef7198c0Smrgelse
4425ef7198c0Smrg  STRICT_COMPILE=no
4426ef7198c0Smrgfi
4427ef7198c0Smrg
4428ef7198c0Smrgif test "x$STRICT_COMPILE" = "xyes"; then
44293a67387eSmrg	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
44303a67387eSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4431ef7198c0Smrg  SUNCC="yes"
4432ef7198c0Smrgelse
4433ef7198c0Smrg  SUNCC="no"
4434ef7198c0Smrgfi
4435ef7198c0Smrg
44363a67387eSmrg	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
44373a67387eSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4438ef7198c0Smrg  INTELCC="yes"
4439ef7198c0Smrgelse
4440ef7198c0Smrg  INTELCC="no"
4441ef7198c0Smrgfi
4442ef7198c0Smrg
4443ef7198c0Smrg	if test "x$GCC" = xyes ; then
4444ef7198c0Smrg		STRICT_CFLAGS="-pedantic -Werror"
4445ef7198c0Smrg	elif test "x$SUNCC" = "xyes"; then
4446ef7198c0Smrg		STRICT_CFLAGS="-errwarn"
4447ef7198c0Smrg    elif test "x$INTELCC" = "xyes"; then
4448ef7198c0Smrg		STRICT_CFLAGS="-Werror"
4449ef7198c0Smrg	fi
4450ef7198c0Smrgfi
4451ef7198c0SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4452ef7198c0Smrg
4453ef7198c0Smrg
4454ef7198c0Smrg
4455ef7198c0Smrg
4456ef7198c0Smrgcat >>confdefs.h <<_ACEOF
4457ef7198c0Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4458ef7198c0Smrg_ACEOF
4459ef7198c0Smrg
4460ef7198c0Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4461ef7198c0Smrg	if test "x$PVM" = "x"; then
4462ef7198c0Smrg		PVM="0"
4463ef7198c0Smrg	fi
4464ef7198c0Smrg
4465ef7198c0Smrgcat >>confdefs.h <<_ACEOF
4466ef7198c0Smrg#define PACKAGE_VERSION_MINOR $PVM
4467ef7198c0Smrg_ACEOF
4468ef7198c0Smrg
4469ef7198c0Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4470ef7198c0Smrg	if test "x$PVP" = "x"; then
4471ef7198c0Smrg		PVP="0"
4472ef7198c0Smrg	fi
4473ef7198c0Smrg
4474ef7198c0Smrgcat >>confdefs.h <<_ACEOF
4475ef7198c0Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
4476ef7198c0Smrg_ACEOF
4477ef7198c0Smrg
4478ef7198c0Smrg
4479ef7198c0Smrg
44803a67387eSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
44813a67387eSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
44823a67387eSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4483ef7198c0Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
4484ef7198c0Smrg
44853a67387eSmrg
44863a67387eSmrg
44873a67387eSmrg
44883a67387eSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
44893a67387eSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
44903a67387eSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
44913a67387eSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
44923a67387eSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
44933a67387eSmrg
4494ef7198c0Smrg
4495ef7198c0Smrg
4496ef7198c0Smrg
4497ef7198c0Smrg
4498ef7198c0Smrg
4499ef7198c0Smrgif test x$APP_MAN_SUFFIX = x    ; then
4500ef7198c0Smrg    APP_MAN_SUFFIX=1
4501ef7198c0Smrgfi
4502ef7198c0Smrgif test x$APP_MAN_DIR = x    ; then
4503ef7198c0Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
450456f6b22bSmrgfi
450556f6b22bSmrg
4506ef7198c0Smrgif test x$LIB_MAN_SUFFIX = x    ; then
4507ef7198c0Smrg    LIB_MAN_SUFFIX=3
4508ef7198c0Smrgfi
4509ef7198c0Smrgif test x$LIB_MAN_DIR = x    ; then
4510ef7198c0Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4511ef7198c0Smrgfi
4512ef7198c0Smrg
4513ef7198c0Smrgif test x$FILE_MAN_SUFFIX = x    ; then
4514ef7198c0Smrg    case $host_os in
4515ef7198c0Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
4516ef7198c0Smrg	*)		FILE_MAN_SUFFIX=5  ;;
4517ef7198c0Smrg    esac
4518ef7198c0Smrgfi
4519ef7198c0Smrgif test x$FILE_MAN_DIR = x    ; then
4520ef7198c0Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4521ef7198c0Smrgfi
4522ef7198c0Smrg
4523ef7198c0Smrgif test x$MISC_MAN_SUFFIX = x    ; then
4524ef7198c0Smrg    case $host_os in
4525ef7198c0Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
4526ef7198c0Smrg	*)		MISC_MAN_SUFFIX=7  ;;
4527ef7198c0Smrg    esac
4528ef7198c0Smrgfi
4529ef7198c0Smrgif test x$MISC_MAN_DIR = x    ; then
4530ef7198c0Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4531ef7198c0Smrgfi
4532ef7198c0Smrg
4533ef7198c0Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
4534ef7198c0Smrg    case $host_os in
4535ef7198c0Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4536ef7198c0Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
4537ef7198c0Smrg    esac
4538ef7198c0Smrgfi
4539ef7198c0Smrgif test x$DRIVER_MAN_DIR = x    ; then
4540ef7198c0Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4541ef7198c0Smrgfi
4542ef7198c0Smrg
4543ef7198c0Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
4544ef7198c0Smrg    case $host_os in
4545ef7198c0Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4546ef7198c0Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
4547ef7198c0Smrg    esac
4548ef7198c0Smrgfi
4549ef7198c0Smrgif test x$ADMIN_MAN_DIR = x    ; then
4550ef7198c0Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4551ef7198c0Smrgfi
4552ef7198c0Smrg
4553ef7198c0Smrg
4554ef7198c0Smrg
4555ef7198c0Smrg
4556ef7198c0Smrg
4557ef7198c0Smrg
4558ef7198c0Smrg
4559ef7198c0Smrg
4560ef7198c0Smrg
4561ef7198c0Smrg
4562ef7198c0Smrg
4563ef7198c0Smrg
4564ef7198c0Smrg
4565ef7198c0Smrg
456656f6b22bSmrg
45673a67387eSmrgXORG_MAN_PAGE="X Version 11"
456856f6b22bSmrg
45693a67387eSmrgMAN_SUBSTS="\
45703a67387eSmrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
45713a67387eSmrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
45723a67387eSmrg	-e 's|__xservername__|Xorg|g' \
45733a67387eSmrg	-e 's|__xconfigfile__|xorg.conf|g' \
45743a67387eSmrg	-e 's|__projectroot__|\$(prefix)|g' \
45753a67387eSmrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
45763a67387eSmrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
45773a67387eSmrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
45783a67387eSmrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
45793a67387eSmrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
45803a67387eSmrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
45813a67387eSmrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
458256f6b22bSmrg
458356f6b22bSmrg
458456f6b22bSmrg
45853a67387eSmrg# Check whether --enable-silent-rules was given.
45863a67387eSmrgif test "${enable_silent_rules+set}" = set; then :
45873a67387eSmrg  enableval=$enable_silent_rules;
458856f6b22bSmrgfi
4589ef7198c0Smrg
45903a67387eSmrgcase $enable_silent_rules in
45913a67387eSmrgyes) AM_DEFAULT_VERBOSITY=0;;
45923a67387eSmrgno)  AM_DEFAULT_VERBOSITY=1;;
45933a67387eSmrg*)   AM_DEFAULT_VERBOSITY=0;;
45943a67387eSmrgesac
45953a67387eSmrgAM_BACKSLASH='\'
45963a67387eSmrg
45973a67387eSmrg
45983a67387eSmrg
45993a67387eSmrg
46003a67387eSmrg
46013a67387eSmrg# Require X.Org's font util macros 1.2 or later
4602ef7198c0Smrg
4603ef7198c0Smrg
4604ef7198c0Smrg
460556f6b22bSmrg
460656f6b22bSmrg
4607ef7198c0Smrg
460856f6b22bSmrg
4609ef7198c0Smrg
4610ef7198c0Smrg
4611ef7198c0Smrg
4612ef7198c0Smrg
4613ef7198c0Smrg
4614ef7198c0Smrg
46153a67387eSmrg
46163a67387eSmrg
46173a67387eSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
4618ef7198c0Smrg$as_echo_n "checking for root directory for font files... " >&6; }
4619ef7198c0Smrg
4620ef7198c0Smrg# Check whether --with-fontrootdir was given.
46213a67387eSmrgif test "${with_fontrootdir+set}" = set; then :
4622ef7198c0Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
4623ef7198c0Smrgfi
4624ef7198c0Smrg
4625ef7198c0Smrg	# if --with-fontrootdir not specified...
4626ef7198c0Smrg	if test "x${FONTROOTDIR}" = "x"; then
4627ef7198c0Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
4628ef7198c0Smrg	fi
4629ef7198c0Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
4630ef7198c0Smrg	if test "x${FONTROOTDIR}" = "x"; then
4631ef7198c0Smrg		FONTROOTDIR="${datadir}/fonts/X11"
4632ef7198c0Smrg	fi
4633ef7198c0Smrg
46343a67387eSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
4635ef7198c0Smrg$as_echo "${FONTROOTDIR}" >&6; }
4636ef7198c0Smrg
4637ef7198c0Smrg
4638ef7198c0Smrg
4639ef7198c0Smrg
46403a67387eSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5
4641ef7198c0Smrg$as_echo_n "checking for directory for 100dpi files... " >&6; }
4642ef7198c0Smrg
4643ef7198c0Smrg# Check whether --with-fontdir was given.
46443a67387eSmrgif test "${with_fontdir+set}" = set; then :
4645ef7198c0Smrg  withval=$with_fontdir; FONTDIR="${withval}"
4646ef7198c0Smrgelse
4647ef7198c0Smrg  FONTDIR='${FONTROOTDIR}/100dpi'
4648ef7198c0Smrgfi
4649ef7198c0Smrg
4650ef7198c0Smrg
46513a67387eSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5
4652ef7198c0Smrg$as_echo "${FONTDIR}" >&6; }
4653ef7198c0Smrg
465456f6b22bSmrg
4655ef7198c0Smrg
4656ef7198c0Smrg
4657ef7198c0Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
4658ef7198c0Smrgset dummy fc-cache; ac_word=$2
46593a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
46613a67387eSmrgif ${ac_cv_path_FCCACHE+:} false; then :
4662ef7198c0Smrg  $as_echo_n "(cached) " >&6
4663ef7198c0Smrgelse
4664ef7198c0Smrg  case $FCCACHE in
4665ef7198c0Smrg  [\\/]* | ?:[\\/]*)
4666ef7198c0Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
4667ef7198c0Smrg  ;;
4668ef7198c0Smrg  *)
4669ef7198c0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670ef7198c0Smrgfor as_dir in $PATH
4671ef7198c0Smrgdo
4672ef7198c0Smrg  IFS=$as_save_IFS
4673ef7198c0Smrg  test -z "$as_dir" && as_dir=.
46743a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
4675ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4676ef7198c0Smrg    ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext"
46773a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678ef7198c0Smrg    break 2
4679ef7198c0Smrg  fi
4680ef7198c0Smrgdone
46813a67387eSmrg  done
4682ef7198c0SmrgIFS=$as_save_IFS
4683ef7198c0Smrg
4684ef7198c0Smrg  ;;
4685ef7198c0Smrgesac
4686ef7198c0Smrgfi
4687ef7198c0SmrgFCCACHE=$ac_cv_path_FCCACHE
4688ef7198c0Smrgif test -n "$FCCACHE"; then
46893a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
4690ef7198c0Smrg$as_echo "$FCCACHE" >&6; }
469156f6b22bSmrgelse
46923a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693ef7198c0Smrg$as_echo "no" >&6; }
469456f6b22bSmrgfi
469556f6b22bSmrg
4696ef7198c0Smrg
4697ef7198c0Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
4698ef7198c0Smrg	if test x"$FCCACHE" = x ; then
4699ef7198c0Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
4700ef7198c0Smrg	else
4701ef7198c0Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
4702ef7198c0Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
4703ef7198c0Smrg	fi
4704ef7198c0Smrg
4705ef7198c0Smrg
4706ef7198c0Smrg
4707ef7198c0Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
470856f6b22bSmrgset dummy mkfontdir; ac_word=$2
47093a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
47113a67387eSmrgif ${ac_cv_path_MKFONTDIR+:} false; then :
4712ef7198c0Smrg  $as_echo_n "(cached) " >&6
471356f6b22bSmrgelse
471456f6b22bSmrg  case $MKFONTDIR in
471556f6b22bSmrg  [\\/]* | ?:[\\/]*)
471656f6b22bSmrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
471756f6b22bSmrg  ;;
471856f6b22bSmrg  *)
471956f6b22bSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
472056f6b22bSmrgfor as_dir in $PATH
472156f6b22bSmrgdo
472256f6b22bSmrg  IFS=$as_save_IFS
472356f6b22bSmrg  test -z "$as_dir" && as_dir=.
47243a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
4725ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
472656f6b22bSmrg    ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext"
47273a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
472856f6b22bSmrg    break 2
472956f6b22bSmrg  fi
473056f6b22bSmrgdone
47313a67387eSmrg  done
4732ef7198c0SmrgIFS=$as_save_IFS
473356f6b22bSmrg
473456f6b22bSmrg  ;;
473556f6b22bSmrgesac
473656f6b22bSmrgfi
473756f6b22bSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
473856f6b22bSmrgif test -n "$MKFONTDIR"; then
47393a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
4740ef7198c0Smrg$as_echo "$MKFONTDIR" >&6; }
474156f6b22bSmrgelse
47423a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743ef7198c0Smrg$as_echo "no" >&6; }
474456f6b22bSmrgfi
474556f6b22bSmrg
474656f6b22bSmrg
47473a67387eSmrg	if test x"$MKFONTDIR" = x; then
47483a67387eSmrg		as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5
4749ef7198c0Smrg	fi
475056f6b22bSmrg
475156f6b22bSmrg
475256f6b22bSmrg
4753ef7198c0Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
4754ef7198c0Smrgset dummy bdftopcf; ac_word=$2
47553a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
47573a67387eSmrgif ${ac_cv_path_BDFTOPCF+:} false; then :
4758ef7198c0Smrg  $as_echo_n "(cached) " >&6
4759ef7198c0Smrgelse
4760ef7198c0Smrg  case $BDFTOPCF in
4761ef7198c0Smrg  [\\/]* | ?:[\\/]*)
4762ef7198c0Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
4763ef7198c0Smrg  ;;
4764ef7198c0Smrg  *)
4765ef7198c0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766ef7198c0Smrgfor as_dir in $PATH
4767ef7198c0Smrgdo
4768ef7198c0Smrg  IFS=$as_save_IFS
4769ef7198c0Smrg  test -z "$as_dir" && as_dir=.
47703a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
4771ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4772ef7198c0Smrg    ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext"
47733a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774ef7198c0Smrg    break 2
4775ef7198c0Smrg  fi
4776ef7198c0Smrgdone
47773a67387eSmrg  done
4778ef7198c0SmrgIFS=$as_save_IFS
4779ef7198c0Smrg
4780ef7198c0Smrg  ;;
4781ef7198c0Smrgesac
4782ef7198c0Smrgfi
4783ef7198c0SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
4784ef7198c0Smrgif test -n "$BDFTOPCF"; then
47853a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5
4786ef7198c0Smrg$as_echo "$BDFTOPCF" >&6; }
478756f6b22bSmrgelse
47883a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789ef7198c0Smrg$as_echo "no" >&6; }
4790ef7198c0Smrgfi
4791ef7198c0Smrg
479256f6b22bSmrg
47933a67387eSmrg	if test x"$BDFTOPCF" = x; then
47943a67387eSmrg		as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5
4795ef7198c0Smrg	fi
479656f6b22bSmrg
479756f6b22bSmrg
47983a67387eSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5
4799ef7198c0Smrg$as_echo_n "checking font compression method... " >&6; }
480056f6b22bSmrg
4801ef7198c0Smrg# Check whether --with-compression was given.
48023a67387eSmrgif test "${with_compression+set}" = set; then :
4803ef7198c0Smrg  withval=$with_compression; compression="$withval"
480456f6b22bSmrgelse
4805ef7198c0Smrg  compression="yes"
4806ef7198c0Smrgfi
4807ef7198c0Smrg
4808ef7198c0Smrg	if test x"$compression" = "xyes" ; then
4809ef7198c0Smrg		compression="gzip"
4810ef7198c0Smrg	fi
48113a67387eSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5
4812ef7198c0Smrg$as_echo "${compression}" >&6; }
4813ef7198c0Smrg	case ${compression} in
4814ef7198c0Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
4815ef7198c0Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;;
4816ef7198c0Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
4817ef7198c0Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
48183a67387eSmrg	 *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;;
4819ef7198c0Smrg	esac
4820ef7198c0Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
4821ef7198c0Smrg
4822ef7198c0Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
4823ef7198c0Smrgset dummy ${compression}; ac_word=$2
48243a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; }
48263a67387eSmrgif ${ac_cv_path_COMPRESS+:} false; then :
4827ef7198c0Smrg  $as_echo_n "(cached) " >&6
4828ef7198c0Smrgelse
4829ef7198c0Smrg  case $COMPRESS in
4830ef7198c0Smrg  [\\/]* | ?:[\\/]*)
4831ef7198c0Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
4832ef7198c0Smrg  ;;
4833ef7198c0Smrg  *)
4834ef7198c0Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835ef7198c0Smrgfor as_dir in $PATH
4836ef7198c0Smrgdo
4837ef7198c0Smrg  IFS=$as_save_IFS
4838ef7198c0Smrg  test -z "$as_dir" && as_dir=.
48393a67387eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
4840ef7198c0Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4841ef7198c0Smrg    ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext"
48423a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843ef7198c0Smrg    break 2
4844ef7198c0Smrg  fi
4845ef7198c0Smrgdone
48463a67387eSmrg  done
4847ef7198c0SmrgIFS=$as_save_IFS
4848ef7198c0Smrg
4849ef7198c0Smrg  ;;
4850ef7198c0Smrgesac
4851ef7198c0Smrgfi
4852ef7198c0SmrgCOMPRESS=$ac_cv_path_COMPRESS
4853ef7198c0Smrgif test -n "$COMPRESS"; then
48543a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5
4855ef7198c0Smrg$as_echo "$COMPRESS" >&6; }
4856ef7198c0Smrgelse
48573a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858ef7198c0Smrg$as_echo "no" >&6; }
4859ef7198c0Smrgfi
4860ef7198c0Smrg
4861ef7198c0Smrg
48623a67387eSmrg	if test x"$COMPRESS" = x; then
48633a67387eSmrg		as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5
4864ef7198c0Smrg	fi
4865ef7198c0Smrg
486656f6b22bSmrg	fi
486756f6b22bSmrg
486856f6b22bSmrg
4869ef7198c0Smrg
4870ef7198c0Smrg
4871ef7198c0Smrgac_config_files="$ac_config_files Makefile"
4872ef7198c0Smrg
487356f6b22bSmrgcat >confcache <<\_ACEOF
487456f6b22bSmrg# This file is a shell script that caches the results of configure
487556f6b22bSmrg# tests run on this system so they can be shared between configure
487656f6b22bSmrg# scripts and configure runs, see configure's option --config-cache.
487756f6b22bSmrg# It is not useful on other systems.  If it contains results you don't
487856f6b22bSmrg# want to keep, you may remove or edit it.
487956f6b22bSmrg#
488056f6b22bSmrg# config.status only pays attention to the cache file if you give it
488156f6b22bSmrg# the --recheck option to rerun configure.
488256f6b22bSmrg#
488356f6b22bSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
488456f6b22bSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
488556f6b22bSmrg# following values.
488656f6b22bSmrg
488756f6b22bSmrg_ACEOF
488856f6b22bSmrg
488956f6b22bSmrg# The following way of writing the cache mishandles newlines in values,
489056f6b22bSmrg# but we know of no workaround that is simple, portable, and efficient.
4891ef7198c0Smrg# So, we kill variables containing newlines.
489256f6b22bSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
489356f6b22bSmrg# and sets the high bit in the cache file unless we assign to the vars.
4894ef7198c0Smrg(
4895ef7198c0Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4896ef7198c0Smrg    eval ac_val=\$$ac_var
4897ef7198c0Smrg    case $ac_val in #(
4898ef7198c0Smrg    *${as_nl}*)
4899ef7198c0Smrg      case $ac_var in #(
49003a67387eSmrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4901ef7198c0Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4902ef7198c0Smrg      esac
4903ef7198c0Smrg      case $ac_var in #(
4904ef7198c0Smrg      _ | IFS | as_nl) ;; #(
4905ef7198c0Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
49063a67387eSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
4907ef7198c0Smrg      esac ;;
4908ef7198c0Smrg    esac
4909ef7198c0Smrg  done
4910ef7198c0Smrg
491156f6b22bSmrg  (set) 2>&1 |
4912ef7198c0Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4913ef7198c0Smrg    *${as_nl}ac_space=\ *)
49143a67387eSmrg      # `set' does not quote correctly, so add quotes: double-quote
49153a67387eSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
491656f6b22bSmrg      sed -n \
491756f6b22bSmrg	"s/'/'\\\\''/g;
491856f6b22bSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4919ef7198c0Smrg      ;; #(
492056f6b22bSmrg    *)
492156f6b22bSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
4922ef7198c0Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
492356f6b22bSmrg      ;;
4924ef7198c0Smrg    esac |
4925ef7198c0Smrg    sort
4926ef7198c0Smrg) |
492756f6b22bSmrg  sed '
4928ef7198c0Smrg     /^ac_cv_env_/b end
492956f6b22bSmrg     t clear
4930ef7198c0Smrg     :clear
493156f6b22bSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
493256f6b22bSmrg     t end
4933ef7198c0Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4934ef7198c0Smrg     :end' >>confcache
4935ef7198c0Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4936ef7198c0Smrg  if test -w "$cache_file"; then
49373a67387eSmrg    if test "x$cache_file" != "x/dev/null"; then
49383a67387eSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4939ef7198c0Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
49403a67387eSmrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
49413a67387eSmrg	cat confcache >"$cache_file"
49423a67387eSmrg      else
49433a67387eSmrg        case $cache_file in #(
49443a67387eSmrg        */* | ?:*)
49453a67387eSmrg	  mv -f confcache "$cache_file"$$ &&
49463a67387eSmrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
49473a67387eSmrg        *)
49483a67387eSmrg	  mv -f confcache "$cache_file" ;;
49493a67387eSmrg	esac
49503a67387eSmrg      fi
49513a67387eSmrg    fi
495256f6b22bSmrg  else
49533a67387eSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4954ef7198c0Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
495556f6b22bSmrg  fi
495656f6b22bSmrgfi
495756f6b22bSmrgrm -f confcache
495856f6b22bSmrg
495956f6b22bSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
496056f6b22bSmrg# Let make expand exec_prefix.
496156f6b22bSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
496256f6b22bSmrg
496356f6b22bSmrg# Transform confdefs.h into DEFS.
496456f6b22bSmrg# Protect against shell expansion while executing Makefile rules.
496556f6b22bSmrg# Protect against Makefile macro expansion.
496656f6b22bSmrg#
496756f6b22bSmrg# If the first sed substitution is executed (which looks for macros that
4968ef7198c0Smrg# take arguments), then branch to the quote section.  Otherwise,
496956f6b22bSmrg# look for a macro that doesn't take arguments.
4970ef7198c0Smrgac_script='
4971ef7198c0Smrg:mline
4972ef7198c0Smrg/\\$/{
4973ef7198c0Smrg N
4974ef7198c0Smrg s,\\\n,,
4975ef7198c0Smrg b mline
4976ef7198c0Smrg}
497756f6b22bSmrgt clear
4978ef7198c0Smrg:clear
4979ef7198c0Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
498056f6b22bSmrgt quote
4981ef7198c0Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
498256f6b22bSmrgt quote
4983ef7198c0Smrgb any
4984ef7198c0Smrg:quote
4985ef7198c0Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4986ef7198c0Smrgs/\[/\\&/g
4987ef7198c0Smrgs/\]/\\&/g
4988ef7198c0Smrgs/\$/$$/g
4989ef7198c0SmrgH
4990ef7198c0Smrg:any
4991ef7198c0Smrg${
4992ef7198c0Smrg	g
4993ef7198c0Smrg	s/^\n//
4994ef7198c0Smrg	s/\n/ /g
4995ef7198c0Smrg	p
4996ef7198c0Smrg}
4997ef7198c0Smrg'
4998ef7198c0SmrgDEFS=`sed -n "$ac_script" confdefs.h`
499956f6b22bSmrg
500056f6b22bSmrg
500156f6b22bSmrgac_libobjs=
500256f6b22bSmrgac_ltlibobjs=
50033a67387eSmrgU=
500456f6b22bSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
500556f6b22bSmrg  # 1. Remove the extension, and $U if already installed.
5006ef7198c0Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5007ef7198c0Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5008ef7198c0Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5009ef7198c0Smrg  #    will be set to the directory where LIBOBJS objects are built.
50103a67387eSmrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50113a67387eSmrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
501256f6b22bSmrgdone
501356f6b22bSmrgLIBOBJS=$ac_libobjs
501456f6b22bSmrg
501556f6b22bSmrgLTLIBOBJS=$ac_ltlibobjs
501656f6b22bSmrg
501756f6b22bSmrg
5018ef7198c0Smrg if test -n "$EXEEXT"; then
5019ef7198c0Smrg  am__EXEEXT_TRUE=
5020ef7198c0Smrg  am__EXEEXT_FALSE='#'
5021ef7198c0Smrgelse
5022ef7198c0Smrg  am__EXEEXT_TRUE='#'
5023ef7198c0Smrg  am__EXEEXT_FALSE=
5024ef7198c0Smrgfi
5025ef7198c0Smrg
502656f6b22bSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
50273a67387eSmrg  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
50283a67387eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5029ef7198c0Smrgfi
5030ef7198c0Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
50313a67387eSmrg  as_fn_error $? "conditional \"AMDEP\" was never defined.
50323a67387eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5033ef7198c0Smrgfi
5034ef7198c0Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
50353a67387eSmrg  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
50363a67387eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
503756f6b22bSmrgfi
503856f6b22bSmrg
50393a67387eSmrg: "${CONFIG_STATUS=./config.status}"
5040ef7198c0Smrgac_write_fail=0
504156f6b22bSmrgac_clean_files_save=$ac_clean_files
504256f6b22bSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
50433a67387eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5044ef7198c0Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
50453a67387eSmrgas_write_fail=0
50463a67387eSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
504756f6b22bSmrg#! $SHELL
504856f6b22bSmrg# Generated by $as_me.
504956f6b22bSmrg# Run this file to recreate the current configuration.
505056f6b22bSmrg# Compiler output produced by configure, useful for debugging
505156f6b22bSmrg# configure, is in config.log if it exists.
505256f6b22bSmrg
505356f6b22bSmrgdebug=false
505456f6b22bSmrgac_cs_recheck=false
505556f6b22bSmrgac_cs_silent=false
505656f6b22bSmrg
50573a67387eSmrgSHELL=\${CONFIG_SHELL-$SHELL}
50583a67387eSmrgexport SHELL
50593a67387eSmrg_ASEOF
50603a67387eSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
50613a67387eSmrg## -------------------- ##
50623a67387eSmrg## M4sh Initialization. ##
50633a67387eSmrg## -------------------- ##
506456f6b22bSmrg
5065ef7198c0Smrg# Be more Bourne compatible
5066ef7198c0SmrgDUALCASE=1; export DUALCASE # for MKS sh
50673a67387eSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
506856f6b22bSmrg  emulate sh
506956f6b22bSmrg  NULLCMD=:
5070ef7198c0Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
507156f6b22bSmrg  # is contrary to our usage.  Disable this feature.
507256f6b22bSmrg  alias -g '${1+"$@"}'='"$@"'
5073ef7198c0Smrg  setopt NO_GLOB_SUBST
5074ef7198c0Smrgelse
50753a67387eSmrg  case `(set -o) 2>/dev/null` in #(
50763a67387eSmrg  *posix*) :
50773a67387eSmrg    set -o posix ;; #(
50783a67387eSmrg  *) :
50793a67387eSmrg     ;;
5080ef7198c0Smrgesac
5081ef7198c0Smrgfi
5082ef7198c0Smrg
5083ef7198c0Smrg
5084ef7198c0Smrgas_nl='
5085ef7198c0Smrg'
5086ef7198c0Smrgexport as_nl
5087ef7198c0Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
5088ef7198c0Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5089ef7198c0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5090ef7198c0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50913a67387eSmrg# Prefer a ksh shell builtin over an external printf program on Solaris,
50923a67387eSmrg# but without wasting forks for bash or zsh.
50933a67387eSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \
50943a67387eSmrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50953a67387eSmrg  as_echo='print -r --'
50963a67387eSmrg  as_echo_n='print -rn --'
50973a67387eSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5098ef7198c0Smrg  as_echo='printf %s\n'
5099ef7198c0Smrg  as_echo_n='printf %s'
5100ef7198c0Smrgelse
5101ef7198c0Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5102ef7198c0Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5103ef7198c0Smrg    as_echo_n='/usr/ucb/echo -n'
5104ef7198c0Smrg  else
5105ef7198c0Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5106ef7198c0Smrg    as_echo_n_body='eval
5107ef7198c0Smrg      arg=$1;
51083a67387eSmrg      case $arg in #(
5109ef7198c0Smrg      *"$as_nl"*)
5110ef7198c0Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
5111ef7198c0Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5112ef7198c0Smrg      esac;
5113ef7198c0Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5114ef7198c0Smrg    '
5115ef7198c0Smrg    export as_echo_n_body
5116ef7198c0Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
5117ef7198c0Smrg  fi
5118ef7198c0Smrg  export as_echo_body
5119ef7198c0Smrg  as_echo='sh -c $as_echo_body as_echo'
5120ef7198c0Smrgfi
5121ef7198c0Smrg
5122ef7198c0Smrg# The user is always right.
5123ef7198c0Smrgif test "${PATH_SEPARATOR+set}" != set; then
5124ef7198c0Smrg  PATH_SEPARATOR=:
5125ef7198c0Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5126ef7198c0Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5127ef7198c0Smrg      PATH_SEPARATOR=';'
5128ef7198c0Smrg  }
512956f6b22bSmrgfi
513056f6b22bSmrg
513156f6b22bSmrg
5132ef7198c0Smrg# IFS
5133ef7198c0Smrg# We need space, tab and new line, in precisely that order.  Quoting is
5134ef7198c0Smrg# there to prevent editors from complaining about space-tab.
5135ef7198c0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5136ef7198c0Smrg# splitting by setting IFS to empty value.)
5137ef7198c0SmrgIFS=" ""	$as_nl"
5138ef7198c0Smrg
5139ef7198c0Smrg# Find who we are.  Look in the path if we contain no directory separator.
51403a67387eSmrgas_myself=
51413a67387eSmrgcase $0 in #((
5142ef7198c0Smrg  *[\\/]* ) as_myself=$0 ;;
5143ef7198c0Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144ef7198c0Smrgfor as_dir in $PATH
5145ef7198c0Smrgdo
5146ef7198c0Smrg  IFS=$as_save_IFS
5147ef7198c0Smrg  test -z "$as_dir" && as_dir=.
51483a67387eSmrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51493a67387eSmrg  done
5150ef7198c0SmrgIFS=$as_save_IFS
5151ef7198c0Smrg
5152ef7198c0Smrg     ;;
5153ef7198c0Smrgesac
5154ef7198c0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
5155ef7198c0Smrg# in which case we are not to be found in the path.
5156ef7198c0Smrgif test "x$as_myself" = x; then
5157ef7198c0Smrg  as_myself=$0
5158ef7198c0Smrgfi
5159ef7198c0Smrgif test ! -f "$as_myself"; then
5160ef7198c0Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51613a67387eSmrg  exit 1
5162ef7198c0Smrgfi
5163ef7198c0Smrg
51643a67387eSmrg# Unset variables that we do not need and which cause bugs (e.g. in
51653a67387eSmrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
51663a67387eSmrg# suppresses any "Segmentation fault" message there.  '((' could
51673a67387eSmrg# trigger a bug in pdksh 5.2.14.
51683a67387eSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH
51693a67387eSmrgdo eval test x\${$as_var+set} = xset \
51703a67387eSmrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5171ef7198c0Smrgdone
517256f6b22bSmrgPS1='$ '
517356f6b22bSmrgPS2='> '
517456f6b22bSmrgPS4='+ '
517556f6b22bSmrg
517656f6b22bSmrg# NLS nuisances.
5177ef7198c0SmrgLC_ALL=C
5178ef7198c0Smrgexport LC_ALL
5179ef7198c0SmrgLANGUAGE=C
5180ef7198c0Smrgexport LANGUAGE
518156f6b22bSmrg
51823a67387eSmrg# CDPATH.
51833a67387eSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
51843a67387eSmrg
51853a67387eSmrg
51863a67387eSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
51873a67387eSmrg# ----------------------------------------
51883a67387eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
51893a67387eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
51903a67387eSmrg# script with STATUS, using 1 if that was 0.
51913a67387eSmrgas_fn_error ()
51923a67387eSmrg{
51933a67387eSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
51943a67387eSmrg  if test "$4"; then
51953a67387eSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
51963a67387eSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
51973a67387eSmrg  fi
51983a67387eSmrg  $as_echo "$as_me: error: $2" >&2
51993a67387eSmrg  as_fn_exit $as_status
52003a67387eSmrg} # as_fn_error
52013a67387eSmrg
52023a67387eSmrg
52033a67387eSmrg# as_fn_set_status STATUS
52043a67387eSmrg# -----------------------
52053a67387eSmrg# Set $? to STATUS, without forking.
52063a67387eSmrgas_fn_set_status ()
52073a67387eSmrg{
52083a67387eSmrg  return $1
52093a67387eSmrg} # as_fn_set_status
52103a67387eSmrg
52113a67387eSmrg# as_fn_exit STATUS
52123a67387eSmrg# -----------------
52133a67387eSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
52143a67387eSmrgas_fn_exit ()
52153a67387eSmrg{
52163a67387eSmrg  set +e
52173a67387eSmrg  as_fn_set_status $1
52183a67387eSmrg  exit $1
52193a67387eSmrg} # as_fn_exit
52203a67387eSmrg
52213a67387eSmrg# as_fn_unset VAR
52223a67387eSmrg# ---------------
52233a67387eSmrg# Portably unset VAR.
52243a67387eSmrgas_fn_unset ()
52253a67387eSmrg{
52263a67387eSmrg  { eval $1=; unset $1;}
52273a67387eSmrg}
52283a67387eSmrgas_unset=as_fn_unset
52293a67387eSmrg# as_fn_append VAR VALUE
52303a67387eSmrg# ----------------------
52313a67387eSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
52323a67387eSmrg# advantage of any shell optimizations that allow amortized linear growth over
52333a67387eSmrg# repeated appends, instead of the typical quadratic growth present in naive
52343a67387eSmrg# implementations.
52353a67387eSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
52363a67387eSmrg  eval 'as_fn_append ()
52373a67387eSmrg  {
52383a67387eSmrg    eval $1+=\$2
52393a67387eSmrg  }'
52403a67387eSmrgelse
52413a67387eSmrg  as_fn_append ()
52423a67387eSmrg  {
52433a67387eSmrg    eval $1=\$$1\$2
52443a67387eSmrg  }
52453a67387eSmrgfi # as_fn_append
52463a67387eSmrg
52473a67387eSmrg# as_fn_arith ARG...
52483a67387eSmrg# ------------------
52493a67387eSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
52503a67387eSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
52513a67387eSmrg# must be portable across $(()) and expr.
52523a67387eSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
52533a67387eSmrg  eval 'as_fn_arith ()
52543a67387eSmrg  {
52553a67387eSmrg    as_val=$(( $* ))
52563a67387eSmrg  }'
52573a67387eSmrgelse
52583a67387eSmrg  as_fn_arith ()
52593a67387eSmrg  {
52603a67387eSmrg    as_val=`expr "$@" || test $? -eq 1`
52613a67387eSmrg  }
52623a67387eSmrgfi # as_fn_arith
52633a67387eSmrg
52643a67387eSmrg
5265ef7198c0Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
5266ef7198c0Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
526756f6b22bSmrg  as_expr=expr
526856f6b22bSmrgelse
526956f6b22bSmrg  as_expr=false
527056f6b22bSmrgfi
527156f6b22bSmrg
5272ef7198c0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
527356f6b22bSmrg  as_basename=basename
527456f6b22bSmrgelse
527556f6b22bSmrg  as_basename=false
527656f6b22bSmrgfi
527756f6b22bSmrg
52783a67387eSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52793a67387eSmrg  as_dirname=dirname
52803a67387eSmrgelse
52813a67387eSmrg  as_dirname=false
52823a67387eSmrgfi
528356f6b22bSmrg
5284ef7198c0Smrgas_me=`$as_basename -- "$0" ||
528556f6b22bSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
528656f6b22bSmrg	 X"$0" : 'X\(//\)$' \| \
5287ef7198c0Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5288ef7198c0Smrg$as_echo X/"$0" |
5289ef7198c0Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
5290ef7198c0Smrg	    s//\1/
5291ef7198c0Smrg	    q
5292ef7198c0Smrg	  }
5293ef7198c0Smrg	  /^X\/\(\/\/\)$/{
5294ef7198c0Smrg	    s//\1/
5295ef7198c0Smrg	    q
5296ef7198c0Smrg	  }
5297ef7198c0Smrg	  /^X\/\(\/\).*/{
5298ef7198c0Smrg	    s//\1/
5299ef7198c0Smrg	    q
5300ef7198c0Smrg	  }
5301ef7198c0Smrg	  s/.*/./; q'`
530256f6b22bSmrg
53033a67387eSmrg# Avoid depending upon Character Ranges.
53043a67387eSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
53053a67387eSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53063a67387eSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
53073a67387eSmrgas_cr_digits='0123456789'
53083a67387eSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
530956f6b22bSmrg
5310ef7198c0SmrgECHO_C= ECHO_N= ECHO_T=
53113a67387eSmrgcase `echo -n x` in #(((((
5312ef7198c0Smrg-n*)
53133a67387eSmrg  case `echo 'xy\c'` in
5314ef7198c0Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
53153a67387eSmrg  xy)  ECHO_C='\c';;
53163a67387eSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
53173a67387eSmrg       ECHO_T='	';;
5318ef7198c0Smrg  esac;;
5319ef7198c0Smrg*)
5320ef7198c0Smrg  ECHO_N='-n';;
5321ef7198c0Smrgesac
532256f6b22bSmrg
532356f6b22bSmrgrm -f conf$$ conf$$.exe conf$$.file
5324ef7198c0Smrgif test -d conf$$.dir; then
5325ef7198c0Smrg  rm -f conf$$.dir/conf$$.file
5326ef7198c0Smrgelse
5327ef7198c0Smrg  rm -f conf$$.dir
5328ef7198c0Smrg  mkdir conf$$.dir 2>/dev/null
5329ef7198c0Smrgfi
5330ef7198c0Smrgif (echo >conf$$.file) 2>/dev/null; then
5331ef7198c0Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
533256f6b22bSmrg    as_ln_s='ln -s'
5333ef7198c0Smrg    # ... but there are two gotchas:
5334ef7198c0Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5335ef7198c0Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5336ef7198c0Smrg    # In both cases, we have to default to `cp -p'.
5337ef7198c0Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5338ef7198c0Smrg      as_ln_s='cp -p'
5339ef7198c0Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5340ef7198c0Smrg    as_ln_s=ln
5341ef7198c0Smrg  else
5342ef7198c0Smrg    as_ln_s='cp -p'
534356f6b22bSmrg  fi
534456f6b22bSmrgelse
534556f6b22bSmrg  as_ln_s='cp -p'
534656f6b22bSmrgfi
5347ef7198c0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5348ef7198c0Smrgrmdir conf$$.dir 2>/dev/null
534956f6b22bSmrg
53503a67387eSmrg
53513a67387eSmrg# as_fn_mkdir_p
53523a67387eSmrg# -------------
53533a67387eSmrg# Create "$as_dir" as a directory, including parents if necessary.
53543a67387eSmrgas_fn_mkdir_p ()
53553a67387eSmrg{
53563a67387eSmrg
53573a67387eSmrg  case $as_dir in #(
53583a67387eSmrg  -*) as_dir=./$as_dir;;
53593a67387eSmrg  esac
53603a67387eSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
53613a67387eSmrg    as_dirs=
53623a67387eSmrg    while :; do
53633a67387eSmrg      case $as_dir in #(
53643a67387eSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
53653a67387eSmrg      *) as_qdir=$as_dir;;
53663a67387eSmrg      esac
53673a67387eSmrg      as_dirs="'$as_qdir' $as_dirs"
53683a67387eSmrg      as_dir=`$as_dirname -- "$as_dir" ||
53693a67387eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53703a67387eSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
53713a67387eSmrg	 X"$as_dir" : 'X\(//\)$' \| \
53723a67387eSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53733a67387eSmrg$as_echo X"$as_dir" |
53743a67387eSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53753a67387eSmrg	    s//\1/
53763a67387eSmrg	    q
53773a67387eSmrg	  }
53783a67387eSmrg	  /^X\(\/\/\)[^/].*/{
53793a67387eSmrg	    s//\1/
53803a67387eSmrg	    q
53813a67387eSmrg	  }
53823a67387eSmrg	  /^X\(\/\/\)$/{
53833a67387eSmrg	    s//\1/
53843a67387eSmrg	    q
53853a67387eSmrg	  }
53863a67387eSmrg	  /^X\(\/\).*/{
53873a67387eSmrg	    s//\1/
53883a67387eSmrg	    q
53893a67387eSmrg	  }
53903a67387eSmrg	  s/.*/./; q'`
53913a67387eSmrg      test -d "$as_dir" && break
53923a67387eSmrg    done
53933a67387eSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
53943a67387eSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
53953a67387eSmrg
53963a67387eSmrg
53973a67387eSmrg} # as_fn_mkdir_p
539856f6b22bSmrgif mkdir -p . 2>/dev/null; then
53993a67387eSmrg  as_mkdir_p='mkdir -p "$as_dir"'
540056f6b22bSmrgelse
540156f6b22bSmrg  test -d ./-p && rmdir ./-p
540256f6b22bSmrg  as_mkdir_p=false
540356f6b22bSmrgfi
540456f6b22bSmrg
5405ef7198c0Smrgif test -x / >/dev/null 2>&1; then
5406ef7198c0Smrg  as_test_x='test -x'
5407ef7198c0Smrgelse
5408ef7198c0Smrg  if ls -dL / >/dev/null 2>&1; then
5409ef7198c0Smrg    as_ls_L_option=L
5410ef7198c0Smrg  else
5411ef7198c0Smrg    as_ls_L_option=
5412ef7198c0Smrg  fi
5413ef7198c0Smrg  as_test_x='
5414ef7198c0Smrg    eval sh -c '\''
5415ef7198c0Smrg      if test -d "$1"; then
5416ef7198c0Smrg	test -d "$1/.";
5417ef7198c0Smrg      else
54183a67387eSmrg	case $1 in #(
5419ef7198c0Smrg	-*)set "./$1";;
5420ef7198c0Smrg	esac;
54213a67387eSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5422ef7198c0Smrg	???[sx]*):;;*)false;;esac;fi
5423ef7198c0Smrg    '\'' sh
5424ef7198c0Smrg  '
5425ef7198c0Smrgfi
5426ef7198c0Smrgas_executable_p=$as_test_x
542756f6b22bSmrg
542856f6b22bSmrg# Sed expression to map a string onto a valid CPP name.
542956f6b22bSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543056f6b22bSmrg
543156f6b22bSmrg# Sed expression to map a string onto a valid variable name.
543256f6b22bSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
543356f6b22bSmrg
543456f6b22bSmrg
543556f6b22bSmrgexec 6>&1
54363a67387eSmrg## ----------------------------------- ##
54373a67387eSmrg## Main body of $CONFIG_STATUS script. ##
54383a67387eSmrg## ----------------------------------- ##
54393a67387eSmrg_ASEOF
54403a67387eSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
544156f6b22bSmrg
54423a67387eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
54433a67387eSmrg# Save the log message, to keep $0 and so on meaningful, and to
544456f6b22bSmrg# report actual input values of CONFIG_FILES etc. instead of their
5445ef7198c0Smrg# values after options handling.
5446ef7198c0Smrgac_log="
54473a67387eSmrgThis file was extended by font-bitstream-100dpi $as_me 1.0.3, which was
54483a67387eSmrggenerated by GNU Autoconf 2.68.  Invocation command line was
544956f6b22bSmrg
545056f6b22bSmrg  CONFIG_FILES    = $CONFIG_FILES
545156f6b22bSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
545256f6b22bSmrg  CONFIG_LINKS    = $CONFIG_LINKS
545356f6b22bSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
545456f6b22bSmrg  $ $0 $@
545556f6b22bSmrg
5456ef7198c0Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
5457ef7198c0Smrg"
5458ef7198c0Smrg
545956f6b22bSmrg_ACEOF
546056f6b22bSmrg
5461ef7198c0Smrgcase $ac_config_files in *"
5462ef7198c0Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
5463ef7198c0Smrgesac
546456f6b22bSmrg
546556f6b22bSmrg
546656f6b22bSmrg
5467ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5468ef7198c0Smrg# Files that config.status was made for.
5469ef7198c0Smrgconfig_files="$ac_config_files"
5470ef7198c0Smrgconfig_commands="$ac_config_commands"
547156f6b22bSmrg
5472ef7198c0Smrg_ACEOF
547356f6b22bSmrg
5474ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
547556f6b22bSmrgac_cs_usage="\
54763a67387eSmrg\`$as_me' instantiates files and other configuration actions
54773a67387eSmrgfrom templates according to the current configuration.  Unless the files
54783a67387eSmrgand actions are specified as TAGs, all are instantiated by default.
547956f6b22bSmrg
54803a67387eSmrgUsage: $0 [OPTION]... [TAG]...
548156f6b22bSmrg
548256f6b22bSmrg  -h, --help       print this help, then exit
5483ef7198c0Smrg  -V, --version    print version number and configuration settings, then exit
54843a67387eSmrg      --config     print configuration, then exit
5485ef7198c0Smrg  -q, --quiet, --silent
5486ef7198c0Smrg                   do not print progress messages
548756f6b22bSmrg  -d, --debug      don't remove temporary files
548856f6b22bSmrg      --recheck    update $as_me by reconfiguring in the same conditions
5489ef7198c0Smrg      --file=FILE[:TEMPLATE]
5490ef7198c0Smrg                   instantiate the configuration file FILE
549156f6b22bSmrg
549256f6b22bSmrgConfiguration files:
549356f6b22bSmrg$config_files
549456f6b22bSmrg
5495ef7198c0SmrgConfiguration commands:
5496ef7198c0Smrg$config_commands
5497ef7198c0Smrg
54983a67387eSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
549956f6b22bSmrg
5500ef7198c0Smrg_ACEOF
5501ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
55023a67387eSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
550356f6b22bSmrgac_cs_version="\\
55043a67387eSmrgfont-bitstream-100dpi config.status 1.0.3
55053a67387eSmrgconfigured by $0, generated by GNU Autoconf 2.68,
55063a67387eSmrg  with options \\"\$ac_cs_config\\"
550756f6b22bSmrg
55083a67387eSmrgCopyright (C) 2010 Free Software Foundation, Inc.
550956f6b22bSmrgThis config.status script is free software; the Free Software Foundation
551056f6b22bSmrggives unlimited permission to copy, distribute and modify it."
5511ef7198c0Smrg
5512ef7198c0Smrgac_pwd='$ac_pwd'
5513ef7198c0Smrgsrcdir='$srcdir'
5514ef7198c0SmrgINSTALL='$INSTALL'
5515ef7198c0SmrgMKDIR_P='$MKDIR_P'
5516ef7198c0SmrgAWK='$AWK'
5517ef7198c0Smrgtest -n "\$AWK" || AWK=awk
551856f6b22bSmrg_ACEOF
551956f6b22bSmrg
5520ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5521ef7198c0Smrg# The default lists apply if the user does not specify any file.
552256f6b22bSmrgac_need_defaults=:
552356f6b22bSmrgwhile test $# != 0
552456f6b22bSmrgdo
552556f6b22bSmrg  case $1 in
55263a67387eSmrg  --*=?*)
5527ef7198c0Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5528ef7198c0Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
552956f6b22bSmrg    ac_shift=:
553056f6b22bSmrg    ;;
55313a67387eSmrg  --*=)
55323a67387eSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
55333a67387eSmrg    ac_optarg=
55343a67387eSmrg    ac_shift=:
55353a67387eSmrg    ;;
5536ef7198c0Smrg  *)
553756f6b22bSmrg    ac_option=$1
553856f6b22bSmrg    ac_optarg=$2
553956f6b22bSmrg    ac_shift=shift
554056f6b22bSmrg    ;;
554156f6b22bSmrg  esac
554256f6b22bSmrg
554356f6b22bSmrg  case $ac_option in
554456f6b22bSmrg  # Handling of the options.
554556f6b22bSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
554656f6b22bSmrg    ac_cs_recheck=: ;;
5547ef7198c0Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5548ef7198c0Smrg    $as_echo "$ac_cs_version"; exit ;;
55493a67387eSmrg  --config | --confi | --conf | --con | --co | --c )
55503a67387eSmrg    $as_echo "$ac_cs_config"; exit ;;
5551ef7198c0Smrg  --debug | --debu | --deb | --de | --d | -d )
555256f6b22bSmrg    debug=: ;;
555356f6b22bSmrg  --file | --fil | --fi | --f )
555456f6b22bSmrg    $ac_shift
5555ef7198c0Smrg    case $ac_optarg in
5556ef7198c0Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
55573a67387eSmrg    '') as_fn_error $? "missing file argument" ;;
5558ef7198c0Smrg    esac
55593a67387eSmrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
556056f6b22bSmrg    ac_need_defaults=false;;
5561ef7198c0Smrg  --he | --h |  --help | --hel | -h )
5562ef7198c0Smrg    $as_echo "$ac_cs_usage"; exit ;;
556356f6b22bSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
556456f6b22bSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
556556f6b22bSmrg    ac_cs_silent=: ;;
556656f6b22bSmrg
556756f6b22bSmrg  # This is an error.
55683a67387eSmrg  -*) as_fn_error $? "unrecognized option: \`$1'
55693a67387eSmrgTry \`$0 --help' for more information." ;;
557056f6b22bSmrg
55713a67387eSmrg  *) as_fn_append ac_config_targets " $1"
5572ef7198c0Smrg     ac_need_defaults=false ;;
557356f6b22bSmrg
557456f6b22bSmrg  esac
557556f6b22bSmrg  shift
557656f6b22bSmrgdone
557756f6b22bSmrg
557856f6b22bSmrgac_configure_extra_args=
557956f6b22bSmrg
558056f6b22bSmrgif $ac_cs_silent; then
558156f6b22bSmrg  exec 6>/dev/null
558256f6b22bSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
558356f6b22bSmrgfi
558456f6b22bSmrg
558556f6b22bSmrg_ACEOF
5586ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
558756f6b22bSmrgif \$ac_cs_recheck; then
5588ef7198c0Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5589ef7198c0Smrg  shift
5590ef7198c0Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5591ef7198c0Smrg  CONFIG_SHELL='$SHELL'
5592ef7198c0Smrg  export CONFIG_SHELL
5593ef7198c0Smrg  exec "\$@"
559456f6b22bSmrgfi
559556f6b22bSmrg
559656f6b22bSmrg_ACEOF
5597ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5598ef7198c0Smrgexec 5>>config.log
5599ef7198c0Smrg{
5600ef7198c0Smrg  echo
5601ef7198c0Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5602ef7198c0Smrg## Running $as_me. ##
5603ef7198c0Smrg_ASBOX
5604ef7198c0Smrg  $as_echo "$ac_log"
5605ef7198c0Smrg} >&5
560656f6b22bSmrg
5607ef7198c0Smrg_ACEOF
5608ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5609ef7198c0Smrg#
5610ef7198c0Smrg# INIT-COMMANDS
5611ef7198c0Smrg#
5612ef7198c0SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
561356f6b22bSmrg
5614ef7198c0Smrg_ACEOF
561556f6b22bSmrg
5616ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
561756f6b22bSmrg
5618ef7198c0Smrg# Handling of arguments.
561956f6b22bSmrgfor ac_config_target in $ac_config_targets
562056f6b22bSmrgdo
5621ef7198c0Smrg  case $ac_config_target in
5622ef7198c0Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5623ef7198c0Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5624ef7198c0Smrg
56253a67387eSmrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
562656f6b22bSmrg  esac
562756f6b22bSmrgdone
562856f6b22bSmrg
5629ef7198c0Smrg
563056f6b22bSmrg# If the user did not use the arguments to specify the items to instantiate,
563156f6b22bSmrg# then the envvar interface is used.  Set only those that are not.
563256f6b22bSmrg# We use the long form for the default assignment because of an extremely
563356f6b22bSmrg# bizarre bug on SunOS 4.1.3.
563456f6b22bSmrgif $ac_need_defaults; then
563556f6b22bSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5636ef7198c0Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
563756f6b22bSmrgfi
563856f6b22bSmrg
563956f6b22bSmrg# Have a temporary directory for convenience.  Make it in the build tree
5640ef7198c0Smrg# simply because there is no reason against having it here, and in addition,
564156f6b22bSmrg# creating and moving files from /tmp can sometimes cause problems.
5642ef7198c0Smrg# Hook for its removal unless debugging.
5643ef7198c0Smrg# Note that there is a small window in which the directory will not be cleaned:
5644ef7198c0Smrg# after its creation but before its name has been assigned to `$tmp'.
564556f6b22bSmrg$debug ||
564656f6b22bSmrg{
56473a67387eSmrg  tmp= ac_tmp=
5648ef7198c0Smrg  trap 'exit_status=$?
56493a67387eSmrg  : "${ac_tmp:=$tmp}"
56503a67387eSmrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5651ef7198c0Smrg' 0
56523a67387eSmrg  trap 'as_fn_exit 1' 1 2 13 15
565356f6b22bSmrg}
565456f6b22bSmrg# Create a (secure) tmp directory for tmp files.
565556f6b22bSmrg
565656f6b22bSmrg{
5657ef7198c0Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56583a67387eSmrg  test -d "$tmp"
565956f6b22bSmrg}  ||
566056f6b22bSmrg{
5661ef7198c0Smrg  tmp=./conf$$-$RANDOM
5662ef7198c0Smrg  (umask 077 && mkdir "$tmp")
56633a67387eSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
56643a67387eSmrgac_tmp=$tmp
566556f6b22bSmrg
5666ef7198c0Smrg# Set up the scripts for CONFIG_FILES section.
5667ef7198c0Smrg# No need to generate them if there are no CONFIG_FILES.
5668ef7198c0Smrg# This happens for instance with `./config.status config.h'.
5669ef7198c0Smrgif test -n "$CONFIG_FILES"; then
5670ef7198c0Smrg
5671ef7198c0Smrg
56723a67387eSmrgac_cr=`echo X | tr X '\015'`
56733a67387eSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
56743a67387eSmrg# But we know of no other shell where ac_cr would be empty at this
56753a67387eSmrg# point, so we can use a bashism as a fallback.
56763a67387eSmrgif test "x$ac_cr" = x; then
56773a67387eSmrg  eval ac_cr=\$\'\\r\'
56783a67387eSmrgfi
5679ef7198c0Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5680ef7198c0Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5681ef7198c0Smrg  ac_cs_awk_cr='\\r'
5682ef7198c0Smrgelse
5683ef7198c0Smrg  ac_cs_awk_cr=$ac_cr
5684ef7198c0Smrgfi
5685ef7198c0Smrg
56863a67387eSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
568756f6b22bSmrg_ACEOF
568856f6b22bSmrg
568956f6b22bSmrg
5690ef7198c0Smrg{
5691ef7198c0Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
5692ef7198c0Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5693ef7198c0Smrg  echo "_ACEOF"
5694ef7198c0Smrg} >conf$$subs.sh ||
56953a67387eSmrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
56963a67387eSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5697ef7198c0Smrgac_delim='%!_!# '
5698ef7198c0Smrgfor ac_last_try in false false false false false :; do
5699ef7198c0Smrg  . ./conf$$subs.sh ||
57003a67387eSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
570156f6b22bSmrg
5702ef7198c0Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5703ef7198c0Smrg  if test $ac_delim_n = $ac_delim_num; then
5704ef7198c0Smrg    break
5705ef7198c0Smrg  elif $ac_last_try; then
57063a67387eSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5707ef7198c0Smrg  else
5708ef7198c0Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
570956f6b22bSmrg  fi
5710ef7198c0Smrgdone
5711ef7198c0Smrgrm -f conf$$subs.sh
571256f6b22bSmrg
5713ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
57143a67387eSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
571556f6b22bSmrg_ACEOF
5716ef7198c0Smrgsed -n '
5717ef7198c0Smrgh
5718ef7198c0Smrgs/^/S["/; s/!.*/"]=/
5719ef7198c0Smrgp
5720ef7198c0Smrgg
5721ef7198c0Smrgs/^[^!]*!//
5722ef7198c0Smrg:repl
5723ef7198c0Smrgt repl
5724ef7198c0Smrgs/'"$ac_delim"'$//
5725ef7198c0Smrgt delim
5726ef7198c0Smrg:nl
5727ef7198c0Smrgh
57283a67387eSmrgs/\(.\{148\}\)..*/\1/
5729ef7198c0Smrgt more1
5730ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5731ef7198c0Smrgp
5732ef7198c0Smrgn
5733ef7198c0Smrgb repl
5734ef7198c0Smrg:more1
5735ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5736ef7198c0Smrgp
5737ef7198c0Smrgg
5738ef7198c0Smrgs/.\{148\}//
5739ef7198c0Smrgt nl
5740ef7198c0Smrg:delim
5741ef7198c0Smrgh
57423a67387eSmrgs/\(.\{148\}\)..*/\1/
5743ef7198c0Smrgt more2
5744ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
5745ef7198c0Smrgp
5746ef7198c0Smrgb
5747ef7198c0Smrg:more2
5748ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5749ef7198c0Smrgp
5750ef7198c0Smrgg
5751ef7198c0Smrgs/.\{148\}//
5752ef7198c0Smrgt delim
5753ef7198c0Smrg' <conf$$subs.awk | sed '
5754ef7198c0Smrg/^[^""]/{
5755ef7198c0Smrg  N
5756ef7198c0Smrg  s/\n//
5757ef7198c0Smrg}
5758ef7198c0Smrg' >>$CONFIG_STATUS || ac_write_fail=1
5759ef7198c0Smrgrm -f conf$$subs.awk
5760ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5761ef7198c0Smrg_ACAWK
57623a67387eSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5763ef7198c0Smrg  for (key in S) S_is_set[key] = 1
5764ef7198c0Smrg  FS = ""
5765ef7198c0Smrg
5766ef7198c0Smrg}
5767ef7198c0Smrg{
5768ef7198c0Smrg  line = $ 0
5769ef7198c0Smrg  nfields = split(line, field, "@")
5770ef7198c0Smrg  substed = 0
5771ef7198c0Smrg  len = length(field[1])
5772ef7198c0Smrg  for (i = 2; i < nfields; i++) {
5773ef7198c0Smrg    key = field[i]
5774ef7198c0Smrg    keylen = length(key)
5775ef7198c0Smrg    if (S_is_set[key]) {
5776ef7198c0Smrg      value = S[key]
5777ef7198c0Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5778ef7198c0Smrg      len += length(value) + length(field[++i])
5779ef7198c0Smrg      substed = 1
5780ef7198c0Smrg    } else
5781ef7198c0Smrg      len += 1 + keylen
5782ef7198c0Smrg  }
5783ef7198c0Smrg
5784ef7198c0Smrg  print line
5785ef7198c0Smrg}
5786ef7198c0Smrg
5787ef7198c0Smrg_ACAWK
5788ef7198c0Smrg_ACEOF
5789ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5790ef7198c0Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5791ef7198c0Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5792ef7198c0Smrgelse
5793ef7198c0Smrg  cat
57943a67387eSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
57953a67387eSmrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5796ef7198c0Smrg_ACEOF
5797ef7198c0Smrg
57983a67387eSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
57993a67387eSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5800ef7198c0Smrg# trailing colons and then remove the whole line if VPATH becomes empty
5801ef7198c0Smrg# (actually we leave an empty line to preserve line numbers).
5802ef7198c0Smrgif test "x$srcdir" = x.; then
58033a67387eSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
58043a67387eSmrgh
58053a67387eSmrgs///
58063a67387eSmrgs/^/:/
58073a67387eSmrgs/[	 ]*$/:/
58083a67387eSmrgs/:\$(srcdir):/:/g
58093a67387eSmrgs/:\${srcdir}:/:/g
58103a67387eSmrgs/:@srcdir@:/:/g
58113a67387eSmrgs/^:*//
5812ef7198c0Smrgs/:*$//
58133a67387eSmrgx
58143a67387eSmrgs/\(=[	 ]*\).*/\1/
58153a67387eSmrgG
58163a67387eSmrgs/\n//
5817ef7198c0Smrgs/^[^=]*=[	 ]*$//
5818ef7198c0Smrg}'
5819ef7198c0Smrgfi
5820ef7198c0Smrg
5821ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5822ef7198c0Smrgfi # test -n "$CONFIG_FILES"
5823ef7198c0Smrg
5824ef7198c0Smrg
5825ef7198c0Smrgeval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
5826ef7198c0Smrgshift
5827ef7198c0Smrgfor ac_tag
5828ef7198c0Smrgdo
5829ef7198c0Smrg  case $ac_tag in
5830ef7198c0Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
5831ef7198c0Smrg  esac
5832ef7198c0Smrg  case $ac_mode$ac_tag in
5833ef7198c0Smrg  :[FHL]*:*);;
58343a67387eSmrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5835ef7198c0Smrg  :[FH]-) ac_tag=-:-;;
5836ef7198c0Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5837ef7198c0Smrg  esac
5838ef7198c0Smrg  ac_save_IFS=$IFS
5839ef7198c0Smrg  IFS=:
5840ef7198c0Smrg  set x $ac_tag
5841ef7198c0Smrg  IFS=$ac_save_IFS
5842ef7198c0Smrg  shift
5843ef7198c0Smrg  ac_file=$1
5844ef7198c0Smrg  shift
5845ef7198c0Smrg
5846ef7198c0Smrg  case $ac_mode in
5847ef7198c0Smrg  :L) ac_source=$1;;
5848ef7198c0Smrg  :[FH])
5849ef7198c0Smrg    ac_file_inputs=
5850ef7198c0Smrg    for ac_f
5851ef7198c0Smrg    do
5852ef7198c0Smrg      case $ac_f in
58533a67387eSmrg      -) ac_f="$ac_tmp/stdin";;
5854ef7198c0Smrg      *) # Look for the file first in the build tree, then in the source tree
5855ef7198c0Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5856ef7198c0Smrg	 # because $ac_f cannot contain `:'.
5857ef7198c0Smrg	 test -f "$ac_f" ||
5858ef7198c0Smrg	   case $ac_f in
5859ef7198c0Smrg	   [\\/$]*) false;;
5860ef7198c0Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5861ef7198c0Smrg	   esac ||
58623a67387eSmrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5863ef7198c0Smrg      esac
5864ef7198c0Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
58653a67387eSmrg      as_fn_append ac_file_inputs " '$ac_f'"
5866ef7198c0Smrg    done
5867ef7198c0Smrg
5868ef7198c0Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
5869ef7198c0Smrg    # use $as_me), people would be surprised to read:
5870ef7198c0Smrg    #    /* config.h.  Generated by config.status.  */
5871ef7198c0Smrg    configure_input='Generated from '`
5872ef7198c0Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5873ef7198c0Smrg	`' by configure.'
5874ef7198c0Smrg    if test x"$ac_file" != x-; then
5875ef7198c0Smrg      configure_input="$ac_file.  $configure_input"
58763a67387eSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5877ef7198c0Smrg$as_echo "$as_me: creating $ac_file" >&6;}
5878ef7198c0Smrg    fi
5879ef7198c0Smrg    # Neutralize special characters interpreted by sed in replacement strings.
5880ef7198c0Smrg    case $configure_input in #(
5881ef7198c0Smrg    *\&* | *\|* | *\\* )
5882ef7198c0Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
5883ef7198c0Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5884ef7198c0Smrg    *) ac_sed_conf_input=$configure_input;;
5885ef7198c0Smrg    esac
5886ef7198c0Smrg
5887ef7198c0Smrg    case $ac_tag in
58883a67387eSmrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
58893a67387eSmrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5890ef7198c0Smrg    esac
5891ef7198c0Smrg    ;;
589256f6b22bSmrg  esac
589356f6b22bSmrg
5894ef7198c0Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
589556f6b22bSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
589656f6b22bSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
589756f6b22bSmrg	 X"$ac_file" : 'X\(//\)$' \| \
5898ef7198c0Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5899ef7198c0Smrg$as_echo X"$ac_file" |
5900ef7198c0Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5901ef7198c0Smrg	    s//\1/
5902ef7198c0Smrg	    q
5903ef7198c0Smrg	  }
5904ef7198c0Smrg	  /^X\(\/\/\)[^/].*/{
5905ef7198c0Smrg	    s//\1/
5906ef7198c0Smrg	    q
5907ef7198c0Smrg	  }
5908ef7198c0Smrg	  /^X\(\/\/\)$/{
5909ef7198c0Smrg	    s//\1/
5910ef7198c0Smrg	    q
5911ef7198c0Smrg	  }
5912ef7198c0Smrg	  /^X\(\/\).*/{
5913ef7198c0Smrg	    s//\1/
5914ef7198c0Smrg	    q
5915ef7198c0Smrg	  }
5916ef7198c0Smrg	  s/.*/./; q'`
59173a67387eSmrg  as_dir="$ac_dir"; as_fn_mkdir_p
591856f6b22bSmrg  ac_builddir=.
591956f6b22bSmrg
5920ef7198c0Smrgcase "$ac_dir" in
5921ef7198c0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5922ef7198c0Smrg*)
5923ef7198c0Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5924ef7198c0Smrg  # A ".." for each directory in $ac_dir_suffix.
5925ef7198c0Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5926ef7198c0Smrg  case $ac_top_builddir_sub in
5927ef7198c0Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5928ef7198c0Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5929ef7198c0Smrg  esac ;;
5930ef7198c0Smrgesac
5931ef7198c0Smrgac_abs_top_builddir=$ac_pwd
5932ef7198c0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
5933ef7198c0Smrg# for backward compatibility:
5934ef7198c0Smrgac_top_builddir=$ac_top_build_prefix
593556f6b22bSmrg
593656f6b22bSmrgcase $srcdir in
5937ef7198c0Smrg  .)  # We are building in place.
593856f6b22bSmrg    ac_srcdir=.
5939ef7198c0Smrg    ac_top_srcdir=$ac_top_builddir_sub
5940ef7198c0Smrg    ac_abs_top_srcdir=$ac_pwd ;;
5941ef7198c0Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
594256f6b22bSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
5943ef7198c0Smrg    ac_top_srcdir=$srcdir
5944ef7198c0Smrg    ac_abs_top_srcdir=$srcdir ;;
5945ef7198c0Smrg  *) # Relative name.
5946ef7198c0Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5947ef7198c0Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
5948ef7198c0Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
594956f6b22bSmrgesac
5950ef7198c0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
595156f6b22bSmrg
595256f6b22bSmrg
5953ef7198c0Smrg  case $ac_mode in
5954ef7198c0Smrg  :F)
5955ef7198c0Smrg  #
5956ef7198c0Smrg  # CONFIG_FILE
5957ef7198c0Smrg  #
595856f6b22bSmrg
595956f6b22bSmrg  case $INSTALL in
596056f6b22bSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5961ef7198c0Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
596256f6b22bSmrg  esac
5963ef7198c0Smrg  ac_MKDIR_P=$MKDIR_P
5964ef7198c0Smrg  case $MKDIR_P in
5965ef7198c0Smrg  [\\/$]* | ?:[\\/]* ) ;;
5966ef7198c0Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5967ef7198c0Smrg  esac
5968ef7198c0Smrg_ACEOF
596956f6b22bSmrg
5970ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5971ef7198c0Smrg# If the template does not know about datarootdir, expand it.
5972ef7198c0Smrg# FIXME: This hack should be removed a few years after 2.60.
5973ef7198c0Smrgac_datarootdir_hack=; ac_datarootdir_seen=
5974ef7198c0Smrgac_sed_dataroot='
5975ef7198c0Smrg/datarootdir/ {
5976ef7198c0Smrg  p
5977ef7198c0Smrg  q
5978ef7198c0Smrg}
5979ef7198c0Smrg/@datadir@/p
5980ef7198c0Smrg/@docdir@/p
5981ef7198c0Smrg/@infodir@/p
5982ef7198c0Smrg/@localedir@/p
59833a67387eSmrg/@mandir@/p'
5984ef7198c0Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5985ef7198c0Smrg*datarootdir*) ac_datarootdir_seen=yes;;
5986ef7198c0Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
59873a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5988ef7198c0Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5989ef7198c0Smrg_ACEOF
5990ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5991ef7198c0Smrg  ac_datarootdir_hack='
5992ef7198c0Smrg  s&@datadir@&$datadir&g
5993ef7198c0Smrg  s&@docdir@&$docdir&g
5994ef7198c0Smrg  s&@infodir@&$infodir&g
5995ef7198c0Smrg  s&@localedir@&$localedir&g
5996ef7198c0Smrg  s&@mandir@&$mandir&g
59973a67387eSmrg  s&\\\${datarootdir}&$datarootdir&g' ;;
5998ef7198c0Smrgesac
599956f6b22bSmrg_ACEOF
6000ef7198c0Smrg
6001ef7198c0Smrg# Neutralize VPATH when `$srcdir' = `.'.
6002ef7198c0Smrg# Shell code in configure.ac might set extrasub.
6003ef7198c0Smrg# FIXME: do we really want to maintain this feature?
6004ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6005ef7198c0Smrgac_sed_extra="$ac_vpsub
600656f6b22bSmrg$extrasub
600756f6b22bSmrg_ACEOF
6008ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
600956f6b22bSmrg:t
601056f6b22bSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6011ef7198c0Smrgs|@configure_input@|$ac_sed_conf_input|;t t
6012ef7198c0Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
6013ef7198c0Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
6014ef7198c0Smrgs&@srcdir@&$ac_srcdir&;t t
6015ef7198c0Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
6016ef7198c0Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
6017ef7198c0Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6018ef7198c0Smrgs&@builddir@&$ac_builddir&;t t
6019ef7198c0Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
6020ef7198c0Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6021ef7198c0Smrgs&@INSTALL@&$ac_INSTALL&;t t
6022ef7198c0Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
6023ef7198c0Smrg$ac_datarootdir_hack
6024ef7198c0Smrg"
60253a67387eSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
60263a67387eSmrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
602756f6b22bSmrg
6028ef7198c0Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60293a67387eSmrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
60303a67387eSmrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
60313a67387eSmrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
60323a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60333a67387eSmrgwhich seems to be undefined.  Please make sure it is defined" >&5
6034ef7198c0Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60353a67387eSmrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
6036ef7198c0Smrg
60373a67387eSmrg  rm -f "$ac_tmp/stdin"
6038ef7198c0Smrg  case $ac_file in
60393a67387eSmrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
60403a67387eSmrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6041ef7198c0Smrg  esac \
60423a67387eSmrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6043ef7198c0Smrg ;;
6044ef7198c0Smrg
6045ef7198c0Smrg
60463a67387eSmrg  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6047ef7198c0Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
6048ef7198c0Smrg ;;
6049ef7198c0Smrg  esac
6050ef7198c0Smrg
6051ef7198c0Smrg
6052ef7198c0Smrg  case $ac_file$ac_mode in
6053ef7198c0Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6054ef7198c0Smrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6055ef7198c0Smrg  # are listed without --file.  Let's play safe and only enable the eval
6056ef7198c0Smrg  # if we detect the quoting.
6057ef7198c0Smrg  case $CONFIG_FILES in
6058ef7198c0Smrg  *\'*) eval set x "$CONFIG_FILES" ;;
6059ef7198c0Smrg  *)   set x $CONFIG_FILES ;;
6060ef7198c0Smrg  esac
6061ef7198c0Smrg  shift
6062ef7198c0Smrg  for mf
6063ef7198c0Smrg  do
6064ef7198c0Smrg    # Strip MF so we end up with the name of the file.
6065ef7198c0Smrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
6066ef7198c0Smrg    # Check whether this is an Automake generated Makefile or not.
6067ef7198c0Smrg    # We used to match only the files named `Makefile.in', but
6068ef7198c0Smrg    # some people rename them; so instead we look at the file content.
6069ef7198c0Smrg    # Grep'ing the first line is not enough: some people post-process
6070ef7198c0Smrg    # each Makefile.in and add a new line on top of each file to say so.
6071ef7198c0Smrg    # Grep'ing the whole file is not good either: AIX grep has a line
6072ef7198c0Smrg    # limit of 2048, but all sed's we know have understand at least 4000.
6073ef7198c0Smrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6074ef7198c0Smrg      dirpart=`$as_dirname -- "$mf" ||
6075ef7198c0Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6076ef7198c0Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
6077ef7198c0Smrg	 X"$mf" : 'X\(//\)$' \| \
6078ef7198c0Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6079ef7198c0Smrg$as_echo X"$mf" |
6080ef7198c0Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6081ef7198c0Smrg	    s//\1/
6082ef7198c0Smrg	    q
6083ef7198c0Smrg	  }
6084ef7198c0Smrg	  /^X\(\/\/\)[^/].*/{
6085ef7198c0Smrg	    s//\1/
6086ef7198c0Smrg	    q
6087ef7198c0Smrg	  }
6088ef7198c0Smrg	  /^X\(\/\/\)$/{
6089ef7198c0Smrg	    s//\1/
6090ef7198c0Smrg	    q
6091ef7198c0Smrg	  }
6092ef7198c0Smrg	  /^X\(\/\).*/{
6093ef7198c0Smrg	    s//\1/
6094ef7198c0Smrg	    q
6095ef7198c0Smrg	  }
6096ef7198c0Smrg	  s/.*/./; q'`
6097ef7198c0Smrg    else
6098ef7198c0Smrg      continue
6099ef7198c0Smrg    fi
6100ef7198c0Smrg    # Extract the definition of DEPDIR, am__include, and am__quote
6101ef7198c0Smrg    # from the Makefile without running `make'.
6102ef7198c0Smrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6103ef7198c0Smrg    test -z "$DEPDIR" && continue
6104ef7198c0Smrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6105ef7198c0Smrg    test -z "am__include" && continue
6106ef7198c0Smrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6107ef7198c0Smrg    # When using ansi2knr, U may be empty or an underscore; expand it
6108ef7198c0Smrg    U=`sed -n 's/^U = //p' < "$mf"`
6109ef7198c0Smrg    # Find all dependency output files, they are included files with
6110ef7198c0Smrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6111ef7198c0Smrg    # simplest approach to changing $(DEPDIR) to its actual value in the
6112ef7198c0Smrg    # expansion.
6113ef7198c0Smrg    for file in `sed -n "
6114ef7198c0Smrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6115ef7198c0Smrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6116ef7198c0Smrg      # Make sure the directory exists.
6117ef7198c0Smrg      test -f "$dirpart/$file" && continue
6118ef7198c0Smrg      fdir=`$as_dirname -- "$file" ||
6119ef7198c0Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6120ef7198c0Smrg	 X"$file" : 'X\(//\)[^/]' \| \
6121ef7198c0Smrg	 X"$file" : 'X\(//\)$' \| \
6122ef7198c0Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6123ef7198c0Smrg$as_echo X"$file" |
6124ef7198c0Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6125ef7198c0Smrg	    s//\1/
6126ef7198c0Smrg	    q
6127ef7198c0Smrg	  }
6128ef7198c0Smrg	  /^X\(\/\/\)[^/].*/{
6129ef7198c0Smrg	    s//\1/
6130ef7198c0Smrg	    q
6131ef7198c0Smrg	  }
6132ef7198c0Smrg	  /^X\(\/\/\)$/{
6133ef7198c0Smrg	    s//\1/
6134ef7198c0Smrg	    q
6135ef7198c0Smrg	  }
6136ef7198c0Smrg	  /^X\(\/\).*/{
6137ef7198c0Smrg	    s//\1/
6138ef7198c0Smrg	    q
6139ef7198c0Smrg	  }
6140ef7198c0Smrg	  s/.*/./; q'`
61413a67387eSmrg      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6142ef7198c0Smrg      # echo "creating $dirpart/$file"
6143ef7198c0Smrg      echo '# dummy' > "$dirpart/$file"
6144ef7198c0Smrg    done
6145ef7198c0Smrg  done
6146ef7198c0Smrg}
6147ef7198c0Smrg ;;
6148ef7198c0Smrg
6149ef7198c0Smrg  esac
6150ef7198c0Smrgdone # for ac_tag
615156f6b22bSmrg
615256f6b22bSmrg
61533a67387eSmrgas_fn_exit 0
615456f6b22bSmrg_ACEOF
615556f6b22bSmrgac_clean_files=$ac_clean_files_save
615656f6b22bSmrg
6157ef7198c0Smrgtest $ac_write_fail = 0 ||
61583a67387eSmrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6159ef7198c0Smrg
616056f6b22bSmrg
616156f6b22bSmrg# configure is writing to config.log, and then calls config.status.
616256f6b22bSmrg# config.status does its own redirection, appending to config.log.
616356f6b22bSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
616456f6b22bSmrg# by configure, so config.status won't be able to write to it; its
616556f6b22bSmrg# output is simply discarded.  So we exec the FD to /dev/null,
616656f6b22bSmrg# effectively closing config.log, so it can be properly (re)opened and
616756f6b22bSmrg# appended to by config.status.  When coming back to configure, we
616856f6b22bSmrg# need to make the FD available again.
616956f6b22bSmrgif test "$no_create" != yes; then
617056f6b22bSmrg  ac_cs_success=:
617156f6b22bSmrg  ac_config_status_args=
617256f6b22bSmrg  test "$silent" = yes &&
617356f6b22bSmrg    ac_config_status_args="$ac_config_status_args --quiet"
617456f6b22bSmrg  exec 5>/dev/null
617556f6b22bSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
617656f6b22bSmrg  exec 5>>config.log
617756f6b22bSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
617856f6b22bSmrg  # would make configure fail if this is the last instruction.
61793a67387eSmrg  $ac_cs_success || as_fn_exit 1
618056f6b22bSmrgfi
6181ef7198c0Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
61823a67387eSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6183ef7198c0Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6184ef7198c0Smrgfi
618556f6b22bSmrg
6186