198049353Smrg#! /bin/sh
298049353Smrg# Guess values for system-dependent variables and create Makefiles.
36c19a6d3Smrg# Generated by GNU Autoconf 2.71 for font-isas-misc 1.0.4.
498049353Smrg#
56c19a6d3Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/isas-misc/-/issues>.
698049353Smrg#
74028d71eSmrg#
86c19a6d3Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
96c19a6d3Smrg# Inc.
104028d71eSmrg#
114028d71eSmrg#
1298049353Smrg# This configure script is free software; the Free Software Foundation
1398049353Smrg# gives unlimited permission to copy, distribute and modify it.
144028d71eSmrg## -------------------- ##
154028d71eSmrg## M4sh Initialization. ##
164028d71eSmrg## -------------------- ##
1798049353Smrg
180ad07f78Smrg# Be more Bourne compatible
190ad07f78SmrgDUALCASE=1; export DUALCASE # for MKS sh
206c19a6d3Smrgas_nop=:
216c19a6d3Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
226c19a6d3Smrgthen :
2398049353Smrg  emulate sh
2498049353Smrg  NULLCMD=:
250ad07f78Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2698049353Smrg  # is contrary to our usage.  Disable this feature.
2798049353Smrg  alias -g '${1+"$@"}'='"$@"'
280ad07f78Smrg  setopt NO_GLOB_SUBST
296c19a6d3Smrgelse $as_nop
304028d71eSmrg  case `(set -o) 2>/dev/null` in #(
314028d71eSmrg  *posix*) :
324028d71eSmrg    set -o posix ;; #(
334028d71eSmrg  *) :
344028d71eSmrg     ;;
350ad07f78Smrgesac
360ad07f78Smrgfi
370ad07f78Smrg
380ad07f78Smrg
396c19a6d3Smrg
406c19a6d3Smrg# Reset variables that may have inherited troublesome values from
416c19a6d3Smrg# the environment.
426c19a6d3Smrg
436c19a6d3Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
446c19a6d3Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
456c19a6d3Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
466c19a6d3Smrg# Quoting is to prevent editors from complaining about space-tab.
470ad07f78Smrgas_nl='
480ad07f78Smrg'
490ad07f78Smrgexport as_nl
506c19a6d3SmrgIFS=" ""	$as_nl"
516c19a6d3Smrg
526c19a6d3SmrgPS1='$ '
536c19a6d3SmrgPS2='> '
546c19a6d3SmrgPS4='+ '
556c19a6d3Smrg
566c19a6d3Smrg# Ensure predictable behavior from utilities with locale-dependent output.
576c19a6d3SmrgLC_ALL=C
586c19a6d3Smrgexport LC_ALL
596c19a6d3SmrgLANGUAGE=C
606c19a6d3Smrgexport LANGUAGE
616c19a6d3Smrg
626c19a6d3Smrg# We cannot yet rely on "unset" to work, but we need these variables
636c19a6d3Smrg# to be unset--not just set to an empty or harmless value--now, to
646c19a6d3Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
656c19a6d3Smrg# also avoids known problems related to "unset" and subshell syntax
666c19a6d3Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
676c19a6d3Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
686c19a6d3Smrgdo eval test \${$as_var+y} \
696c19a6d3Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
706c19a6d3Smrgdone
716c19a6d3Smrg
726c19a6d3Smrg# Ensure that fds 0, 1, and 2 are open.
736c19a6d3Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
746c19a6d3Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
756c19a6d3Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
760ad07f78Smrg
770ad07f78Smrg# The user is always right.
786c19a6d3Smrgif ${PATH_SEPARATOR+false} :; then
790ad07f78Smrg  PATH_SEPARATOR=:
800ad07f78Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
810ad07f78Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
820ad07f78Smrg      PATH_SEPARATOR=';'
830ad07f78Smrg  }
8498049353Smrgfi
8598049353Smrg
8698049353Smrg
870ad07f78Smrg# Find who we are.  Look in the path if we contain no directory separator.
884028d71eSmrgas_myself=
894028d71eSmrgcase $0 in #((
900ad07f78Smrg  *[\\/]* ) as_myself=$0 ;;
910ad07f78Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
920ad07f78Smrgfor as_dir in $PATH
930ad07f78Smrgdo
940ad07f78Smrg  IFS=$as_save_IFS
956c19a6d3Smrg  case $as_dir in #(((
966c19a6d3Smrg    '') as_dir=./ ;;
976c19a6d3Smrg    */) ;;
986c19a6d3Smrg    *) as_dir=$as_dir/ ;;
996c19a6d3Smrg  esac
1006c19a6d3Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1014028d71eSmrg  done
1020ad07f78SmrgIFS=$as_save_IFS
1030ad07f78Smrg
1040ad07f78Smrg     ;;
1050ad07f78Smrgesac
1060ad07f78Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
1070ad07f78Smrg# in which case we are not to be found in the path.
1080ad07f78Smrgif test "x$as_myself" = x; then
1090ad07f78Smrg  as_myself=$0
1100ad07f78Smrgfi
1110ad07f78Smrgif test ! -f "$as_myself"; then
1126c19a6d3Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1134028d71eSmrg  exit 1
1140ad07f78Smrgfi
1150ad07f78Smrg
1164028d71eSmrg
1176c19a6d3Smrg# Use a proper internal environment variable to ensure we don't fall
1186c19a6d3Smrg  # into an infinite loop, continuously re-executing ourselves.
1196c19a6d3Smrg  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
1206c19a6d3Smrg    _as_can_reexec=no; export _as_can_reexec;
1216c19a6d3Smrg    # We cannot yet assume a decent shell, so we have to provide a
1226c19a6d3Smrg# neutralization value for shells without unset; and this also
1236c19a6d3Smrg# works around shells that cannot unset nonexistent variables.
1246c19a6d3Smrg# Preserve -v and -x to the replacement shell.
1256c19a6d3SmrgBASH_ENV=/dev/null
1266c19a6d3SmrgENV=/dev/null
1276c19a6d3Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1286c19a6d3Smrgcase $- in # ((((
1296c19a6d3Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
1306c19a6d3Smrg  *v* ) as_opts=-v ;;
1316c19a6d3Smrg  *x* ) as_opts=-x ;;
1326c19a6d3Smrg  * ) as_opts= ;;
1336c19a6d3Smrgesac
1346c19a6d3Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1356c19a6d3Smrg# Admittedly, this is quite paranoid, since all the known shells bail
1366c19a6d3Smrg# out after a failed `exec'.
1376c19a6d3Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1386c19a6d3Smrgexit 255
1396c19a6d3Smrg  fi
1406c19a6d3Smrg  # We don't want this to propagate to other subprocesses.
1416c19a6d3Smrg          { _as_can_reexec=; unset _as_can_reexec;}
1424028d71eSmrgif test "x$CONFIG_SHELL" = x; then
1436c19a6d3Smrg  as_bourne_compatible="as_nop=:
1446c19a6d3Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1456c19a6d3Smrgthen :
1464028d71eSmrg  emulate sh
1474028d71eSmrg  NULLCMD=:
1484028d71eSmrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
1494028d71eSmrg  # is contrary to our usage.  Disable this feature.
1504028d71eSmrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
1514028d71eSmrg  setopt NO_GLOB_SUBST
1526c19a6d3Smrgelse \$as_nop
1534028d71eSmrg  case \`(set -o) 2>/dev/null\` in #(
1544028d71eSmrg  *posix*) :
1554028d71eSmrg    set -o posix ;; #(
1564028d71eSmrg  *) :
1574028d71eSmrg     ;;
1584028d71eSmrgesac
1594028d71eSmrgfi
1604028d71eSmrg"
1614028d71eSmrg  as_required="as_fn_return () { (exit \$1); }
1624028d71eSmrgas_fn_success () { as_fn_return 0; }
1634028d71eSmrgas_fn_failure () { as_fn_return 1; }
1644028d71eSmrgas_fn_ret_success () { return 0; }
1654028d71eSmrgas_fn_ret_failure () { return 1; }
1664028d71eSmrg
1674028d71eSmrgexitcode=0
1684028d71eSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
1694028d71eSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
1704028d71eSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
1714028d71eSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1726c19a6d3Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" )
1736c19a6d3Smrgthen :
1744028d71eSmrg
1756c19a6d3Smrgelse \$as_nop
1764028d71eSmrg  exitcode=1; echo positional parameters were not saved.
1774028d71eSmrgfi
1786c19a6d3Smrgtest x\$exitcode = x0 || exit 1
1796c19a6d3Smrgblah=\$(echo \$(echo blah))
1806c19a6d3Smrgtest x\"\$blah\" = xblah || exit 1
1816c19a6d3Smrgtest -x / || exit 1"
1824028d71eSmrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1834028d71eSmrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1844028d71eSmrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1854028d71eSmrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1864028d71eSmrgtest \$(( 1 + 1 )) = 2 || exit 1"
1876c19a6d3Smrg  if (eval "$as_required") 2>/dev/null
1886c19a6d3Smrgthen :
1894028d71eSmrg  as_have_required=yes
1906c19a6d3Smrgelse $as_nop
1914028d71eSmrg  as_have_required=no
1924028d71eSmrgfi
1936c19a6d3Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
1946c19a6d3Smrgthen :
1954028d71eSmrg
1966c19a6d3Smrgelse $as_nop
1974028d71eSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984028d71eSmrgas_found=false
1994028d71eSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2004028d71eSmrgdo
2014028d71eSmrg  IFS=$as_save_IFS
2026c19a6d3Smrg  case $as_dir in #(((
2036c19a6d3Smrg    '') as_dir=./ ;;
2046c19a6d3Smrg    */) ;;
2056c19a6d3Smrg    *) as_dir=$as_dir/ ;;
2066c19a6d3Smrg  esac
2074028d71eSmrg  as_found=:
2084028d71eSmrg  case $as_dir in #(
2094028d71eSmrg	 /*)
2104028d71eSmrg	   for as_base in sh bash ksh sh5; do
2114028d71eSmrg	     # Try only shells that exist, to save several forks.
2126c19a6d3Smrg	     as_shell=$as_dir$as_base
2134028d71eSmrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2146c19a6d3Smrg		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2156c19a6d3Smrgthen :
2164028d71eSmrg  CONFIG_SHELL=$as_shell as_have_required=yes
2176c19a6d3Smrg		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
2186c19a6d3Smrgthen :
2194028d71eSmrg  break 2
2204028d71eSmrgfi
2214028d71eSmrgfi
2224028d71eSmrg	   done;;
2234028d71eSmrg       esac
2244028d71eSmrg  as_found=false
2254028d71eSmrgdone
2264028d71eSmrgIFS=$as_save_IFS
2276c19a6d3Smrgif $as_found
2286c19a6d3Smrgthen :
2294028d71eSmrg
2306c19a6d3Smrgelse $as_nop
2316c19a6d3Smrg  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2326c19a6d3Smrg	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2336c19a6d3Smrgthen :
2346c19a6d3Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
2354028d71eSmrgfi
2366c19a6d3Smrgfi
2376c19a6d3Smrg
2384028d71eSmrg
2396c19a6d3Smrg      if test "x$CONFIG_SHELL" != x
2406c19a6d3Smrgthen :
2416c19a6d3Smrg  export CONFIG_SHELL
2426c19a6d3Smrg             # We cannot yet assume a decent shell, so we have to provide a
2436c19a6d3Smrg# neutralization value for shells without unset; and this also
2446c19a6d3Smrg# works around shells that cannot unset nonexistent variables.
2456c19a6d3Smrg# Preserve -v and -x to the replacement shell.
2466c19a6d3SmrgBASH_ENV=/dev/null
2476c19a6d3SmrgENV=/dev/null
2486c19a6d3Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
2496c19a6d3Smrgcase $- in # ((((
2506c19a6d3Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
2516c19a6d3Smrg  *v* ) as_opts=-v ;;
2526c19a6d3Smrg  *x* ) as_opts=-x ;;
2536c19a6d3Smrg  * ) as_opts= ;;
2546c19a6d3Smrgesac
2556c19a6d3Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
2566c19a6d3Smrg# Admittedly, this is quite paranoid, since all the known shells bail
2576c19a6d3Smrg# out after a failed `exec'.
2586c19a6d3Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
2596c19a6d3Smrgexit 255
2606c19a6d3Smrgfi
2616c19a6d3Smrg
2626c19a6d3Smrg    if test x$as_have_required = xno
2636c19a6d3Smrgthen :
2646c19a6d3Smrg  printf "%s\n" "$0: This script requires a shell more modern than all"
2656c19a6d3Smrg  printf "%s\n" "$0: the shells that I found on your system."
2666c19a6d3Smrg  if test ${ZSH_VERSION+y} ; then
2676c19a6d3Smrg    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2686c19a6d3Smrg    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
2694028d71eSmrg  else
2706c19a6d3Smrg    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
2716c19a6d3Smrg$0: https://gitlab.freedesktop.org/xorg/font/isas-misc/-/issues
2724028d71eSmrg$0: about your system, including any error possibly output
2734028d71eSmrg$0: before this message. Then install a modern shell, or
2744028d71eSmrg$0: manually run the script under such a shell if you do
2754028d71eSmrg$0: have one."
2764028d71eSmrg  fi
2774028d71eSmrg  exit 1
2784028d71eSmrgfi
2794028d71eSmrgfi
2804028d71eSmrgfi
2814028d71eSmrgSHELL=${CONFIG_SHELL-/bin/sh}
2824028d71eSmrgexport SHELL
2834028d71eSmrg# Unset more variables known to interfere with behavior of common tools.
2844028d71eSmrgCLICOLOR_FORCE= GREP_OPTIONS=
2854028d71eSmrgunset CLICOLOR_FORCE GREP_OPTIONS
2864028d71eSmrg
2874028d71eSmrg## --------------------- ##
2884028d71eSmrg## M4sh Shell Functions. ##
2894028d71eSmrg## --------------------- ##
2904028d71eSmrg# as_fn_unset VAR
2914028d71eSmrg# ---------------
2924028d71eSmrg# Portably unset VAR.
2934028d71eSmrgas_fn_unset ()
2944028d71eSmrg{
2954028d71eSmrg  { eval $1=; unset $1;}
2964028d71eSmrg}
2974028d71eSmrgas_unset=as_fn_unset
2984028d71eSmrg
2996c19a6d3Smrg
3004028d71eSmrg# as_fn_set_status STATUS
3014028d71eSmrg# -----------------------
3024028d71eSmrg# Set $? to STATUS, without forking.
3034028d71eSmrgas_fn_set_status ()
3044028d71eSmrg{
3054028d71eSmrg  return $1
3064028d71eSmrg} # as_fn_set_status
3074028d71eSmrg
3084028d71eSmrg# as_fn_exit STATUS
3094028d71eSmrg# -----------------
3104028d71eSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3114028d71eSmrgas_fn_exit ()
3124028d71eSmrg{
3134028d71eSmrg  set +e
3144028d71eSmrg  as_fn_set_status $1
3154028d71eSmrg  exit $1
3164028d71eSmrg} # as_fn_exit
3176c19a6d3Smrg# as_fn_nop
3186c19a6d3Smrg# ---------
3196c19a6d3Smrg# Do nothing but, unlike ":", preserve the value of $?.
3206c19a6d3Smrgas_fn_nop ()
3216c19a6d3Smrg{
3226c19a6d3Smrg  return $?
3236c19a6d3Smrg}
3246c19a6d3Smrgas_nop=as_fn_nop
3254028d71eSmrg
3264028d71eSmrg# as_fn_mkdir_p
3274028d71eSmrg# -------------
3284028d71eSmrg# Create "$as_dir" as a directory, including parents if necessary.
3294028d71eSmrgas_fn_mkdir_p ()
3304028d71eSmrg{
3314028d71eSmrg
3324028d71eSmrg  case $as_dir in #(
3334028d71eSmrg  -*) as_dir=./$as_dir;;
3344028d71eSmrg  esac
3354028d71eSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
3364028d71eSmrg    as_dirs=
3374028d71eSmrg    while :; do
3384028d71eSmrg      case $as_dir in #(
3396c19a6d3Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3404028d71eSmrg      *) as_qdir=$as_dir;;
3414028d71eSmrg      esac
3424028d71eSmrg      as_dirs="'$as_qdir' $as_dirs"
3434028d71eSmrg      as_dir=`$as_dirname -- "$as_dir" ||
3444028d71eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3454028d71eSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3464028d71eSmrg	 X"$as_dir" : 'X\(//\)$' \| \
3474028d71eSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3486c19a6d3Smrgprintf "%s\n" X"$as_dir" |
3494028d71eSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3504028d71eSmrg	    s//\1/
3514028d71eSmrg	    q
3524028d71eSmrg	  }
3534028d71eSmrg	  /^X\(\/\/\)[^/].*/{
3544028d71eSmrg	    s//\1/
3554028d71eSmrg	    q
3564028d71eSmrg	  }
3574028d71eSmrg	  /^X\(\/\/\)$/{
3584028d71eSmrg	    s//\1/
3594028d71eSmrg	    q
3604028d71eSmrg	  }
3614028d71eSmrg	  /^X\(\/\).*/{
3624028d71eSmrg	    s//\1/
3634028d71eSmrg	    q
3644028d71eSmrg	  }
3654028d71eSmrg	  s/.*/./; q'`
3664028d71eSmrg      test -d "$as_dir" && break
3674028d71eSmrg    done
3684028d71eSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3694028d71eSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3704028d71eSmrg
3714028d71eSmrg
3724028d71eSmrg} # as_fn_mkdir_p
3736c19a6d3Smrg
3746c19a6d3Smrg# as_fn_executable_p FILE
3756c19a6d3Smrg# -----------------------
3766c19a6d3Smrg# Test if FILE is an executable regular file.
3776c19a6d3Smrgas_fn_executable_p ()
3786c19a6d3Smrg{
3796c19a6d3Smrg  test -f "$1" && test -x "$1"
3806c19a6d3Smrg} # as_fn_executable_p
3814028d71eSmrg# as_fn_append VAR VALUE
3824028d71eSmrg# ----------------------
3834028d71eSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3844028d71eSmrg# advantage of any shell optimizations that allow amortized linear growth over
3854028d71eSmrg# repeated appends, instead of the typical quadratic growth present in naive
3864028d71eSmrg# implementations.
3876c19a6d3Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3886c19a6d3Smrgthen :
3894028d71eSmrg  eval 'as_fn_append ()
3904028d71eSmrg  {
3914028d71eSmrg    eval $1+=\$2
3924028d71eSmrg  }'
3936c19a6d3Smrgelse $as_nop
3944028d71eSmrg  as_fn_append ()
3954028d71eSmrg  {
3964028d71eSmrg    eval $1=\$$1\$2
3974028d71eSmrg  }
3984028d71eSmrgfi # as_fn_append
3994028d71eSmrg
4004028d71eSmrg# as_fn_arith ARG...
4014028d71eSmrg# ------------------
4024028d71eSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
4034028d71eSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
4044028d71eSmrg# must be portable across $(()) and expr.
4056c19a6d3Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4066c19a6d3Smrgthen :
4074028d71eSmrg  eval 'as_fn_arith ()
4084028d71eSmrg  {
4094028d71eSmrg    as_val=$(( $* ))
4104028d71eSmrg  }'
4116c19a6d3Smrgelse $as_nop
4124028d71eSmrg  as_fn_arith ()
4134028d71eSmrg  {
4144028d71eSmrg    as_val=`expr "$@" || test $? -eq 1`
4154028d71eSmrg  }
4164028d71eSmrgfi # as_fn_arith
4174028d71eSmrg
4186c19a6d3Smrg# as_fn_nop
4196c19a6d3Smrg# ---------
4206c19a6d3Smrg# Do nothing but, unlike ":", preserve the value of $?.
4216c19a6d3Smrgas_fn_nop ()
4226c19a6d3Smrg{
4236c19a6d3Smrg  return $?
4246c19a6d3Smrg}
4256c19a6d3Smrgas_nop=as_fn_nop
4264028d71eSmrg
4274028d71eSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
4284028d71eSmrg# ----------------------------------------
4294028d71eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4304028d71eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4314028d71eSmrg# script with STATUS, using 1 if that was 0.
4324028d71eSmrgas_fn_error ()
4334028d71eSmrg{
4344028d71eSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
4354028d71eSmrg  if test "$4"; then
4364028d71eSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4376c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4384028d71eSmrg  fi
4396c19a6d3Smrg  printf "%s\n" "$as_me: error: $2" >&2
4404028d71eSmrg  as_fn_exit $as_status
4414028d71eSmrg} # as_fn_error
4424028d71eSmrg
4430ad07f78Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4440ad07f78Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
44598049353Smrg  as_expr=expr
44698049353Smrgelse
44798049353Smrg  as_expr=false
44898049353Smrgfi
44998049353Smrg
4500ad07f78Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
45198049353Smrg  as_basename=basename
45298049353Smrgelse
45398049353Smrg  as_basename=false
45498049353Smrgfi
45598049353Smrg
4564028d71eSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4574028d71eSmrg  as_dirname=dirname
4584028d71eSmrgelse
4594028d71eSmrg  as_dirname=false
4604028d71eSmrgfi
46198049353Smrg
4620ad07f78Smrgas_me=`$as_basename -- "$0" ||
46398049353Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46498049353Smrg	 X"$0" : 'X\(//\)$' \| \
4650ad07f78Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4666c19a6d3Smrgprintf "%s\n" X/"$0" |
4670ad07f78Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
4680ad07f78Smrg	    s//\1/
4690ad07f78Smrg	    q
4700ad07f78Smrg	  }
4710ad07f78Smrg	  /^X\/\(\/\/\)$/{
4720ad07f78Smrg	    s//\1/
4730ad07f78Smrg	    q
4740ad07f78Smrg	  }
4750ad07f78Smrg	  /^X\/\(\/\).*/{
4760ad07f78Smrg	    s//\1/
4770ad07f78Smrg	    q
4780ad07f78Smrg	  }
4790ad07f78Smrg	  s/.*/./; q'`
48098049353Smrg
4814028d71eSmrg# Avoid depending upon Character Ranges.
4824028d71eSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
4834028d71eSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4844028d71eSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
4854028d71eSmrgas_cr_digits='0123456789'
4864028d71eSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
48798049353Smrg
48898049353Smrg
4894028d71eSmrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
4904028d71eSmrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
4914028d71eSmrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
4924028d71eSmrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
4934028d71eSmrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
4944028d71eSmrg  sed -n '
4954028d71eSmrg    p
4964028d71eSmrg    /[$]LINENO/=
4974028d71eSmrg  ' <$as_myself |
4984028d71eSmrg    sed '
4994028d71eSmrg      s/[$]LINENO.*/&-/
5004028d71eSmrg      t lineno
5014028d71eSmrg      b
5024028d71eSmrg      :lineno
5034028d71eSmrg      N
5044028d71eSmrg      :loop
5054028d71eSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5064028d71eSmrg      t loop
5074028d71eSmrg      s/-\n.*//
5084028d71eSmrg    ' >$as_me.lineno &&
5094028d71eSmrg  chmod +x "$as_me.lineno" ||
5106c19a6d3Smrg    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
51198049353Smrg
5126c19a6d3Smrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
5136c19a6d3Smrg  # already done that, so ensure we don't try to do so again and fall
5146c19a6d3Smrg  # in an infinite loop.  This has already happened in practice.
5156c19a6d3Smrg  _as_can_reexec=no; export _as_can_reexec
5164028d71eSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
5174028d71eSmrg  # (the dirname of $[0] is not the place where we might find the
5184028d71eSmrg  # original and so on.  Autoconf is especially sensitive to this).
5194028d71eSmrg  . "./$as_me.lineno"
5204028d71eSmrg  # Exit status is that of the last command.
5214028d71eSmrg  exit
5220ad07f78Smrg}
52398049353Smrg
5246c19a6d3Smrg
5256c19a6d3Smrg# Determine whether it's possible to make 'echo' print without a newline.
5266c19a6d3Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5276c19a6d3Smrg# for compatibility with existing Makefiles.
5284028d71eSmrgECHO_C= ECHO_N= ECHO_T=
5294028d71eSmrgcase `echo -n x` in #(((((
5304028d71eSmrg-n*)
5314028d71eSmrg  case `echo 'xy\c'` in
5324028d71eSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5334028d71eSmrg  xy)  ECHO_C='\c';;
5344028d71eSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5354028d71eSmrg       ECHO_T='	';;
5364028d71eSmrg  esac;;
5374028d71eSmrg*)
5384028d71eSmrg  ECHO_N='-n';;
5394028d71eSmrgesac
54098049353Smrg
5416c19a6d3Smrg# For backward compatibility with old third-party macros, we provide
5426c19a6d3Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
5436c19a6d3Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5446c19a6d3Smrgas_echo='printf %s\n'
5456c19a6d3Smrgas_echo_n='printf %s'
5466c19a6d3Smrg
5476c19a6d3Smrg
5484028d71eSmrgrm -f conf$$ conf$$.exe conf$$.file
5494028d71eSmrgif test -d conf$$.dir; then
5504028d71eSmrg  rm -f conf$$.dir/conf$$.file
5514028d71eSmrgelse
5524028d71eSmrg  rm -f conf$$.dir
5534028d71eSmrg  mkdir conf$$.dir 2>/dev/null
5540ad07f78Smrgfi
5554028d71eSmrgif (echo >conf$$.file) 2>/dev/null; then
5564028d71eSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5574028d71eSmrg    as_ln_s='ln -s'
5584028d71eSmrg    # ... but there are two gotchas:
5594028d71eSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5604028d71eSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5616c19a6d3Smrg    # In both cases, we have to default to `cp -pR'.
5624028d71eSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5636c19a6d3Smrg      as_ln_s='cp -pR'
5644028d71eSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5654028d71eSmrg    as_ln_s=ln
5664028d71eSmrg  else
5676c19a6d3Smrg    as_ln_s='cp -pR'
5684028d71eSmrg  fi
5690ad07f78Smrgelse
5706c19a6d3Smrg  as_ln_s='cp -pR'
5710ad07f78Smrgfi
5724028d71eSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5734028d71eSmrgrmdir conf$$.dir 2>/dev/null
5740ad07f78Smrg
5754028d71eSmrgif mkdir -p . 2>/dev/null; then
5764028d71eSmrg  as_mkdir_p='mkdir -p "$as_dir"'
5774028d71eSmrgelse
5784028d71eSmrg  test -d ./-p && rmdir ./-p
5794028d71eSmrg  as_mkdir_p=false
5800ad07f78Smrgfi
5810ad07f78Smrg
5826c19a6d3Smrgas_test_x='test -x'
5836c19a6d3Smrgas_executable_p=as_fn_executable_p
5840ad07f78Smrg
5854028d71eSmrg# Sed expression to map a string onto a valid CPP name.
5864028d71eSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5870ad07f78Smrg
5884028d71eSmrg# Sed expression to map a string onto a valid variable name.
5894028d71eSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5900ad07f78Smrg
5910ad07f78Smrg
5924028d71eSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null
5934028d71eSmrgexec 6>&1
59498049353Smrg
59598049353Smrg# Name of the host.
5964028d71eSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
59798049353Smrg# so uname gets run too.
59898049353Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
59998049353Smrg
60098049353Smrg#
60198049353Smrg# Initializations.
60298049353Smrg#
60398049353Smrgac_default_prefix=/usr/local
6040ad07f78Smrgac_clean_files=
60598049353Smrgac_config_libobj_dir=.
6060ad07f78SmrgLIBOBJS=
60798049353Smrgcross_compiling=no
60898049353Smrgsubdirs=
60998049353SmrgMFLAGS=
61098049353SmrgMAKEFLAGS=
61198049353Smrg
61298049353Smrg# Identity of this package.
61398049353SmrgPACKAGE_NAME='font-isas-misc'
61498049353SmrgPACKAGE_TARNAME='font-isas-misc'
6156c19a6d3SmrgPACKAGE_VERSION='1.0.4'
6166c19a6d3SmrgPACKAGE_STRING='font-isas-misc 1.0.4'
6176c19a6d3SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/isas-misc/-/issues'
6184028d71eSmrgPACKAGE_URL=''
61998049353Smrg
6206c19a6d3Smrgac_subst_vars='LTLIBOBJS
6210ad07f78SmrgLIBOBJS
6220ad07f78SmrgCOMPRESS_SUFFIX
6236c19a6d3SmrgCOMPRESS_FLAGS
6240ad07f78SmrgCOMPRESS
6250ad07f78SmrgBDFTOPCF
6260ad07f78SmrgMKFONTDIR
6270ad07f78SmrgRUN_FCCACHE
6280ad07f78SmrgFCCACHE
6290ad07f78SmrgFONTDIR
6300ad07f78SmrgFONTROOTDIR
6314028d71eSmrgMAN_SUBSTS
6324028d71eSmrgXORG_MAN_PAGE
6330ad07f78SmrgADMIN_MAN_DIR
6340ad07f78SmrgDRIVER_MAN_DIR
6350ad07f78SmrgMISC_MAN_DIR
6360ad07f78SmrgFILE_MAN_DIR
6370ad07f78SmrgLIB_MAN_DIR
6380ad07f78SmrgAPP_MAN_DIR
6390ad07f78SmrgADMIN_MAN_SUFFIX
6400ad07f78SmrgDRIVER_MAN_SUFFIX
6410ad07f78SmrgMISC_MAN_SUFFIX
6420ad07f78SmrgFILE_MAN_SUFFIX
6430ad07f78SmrgLIB_MAN_SUFFIX
6440ad07f78SmrgAPP_MAN_SUFFIX
6454028d71eSmrgSED
6460ad07f78Smrghost_os
6470ad07f78Smrghost_vendor
6480ad07f78Smrghost_cpu
6490ad07f78Smrghost
6500ad07f78Smrgbuild_os
6510ad07f78Smrgbuild_vendor
6520ad07f78Smrgbuild_cpu
6530ad07f78Smrgbuild
6544028d71eSmrgINSTALL_CMD
6554028d71eSmrgPKG_CONFIG_LIBDIR
6564028d71eSmrgPKG_CONFIG_PATH
6574028d71eSmrgPKG_CONFIG
6580ad07f78SmrgCHANGELOG_CMD
6596c19a6d3SmrgAM_BACKSLASH
6606c19a6d3SmrgAM_DEFAULT_VERBOSITY
6616c19a6d3SmrgAM_DEFAULT_V
6626c19a6d3SmrgAM_V
6636c19a6d3SmrgCSCOPE
6646c19a6d3SmrgETAGS
6656c19a6d3SmrgCTAGS
6660ad07f78Smrgam__untar
6670ad07f78Smrgam__tar
6680ad07f78SmrgAMTAR
6690ad07f78Smrgam__leading_dot
6700ad07f78SmrgSET_MAKE
6710ad07f78SmrgAWK
6720ad07f78Smrgmkdir_p
6730ad07f78SmrgMKDIR_P
6740ad07f78SmrgINSTALL_STRIP_PROGRAM
6750ad07f78SmrgSTRIP
6760ad07f78Smrginstall_sh
6770ad07f78SmrgMAKEINFO
6780ad07f78SmrgAUTOHEADER
6790ad07f78SmrgAUTOMAKE
6800ad07f78SmrgAUTOCONF
6810ad07f78SmrgACLOCAL
6820ad07f78SmrgVERSION
6830ad07f78SmrgPACKAGE
6840ad07f78SmrgCYGPATH_W
6850ad07f78Smrgam__isrc
6860ad07f78SmrgINSTALL_DATA
6870ad07f78SmrgINSTALL_SCRIPT
6880ad07f78SmrgINSTALL_PROGRAM
6890ad07f78Smrgtarget_alias
6900ad07f78Smrghost_alias
6910ad07f78Smrgbuild_alias
6920ad07f78SmrgLIBS
6930ad07f78SmrgECHO_T
6940ad07f78SmrgECHO_N
6950ad07f78SmrgECHO_C
6960ad07f78SmrgDEFS
6970ad07f78Smrgmandir
6980ad07f78Smrglocaledir
6990ad07f78Smrglibdir
7000ad07f78Smrgpsdir
7010ad07f78Smrgpdfdir
7020ad07f78Smrgdvidir
7030ad07f78Smrghtmldir
7040ad07f78Smrginfodir
7050ad07f78Smrgdocdir
7060ad07f78Smrgoldincludedir
7070ad07f78Smrgincludedir
7086c19a6d3Smrgrunstatedir
7090ad07f78Smrglocalstatedir
7100ad07f78Smrgsharedstatedir
7110ad07f78Smrgsysconfdir
7120ad07f78Smrgdatadir
7130ad07f78Smrgdatarootdir
7140ad07f78Smrglibexecdir
7150ad07f78Smrgsbindir
7160ad07f78Smrgbindir
7170ad07f78Smrgprogram_transform_name
7180ad07f78Smrgprefix
7190ad07f78Smrgexec_prefix
7204028d71eSmrgPACKAGE_URL
7210ad07f78SmrgPACKAGE_BUGREPORT
7220ad07f78SmrgPACKAGE_STRING
7230ad07f78SmrgPACKAGE_VERSION
7240ad07f78SmrgPACKAGE_TARNAME
7250ad07f78SmrgPACKAGE_NAME
7260ad07f78SmrgPATH_SEPARATOR
7270ad07f78SmrgSHELL'
72898049353Smrgac_subst_files=''
7290ad07f78Smrgac_user_opts='
7300ad07f78Smrgenable_option_checking
7314028d71eSmrgenable_silent_rules
7320ad07f78Smrgwith_fontrootdir
7330ad07f78Smrgwith_fontdir
7340ad07f78Smrgwith_compression
7350ad07f78Smrg'
7360ad07f78Smrg      ac_precious_vars='build_alias
7370ad07f78Smrghost_alias
7380ad07f78Smrgtarget_alias
7394028d71eSmrgPKG_CONFIG
7404028d71eSmrgPKG_CONFIG_PATH
7414028d71eSmrgPKG_CONFIG_LIBDIR'
7420ad07f78Smrg
74398049353Smrg
74498049353Smrg# Initialize some variables set by options.
74598049353Smrgac_init_help=
74698049353Smrgac_init_version=false
7470ad07f78Smrgac_unrecognized_opts=
7480ad07f78Smrgac_unrecognized_sep=
74998049353Smrg# The variables have the same names as the options, with
75098049353Smrg# dashes changed to underlines.
75198049353Smrgcache_file=/dev/null
75298049353Smrgexec_prefix=NONE
75398049353Smrgno_create=
75498049353Smrgno_recursion=
75598049353Smrgprefix=NONE
75698049353Smrgprogram_prefix=NONE
75798049353Smrgprogram_suffix=NONE
75898049353Smrgprogram_transform_name=s,x,x,
75998049353Smrgsilent=
76098049353Smrgsite=
76198049353Smrgsrcdir=
76298049353Smrgverbose=
76398049353Smrgx_includes=NONE
76498049353Smrgx_libraries=NONE
76598049353Smrg
76698049353Smrg# Installation directory options.
76798049353Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
76898049353Smrg# and all the variables that are supposed to be based on exec_prefix
76998049353Smrg# by default will actually change.
77098049353Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
7710ad07f78Smrg# (The list follows the same order as the GNU Coding Standards.)
77298049353Smrgbindir='${exec_prefix}/bin'
77398049353Smrgsbindir='${exec_prefix}/sbin'
77498049353Smrglibexecdir='${exec_prefix}/libexec'
7750ad07f78Smrgdatarootdir='${prefix}/share'
7760ad07f78Smrgdatadir='${datarootdir}'
77798049353Smrgsysconfdir='${prefix}/etc'
77898049353Smrgsharedstatedir='${prefix}/com'
77998049353Smrglocalstatedir='${prefix}/var'
7806c19a6d3Smrgrunstatedir='${localstatedir}/run'
78198049353Smrgincludedir='${prefix}/include'
78298049353Smrgoldincludedir='/usr/include'
7830ad07f78Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7840ad07f78Smrginfodir='${datarootdir}/info'
7850ad07f78Smrghtmldir='${docdir}'
7860ad07f78Smrgdvidir='${docdir}'
7870ad07f78Smrgpdfdir='${docdir}'
7880ad07f78Smrgpsdir='${docdir}'
7890ad07f78Smrglibdir='${exec_prefix}/lib'
7900ad07f78Smrglocaledir='${datarootdir}/locale'
7910ad07f78Smrgmandir='${datarootdir}/man'
79298049353Smrg
79398049353Smrgac_prev=
7940ad07f78Smrgac_dashdash=
79598049353Smrgfor ac_option
79698049353Smrgdo
79798049353Smrg  # If the previous option needs an argument, assign it.
79898049353Smrg  if test -n "$ac_prev"; then
7990ad07f78Smrg    eval $ac_prev=\$ac_option
80098049353Smrg    ac_prev=
80198049353Smrg    continue
80298049353Smrg  fi
80398049353Smrg
8040ad07f78Smrg  case $ac_option in
8054028d71eSmrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
8064028d71eSmrg  *=)   ac_optarg= ;;
8074028d71eSmrg  *)    ac_optarg=yes ;;
8080ad07f78Smrg  esac
80998049353Smrg
8100ad07f78Smrg  case $ac_dashdash$ac_option in
8110ad07f78Smrg  --)
8120ad07f78Smrg    ac_dashdash=yes ;;
81398049353Smrg
81498049353Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
81598049353Smrg    ac_prev=bindir ;;
81698049353Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
81798049353Smrg    bindir=$ac_optarg ;;
81898049353Smrg
81998049353Smrg  -build | --build | --buil | --bui | --bu)
82098049353Smrg    ac_prev=build_alias ;;
82198049353Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
82298049353Smrg    build_alias=$ac_optarg ;;
82398049353Smrg
82498049353Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
82598049353Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
82698049353Smrg    ac_prev=cache_file ;;
82798049353Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
82898049353Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
82998049353Smrg    cache_file=$ac_optarg ;;
83098049353Smrg
83198049353Smrg  --config-cache | -C)
83298049353Smrg    cache_file=config.cache ;;
83398049353Smrg
8340ad07f78Smrg  -datadir | --datadir | --datadi | --datad)
83598049353Smrg    ac_prev=datadir ;;
8360ad07f78Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
83798049353Smrg    datadir=$ac_optarg ;;
83898049353Smrg
8390ad07f78Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8400ad07f78Smrg  | --dataroo | --dataro | --datar)
8410ad07f78Smrg    ac_prev=datarootdir ;;
8420ad07f78Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8430ad07f78Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8440ad07f78Smrg    datarootdir=$ac_optarg ;;
8450ad07f78Smrg
84698049353Smrg  -disable-* | --disable-*)
8470ad07f78Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
84898049353Smrg    # Reject names that are not valid shell variable names.
8490ad07f78Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8506c19a6d3Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
8510ad07f78Smrg    ac_useropt_orig=$ac_useropt
8526c19a6d3Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
8530ad07f78Smrg    case $ac_user_opts in
8540ad07f78Smrg      *"
8550ad07f78Smrg"enable_$ac_useropt"
8560ad07f78Smrg"*) ;;
8570ad07f78Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8580ad07f78Smrg	 ac_unrecognized_sep=', ';;
8590ad07f78Smrg    esac
8600ad07f78Smrg    eval enable_$ac_useropt=no ;;
8610ad07f78Smrg
8620ad07f78Smrg  -docdir | --docdir | --docdi | --doc | --do)
8630ad07f78Smrg    ac_prev=docdir ;;
8640ad07f78Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8650ad07f78Smrg    docdir=$ac_optarg ;;
8660ad07f78Smrg
8670ad07f78Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8680ad07f78Smrg    ac_prev=dvidir ;;
8690ad07f78Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8700ad07f78Smrg    dvidir=$ac_optarg ;;
87198049353Smrg
87298049353Smrg  -enable-* | --enable-*)
8730ad07f78Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
87498049353Smrg    # Reject names that are not valid shell variable names.
8750ad07f78Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8766c19a6d3Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
8770ad07f78Smrg    ac_useropt_orig=$ac_useropt
8786c19a6d3Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
8790ad07f78Smrg    case $ac_user_opts in
8800ad07f78Smrg      *"
8810ad07f78Smrg"enable_$ac_useropt"
8820ad07f78Smrg"*) ;;
8830ad07f78Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
8840ad07f78Smrg	 ac_unrecognized_sep=', ';;
88598049353Smrg    esac
8860ad07f78Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
88798049353Smrg
88898049353Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
88998049353Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
89098049353Smrg  | --exec | --exe | --ex)
89198049353Smrg    ac_prev=exec_prefix ;;
89298049353Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
89398049353Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
89498049353Smrg  | --exec=* | --exe=* | --ex=*)
89598049353Smrg    exec_prefix=$ac_optarg ;;
89698049353Smrg
89798049353Smrg  -gas | --gas | --ga | --g)
89898049353Smrg    # Obsolete; use --with-gas.
89998049353Smrg    with_gas=yes ;;
90098049353Smrg
90198049353Smrg  -help | --help | --hel | --he | -h)
90298049353Smrg    ac_init_help=long ;;
90398049353Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
90498049353Smrg    ac_init_help=recursive ;;
90598049353Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
90698049353Smrg    ac_init_help=short ;;
90798049353Smrg
90898049353Smrg  -host | --host | --hos | --ho)
90998049353Smrg    ac_prev=host_alias ;;
91098049353Smrg  -host=* | --host=* | --hos=* | --ho=*)
91198049353Smrg    host_alias=$ac_optarg ;;
91298049353Smrg
9130ad07f78Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9140ad07f78Smrg    ac_prev=htmldir ;;
9150ad07f78Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9160ad07f78Smrg  | --ht=*)
9170ad07f78Smrg    htmldir=$ac_optarg ;;
9180ad07f78Smrg
91998049353Smrg  -includedir | --includedir | --includedi | --included | --include \
92098049353Smrg  | --includ | --inclu | --incl | --inc)
92198049353Smrg    ac_prev=includedir ;;
92298049353Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
92398049353Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
92498049353Smrg    includedir=$ac_optarg ;;
92598049353Smrg
92698049353Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
92798049353Smrg    ac_prev=infodir ;;
92898049353Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
92998049353Smrg    infodir=$ac_optarg ;;
93098049353Smrg
93198049353Smrg  -libdir | --libdir | --libdi | --libd)
93298049353Smrg    ac_prev=libdir ;;
93398049353Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
93498049353Smrg    libdir=$ac_optarg ;;
93598049353Smrg
93698049353Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
93798049353Smrg  | --libexe | --libex | --libe)
93898049353Smrg    ac_prev=libexecdir ;;
93998049353Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
94098049353Smrg  | --libexe=* | --libex=* | --libe=*)
94198049353Smrg    libexecdir=$ac_optarg ;;
94298049353Smrg
9430ad07f78Smrg  -localedir | --localedir | --localedi | --localed | --locale)
9440ad07f78Smrg    ac_prev=localedir ;;
9450ad07f78Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9460ad07f78Smrg    localedir=$ac_optarg ;;
9470ad07f78Smrg
94898049353Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9490ad07f78Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
95098049353Smrg    ac_prev=localstatedir ;;
95198049353Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9520ad07f78Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
95398049353Smrg    localstatedir=$ac_optarg ;;
95498049353Smrg
95598049353Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
95698049353Smrg    ac_prev=mandir ;;
95798049353Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
95898049353Smrg    mandir=$ac_optarg ;;
95998049353Smrg
96098049353Smrg  -nfp | --nfp | --nf)
96198049353Smrg    # Obsolete; use --without-fp.
96298049353Smrg    with_fp=no ;;
96398049353Smrg
96498049353Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
96598049353Smrg  | --no-cr | --no-c | -n)
96698049353Smrg    no_create=yes ;;
96798049353Smrg
96898049353Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
96998049353Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
97098049353Smrg    no_recursion=yes ;;
97198049353Smrg
97298049353Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
97398049353Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
97498049353Smrg  | --oldin | --oldi | --old | --ol | --o)
97598049353Smrg    ac_prev=oldincludedir ;;
97698049353Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
97798049353Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
97898049353Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
97998049353Smrg    oldincludedir=$ac_optarg ;;
98098049353Smrg
98198049353Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
98298049353Smrg    ac_prev=prefix ;;
98398049353Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
98498049353Smrg    prefix=$ac_optarg ;;
98598049353Smrg
98698049353Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
98798049353Smrg  | --program-pre | --program-pr | --program-p)
98898049353Smrg    ac_prev=program_prefix ;;
98998049353Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
99098049353Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
99198049353Smrg    program_prefix=$ac_optarg ;;
99298049353Smrg
99398049353Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
99498049353Smrg  | --program-suf | --program-su | --program-s)
99598049353Smrg    ac_prev=program_suffix ;;
99698049353Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
99798049353Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
99898049353Smrg    program_suffix=$ac_optarg ;;
99998049353Smrg
100098049353Smrg  -program-transform-name | --program-transform-name \
100198049353Smrg  | --program-transform-nam | --program-transform-na \
100298049353Smrg  | --program-transform-n | --program-transform- \
100398049353Smrg  | --program-transform | --program-transfor \
100498049353Smrg  | --program-transfo | --program-transf \
100598049353Smrg  | --program-trans | --program-tran \
100698049353Smrg  | --progr-tra | --program-tr | --program-t)
100798049353Smrg    ac_prev=program_transform_name ;;
100898049353Smrg  -program-transform-name=* | --program-transform-name=* \
100998049353Smrg  | --program-transform-nam=* | --program-transform-na=* \
101098049353Smrg  | --program-transform-n=* | --program-transform-=* \
101198049353Smrg  | --program-transform=* | --program-transfor=* \
101298049353Smrg  | --program-transfo=* | --program-transf=* \
101398049353Smrg  | --program-trans=* | --program-tran=* \
101498049353Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
101598049353Smrg    program_transform_name=$ac_optarg ;;
101698049353Smrg
10170ad07f78Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10180ad07f78Smrg    ac_prev=pdfdir ;;
10190ad07f78Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10200ad07f78Smrg    pdfdir=$ac_optarg ;;
10210ad07f78Smrg
10220ad07f78Smrg  -psdir | --psdir | --psdi | --psd | --ps)
10230ad07f78Smrg    ac_prev=psdir ;;
10240ad07f78Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10250ad07f78Smrg    psdir=$ac_optarg ;;
10260ad07f78Smrg
102798049353Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
102898049353Smrg  | -silent | --silent | --silen | --sile | --sil)
102998049353Smrg    silent=yes ;;
103098049353Smrg
10316c19a6d3Smrg  -runstatedir | --runstatedir | --runstatedi | --runstated \
10326c19a6d3Smrg  | --runstate | --runstat | --runsta | --runst | --runs \
10336c19a6d3Smrg  | --run | --ru | --r)
10346c19a6d3Smrg    ac_prev=runstatedir ;;
10356c19a6d3Smrg  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
10366c19a6d3Smrg  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
10376c19a6d3Smrg  | --run=* | --ru=* | --r=*)
10386c19a6d3Smrg    runstatedir=$ac_optarg ;;
10396c19a6d3Smrg
104098049353Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
104198049353Smrg    ac_prev=sbindir ;;
104298049353Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
104398049353Smrg  | --sbi=* | --sb=*)
104498049353Smrg    sbindir=$ac_optarg ;;
104598049353Smrg
104698049353Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
104798049353Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
104898049353Smrg  | --sharedst | --shareds | --shared | --share | --shar \
104998049353Smrg  | --sha | --sh)
105098049353Smrg    ac_prev=sharedstatedir ;;
105198049353Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
105298049353Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
105398049353Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
105498049353Smrg  | --sha=* | --sh=*)
105598049353Smrg    sharedstatedir=$ac_optarg ;;
105698049353Smrg
105798049353Smrg  -site | --site | --sit)
105898049353Smrg    ac_prev=site ;;
105998049353Smrg  -site=* | --site=* | --sit=*)
106098049353Smrg    site=$ac_optarg ;;
106198049353Smrg
106298049353Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
106398049353Smrg    ac_prev=srcdir ;;
106498049353Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
106598049353Smrg    srcdir=$ac_optarg ;;
106698049353Smrg
106798049353Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
106898049353Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
106998049353Smrg    ac_prev=sysconfdir ;;
107098049353Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
107198049353Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
107298049353Smrg    sysconfdir=$ac_optarg ;;
107398049353Smrg
107498049353Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
107598049353Smrg    ac_prev=target_alias ;;
107698049353Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
107798049353Smrg    target_alias=$ac_optarg ;;
107898049353Smrg
107998049353Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
108098049353Smrg    verbose=yes ;;
108198049353Smrg
108298049353Smrg  -version | --version | --versio | --versi | --vers | -V)
108398049353Smrg    ac_init_version=: ;;
108498049353Smrg
108598049353Smrg  -with-* | --with-*)
10860ad07f78Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
108798049353Smrg    # Reject names that are not valid shell variable names.
10880ad07f78Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10896c19a6d3Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
10900ad07f78Smrg    ac_useropt_orig=$ac_useropt
10916c19a6d3Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
10920ad07f78Smrg    case $ac_user_opts in
10930ad07f78Smrg      *"
10940ad07f78Smrg"with_$ac_useropt"
10950ad07f78Smrg"*) ;;
10960ad07f78Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10970ad07f78Smrg	 ac_unrecognized_sep=', ';;
109898049353Smrg    esac
10990ad07f78Smrg    eval with_$ac_useropt=\$ac_optarg ;;
110098049353Smrg
110198049353Smrg  -without-* | --without-*)
11020ad07f78Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
110398049353Smrg    # Reject names that are not valid shell variable names.
11040ad07f78Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11056c19a6d3Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
11060ad07f78Smrg    ac_useropt_orig=$ac_useropt
11076c19a6d3Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11080ad07f78Smrg    case $ac_user_opts in
11090ad07f78Smrg      *"
11100ad07f78Smrg"with_$ac_useropt"
11110ad07f78Smrg"*) ;;
11120ad07f78Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11130ad07f78Smrg	 ac_unrecognized_sep=', ';;
11140ad07f78Smrg    esac
11150ad07f78Smrg    eval with_$ac_useropt=no ;;
111698049353Smrg
111798049353Smrg  --x)
111898049353Smrg    # Obsolete; use --with-x.
111998049353Smrg    with_x=yes ;;
112098049353Smrg
112198049353Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
112298049353Smrg  | --x-incl | --x-inc | --x-in | --x-i)
112398049353Smrg    ac_prev=x_includes ;;
112498049353Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
112598049353Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
112698049353Smrg    x_includes=$ac_optarg ;;
112798049353Smrg
112898049353Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
112998049353Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
113098049353Smrg    ac_prev=x_libraries ;;
113198049353Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
113298049353Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
113398049353Smrg    x_libraries=$ac_optarg ;;
113498049353Smrg
11354028d71eSmrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
11364028d71eSmrgTry \`$0 --help' for more information"
113798049353Smrg    ;;
113898049353Smrg
113998049353Smrg  *=*)
114098049353Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
114198049353Smrg    # Reject names that are not valid shell variable names.
11424028d71eSmrg    case $ac_envvar in #(
11434028d71eSmrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
11444028d71eSmrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
11454028d71eSmrg    esac
11460ad07f78Smrg    eval $ac_envvar=\$ac_optarg
114798049353Smrg    export $ac_envvar ;;
114898049353Smrg
114998049353Smrg  *)
115098049353Smrg    # FIXME: should be removed in autoconf 3.0.
11516c19a6d3Smrg    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
115298049353Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11536c19a6d3Smrg      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
11544028d71eSmrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
115598049353Smrg    ;;
115698049353Smrg
115798049353Smrg  esac
115898049353Smrgdone
115998049353Smrg
116098049353Smrgif test -n "$ac_prev"; then
116198049353Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11624028d71eSmrg  as_fn_error $? "missing argument to $ac_option"
116398049353Smrgfi
116498049353Smrg
11650ad07f78Smrgif test -n "$ac_unrecognized_opts"; then
11660ad07f78Smrg  case $enable_option_checking in
11670ad07f78Smrg    no) ;;
11684028d71eSmrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11696c19a6d3Smrg    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
117098049353Smrg  esac
11710ad07f78Smrgfi
117298049353Smrg
11730ad07f78Smrg# Check all directory arguments for consistency.
11740ad07f78Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
11750ad07f78Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
11760ad07f78Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11776c19a6d3Smrg		libdir localedir mandir runstatedir
117898049353Smrgdo
11790ad07f78Smrg  eval ac_val=\$$ac_var
11800ad07f78Smrg  # Remove trailing slashes.
118198049353Smrg  case $ac_val in
11820ad07f78Smrg    */ )
11830ad07f78Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
11840ad07f78Smrg      eval $ac_var=\$ac_val;;
11850ad07f78Smrg  esac
11860ad07f78Smrg  # Be sure to have absolute directory names.
11870ad07f78Smrg  case $ac_val in
11880ad07f78Smrg    [\\/$]* | ?:[\\/]* )  continue;;
11890ad07f78Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
119098049353Smrg  esac
11914028d71eSmrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
119298049353Smrgdone
119398049353Smrg
119498049353Smrg# There might be people who depend on the old broken behavior: `$host'
119598049353Smrg# used to hold the argument of --host etc.
119698049353Smrg# FIXME: To remove some day.
119798049353Smrgbuild=$build_alias
119898049353Smrghost=$host_alias
119998049353Smrgtarget=$target_alias
120098049353Smrg
120198049353Smrg# FIXME: To remove some day.
120298049353Smrgif test "x$host_alias" != x; then
120398049353Smrg  if test "x$build_alias" = x; then
120498049353Smrg    cross_compiling=maybe
120598049353Smrg  elif test "x$build_alias" != "x$host_alias"; then
120698049353Smrg    cross_compiling=yes
120798049353Smrg  fi
120898049353Smrgfi
120998049353Smrg
121098049353Smrgac_tool_prefix=
121198049353Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
121298049353Smrg
121398049353Smrgtest "$silent" = yes && exec 6>/dev/null
121498049353Smrg
121598049353Smrg
12160ad07f78Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
12170ad07f78Smrgac_ls_di=`ls -di .` &&
12180ad07f78Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12194028d71eSmrg  as_fn_error $? "working directory cannot be determined"
12200ad07f78Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12214028d71eSmrg  as_fn_error $? "pwd does not report name of working directory"
12220ad07f78Smrg
12230ad07f78Smrg
122498049353Smrg# Find the source files, if location was not specified.
122598049353Smrgif test -z "$srcdir"; then
122698049353Smrg  ac_srcdir_defaulted=yes
12270ad07f78Smrg  # Try the directory containing this script, then the parent directory.
12280ad07f78Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
12290ad07f78Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12300ad07f78Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
12310ad07f78Smrg	 X"$as_myself" : 'X\(//\)$' \| \
12320ad07f78Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12336c19a6d3Smrgprintf "%s\n" X"$as_myself" |
12340ad07f78Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12350ad07f78Smrg	    s//\1/
12360ad07f78Smrg	    q
12370ad07f78Smrg	  }
12380ad07f78Smrg	  /^X\(\/\/\)[^/].*/{
12390ad07f78Smrg	    s//\1/
12400ad07f78Smrg	    q
12410ad07f78Smrg	  }
12420ad07f78Smrg	  /^X\(\/\/\)$/{
12430ad07f78Smrg	    s//\1/
12440ad07f78Smrg	    q
12450ad07f78Smrg	  }
12460ad07f78Smrg	  /^X\(\/\).*/{
12470ad07f78Smrg	    s//\1/
12480ad07f78Smrg	    q
12490ad07f78Smrg	  }
12500ad07f78Smrg	  s/.*/./; q'`
125198049353Smrg  srcdir=$ac_confdir
12520ad07f78Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
125398049353Smrg    srcdir=..
125498049353Smrg  fi
125598049353Smrgelse
125698049353Smrg  ac_srcdir_defaulted=no
125798049353Smrgfi
12580ad07f78Smrgif test ! -r "$srcdir/$ac_unique_file"; then
12590ad07f78Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12604028d71eSmrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
126198049353Smrgfi
12620ad07f78Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12630ad07f78Smrgac_abs_confdir=`(
12644028d71eSmrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12650ad07f78Smrg	pwd)`
12660ad07f78Smrg# When building in place, set srcdir=.
12670ad07f78Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
12680ad07f78Smrg  srcdir=.
12690ad07f78Smrgfi
12700ad07f78Smrg# Remove unnecessary trailing slashes from srcdir.
12710ad07f78Smrg# Double slashes in file names in object file debugging info
12720ad07f78Smrg# mess up M-x gdb in Emacs.
12730ad07f78Smrgcase $srcdir in
12740ad07f78Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12750ad07f78Smrgesac
12760ad07f78Smrgfor ac_var in $ac_precious_vars; do
12770ad07f78Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
12780ad07f78Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
12790ad07f78Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12800ad07f78Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
12810ad07f78Smrgdone
128298049353Smrg
128398049353Smrg#
128498049353Smrg# Report the --help message.
128598049353Smrg#
128698049353Smrgif test "$ac_init_help" = "long"; then
128798049353Smrg  # Omit some internal or obsolete options to make the list less imposing.
128898049353Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
128998049353Smrg  cat <<_ACEOF
12906c19a6d3Smrg\`configure' configures font-isas-misc 1.0.4 to adapt to many kinds of systems.
129198049353Smrg
129298049353SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
129398049353Smrg
129498049353SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
129598049353SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
129698049353Smrg
129798049353SmrgDefaults for the options are specified in brackets.
129898049353Smrg
129998049353SmrgConfiguration:
130098049353Smrg  -h, --help              display this help and exit
130198049353Smrg      --help=short        display options specific to this package
130298049353Smrg      --help=recursive    display the short help of all the included packages
130398049353Smrg  -V, --version           display version information and exit
13044028d71eSmrg  -q, --quiet, --silent   do not print \`checking ...' messages
130598049353Smrg      --cache-file=FILE   cache test results in FILE [disabled]
130698049353Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
130798049353Smrg  -n, --no-create         do not create output files
130898049353Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
130998049353Smrg
131098049353SmrgInstallation directories:
131198049353Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
13120ad07f78Smrg                          [$ac_default_prefix]
131398049353Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
13140ad07f78Smrg                          [PREFIX]
131598049353Smrg
131698049353SmrgBy default, \`make install' will install all the files in
131798049353Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
131898049353Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
131998049353Smrgfor instance \`--prefix=\$HOME'.
132098049353Smrg
132198049353SmrgFor better control, use the options below.
132298049353Smrg
132398049353SmrgFine tuning of the installation directories:
13240ad07f78Smrg  --bindir=DIR            user executables [EPREFIX/bin]
13250ad07f78Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
13260ad07f78Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
13270ad07f78Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
13280ad07f78Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
13290ad07f78Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
13306c19a6d3Smrg  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
13310ad07f78Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
13320ad07f78Smrg  --includedir=DIR        C header files [PREFIX/include]
13330ad07f78Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
13340ad07f78Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
13350ad07f78Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
13360ad07f78Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
13370ad07f78Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
13380ad07f78Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
13390ad07f78Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/font-isas-misc]
13400ad07f78Smrg  --htmldir=DIR           html documentation [DOCDIR]
13410ad07f78Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
13420ad07f78Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
13430ad07f78Smrg  --psdir=DIR             ps documentation [DOCDIR]
134498049353Smrg_ACEOF
134598049353Smrg
134698049353Smrg  cat <<\_ACEOF
134798049353Smrg
134898049353SmrgProgram names:
134998049353Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
135098049353Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
135198049353Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13520ad07f78Smrg
13530ad07f78SmrgSystem types:
13540ad07f78Smrg  --build=BUILD     configure for building on BUILD [guessed]
13550ad07f78Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
135698049353Smrg_ACEOF
135798049353Smrgfi
135898049353Smrg
135998049353Smrgif test -n "$ac_init_help"; then
136098049353Smrg  case $ac_init_help in
13616c19a6d3Smrg     short | recursive ) echo "Configuration of font-isas-misc 1.0.4:";;
136298049353Smrg   esac
136398049353Smrg  cat <<\_ACEOF
136498049353Smrg
136598049353SmrgOptional Features:
13660ad07f78Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
136798049353Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
136898049353Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
13696c19a6d3Smrg  --enable-silent-rules   less verbose build output (undo: "make V=1")
13706c19a6d3Smrg  --disable-silent-rules  verbose build output (undo: "make V=0")
137198049353Smrg
137298049353SmrgOptional Packages:
137398049353Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
137498049353Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
13750ad07f78Smrg  --with-fontrootdir=DIR  Path to root directory for font files
13760ad07f78Smrg  --with-fontdir=DIR      Path to misc files [FONTROOTDIR/misc]
13770ad07f78Smrg  --with-compression=<no|compress|gzip|bzip2>
13780ad07f78Smrg                          compression method to use on pcf fonts
13790ad07f78Smrg
13800ad07f78SmrgSome influential environment variables:
13810ad07f78Smrg  PKG_CONFIG  path to pkg-config utility
13824028d71eSmrg  PKG_CONFIG_PATH
13834028d71eSmrg              directories to add to pkg-config's search path
13844028d71eSmrg  PKG_CONFIG_LIBDIR
13854028d71eSmrg              path overriding pkg-config's built-in search path
13860ad07f78Smrg
13870ad07f78SmrgUse these variables to override the choices made by `configure' or to help
13880ad07f78Smrgit to find libraries and programs with nonstandard names/locations.
138998049353Smrg
13906c19a6d3SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/isas-misc/-/issues>.
139198049353Smrg_ACEOF
13920ad07f78Smrgac_status=$?
139398049353Smrgfi
139498049353Smrg
139598049353Smrgif test "$ac_init_help" = "recursive"; then
139698049353Smrg  # If there are subdirs, report their specific --help.
139798049353Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13980ad07f78Smrg    test -d "$ac_dir" ||
13990ad07f78Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
14000ad07f78Smrg      continue
140198049353Smrg    ac_builddir=.
140298049353Smrg
14030ad07f78Smrgcase "$ac_dir" in
14040ad07f78Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14050ad07f78Smrg*)
14066c19a6d3Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14070ad07f78Smrg  # A ".." for each directory in $ac_dir_suffix.
14086c19a6d3Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14090ad07f78Smrg  case $ac_top_builddir_sub in
14100ad07f78Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14110ad07f78Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14120ad07f78Smrg  esac ;;
14130ad07f78Smrgesac
14140ad07f78Smrgac_abs_top_builddir=$ac_pwd
14150ad07f78Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
14160ad07f78Smrg# for backward compatibility:
14170ad07f78Smrgac_top_builddir=$ac_top_build_prefix
141898049353Smrg
141998049353Smrgcase $srcdir in
14200ad07f78Smrg  .)  # We are building in place.
142198049353Smrg    ac_srcdir=.
14220ad07f78Smrg    ac_top_srcdir=$ac_top_builddir_sub
14230ad07f78Smrg    ac_abs_top_srcdir=$ac_pwd ;;
14240ad07f78Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
142598049353Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
14260ad07f78Smrg    ac_top_srcdir=$srcdir
14270ad07f78Smrg    ac_abs_top_srcdir=$srcdir ;;
14280ad07f78Smrg  *) # Relative name.
14290ad07f78Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14300ad07f78Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
14310ad07f78Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
143298049353Smrgesac
14330ad07f78Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14340ad07f78Smrg
14350ad07f78Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
14366c19a6d3Smrg    # Check for configure.gnu first; this name is used for a wrapper for
14376c19a6d3Smrg    # Metaconfig's "Configure" on case-insensitive file systems.
14380ad07f78Smrg    if test -f "$ac_srcdir/configure.gnu"; then
14390ad07f78Smrg      echo &&
14400ad07f78Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14410ad07f78Smrg    elif test -f "$ac_srcdir/configure"; then
14420ad07f78Smrg      echo &&
14430ad07f78Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
144498049353Smrg    else
14456c19a6d3Smrg      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14460ad07f78Smrg    fi || ac_status=$?
14470ad07f78Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
144898049353Smrg  done
144998049353Smrgfi
145098049353Smrg
14510ad07f78Smrgtest -n "$ac_init_help" && exit $ac_status
145298049353Smrgif $ac_init_version; then
145398049353Smrg  cat <<\_ACEOF
14546c19a6d3Smrgfont-isas-misc configure 1.0.4
14556c19a6d3Smrggenerated by GNU Autoconf 2.71
145698049353Smrg
14576c19a6d3SmrgCopyright (C) 2021 Free Software Foundation, Inc.
145898049353SmrgThis configure script is free software; the Free Software Foundation
145998049353Smrggives unlimited permission to copy, distribute and modify it.
146098049353Smrg_ACEOF
14610ad07f78Smrg  exit
146298049353Smrgfi
146398049353Smrg
14644028d71eSmrg## ------------------------ ##
14654028d71eSmrg## Autoconf initialization. ##
14664028d71eSmrg## ------------------------ ##
14676c19a6d3Smrgac_configure_args_raw=
14686c19a6d3Smrgfor ac_arg
14696c19a6d3Smrgdo
14706c19a6d3Smrg  case $ac_arg in
14716c19a6d3Smrg  *\'*)
14726c19a6d3Smrg    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14736c19a6d3Smrg  esac
14746c19a6d3Smrg  as_fn_append ac_configure_args_raw " '$ac_arg'"
14756c19a6d3Smrgdone
147698049353Smrg
14776c19a6d3Smrgcase $ac_configure_args_raw in
14786c19a6d3Smrg  *$as_nl*)
14796c19a6d3Smrg    ac_safe_unquote= ;;
14806c19a6d3Smrg  *)
14816c19a6d3Smrg    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
14826c19a6d3Smrg    ac_unsafe_a="$ac_unsafe_z#~"
14836c19a6d3Smrg    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
14846c19a6d3Smrg    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
14854028d71eSmrgesac
14864028d71eSmrg
14874028d71eSmrgcat >config.log <<_ACEOF
14884028d71eSmrgThis file contains any messages produced by compilers while
14894028d71eSmrgrunning configure, to aid debugging if configure makes a mistake.
14904028d71eSmrg
14916c19a6d3SmrgIt was created by font-isas-misc $as_me 1.0.4, which was
14926c19a6d3Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
14934028d71eSmrg
14946c19a6d3Smrg  $ $0$ac_configure_args_raw
14954028d71eSmrg
14964028d71eSmrg_ACEOF
14974028d71eSmrgexec 5>>config.log
14984028d71eSmrg{
14994028d71eSmrgcat <<_ASUNAME
15004028d71eSmrg## --------- ##
15014028d71eSmrg## Platform. ##
15024028d71eSmrg## --------- ##
15034028d71eSmrg
15044028d71eSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
15054028d71eSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
15064028d71eSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
15074028d71eSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
15084028d71eSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
15094028d71eSmrg
15104028d71eSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
15114028d71eSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
15124028d71eSmrg
15134028d71eSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
15144028d71eSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
15154028d71eSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
15164028d71eSmrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
15174028d71eSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
15184028d71eSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
15194028d71eSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
15204028d71eSmrg
15214028d71eSmrg_ASUNAME
15224028d71eSmrg
15234028d71eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
152498049353Smrgfor as_dir in $PATH
152598049353Smrgdo
152698049353Smrg  IFS=$as_save_IFS
15276c19a6d3Smrg  case $as_dir in #(((
15286c19a6d3Smrg    '') as_dir=./ ;;
15296c19a6d3Smrg    */) ;;
15306c19a6d3Smrg    *) as_dir=$as_dir/ ;;
15316c19a6d3Smrg  esac
15326c19a6d3Smrg    printf "%s\n" "PATH: $as_dir"
15334028d71eSmrg  done
15340ad07f78SmrgIFS=$as_save_IFS
153598049353Smrg
153698049353Smrg} >&5
153798049353Smrg
153898049353Smrgcat >&5 <<_ACEOF
153998049353Smrg
154098049353Smrg
154198049353Smrg## ----------- ##
154298049353Smrg## Core tests. ##
154398049353Smrg## ----------- ##
154498049353Smrg
154598049353Smrg_ACEOF
154698049353Smrg
154798049353Smrg
154898049353Smrg# Keep a trace of the command line.
154998049353Smrg# Strip out --no-create and --no-recursion so they do not pile up.
155098049353Smrg# Strip out --silent because we don't want to record it for future runs.
155198049353Smrg# Also quote any args containing shell meta-characters.
155298049353Smrg# Make two passes to allow for proper duplicate-argument suppression.
155398049353Smrgac_configure_args=
155498049353Smrgac_configure_args0=
155598049353Smrgac_configure_args1=
155698049353Smrgac_must_keep_next=false
155798049353Smrgfor ac_pass in 1 2
155898049353Smrgdo
155998049353Smrg  for ac_arg
156098049353Smrg  do
156198049353Smrg    case $ac_arg in
156298049353Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
156398049353Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
156498049353Smrg    | -silent | --silent | --silen | --sile | --sil)
156598049353Smrg      continue ;;
15660ad07f78Smrg    *\'*)
15676c19a6d3Smrg      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
156898049353Smrg    esac
156998049353Smrg    case $ac_pass in
15704028d71eSmrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
157198049353Smrg    2)
15724028d71eSmrg      as_fn_append ac_configure_args1 " '$ac_arg'"
157398049353Smrg      if test $ac_must_keep_next = true; then
157498049353Smrg	ac_must_keep_next=false # Got value, back to normal.
157598049353Smrg      else
157698049353Smrg	case $ac_arg in
157798049353Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
157898049353Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
157998049353Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
158098049353Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
158198049353Smrg	    case "$ac_configure_args0 " in
158298049353Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
158398049353Smrg	    esac
158498049353Smrg	    ;;
158598049353Smrg	  -* ) ac_must_keep_next=true ;;
158698049353Smrg	esac
158798049353Smrg      fi
15884028d71eSmrg      as_fn_append ac_configure_args " '$ac_arg'"
158998049353Smrg      ;;
159098049353Smrg    esac
159198049353Smrg  done
159298049353Smrgdone
15934028d71eSmrg{ ac_configure_args0=; unset ac_configure_args0;}
15944028d71eSmrg{ ac_configure_args1=; unset ac_configure_args1;}
159598049353Smrg
159698049353Smrg# When interrupted or exit'd, cleanup temporary files, and complete
159798049353Smrg# config.log.  We remove comments because anyway the quotes in there
159898049353Smrg# would cause problems or look ugly.
15990ad07f78Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
16000ad07f78Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
160198049353Smrgtrap 'exit_status=$?
16026c19a6d3Smrg  # Sanitize IFS.
16036c19a6d3Smrg  IFS=" ""	$as_nl"
160498049353Smrg  # Save into config.log some information that might help in debugging.
160598049353Smrg  {
160698049353Smrg    echo
160798049353Smrg
16086c19a6d3Smrg    printf "%s\n" "## ---------------- ##
160998049353Smrg## Cache variables. ##
16104028d71eSmrg## ---------------- ##"
161198049353Smrg    echo
161298049353Smrg    # The following way of writing the cache mishandles newlines in values,
16130ad07f78Smrg(
16140ad07f78Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
16150ad07f78Smrg    eval ac_val=\$$ac_var
16160ad07f78Smrg    case $ac_val in #(
16170ad07f78Smrg    *${as_nl}*)
16180ad07f78Smrg      case $ac_var in #(
16196c19a6d3Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16206c19a6d3Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16210ad07f78Smrg      esac
16220ad07f78Smrg      case $ac_var in #(
16230ad07f78Smrg      _ | IFS | as_nl) ;; #(
16240ad07f78Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16254028d71eSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
16260ad07f78Smrg      esac ;;
16270ad07f78Smrg    esac
16280ad07f78Smrg  done
162998049353Smrg  (set) 2>&1 |
16300ad07f78Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
16310ad07f78Smrg    *${as_nl}ac_space=\ *)
163298049353Smrg      sed -n \
16330ad07f78Smrg	"s/'\''/'\''\\\\'\'''\''/g;
16340ad07f78Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
16350ad07f78Smrg      ;; #(
163698049353Smrg    *)
16370ad07f78Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
163898049353Smrg      ;;
16390ad07f78Smrg    esac |
16400ad07f78Smrg    sort
16410ad07f78Smrg)
164298049353Smrg    echo
164398049353Smrg
16446c19a6d3Smrg    printf "%s\n" "## ----------------- ##
164598049353Smrg## Output variables. ##
16464028d71eSmrg## ----------------- ##"
164798049353Smrg    echo
164898049353Smrg    for ac_var in $ac_subst_vars
164998049353Smrg    do
16500ad07f78Smrg      eval ac_val=\$$ac_var
16510ad07f78Smrg      case $ac_val in
16526c19a6d3Smrg      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16530ad07f78Smrg      esac
16546c19a6d3Smrg      printf "%s\n" "$ac_var='\''$ac_val'\''"
165598049353Smrg    done | sort
165698049353Smrg    echo
165798049353Smrg
165898049353Smrg    if test -n "$ac_subst_files"; then
16596c19a6d3Smrg      printf "%s\n" "## ------------------- ##
16600ad07f78Smrg## File substitutions. ##
16614028d71eSmrg## ------------------- ##"
166298049353Smrg      echo
166398049353Smrg      for ac_var in $ac_subst_files
166498049353Smrg      do
16650ad07f78Smrg	eval ac_val=\$$ac_var
16660ad07f78Smrg	case $ac_val in
16676c19a6d3Smrg	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16680ad07f78Smrg	esac
16696c19a6d3Smrg	printf "%s\n" "$ac_var='\''$ac_val'\''"
167098049353Smrg      done | sort
167198049353Smrg      echo
167298049353Smrg    fi
167398049353Smrg
167498049353Smrg    if test -s confdefs.h; then
16756c19a6d3Smrg      printf "%s\n" "## ----------- ##
167698049353Smrg## confdefs.h. ##
16774028d71eSmrg## ----------- ##"
167898049353Smrg      echo
16790ad07f78Smrg      cat confdefs.h
168098049353Smrg      echo
168198049353Smrg    fi
168298049353Smrg    test "$ac_signal" != 0 &&
16836c19a6d3Smrg      printf "%s\n" "$as_me: caught signal $ac_signal"
16846c19a6d3Smrg    printf "%s\n" "$as_me: exit $exit_status"
168598049353Smrg  } >&5
16860ad07f78Smrg  rm -f core *.core core.conftest.* &&
16870ad07f78Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
168898049353Smrg    exit $exit_status
16890ad07f78Smrg' 0
169098049353Smrgfor ac_signal in 1 2 13 15; do
16914028d71eSmrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
169298049353Smrgdone
169398049353Smrgac_signal=0
169498049353Smrg
169598049353Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
16960ad07f78Smrgrm -f -r conftest* confdefs.h
169798049353Smrg
16986c19a6d3Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h
16994028d71eSmrg
170098049353Smrg# Predefined preprocessor variables.
170198049353Smrg
17026c19a6d3Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
170398049353Smrg
17046c19a6d3Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
170598049353Smrg
17066c19a6d3Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
170798049353Smrg
17086c19a6d3Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
170998049353Smrg
17106c19a6d3Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
171198049353Smrg
17126c19a6d3Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
17134028d71eSmrg
171498049353Smrg
171598049353Smrg# Let the site file select an alternate cache file if it wants to.
17160ad07f78Smrg# Prefer an explicitly selected file to automatically selected ones.
17170ad07f78Smrgif test -n "$CONFIG_SITE"; then
17186c19a6d3Smrg  ac_site_files="$CONFIG_SITE"
17190ad07f78Smrgelif test "x$prefix" != xNONE; then
17206c19a6d3Smrg  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
17210ad07f78Smrgelse
17226c19a6d3Smrg  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
172398049353Smrgfi
17246c19a6d3Smrg
17256c19a6d3Smrgfor ac_site_file in $ac_site_files
17260ad07f78Smrgdo
17276c19a6d3Smrg  case $ac_site_file in #(
17286c19a6d3Smrg  */*) :
17296c19a6d3Smrg     ;; #(
17306c19a6d3Smrg  *) :
17316c19a6d3Smrg    ac_site_file=./$ac_site_file ;;
17326c19a6d3Smrgesac
17336c19a6d3Smrg  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
17346c19a6d3Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
17356c19a6d3Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
173698049353Smrg    sed 's/^/| /' "$ac_site_file" >&5
17374028d71eSmrg    . "$ac_site_file" \
17386c19a6d3Smrg      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17396c19a6d3Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17404028d71eSmrgas_fn_error $? "failed to load site script $ac_site_file
17414028d71eSmrgSee \`config.log' for more details" "$LINENO" 5; }
174298049353Smrg  fi
174398049353Smrgdone
174498049353Smrg
174598049353Smrgif test -r "$cache_file"; then
17464028d71eSmrg  # Some versions of bash will fail to source /dev/null (special files
17474028d71eSmrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
17484028d71eSmrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
17496c19a6d3Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
17506c19a6d3Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;}
175198049353Smrg    case $cache_file in
17520ad07f78Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
17530ad07f78Smrg      *)                      . "./$cache_file";;
175498049353Smrg    esac
175598049353Smrg  fi
175698049353Smrgelse
17576c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
17586c19a6d3Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;}
175998049353Smrg  >$cache_file
176098049353Smrgfi
176198049353Smrg
17626c19a6d3Smrg
17636c19a6d3Smrg# Auxiliary files required by this configure script.
17646c19a6d3Smrgac_aux_files="config.guess config.sub missing install-sh"
17656c19a6d3Smrg
17666c19a6d3Smrg# Locations in which to look for auxiliary files.
17676c19a6d3Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
17686c19a6d3Smrg
17696c19a6d3Smrg# Search for a directory containing all of the required auxiliary files,
17706c19a6d3Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
17716c19a6d3Smrg# If we don't find one directory that contains all the files we need,
17726c19a6d3Smrg# we report the set of missing files from the *first* directory in
17736c19a6d3Smrg# $ac_aux_dir_candidates and give up.
17746c19a6d3Smrgac_missing_aux_files=""
17756c19a6d3Smrgac_first_candidate=:
17766c19a6d3Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
17776c19a6d3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17786c19a6d3Smrgas_found=false
17796c19a6d3Smrgfor as_dir in $ac_aux_dir_candidates
17806c19a6d3Smrgdo
17816c19a6d3Smrg  IFS=$as_save_IFS
17826c19a6d3Smrg  case $as_dir in #(((
17836c19a6d3Smrg    '') as_dir=./ ;;
17846c19a6d3Smrg    */) ;;
17856c19a6d3Smrg    *) as_dir=$as_dir/ ;;
17866c19a6d3Smrg  esac
17876c19a6d3Smrg  as_found=:
17886c19a6d3Smrg
17896c19a6d3Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
17906c19a6d3Smrg  ac_aux_dir_found=yes
17916c19a6d3Smrg  ac_install_sh=
17926c19a6d3Smrg  for ac_aux in $ac_aux_files
17936c19a6d3Smrg  do
17946c19a6d3Smrg    # As a special case, if "install-sh" is required, that requirement
17956c19a6d3Smrg    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
17966c19a6d3Smrg    # and $ac_install_sh is set appropriately for whichever one is found.
17976c19a6d3Smrg    if test x"$ac_aux" = x"install-sh"
17986c19a6d3Smrg    then
17996c19a6d3Smrg      if test -f "${as_dir}install-sh"; then
18006c19a6d3Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
18016c19a6d3Smrg        ac_install_sh="${as_dir}install-sh -c"
18026c19a6d3Smrg      elif test -f "${as_dir}install.sh"; then
18036c19a6d3Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
18046c19a6d3Smrg        ac_install_sh="${as_dir}install.sh -c"
18056c19a6d3Smrg      elif test -f "${as_dir}shtool"; then
18066c19a6d3Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
18076c19a6d3Smrg        ac_install_sh="${as_dir}shtool install -c"
18086c19a6d3Smrg      else
18096c19a6d3Smrg        ac_aux_dir_found=no
18106c19a6d3Smrg        if $ac_first_candidate; then
18116c19a6d3Smrg          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
18126c19a6d3Smrg        else
18136c19a6d3Smrg          break
18146c19a6d3Smrg        fi
18156c19a6d3Smrg      fi
18166c19a6d3Smrg    else
18176c19a6d3Smrg      if test -f "${as_dir}${ac_aux}"; then
18186c19a6d3Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
18196c19a6d3Smrg      else
18206c19a6d3Smrg        ac_aux_dir_found=no
18216c19a6d3Smrg        if $ac_first_candidate; then
18226c19a6d3Smrg          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
18236c19a6d3Smrg        else
18246c19a6d3Smrg          break
18256c19a6d3Smrg        fi
18266c19a6d3Smrg      fi
18276c19a6d3Smrg    fi
18286c19a6d3Smrg  done
18296c19a6d3Smrg  if test "$ac_aux_dir_found" = yes; then
18306c19a6d3Smrg    ac_aux_dir="$as_dir"
18316c19a6d3Smrg    break
18326c19a6d3Smrg  fi
18336c19a6d3Smrg  ac_first_candidate=false
18346c19a6d3Smrg
18356c19a6d3Smrg  as_found=false
18366c19a6d3Smrgdone
18376c19a6d3SmrgIFS=$as_save_IFS
18386c19a6d3Smrgif $as_found
18396c19a6d3Smrgthen :
18406c19a6d3Smrg
18416c19a6d3Smrgelse $as_nop
18426c19a6d3Smrg  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
18436c19a6d3Smrgfi
18446c19a6d3Smrg
18456c19a6d3Smrg
18466c19a6d3Smrg# These three variables are undocumented and unsupported,
18476c19a6d3Smrg# and are intended to be withdrawn in a future Autoconf release.
18486c19a6d3Smrg# They can cause serious problems if a builder's source tree is in a directory
18496c19a6d3Smrg# whose full name contains unusual characters.
18506c19a6d3Smrgif test -f "${ac_aux_dir}config.guess"; then
18516c19a6d3Smrg  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
18526c19a6d3Smrgfi
18536c19a6d3Smrgif test -f "${ac_aux_dir}config.sub"; then
18546c19a6d3Smrg  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
18556c19a6d3Smrgfi
18566c19a6d3Smrgif test -f "$ac_aux_dir/configure"; then
18576c19a6d3Smrg  ac_configure="$SHELL ${ac_aux_dir}configure"
18586c19a6d3Smrgfi
18596c19a6d3Smrg
186098049353Smrg# Check that the precious variables saved in the cache have kept the same
186198049353Smrg# value.
186298049353Smrgac_cache_corrupted=false
18630ad07f78Smrgfor ac_var in $ac_precious_vars; do
186498049353Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
186598049353Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
18660ad07f78Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
18670ad07f78Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
186898049353Smrg  case $ac_old_set,$ac_new_set in
186998049353Smrg    set,)
18706c19a6d3Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
18716c19a6d3Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
187298049353Smrg      ac_cache_corrupted=: ;;
187398049353Smrg    ,set)
18746c19a6d3Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
18756c19a6d3Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
187698049353Smrg      ac_cache_corrupted=: ;;
187798049353Smrg    ,);;
187898049353Smrg    *)
187998049353Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
18800ad07f78Smrg	# differences in whitespace do not lead to failure.
18810ad07f78Smrg	ac_old_val_w=`echo x $ac_old_val`
18820ad07f78Smrg	ac_new_val_w=`echo x $ac_new_val`
18830ad07f78Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
18846c19a6d3Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
18856c19a6d3Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
18860ad07f78Smrg	  ac_cache_corrupted=:
18870ad07f78Smrg	else
18886c19a6d3Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
18896c19a6d3Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
18900ad07f78Smrg	  eval $ac_var=\$ac_old_val
18910ad07f78Smrg	fi
18926c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
18936c19a6d3Smrgprintf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
18946c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
18956c19a6d3Smrgprintf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
189698049353Smrg      fi;;
189798049353Smrg  esac
189898049353Smrg  # Pass precious variables to config.status.
189998049353Smrg  if test "$ac_new_set" = set; then
190098049353Smrg    case $ac_new_val in
19016c19a6d3Smrg    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
190298049353Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
190398049353Smrg    esac
190498049353Smrg    case " $ac_configure_args " in
190598049353Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
19064028d71eSmrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
190798049353Smrg    esac
190898049353Smrg  fi
190998049353Smrgdone
191098049353Smrgif $ac_cache_corrupted; then
19116c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19126c19a6d3Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
19136c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
19146c19a6d3Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
19156c19a6d3Smrg  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
19166c19a6d3Smrg	    and start over" "$LINENO" 5
191798049353Smrgfi
19184028d71eSmrg## -------------------- ##
19194028d71eSmrg## Main body of script. ##
19204028d71eSmrg## -------------------- ##
192198049353Smrg
19220ad07f78Smrgac_ext=c
19230ad07f78Smrgac_cpp='$CPP $CPPFLAGS'
19240ad07f78Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19250ad07f78Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19260ad07f78Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
192798049353Smrg
192898049353Smrg
19296c19a6d3Smrgam__api_version='1.16'
19300ad07f78Smrg
19310ad07f78Smrg
193298049353Smrg
19336c19a6d3Smrg  # Find a good install program.  We prefer a C program (faster),
193498049353Smrg# so one script is as good as another.  But avoid the broken or
193598049353Smrg# incompatible versions:
193698049353Smrg# SysV /etc/install, /usr/sbin/install
193798049353Smrg# SunOS /usr/etc/install
193898049353Smrg# IRIX /sbin/install
193998049353Smrg# AIX /bin/install
194098049353Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
194198049353Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
194298049353Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
194398049353Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
194498049353Smrg# OS/2's system install, which has a completely different semantic
194598049353Smrg# ./install, which can be erroneously created by make from ./install.sh.
19460ad07f78Smrg# Reject install programs that cannot install multiple files.
19476c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
19486c19a6d3Smrgprintf %s "checking for a BSD-compatible install... " >&6; }
194998049353Smrgif test -z "$INSTALL"; then
19506c19a6d3Smrgif test ${ac_cv_path_install+y}
19516c19a6d3Smrgthen :
19526c19a6d3Smrg  printf %s "(cached) " >&6
19536c19a6d3Smrgelse $as_nop
195498049353Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195598049353Smrgfor as_dir in $PATH
195698049353Smrgdo
195798049353Smrg  IFS=$as_save_IFS
19586c19a6d3Smrg  case $as_dir in #(((
19596c19a6d3Smrg    '') as_dir=./ ;;
19606c19a6d3Smrg    */) ;;
19616c19a6d3Smrg    *) as_dir=$as_dir/ ;;
19626c19a6d3Smrg  esac
19636c19a6d3Smrg    # Account for fact that we put trailing slashes in our PATH walk.
19646c19a6d3Smrgcase $as_dir in #((
19656c19a6d3Smrg  ./ | /[cC]/* | \
196698049353Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19674028d71eSmrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
196898049353Smrg  /usr/ucb/* ) ;;
196998049353Smrg  *)
197098049353Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
197198049353Smrg    # Don't use installbsd from OSF since it installs stuff as root
197298049353Smrg    # by default.
197398049353Smrg    for ac_prog in ginstall scoinst install; do
197498049353Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
19756c19a6d3Smrg	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
197698049353Smrg	  if test $ac_prog = install &&
19776c19a6d3Smrg	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
197898049353Smrg	    # AIX install.  It has an incompatible calling convention.
197998049353Smrg	    :
198098049353Smrg	  elif test $ac_prog = install &&
19816c19a6d3Smrg	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
198298049353Smrg	    # program-specific install script used by HP pwplus--don't use.
198398049353Smrg	    :
198498049353Smrg	  else
19850ad07f78Smrg	    rm -rf conftest.one conftest.two conftest.dir
19860ad07f78Smrg	    echo one > conftest.one
19870ad07f78Smrg	    echo two > conftest.two
19880ad07f78Smrg	    mkdir conftest.dir
19896c19a6d3Smrg	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
19900ad07f78Smrg	      test -s conftest.one && test -s conftest.two &&
19910ad07f78Smrg	      test -s conftest.dir/conftest.one &&
19920ad07f78Smrg	      test -s conftest.dir/conftest.two
19930ad07f78Smrg	    then
19946c19a6d3Smrg	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
19950ad07f78Smrg	      break 3
19960ad07f78Smrg	    fi
199798049353Smrg	  fi
199898049353Smrg	fi
199998049353Smrg      done
200098049353Smrg    done
200198049353Smrg    ;;
200298049353Smrgesac
20030ad07f78Smrg
20044028d71eSmrg  done
20050ad07f78SmrgIFS=$as_save_IFS
200698049353Smrg
20070ad07f78Smrgrm -rf conftest.one conftest.two conftest.dir
200898049353Smrg
200998049353Smrgfi
20106c19a6d3Smrg  if test ${ac_cv_path_install+y}; then
201198049353Smrg    INSTALL=$ac_cv_path_install
201298049353Smrg  else
20130ad07f78Smrg    # As a last resort, use the slow shell script.  Don't cache a
20140ad07f78Smrg    # value for INSTALL within a source directory, because that will
201598049353Smrg    # break other packages using the cache if that directory is
20160ad07f78Smrg    # removed, or if the value is a relative name.
201798049353Smrg    INSTALL=$ac_install_sh
201898049353Smrg  fi
201998049353Smrgfi
20206c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
20216c19a6d3Smrgprintf "%s\n" "$INSTALL" >&6; }
202298049353Smrg
202398049353Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
202498049353Smrg# It thinks the first close brace ends the variable substitution.
202598049353Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
202698049353Smrg
202798049353Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
202898049353Smrg
202998049353Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
203098049353Smrg
20316c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
20326c19a6d3Smrgprintf %s "checking whether build environment is sane... " >&6; }
20330ad07f78Smrg# Reject unsafe characters in $srcdir or the absolute working directory
20340ad07f78Smrg# name.  Accept space and tab only in the latter.
20350ad07f78Smrgam_lf='
20360ad07f78Smrg'
20370ad07f78Smrgcase `pwd` in
20380ad07f78Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
20394028d71eSmrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
20400ad07f78Smrgesac
20410ad07f78Smrgcase $srcdir in
20420ad07f78Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
20436c19a6d3Smrg    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
20440ad07f78Smrgesac
20450ad07f78Smrg
20466c19a6d3Smrg# Do 'set' in a subshell so we don't clobber the current shell's
204798049353Smrg# arguments.  Must try -L first in case configure is actually a
204898049353Smrg# symlink; some systems play weird games with the mod time of symlinks
204998049353Smrg# (eg FreeBSD returns the mod time of the symlink's containing
205098049353Smrg# directory).
205198049353Smrgif (
20526c19a6d3Smrg   am_has_slept=no
20536c19a6d3Smrg   for am_try in 1 2; do
20546c19a6d3Smrg     echo "timestamp, slept: $am_has_slept" > conftest.file
20556c19a6d3Smrg     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
20566c19a6d3Smrg     if test "$*" = "X"; then
20576c19a6d3Smrg	# -L didn't work.
20586c19a6d3Smrg	set X `ls -t "$srcdir/configure" conftest.file`
20596c19a6d3Smrg     fi
20606c19a6d3Smrg     if test "$*" != "X $srcdir/configure conftest.file" \
20616c19a6d3Smrg	&& test "$*" != "X conftest.file $srcdir/configure"; then
20626c19a6d3Smrg
20636c19a6d3Smrg	# If neither matched, then we have a broken ls.  This can happen
20646c19a6d3Smrg	# if, for instance, CONFIG_SHELL is bash and it inherits a
20656c19a6d3Smrg	# broken ls alias from the environment.  This has actually
20666c19a6d3Smrg	# happened.  Such a system could not be considered "sane".
20676c19a6d3Smrg	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
20686c19a6d3Smrg  alias in your environment" "$LINENO" 5
20696c19a6d3Smrg     fi
20706c19a6d3Smrg     if test "$2" = conftest.file || test $am_try -eq 2; then
20716c19a6d3Smrg       break
20726c19a6d3Smrg     fi
20736c19a6d3Smrg     # Just in case.
20746c19a6d3Smrg     sleep 1
20756c19a6d3Smrg     am_has_slept=yes
20766c19a6d3Smrg   done
207798049353Smrg   test "$2" = conftest.file
207898049353Smrg   )
207998049353Smrgthen
208098049353Smrg   # Ok.
208198049353Smrg   :
208298049353Smrgelse
20834028d71eSmrg   as_fn_error $? "newly created file is older than distributed files!
20844028d71eSmrgCheck your system clock" "$LINENO" 5
208598049353Smrgfi
20866c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20876c19a6d3Smrgprintf "%s\n" "yes" >&6; }
20886c19a6d3Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and
20896c19a6d3Smrg# generated files are strictly newer.
20906c19a6d3Smrgam_sleep_pid=
20916c19a6d3Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then
20926c19a6d3Smrg  ( sleep 1 ) &
20936c19a6d3Smrg  am_sleep_pid=$!
20946c19a6d3Smrgfi
20956c19a6d3Smrg
20966c19a6d3Smrgrm -f conftest.file
20976c19a6d3Smrg
209898049353Smrgtest "$program_prefix" != NONE &&
20990ad07f78Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
210098049353Smrg# Use a double $ so make ignores it.
210198049353Smrgtest "$program_suffix" != NONE &&
21020ad07f78Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
21030ad07f78Smrg# Double any \ or $.
210498049353Smrg# By default was `s,x,x', remove it if useless.
21050ad07f78Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
21066c19a6d3Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
210798049353Smrg
210898049353Smrg
21096c19a6d3Smrg# Expand $ac_aux_dir to an absolute path.
21106c19a6d3Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd`
21116c19a6d3Smrg
21126c19a6d3Smrg
21136c19a6d3Smrg  if test x"${MISSING+set}" != xset; then
21146c19a6d3Smrg  MISSING="\${SHELL} '$am_aux_dir/missing'"
21150ad07f78Smrgfi
211698049353Smrg# Use eval to expand $SHELL
21176c19a6d3Smrgif eval "$MISSING --is-lightweight"; then
21186c19a6d3Smrg  am_missing_run="$MISSING "
211998049353Smrgelse
212098049353Smrg  am_missing_run=
21216c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
21226c19a6d3Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
21230ad07f78Smrgfi
21240ad07f78Smrg
21256c19a6d3Smrgif test x"${install_sh+set}" != xset; then
21260ad07f78Smrg  case $am_aux_dir in
21270ad07f78Smrg  *\ * | *\	*)
21280ad07f78Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
21290ad07f78Smrg  *)
21300ad07f78Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
21310ad07f78Smrg  esac
21320ad07f78Smrgfi
21330ad07f78Smrg
21346c19a6d3Smrg# Installed binaries are usually stripped using 'strip' when the user
21356c19a6d3Smrg# run "make install-strip".  However 'strip' might not be the right
21360ad07f78Smrg# tool to use in cross-compilation environments, therefore Automake
21376c19a6d3Smrg# will honor the 'STRIP' environment variable to overrule this program.
21380ad07f78Smrgif test "$cross_compiling" != no; then
21390ad07f78Smrg  if test -n "$ac_tool_prefix"; then
21400ad07f78Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21410ad07f78Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21426c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21436c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
21446c19a6d3Smrgif test ${ac_cv_prog_STRIP+y}
21456c19a6d3Smrgthen :
21466c19a6d3Smrg  printf %s "(cached) " >&6
21476c19a6d3Smrgelse $as_nop
21480ad07f78Smrg  if test -n "$STRIP"; then
21490ad07f78Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21500ad07f78Smrgelse
21510ad07f78Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21520ad07f78Smrgfor as_dir in $PATH
21530ad07f78Smrgdo
21540ad07f78Smrg  IFS=$as_save_IFS
21556c19a6d3Smrg  case $as_dir in #(((
21566c19a6d3Smrg    '') as_dir=./ ;;
21576c19a6d3Smrg    */) ;;
21586c19a6d3Smrg    *) as_dir=$as_dir/ ;;
21596c19a6d3Smrg  esac
21604028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
21616c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21620ad07f78Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21636c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21640ad07f78Smrg    break 2
21650ad07f78Smrg  fi
21660ad07f78Smrgdone
21674028d71eSmrg  done
21680ad07f78SmrgIFS=$as_save_IFS
21690ad07f78Smrg
21700ad07f78Smrgfi
21710ad07f78Smrgfi
21720ad07f78SmrgSTRIP=$ac_cv_prog_STRIP
21730ad07f78Smrgif test -n "$STRIP"; then
21746c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
21756c19a6d3Smrgprintf "%s\n" "$STRIP" >&6; }
21760ad07f78Smrgelse
21776c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21786c19a6d3Smrgprintf "%s\n" "no" >&6; }
21790ad07f78Smrgfi
21800ad07f78Smrg
21810ad07f78Smrg
21820ad07f78Smrgfi
21830ad07f78Smrgif test -z "$ac_cv_prog_STRIP"; then
21840ad07f78Smrg  ac_ct_STRIP=$STRIP
21850ad07f78Smrg  # Extract the first word of "strip", so it can be a program name with args.
21860ad07f78Smrgset dummy strip; ac_word=$2
21876c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21886c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
21896c19a6d3Smrgif test ${ac_cv_prog_ac_ct_STRIP+y}
21906c19a6d3Smrgthen :
21916c19a6d3Smrg  printf %s "(cached) " >&6
21926c19a6d3Smrgelse $as_nop
21930ad07f78Smrg  if test -n "$ac_ct_STRIP"; then
21940ad07f78Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21950ad07f78Smrgelse
21960ad07f78Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21970ad07f78Smrgfor as_dir in $PATH
21980ad07f78Smrgdo
21990ad07f78Smrg  IFS=$as_save_IFS
22006c19a6d3Smrg  case $as_dir in #(((
22016c19a6d3Smrg    '') as_dir=./ ;;
22026c19a6d3Smrg    */) ;;
22036c19a6d3Smrg    *) as_dir=$as_dir/ ;;
22046c19a6d3Smrg  esac
22054028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
22066c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22070ad07f78Smrg    ac_cv_prog_ac_ct_STRIP="strip"
22086c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22090ad07f78Smrg    break 2
22100ad07f78Smrg  fi
22110ad07f78Smrgdone
22124028d71eSmrg  done
22130ad07f78SmrgIFS=$as_save_IFS
22140ad07f78Smrg
22150ad07f78Smrgfi
22160ad07f78Smrgfi
22170ad07f78Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
22180ad07f78Smrgif test -n "$ac_ct_STRIP"; then
22196c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
22206c19a6d3Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; }
22210ad07f78Smrgelse
22226c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22236c19a6d3Smrgprintf "%s\n" "no" >&6; }
22240ad07f78Smrgfi
22250ad07f78Smrg
22260ad07f78Smrg  if test "x$ac_ct_STRIP" = x; then
22270ad07f78Smrg    STRIP=":"
22280ad07f78Smrg  else
22290ad07f78Smrg    case $cross_compiling:$ac_tool_warned in
22300ad07f78Smrgyes:)
22316c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22326c19a6d3Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22330ad07f78Smrgac_tool_warned=yes ;;
22340ad07f78Smrgesac
22350ad07f78Smrg    STRIP=$ac_ct_STRIP
22360ad07f78Smrg  fi
22370ad07f78Smrgelse
22380ad07f78Smrg  STRIP="$ac_cv_prog_STRIP"
22390ad07f78Smrgfi
22400ad07f78Smrg
22410ad07f78Smrgfi
22420ad07f78SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22430ad07f78Smrg
22446c19a6d3Smrg
22456c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
22466c19a6d3Smrgprintf %s "checking for a race-free mkdir -p... " >&6; }
22470ad07f78Smrgif test -z "$MKDIR_P"; then
22486c19a6d3Smrg  if test ${ac_cv_path_mkdir+y}
22496c19a6d3Smrgthen :
22506c19a6d3Smrg  printf %s "(cached) " >&6
22516c19a6d3Smrgelse $as_nop
22520ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22530ad07f78Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
22540ad07f78Smrgdo
22550ad07f78Smrg  IFS=$as_save_IFS
22566c19a6d3Smrg  case $as_dir in #(((
22576c19a6d3Smrg    '') as_dir=./ ;;
22586c19a6d3Smrg    */) ;;
22596c19a6d3Smrg    *) as_dir=$as_dir/ ;;
22606c19a6d3Smrg  esac
22614028d71eSmrg    for ac_prog in mkdir gmkdir; do
22620ad07f78Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
22636c19a6d3Smrg	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
22646c19a6d3Smrg	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
22656c19a6d3Smrg	     'mkdir ('*'coreutils) '* | \
22666c19a6d3Smrg	     'BusyBox '* | \
22670ad07f78Smrg	     'mkdir (fileutils) '4.1*)
22686c19a6d3Smrg	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
22690ad07f78Smrg	       break 3;;
22700ad07f78Smrg	   esac
22710ad07f78Smrg	 done
22720ad07f78Smrg       done
22734028d71eSmrg  done
22740ad07f78SmrgIFS=$as_save_IFS
22750ad07f78Smrg
22760ad07f78Smrgfi
22770ad07f78Smrg
22784028d71eSmrg  test -d ./--version && rmdir ./--version
22796c19a6d3Smrg  if test ${ac_cv_path_mkdir+y}; then
22800ad07f78Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
22810ad07f78Smrg  else
22820ad07f78Smrg    # As a last resort, use the slow shell script.  Don't cache a
22830ad07f78Smrg    # value for MKDIR_P within a source directory, because that will
22840ad07f78Smrg    # break other packages using the cache if that directory is
22850ad07f78Smrg    # removed, or if the value is a relative name.
22860ad07f78Smrg    MKDIR_P="$ac_install_sh -d"
22870ad07f78Smrg  fi
228898049353Smrgfi
22896c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
22906c19a6d3Smrgprintf "%s\n" "$MKDIR_P" >&6; }
229198049353Smrg
229298049353Smrgfor ac_prog in gawk mawk nawk awk
229398049353Smrgdo
229498049353Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
229598049353Smrgset dummy $ac_prog; ac_word=$2
22966c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22976c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
22986c19a6d3Smrgif test ${ac_cv_prog_AWK+y}
22996c19a6d3Smrgthen :
23006c19a6d3Smrg  printf %s "(cached) " >&6
23016c19a6d3Smrgelse $as_nop
230298049353Smrg  if test -n "$AWK"; then
230398049353Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
230498049353Smrgelse
230598049353Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
230698049353Smrgfor as_dir in $PATH
230798049353Smrgdo
230898049353Smrg  IFS=$as_save_IFS
23096c19a6d3Smrg  case $as_dir in #(((
23106c19a6d3Smrg    '') as_dir=./ ;;
23116c19a6d3Smrg    */) ;;
23126c19a6d3Smrg    *) as_dir=$as_dir/ ;;
23136c19a6d3Smrg  esac
23144028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
23156c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
231698049353Smrg    ac_cv_prog_AWK="$ac_prog"
23176c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
231898049353Smrg    break 2
231998049353Smrg  fi
232098049353Smrgdone
23214028d71eSmrg  done
23220ad07f78SmrgIFS=$as_save_IFS
232398049353Smrg
232498049353Smrgfi
232598049353Smrgfi
232698049353SmrgAWK=$ac_cv_prog_AWK
232798049353Smrgif test -n "$AWK"; then
23286c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
23296c19a6d3Smrgprintf "%s\n" "$AWK" >&6; }
233098049353Smrgelse
23316c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23326c19a6d3Smrgprintf "%s\n" "no" >&6; }
233398049353Smrgfi
233498049353Smrg
23350ad07f78Smrg
233698049353Smrg  test -n "$AWK" && break
233798049353Smrgdone
233898049353Smrg
23396c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
23406c19a6d3Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
23410ad07f78Smrgset x ${MAKE-make}
23426c19a6d3Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
23436c19a6d3Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y}
23446c19a6d3Smrgthen :
23456c19a6d3Smrg  printf %s "(cached) " >&6
23466c19a6d3Smrgelse $as_nop
234798049353Smrg  cat >conftest.make <<\_ACEOF
23480ad07f78SmrgSHELL = /bin/sh
234998049353Smrgall:
23500ad07f78Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
235198049353Smrg_ACEOF
23524028d71eSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
23530ad07f78Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
23540ad07f78Smrg  *@@@%%%=?*=@@@%%%*)
23550ad07f78Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
23560ad07f78Smrg  *)
23570ad07f78Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
23580ad07f78Smrgesac
235998049353Smrgrm -f conftest.make
236098049353Smrgfi
23610ad07f78Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
23626c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23636c19a6d3Smrgprintf "%s\n" "yes" >&6; }
236498049353Smrg  SET_MAKE=
236598049353Smrgelse
23666c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23676c19a6d3Smrgprintf "%s\n" "no" >&6; }
236898049353Smrg  SET_MAKE="MAKE=${MAKE-make}"
236998049353Smrgfi
237098049353Smrg
237198049353Smrgrm -rf .tst 2>/dev/null
237298049353Smrgmkdir .tst 2>/dev/null
237398049353Smrgif test -d .tst; then
237498049353Smrg  am__leading_dot=.
237598049353Smrgelse
237698049353Smrg  am__leading_dot=_
237798049353Smrgfi
237898049353Smrgrmdir .tst 2>/dev/null
237998049353Smrg
23806c19a6d3Smrg# Check whether --enable-silent-rules was given.
23816c19a6d3Smrgif test ${enable_silent_rules+y}
23826c19a6d3Smrgthen :
23836c19a6d3Smrg  enableval=$enable_silent_rules;
23846c19a6d3Smrgfi
23856c19a6d3Smrg
23866c19a6d3Smrgcase $enable_silent_rules in # (((
23876c19a6d3Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
23886c19a6d3Smrg   no) AM_DEFAULT_VERBOSITY=1;;
23896c19a6d3Smrg    *) AM_DEFAULT_VERBOSITY=1;;
23906c19a6d3Smrgesac
23916c19a6d3Smrgam_make=${MAKE-make}
23926c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
23936c19a6d3Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
23946c19a6d3Smrgif test ${am_cv_make_support_nested_variables+y}
23956c19a6d3Smrgthen :
23966c19a6d3Smrg  printf %s "(cached) " >&6
23976c19a6d3Smrgelse $as_nop
23986c19a6d3Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
23996c19a6d3SmrgBAR0=false
24006c19a6d3SmrgBAR1=true
24016c19a6d3SmrgV=1
24026c19a6d3Smrgam__doit:
24036c19a6d3Smrg	@$(TRUE)
24046c19a6d3Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
24056c19a6d3Smrg  am_cv_make_support_nested_variables=yes
24066c19a6d3Smrgelse
24076c19a6d3Smrg  am_cv_make_support_nested_variables=no
24086c19a6d3Smrgfi
24096c19a6d3Smrgfi
24106c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
24116c19a6d3Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
24126c19a6d3Smrgif test $am_cv_make_support_nested_variables = yes; then
24136c19a6d3Smrg    AM_V='$(V)'
24146c19a6d3Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
24156c19a6d3Smrgelse
24166c19a6d3Smrg  AM_V=$AM_DEFAULT_VERBOSITY
24176c19a6d3Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
24186c19a6d3Smrgfi
24196c19a6d3SmrgAM_BACKSLASH='\'
24206c19a6d3Smrg
24210ad07f78Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
24220ad07f78Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
24230ad07f78Smrg  # is not polluted with repeated "-I."
24240ad07f78Smrg  am__isrc=' -I$(srcdir)'
24250ad07f78Smrg  # test to see if srcdir already configured
24260ad07f78Smrg  if test -f $srcdir/config.status; then
24274028d71eSmrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
24280ad07f78Smrg  fi
242998049353Smrgfi
243098049353Smrg
243198049353Smrg# test whether we have cygpath
243298049353Smrgif test -z "$CYGPATH_W"; then
243398049353Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
243498049353Smrg    CYGPATH_W='cygpath -w'
243598049353Smrg  else
243698049353Smrg    CYGPATH_W=echo
243798049353Smrg  fi
243898049353Smrgfi
243998049353Smrg
244098049353Smrg
244198049353Smrg# Define the identity of the package.
244298049353Smrg PACKAGE='font-isas-misc'
24436c19a6d3Smrg VERSION='1.0.4'
244498049353Smrg
244598049353Smrg
24466c19a6d3Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
244798049353Smrg
244898049353Smrg
24496c19a6d3Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
245098049353Smrg
245198049353Smrg# Some tools Automake needs.
245298049353Smrg
245398049353SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
245498049353Smrg
245598049353Smrg
245698049353SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
245798049353Smrg
245898049353Smrg
245998049353SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
246098049353Smrg
246198049353Smrg
246298049353SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
246398049353Smrg
246498049353Smrg
246598049353SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
246698049353Smrg
24676c19a6d3Smrg# For better backward compatibility.  To be removed once Automake 1.9.x
24686c19a6d3Smrg# dies out for good.  For more background, see:
24696c19a6d3Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
24706c19a6d3Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
24716c19a6d3Smrgmkdir_p='$(MKDIR_P)'
247298049353Smrg
24736c19a6d3Smrg# We need awk for the "check" target (and possibly the TAP driver).  The
24746c19a6d3Smrg# system "awk" is bad on some platforms.
24756c19a6d3Smrg# Always define AMTAR for backward compatibility.  Yes, it's still used
24766c19a6d3Smrg# in the wild :-(  We should find a proper way to deprecate it ...
24776c19a6d3SmrgAMTAR='$${TAR-tar}'
247898049353Smrg
247998049353Smrg
24806c19a6d3Smrg# We'll loop over all known methods to create a tar archive until one works.
24816c19a6d3Smrg_am_tools='gnutar  pax cpio none'
24820ad07f78Smrg
24836c19a6d3Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
24840ad07f78Smrg
24850ad07f78Smrg
24860ad07f78Smrg
24870ad07f78Smrg
24886c19a6d3Smrg
24896c19a6d3Smrg# Variables for tags utilities; see am/tags.am
24906c19a6d3Smrgif test -z "$CTAGS"; then
24916c19a6d3Smrg  CTAGS=ctags
24920ad07f78Smrgfi
24930ad07f78Smrg
24946c19a6d3Smrgif test -z "$ETAGS"; then
24956c19a6d3Smrg  ETAGS=etags
24960ad07f78Smrgfi
24970ad07f78Smrg
24986c19a6d3Smrgif test -z "$CSCOPE"; then
24996c19a6d3Smrg  CSCOPE=cscope
25006c19a6d3Smrgfi
25010ad07f78Smrg
25020ad07f78Smrg
25030ad07f78Smrg
25046c19a6d3Smrg# POSIX will say in a future version that running "rm -f" with no argument
25056c19a6d3Smrg# is OK; and we want to be able to make that assumption in our Makefile
25066c19a6d3Smrg# recipes.  So use an aggressive probe to check that the usage we want is
25076c19a6d3Smrg# actually supported "in the wild" to an acceptable degree.
25086c19a6d3Smrg# See automake bug#10828.
25096c19a6d3Smrg# To make any issue more visible, cause the running configure to be aborted
25106c19a6d3Smrg# by default if the 'rm' program in use doesn't match our expectations; the
25116c19a6d3Smrg# user can still override this though.
25126c19a6d3Smrgif rm -f && rm -fr && rm -rf; then : OK; else
25136c19a6d3Smrg  cat >&2 <<'END'
25146c19a6d3SmrgOops!
25150ad07f78Smrg
25166c19a6d3SmrgYour 'rm' program seems unable to run without file operands specified
25176c19a6d3Smrgon the command line, even when the '-f' option is present.  This is contrary
25186c19a6d3Smrgto the behaviour of most rm programs out there, and not conforming with
25196c19a6d3Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
25200ad07f78Smrg
25216c19a6d3SmrgPlease tell bug-automake@gnu.org about your system, including the value
25226c19a6d3Smrgof your $PATH and any error possibly output before this message.  This
25236c19a6d3Smrgcan help us improve future automake versions.
25240ad07f78Smrg
25256c19a6d3SmrgEND
25266c19a6d3Smrg  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
25276c19a6d3Smrg    echo 'Configuration will proceed anyway, since you have set the' >&2
25286c19a6d3Smrg    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
25296c19a6d3Smrg    echo >&2
25306c19a6d3Smrg  else
25316c19a6d3Smrg    cat >&2 <<'END'
25326c19a6d3SmrgAborting the configuration process, to ensure you take notice of the issue.
25330ad07f78Smrg
25346c19a6d3SmrgYou can download and install GNU coreutils to get an 'rm' implementation
25356c19a6d3Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>.
25360ad07f78Smrg
25376c19a6d3SmrgIf you want to complete the configuration process using your problematic
25386c19a6d3Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
25396c19a6d3Smrgto "yes", and re-run configure.
25400ad07f78Smrg
25416c19a6d3SmrgEND
25426c19a6d3Smrg    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
25436c19a6d3Smrg  fi
25446c19a6d3Smrgfi
25450ad07f78Smrg
25460ad07f78Smrg
25476c19a6d3Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
25480ad07f78Smrg
25490ad07f78Smrg
25500ad07f78Smrg
25510ad07f78Smrg
25520ad07f78Smrg
25530ad07f78Smrg
25540ad07f78Smrg
25550ad07f78Smrg
25560ad07f78Smrg
25570ad07f78Smrg
25580ad07f78Smrg
25590ad07f78Smrg
25600ad07f78Smrg
25610ad07f78Smrg
25620ad07f78Smrg
25630ad07f78Smrg
25640ad07f78Smrg
25650ad07f78Smrg
25664028d71eSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25674028d71eSmrg	if test -n "$ac_tool_prefix"; then
25684028d71eSmrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25694028d71eSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25706c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25716c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
25726c19a6d3Smrgif test ${ac_cv_path_PKG_CONFIG+y}
25736c19a6d3Smrgthen :
25746c19a6d3Smrg  printf %s "(cached) " >&6
25756c19a6d3Smrgelse $as_nop
25764028d71eSmrg  case $PKG_CONFIG in
25774028d71eSmrg  [\\/]* | ?:[\\/]*)
25784028d71eSmrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25794028d71eSmrg  ;;
25804028d71eSmrg  *)
25814028d71eSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25824028d71eSmrgfor as_dir in $PATH
25830ad07f78Smrgdo
25844028d71eSmrg  IFS=$as_save_IFS
25856c19a6d3Smrg  case $as_dir in #(((
25866c19a6d3Smrg    '') as_dir=./ ;;
25876c19a6d3Smrg    */) ;;
25886c19a6d3Smrg    *) as_dir=$as_dir/ ;;
25896c19a6d3Smrg  esac
25904028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
25916c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25926c19a6d3Smrg    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
25936c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25944028d71eSmrg    break 2
25954028d71eSmrg  fi
25964028d71eSmrgdone
25974028d71eSmrg  done
25984028d71eSmrgIFS=$as_save_IFS
25994028d71eSmrg
26004028d71eSmrg  ;;
26010ad07f78Smrgesac
26024028d71eSmrgfi
26034028d71eSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
26044028d71eSmrgif test -n "$PKG_CONFIG"; then
26056c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26066c19a6d3Smrgprintf "%s\n" "$PKG_CONFIG" >&6; }
26070ad07f78Smrgelse
26086c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26096c19a6d3Smrgprintf "%s\n" "no" >&6; }
26100ad07f78Smrgfi
26110ad07f78Smrg
26120ad07f78Smrg
26130ad07f78Smrgfi
26144028d71eSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then
26154028d71eSmrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
26164028d71eSmrg  # Extract the first word of "pkg-config", so it can be a program name with args.
26174028d71eSmrgset dummy pkg-config; ac_word=$2
26186c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26196c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
26206c19a6d3Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
26216c19a6d3Smrgthen :
26226c19a6d3Smrg  printf %s "(cached) " >&6
26236c19a6d3Smrgelse $as_nop
26244028d71eSmrg  case $ac_pt_PKG_CONFIG in
26254028d71eSmrg  [\\/]* | ?:[\\/]*)
26264028d71eSmrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26274028d71eSmrg  ;;
26280ad07f78Smrg  *)
26294028d71eSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26304028d71eSmrgfor as_dir in $PATH
26314028d71eSmrgdo
26324028d71eSmrg  IFS=$as_save_IFS
26336c19a6d3Smrg  case $as_dir in #(((
26346c19a6d3Smrg    '') as_dir=./ ;;
26356c19a6d3Smrg    */) ;;
26366c19a6d3Smrg    *) as_dir=$as_dir/ ;;
26376c19a6d3Smrg  esac
26384028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
26396c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
26406c19a6d3Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
26416c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26424028d71eSmrg    break 2
26434028d71eSmrg  fi
26444028d71eSmrgdone
26454028d71eSmrg  done
26464028d71eSmrgIFS=$as_save_IFS
26470ad07f78Smrg
26484028d71eSmrg  ;;
26494028d71eSmrgesac
26504028d71eSmrgfi
26514028d71eSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26524028d71eSmrgif test -n "$ac_pt_PKG_CONFIG"; then
26536c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26546c19a6d3Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
26554028d71eSmrgelse
26566c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26576c19a6d3Smrgprintf "%s\n" "no" >&6; }
26584028d71eSmrgfi
26590ad07f78Smrg
26604028d71eSmrg  if test "x$ac_pt_PKG_CONFIG" = x; then
26614028d71eSmrg    PKG_CONFIG=""
26624028d71eSmrg  else
26634028d71eSmrg    case $cross_compiling:$ac_tool_warned in
26644028d71eSmrgyes:)
26656c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26666c19a6d3Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26674028d71eSmrgac_tool_warned=yes ;;
26684028d71eSmrgesac
26694028d71eSmrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
26704028d71eSmrg  fi
26714028d71eSmrgelse
26724028d71eSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26734028d71eSmrgfi
26740ad07f78Smrg
26754028d71eSmrgfi
26764028d71eSmrgif test -n "$PKG_CONFIG"; then
26774028d71eSmrg	_pkg_min_version=0.9.0
26786c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26796c19a6d3Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26804028d71eSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26816c19a6d3Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26826c19a6d3Smrgprintf "%s\n" "yes" >&6; }
26834028d71eSmrg	else
26846c19a6d3Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26856c19a6d3Smrgprintf "%s\n" "no" >&6; }
26864028d71eSmrg		PKG_CONFIG=""
26874028d71eSmrg	fi
26884028d71eSmrgfi
26890ad07f78Smrg
26906c19a6d3Smrg
26916c19a6d3Smrg  # Make sure we can run config.sub.
26926c19a6d3Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
26936c19a6d3Smrg  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
26946c19a6d3Smrg
26956c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
26966c19a6d3Smrgprintf %s "checking build system type... " >&6; }
26976c19a6d3Smrgif test ${ac_cv_build+y}
26986c19a6d3Smrgthen :
26996c19a6d3Smrg  printf %s "(cached) " >&6
27006c19a6d3Smrgelse $as_nop
27010ad07f78Smrg  ac_build_alias=$build_alias
27020ad07f78Smrgtest "x$ac_build_alias" = x &&
27036c19a6d3Smrg  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
27040ad07f78Smrgtest "x$ac_build_alias" = x &&
27054028d71eSmrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
27066c19a6d3Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
27076c19a6d3Smrg  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
27080ad07f78Smrg
27090ad07f78Smrgfi
27106c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
27116c19a6d3Smrgprintf "%s\n" "$ac_cv_build" >&6; }
27120ad07f78Smrgcase $ac_cv_build in
27130ad07f78Smrg*-*-*) ;;
27144028d71eSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
27150ad07f78Smrgesac
27160ad07f78Smrgbuild=$ac_cv_build
27170ad07f78Smrgac_save_IFS=$IFS; IFS='-'
27180ad07f78Smrgset x $ac_cv_build
27190ad07f78Smrgshift
27200ad07f78Smrgbuild_cpu=$1
27210ad07f78Smrgbuild_vendor=$2
27220ad07f78Smrgshift; shift
27230ad07f78Smrg# Remember, the first character of IFS is used to create $*,
27240ad07f78Smrg# except with old shells:
27250ad07f78Smrgbuild_os=$*
27260ad07f78SmrgIFS=$ac_save_IFS
27270ad07f78Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
27280ad07f78Smrg
27290ad07f78Smrg
27306c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
27316c19a6d3Smrgprintf %s "checking host system type... " >&6; }
27326c19a6d3Smrgif test ${ac_cv_host+y}
27336c19a6d3Smrgthen :
27346c19a6d3Smrg  printf %s "(cached) " >&6
27356c19a6d3Smrgelse $as_nop
27360ad07f78Smrg  if test "x$host_alias" = x; then
27370ad07f78Smrg  ac_cv_host=$ac_cv_build
27380ad07f78Smrgelse
27396c19a6d3Smrg  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
27406c19a6d3Smrg    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
27410ad07f78Smrgfi
27420ad07f78Smrg
27430ad07f78Smrgfi
27446c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
27456c19a6d3Smrgprintf "%s\n" "$ac_cv_host" >&6; }
27460ad07f78Smrgcase $ac_cv_host in
27470ad07f78Smrg*-*-*) ;;
27484028d71eSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
27490ad07f78Smrgesac
27500ad07f78Smrghost=$ac_cv_host
27510ad07f78Smrgac_save_IFS=$IFS; IFS='-'
27520ad07f78Smrgset x $ac_cv_host
27530ad07f78Smrgshift
27540ad07f78Smrghost_cpu=$1
27550ad07f78Smrghost_vendor=$2
27560ad07f78Smrgshift; shift
27570ad07f78Smrg# Remember, the first character of IFS is used to create $*,
27580ad07f78Smrg# except with old shells:
27590ad07f78Smrghost_os=$*
27600ad07f78SmrgIFS=$ac_save_IFS
27610ad07f78Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
27620ad07f78Smrg
27630ad07f78Smrg
27646c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
27656c19a6d3Smrgprintf %s "checking for a sed that does not truncate output... " >&6; }
27666c19a6d3Smrgif test ${ac_cv_path_SED+y}
27676c19a6d3Smrgthen :
27686c19a6d3Smrg  printf %s "(cached) " >&6
27696c19a6d3Smrgelse $as_nop
27704028d71eSmrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
27714028d71eSmrg     for ac_i in 1 2 3 4 5 6 7; do
27724028d71eSmrg       ac_script="$ac_script$as_nl$ac_script"
27734028d71eSmrg     done
27744028d71eSmrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
27754028d71eSmrg     { ac_script=; unset ac_script;}
27764028d71eSmrg     if test -z "$SED"; then
27774028d71eSmrg  ac_path_SED_found=false
27784028d71eSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
27794028d71eSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27804028d71eSmrgfor as_dir in $PATH
27814028d71eSmrgdo
27824028d71eSmrg  IFS=$as_save_IFS
27836c19a6d3Smrg  case $as_dir in #(((
27846c19a6d3Smrg    '') as_dir=./ ;;
27856c19a6d3Smrg    */) ;;
27866c19a6d3Smrg    *) as_dir=$as_dir/ ;;
27876c19a6d3Smrg  esac
27886c19a6d3Smrg    for ac_prog in sed gsed
27896c19a6d3Smrg   do
27904028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
27916c19a6d3Smrg      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
27926c19a6d3Smrg      as_fn_executable_p "$ac_path_SED" || continue
27934028d71eSmrg# Check for GNU ac_path_SED and select it if it is found.
27944028d71eSmrg  # Check for GNU $ac_path_SED
27954028d71eSmrgcase `"$ac_path_SED" --version 2>&1` in
27964028d71eSmrg*GNU*)
27974028d71eSmrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
27984028d71eSmrg*)
27994028d71eSmrg  ac_count=0
28006c19a6d3Smrg  printf %s 0123456789 >"conftest.in"
28014028d71eSmrg  while :
28024028d71eSmrg  do
28034028d71eSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
28044028d71eSmrg    mv "conftest.tmp" "conftest.in"
28054028d71eSmrg    cp "conftest.in" "conftest.nl"
28066c19a6d3Smrg    printf "%s\n" '' >> "conftest.nl"
28074028d71eSmrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
28084028d71eSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
28094028d71eSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
28104028d71eSmrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
28114028d71eSmrg      # Best one so far, save it but keep looking for a better one
28124028d71eSmrg      ac_cv_path_SED="$ac_path_SED"
28134028d71eSmrg      ac_path_SED_max=$ac_count
28144028d71eSmrg    fi
28154028d71eSmrg    # 10*(2^10) chars as input seems more than enough
28164028d71eSmrg    test $ac_count -gt 10 && break
28174028d71eSmrg  done
28184028d71eSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
28194028d71eSmrgesac
28204028d71eSmrg
28214028d71eSmrg      $ac_path_SED_found && break 3
28224028d71eSmrg    done
28234028d71eSmrg  done
28244028d71eSmrg  done
28254028d71eSmrgIFS=$as_save_IFS
28264028d71eSmrg  if test -z "$ac_cv_path_SED"; then
28274028d71eSmrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
28284028d71eSmrg  fi
28294028d71eSmrgelse
28304028d71eSmrg  ac_cv_path_SED=$SED
28314028d71eSmrgfi
28324028d71eSmrg
28334028d71eSmrgfi
28346c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
28356c19a6d3Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; }
28364028d71eSmrg SED="$ac_cv_path_SED"
28374028d71eSmrg  rm -f conftest.sed
28384028d71eSmrg
28394028d71eSmrg
28400ad07f78Smrg
28410ad07f78Smrg
28420ad07f78Smrg
28430ad07f78Smrgcat >>confdefs.h <<_ACEOF
28440ad07f78Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
28450ad07f78Smrg_ACEOF
28460ad07f78Smrg
28470ad07f78Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
28480ad07f78Smrg	if test "x$PVM" = "x"; then
28490ad07f78Smrg		PVM="0"
28500ad07f78Smrg	fi
28510ad07f78Smrg
28526c19a6d3Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
28530ad07f78Smrg
28540ad07f78Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
28550ad07f78Smrg	if test "x$PVP" = "x"; then
28560ad07f78Smrg		PVP="0"
28570ad07f78Smrg	fi
28580ad07f78Smrg
28596c19a6d3Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
28600ad07f78Smrg
28610ad07f78Smrg
28620ad07f78Smrg
28636c19a6d3SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
28644028d71eSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
28656c19a6d3Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
28666c19a6d3Smrgtouch \$(top_srcdir)/ChangeLog; \
28676c19a6d3Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
28680ad07f78Smrg
28694028d71eSmrg
28704028d71eSmrg
28714028d71eSmrg
28724028d71eSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
28734028d71eSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
28744028d71eSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
28756c19a6d3Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
28766c19a6d3Smrgtouch \$(top_srcdir)/INSTALL; \
28776c19a6d3Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
28784028d71eSmrg
28790ad07f78Smrg
28800ad07f78Smrg
28810ad07f78Smrg
28820ad07f78Smrg
28830ad07f78Smrg
28846c19a6d3Smrgcase $host_os in
28856c19a6d3Smrg    solaris*)
28866c19a6d3Smrg        # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
28876c19a6d3Smrg        # check for a man page file found in later versions that use
28886c19a6d3Smrg        # traditional section numbers instead
28896c19a6d3Smrg        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
28906c19a6d3Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
28916c19a6d3Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
28926c19a6d3Smrgthen :
28936c19a6d3Smrg  printf %s "(cached) " >&6
28946c19a6d3Smrgelse $as_nop
28956c19a6d3Smrg  test "$cross_compiling" = yes &&
28966c19a6d3Smrg  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
28976c19a6d3Smrgif test -r "/usr/share/man/man7/attributes.7"; then
28986c19a6d3Smrg  ac_cv_file__usr_share_man_man7_attributes_7=yes
28996c19a6d3Smrgelse
29006c19a6d3Smrg  ac_cv_file__usr_share_man_man7_attributes_7=no
29016c19a6d3Smrgfi
29026c19a6d3Smrgfi
29036c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
29046c19a6d3Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
29056c19a6d3Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
29066c19a6d3Smrgthen :
29076c19a6d3Smrg  SYSV_MAN_SECTIONS=false
29086c19a6d3Smrgelse $as_nop
29096c19a6d3Smrg  SYSV_MAN_SECTIONS=true
29106c19a6d3Smrgfi
29116c19a6d3Smrg
29126c19a6d3Smrg        ;;
29136c19a6d3Smrg    *) SYSV_MAN_SECTIONS=false ;;
29146c19a6d3Smrgesac
29156c19a6d3Smrg
29160ad07f78Smrgif test x$APP_MAN_SUFFIX = x    ; then
29170ad07f78Smrg    APP_MAN_SUFFIX=1
29180ad07f78Smrgfi
29190ad07f78Smrgif test x$APP_MAN_DIR = x    ; then
29200ad07f78Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
292198049353Smrgfi
292298049353Smrg
29230ad07f78Smrgif test x$LIB_MAN_SUFFIX = x    ; then
29240ad07f78Smrg    LIB_MAN_SUFFIX=3
29250ad07f78Smrgfi
29260ad07f78Smrgif test x$LIB_MAN_DIR = x    ; then
29270ad07f78Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
29280ad07f78Smrgfi
29290ad07f78Smrg
29300ad07f78Smrgif test x$FILE_MAN_SUFFIX = x    ; then
29316c19a6d3Smrg    case $SYSV_MAN_SECTIONS in
29326c19a6d3Smrg	true)				FILE_MAN_SUFFIX=4  ;;
29336c19a6d3Smrg	*)				FILE_MAN_SUFFIX=5  ;;
29340ad07f78Smrg    esac
29350ad07f78Smrgfi
29360ad07f78Smrgif test x$FILE_MAN_DIR = x    ; then
29370ad07f78Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
29380ad07f78Smrgfi
29390ad07f78Smrg
29400ad07f78Smrgif test x$MISC_MAN_SUFFIX = x    ; then
29416c19a6d3Smrg    case $SYSV_MAN_SECTIONS in
29426c19a6d3Smrg	true)				MISC_MAN_SUFFIX=5  ;;
29436c19a6d3Smrg	*)				MISC_MAN_SUFFIX=7  ;;
29440ad07f78Smrg    esac
29450ad07f78Smrgfi
29460ad07f78Smrgif test x$MISC_MAN_DIR = x    ; then
29470ad07f78Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
29480ad07f78Smrgfi
29490ad07f78Smrg
29500ad07f78Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
29516c19a6d3Smrg    case $SYSV_MAN_SECTIONS in
29526c19a6d3Smrg	true)				DRIVER_MAN_SUFFIX=7  ;;
29536c19a6d3Smrg	*)				DRIVER_MAN_SUFFIX=4  ;;
29540ad07f78Smrg    esac
29550ad07f78Smrgfi
29560ad07f78Smrgif test x$DRIVER_MAN_DIR = x    ; then
29570ad07f78Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
29580ad07f78Smrgfi
29590ad07f78Smrg
29600ad07f78Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
29616c19a6d3Smrg    case $SYSV_MAN_SECTIONS in
29626c19a6d3Smrg	true)				ADMIN_MAN_SUFFIX=1m ;;
29636c19a6d3Smrg	*)				ADMIN_MAN_SUFFIX=8  ;;
29640ad07f78Smrg    esac
29650ad07f78Smrgfi
29660ad07f78Smrgif test x$ADMIN_MAN_DIR = x    ; then
29670ad07f78Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
29680ad07f78Smrgfi
29690ad07f78Smrg
29700ad07f78Smrg
29710ad07f78Smrg
29720ad07f78Smrg
29730ad07f78Smrg
29740ad07f78Smrg
29750ad07f78Smrg
29760ad07f78Smrg
29770ad07f78Smrg
29780ad07f78Smrg
29790ad07f78Smrg
29800ad07f78Smrg
29810ad07f78Smrg
29820ad07f78Smrg
298398049353Smrg
29844028d71eSmrgXORG_MAN_PAGE="X Version 11"
298598049353Smrg
29864028d71eSmrgMAN_SUBSTS="\
29874028d71eSmrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
29884028d71eSmrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
29894028d71eSmrg	-e 's|__xservername__|Xorg|g' \
29904028d71eSmrg	-e 's|__xconfigfile__|xorg.conf|g' \
29914028d71eSmrg	-e 's|__projectroot__|\$(prefix)|g' \
29924028d71eSmrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
29934028d71eSmrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
29944028d71eSmrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
29954028d71eSmrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
29964028d71eSmrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
29974028d71eSmrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
29984028d71eSmrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
299998049353Smrg
300098049353Smrg
300198049353Smrg
30024028d71eSmrg# Check whether --enable-silent-rules was given.
30036c19a6d3Smrgif test ${enable_silent_rules+y}
30046c19a6d3Smrgthen :
30054028d71eSmrg  enableval=$enable_silent_rules;
300698049353Smrgfi
30070ad07f78Smrg
30086c19a6d3Smrgcase $enable_silent_rules in # (((
30096c19a6d3Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
30106c19a6d3Smrg   no) AM_DEFAULT_VERBOSITY=1;;
30116c19a6d3Smrg    *) AM_DEFAULT_VERBOSITY=0;;
30124028d71eSmrgesac
30136c19a6d3Smrgam_make=${MAKE-make}
30146c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
30156c19a6d3Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
30166c19a6d3Smrgif test ${am_cv_make_support_nested_variables+y}
30176c19a6d3Smrgthen :
30186c19a6d3Smrg  printf %s "(cached) " >&6
30196c19a6d3Smrgelse $as_nop
30206c19a6d3Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
30216c19a6d3SmrgBAR0=false
30226c19a6d3SmrgBAR1=true
30236c19a6d3SmrgV=1
30246c19a6d3Smrgam__doit:
30256c19a6d3Smrg	@$(TRUE)
30266c19a6d3Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
30276c19a6d3Smrg  am_cv_make_support_nested_variables=yes
30286c19a6d3Smrgelse
30296c19a6d3Smrg  am_cv_make_support_nested_variables=no
30306c19a6d3Smrgfi
30316c19a6d3Smrgfi
30326c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
30336c19a6d3Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
30346c19a6d3Smrgif test $am_cv_make_support_nested_variables = yes; then
30356c19a6d3Smrg    AM_V='$(V)'
30366c19a6d3Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
30376c19a6d3Smrgelse
30386c19a6d3Smrg  AM_V=$AM_DEFAULT_VERBOSITY
30396c19a6d3Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
30406c19a6d3Smrgfi
30414028d71eSmrgAM_BACKSLASH='\'
30424028d71eSmrg
30434028d71eSmrg
30444028d71eSmrg
30456c19a6d3Smrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS
30460ad07f78Smrg
30470ad07f78Smrg
30480ad07f78Smrg
304998049353Smrg
305098049353Smrg
30510ad07f78Smrg
305298049353Smrg
30530ad07f78Smrg
30540ad07f78Smrg
30550ad07f78Smrg
30560ad07f78Smrg
30570ad07f78Smrg
30580ad07f78Smrg
30594028d71eSmrg
30604028d71eSmrg
30616c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
30626c19a6d3Smrgprintf %s "checking for root directory for font files... " >&6; }
30630ad07f78Smrg
30640ad07f78Smrg# Check whether --with-fontrootdir was given.
30656c19a6d3Smrgif test ${with_fontrootdir+y}
30666c19a6d3Smrgthen :
30670ad07f78Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
30680ad07f78Smrgfi
30690ad07f78Smrg
30700ad07f78Smrg	# if --with-fontrootdir not specified...
30710ad07f78Smrg	if test "x${FONTROOTDIR}" = "x"; then
30720ad07f78Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
30730ad07f78Smrg	fi
30740ad07f78Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
30750ad07f78Smrg	if test "x${FONTROOTDIR}" = "x"; then
30760ad07f78Smrg		FONTROOTDIR="${datadir}/fonts/X11"
30770ad07f78Smrg	fi
30780ad07f78Smrg
30796c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
30806c19a6d3Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; }
30810ad07f78Smrg
30820ad07f78Smrg
30830ad07f78Smrg
30840ad07f78Smrg
30856c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5
30866c19a6d3Smrgprintf %s "checking for directory for misc files... " >&6; }
30870ad07f78Smrg
30880ad07f78Smrg# Check whether --with-fontdir was given.
30896c19a6d3Smrgif test ${with_fontdir+y}
30906c19a6d3Smrgthen :
30910ad07f78Smrg  withval=$with_fontdir; FONTDIR="${withval}"
30926c19a6d3Smrgelse $as_nop
30930ad07f78Smrg  FONTDIR='${FONTROOTDIR}/misc'
30940ad07f78Smrgfi
30950ad07f78Smrg
30960ad07f78Smrg
30976c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5
30986c19a6d3Smrgprintf "%s\n" "${FONTDIR}" >&6; }
30990ad07f78Smrg
310098049353Smrg
31010ad07f78Smrg
31020ad07f78Smrg
31030ad07f78Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
31040ad07f78Smrgset dummy fc-cache; ac_word=$2
31056c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31066c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
31076c19a6d3Smrgif test ${ac_cv_path_FCCACHE+y}
31086c19a6d3Smrgthen :
31096c19a6d3Smrg  printf %s "(cached) " >&6
31106c19a6d3Smrgelse $as_nop
31110ad07f78Smrg  case $FCCACHE in
31120ad07f78Smrg  [\\/]* | ?:[\\/]*)
31130ad07f78Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
31140ad07f78Smrg  ;;
31150ad07f78Smrg  *)
31160ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31170ad07f78Smrgfor as_dir in $PATH
31180ad07f78Smrgdo
31190ad07f78Smrg  IFS=$as_save_IFS
31206c19a6d3Smrg  case $as_dir in #(((
31216c19a6d3Smrg    '') as_dir=./ ;;
31226c19a6d3Smrg    */) ;;
31236c19a6d3Smrg    *) as_dir=$as_dir/ ;;
31246c19a6d3Smrg  esac
31254028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
31266c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31276c19a6d3Smrg    ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext"
31286c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31290ad07f78Smrg    break 2
31300ad07f78Smrg  fi
31310ad07f78Smrgdone
31324028d71eSmrg  done
31330ad07f78SmrgIFS=$as_save_IFS
31340ad07f78Smrg
31350ad07f78Smrg  ;;
31360ad07f78Smrgesac
31370ad07f78Smrgfi
31380ad07f78SmrgFCCACHE=$ac_cv_path_FCCACHE
31390ad07f78Smrgif test -n "$FCCACHE"; then
31406c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
31416c19a6d3Smrgprintf "%s\n" "$FCCACHE" >&6; }
314298049353Smrgelse
31436c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31446c19a6d3Smrgprintf "%s\n" "no" >&6; }
314598049353Smrgfi
314698049353Smrg
31470ad07f78Smrg
31480ad07f78Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
31496c19a6d3Smrg	if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then
31500ad07f78Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
31510ad07f78Smrg	else
31520ad07f78Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
31530ad07f78Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
31540ad07f78Smrg	fi
31550ad07f78Smrg
31560ad07f78Smrg
31570ad07f78Smrg
31586c19a6d3Smrg	if test x"$cross_compiling" != x"no" ; then
31596c19a6d3Smrg		# Extract the first word of "mkfontdir", so it can be a program name with args.
316098049353Smrgset dummy mkfontdir; ac_word=$2
31616c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31626c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
31636c19a6d3Smrgif test ${ac_cv_path_MKFONTDIR+y}
31646c19a6d3Smrgthen :
31656c19a6d3Smrg  printf %s "(cached) " >&6
31666c19a6d3Smrgelse $as_nop
31676c19a6d3Smrg  case $MKFONTDIR in
31686c19a6d3Smrg  [\\/]* | ?:[\\/]*)
31696c19a6d3Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
31706c19a6d3Smrg  ;;
31716c19a6d3Smrg  *)
31726c19a6d3Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31736c19a6d3Smrgfor as_dir in $PATH
31746c19a6d3Smrgdo
31756c19a6d3Smrg  IFS=$as_save_IFS
31766c19a6d3Smrg  case $as_dir in #(((
31776c19a6d3Smrg    '') as_dir=./ ;;
31786c19a6d3Smrg    */) ;;
31796c19a6d3Smrg    *) as_dir=$as_dir/ ;;
31806c19a6d3Smrg  esac
31816c19a6d3Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
31826c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31836c19a6d3Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
31846c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31856c19a6d3Smrg    break 2
31866c19a6d3Smrg  fi
31876c19a6d3Smrgdone
31886c19a6d3Smrg  done
31896c19a6d3SmrgIFS=$as_save_IFS
31906c19a6d3Smrg
31916c19a6d3Smrg  test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR=""""
31926c19a6d3Smrg  ;;
31936c19a6d3Smrgesac
31946c19a6d3Smrgfi
31956c19a6d3SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
31966c19a6d3Smrgif test -n "$MKFONTDIR"; then
31976c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
31986c19a6d3Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
319998049353Smrgelse
32006c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32016c19a6d3Smrgprintf "%s\n" "no" >&6; }
32026c19a6d3Smrgfi
32036c19a6d3Smrg
32046c19a6d3Smrg
32056c19a6d3Smrg		MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"'
32066c19a6d3Smrg
32076c19a6d3Smrg		if test x"$MKFONTDIR" = x; then
32086c19a6d3Smrg			MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'"
32096c19a6d3Smrg		fi
32106c19a6d3Smrg	else
32116c19a6d3Smrg
32126c19a6d3Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
32136c19a6d3Smrgset dummy mkfontdir; ac_word=$2
32146c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32156c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
32166c19a6d3Smrgif test ${ac_cv_path_MKFONTDIR+y}
32176c19a6d3Smrgthen :
32186c19a6d3Smrg  printf %s "(cached) " >&6
32196c19a6d3Smrgelse $as_nop
322098049353Smrg  case $MKFONTDIR in
322198049353Smrg  [\\/]* | ?:[\\/]*)
322298049353Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
322398049353Smrg  ;;
322498049353Smrg  *)
322598049353Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
322698049353Smrgfor as_dir in $PATH
322798049353Smrgdo
322898049353Smrg  IFS=$as_save_IFS
32296c19a6d3Smrg  case $as_dir in #(((
32306c19a6d3Smrg    '') as_dir=./ ;;
32316c19a6d3Smrg    */) ;;
32326c19a6d3Smrg    *) as_dir=$as_dir/ ;;
32336c19a6d3Smrg  esac
32344028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
32356c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
32366c19a6d3Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
32376c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
323898049353Smrg    break 2
323998049353Smrg  fi
324098049353Smrgdone
32414028d71eSmrg  done
32420ad07f78SmrgIFS=$as_save_IFS
324398049353Smrg
324498049353Smrg  ;;
324598049353Smrgesac
324698049353Smrgfi
324798049353SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
324898049353Smrgif test -n "$MKFONTDIR"; then
32496c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
32506c19a6d3Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
325198049353Smrgelse
32526c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32536c19a6d3Smrgprintf "%s\n" "no" >&6; }
325498049353Smrgfi
325598049353Smrg
325698049353Smrg
32574028d71eSmrg	if test x"$MKFONTDIR" = x; then
32584028d71eSmrg		as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5
32590ad07f78Smrg	fi
326098049353Smrg
32616c19a6d3Smrg	fi
32626c19a6d3Smrg
32636c19a6d3Smrg
32646c19a6d3Smrg
326598049353Smrg
326698049353Smrg
32670ad07f78Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
32680ad07f78Smrgset dummy bdftopcf; ac_word=$2
32696c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32706c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
32716c19a6d3Smrgif test ${ac_cv_path_BDFTOPCF+y}
32726c19a6d3Smrgthen :
32736c19a6d3Smrg  printf %s "(cached) " >&6
32746c19a6d3Smrgelse $as_nop
32750ad07f78Smrg  case $BDFTOPCF in
32760ad07f78Smrg  [\\/]* | ?:[\\/]*)
32770ad07f78Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
32780ad07f78Smrg  ;;
32790ad07f78Smrg  *)
32800ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32810ad07f78Smrgfor as_dir in $PATH
32820ad07f78Smrgdo
32830ad07f78Smrg  IFS=$as_save_IFS
32846c19a6d3Smrg  case $as_dir in #(((
32856c19a6d3Smrg    '') as_dir=./ ;;
32866c19a6d3Smrg    */) ;;
32876c19a6d3Smrg    *) as_dir=$as_dir/ ;;
32886c19a6d3Smrg  esac
32894028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
32906c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
32916c19a6d3Smrg    ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext"
32926c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32930ad07f78Smrg    break 2
32940ad07f78Smrg  fi
32950ad07f78Smrgdone
32964028d71eSmrg  done
32970ad07f78SmrgIFS=$as_save_IFS
32980ad07f78Smrg
32990ad07f78Smrg  ;;
33000ad07f78Smrgesac
33010ad07f78Smrgfi
33020ad07f78SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
33030ad07f78Smrgif test -n "$BDFTOPCF"; then
33046c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5
33056c19a6d3Smrgprintf "%s\n" "$BDFTOPCF" >&6; }
330698049353Smrgelse
33076c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33086c19a6d3Smrgprintf "%s\n" "no" >&6; }
33090ad07f78Smrgfi
33100ad07f78Smrg
331198049353Smrg
33124028d71eSmrg	if test x"$BDFTOPCF" = x; then
33134028d71eSmrg		as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5
33140ad07f78Smrg	fi
331598049353Smrg
331698049353Smrg
33176c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5
33186c19a6d3Smrgprintf %s "checking font compression method... " >&6; }
331998049353Smrg
33200ad07f78Smrg# Check whether --with-compression was given.
33216c19a6d3Smrgif test ${with_compression+y}
33226c19a6d3Smrgthen :
33230ad07f78Smrg  withval=$with_compression; compression="$withval"
33246c19a6d3Smrgelse $as_nop
33250ad07f78Smrg  compression="yes"
33260ad07f78Smrgfi
33270ad07f78Smrg
33280ad07f78Smrg	if test x"$compression" = "xyes" ; then
33290ad07f78Smrg		compression="gzip"
33300ad07f78Smrg	fi
33316c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5
33326c19a6d3Smrgprintf "%s\n" "${compression}" >&6; }
33330ad07f78Smrg	case ${compression} in
33340ad07f78Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
33356c19a6d3Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;
33366c19a6d3Smrg			COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;;
33370ad07f78Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
33380ad07f78Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
33394028d71eSmrg	 *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;;
33400ad07f78Smrg	esac
33410ad07f78Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
33420ad07f78Smrg
33430ad07f78Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
33440ad07f78Smrgset dummy ${compression}; ac_word=$2
33456c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33466c19a6d3Smrgprintf %s "checking for $ac_word... " >&6; }
33476c19a6d3Smrgif test ${ac_cv_path_COMPRESS+y}
33486c19a6d3Smrgthen :
33496c19a6d3Smrg  printf %s "(cached) " >&6
33506c19a6d3Smrgelse $as_nop
33510ad07f78Smrg  case $COMPRESS in
33520ad07f78Smrg  [\\/]* | ?:[\\/]*)
33530ad07f78Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
33540ad07f78Smrg  ;;
33550ad07f78Smrg  *)
33560ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33570ad07f78Smrgfor as_dir in $PATH
33580ad07f78Smrgdo
33590ad07f78Smrg  IFS=$as_save_IFS
33606c19a6d3Smrg  case $as_dir in #(((
33616c19a6d3Smrg    '') as_dir=./ ;;
33626c19a6d3Smrg    */) ;;
33636c19a6d3Smrg    *) as_dir=$as_dir/ ;;
33646c19a6d3Smrg  esac
33654028d71eSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
33666c19a6d3Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
33676c19a6d3Smrg    ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext"
33686c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33690ad07f78Smrg    break 2
33700ad07f78Smrg  fi
33710ad07f78Smrgdone
33724028d71eSmrg  done
33730ad07f78SmrgIFS=$as_save_IFS
33740ad07f78Smrg
33750ad07f78Smrg  ;;
33760ad07f78Smrgesac
33770ad07f78Smrgfi
33780ad07f78SmrgCOMPRESS=$ac_cv_path_COMPRESS
33790ad07f78Smrgif test -n "$COMPRESS"; then
33806c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5
33816c19a6d3Smrgprintf "%s\n" "$COMPRESS" >&6; }
33820ad07f78Smrgelse
33836c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33846c19a6d3Smrgprintf "%s\n" "no" >&6; }
33850ad07f78Smrgfi
33860ad07f78Smrg
33870ad07f78Smrg
33884028d71eSmrg	if test x"$COMPRESS" = x; then
33894028d71eSmrg		as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5
33900ad07f78Smrg	fi
33910ad07f78Smrg
339298049353Smrg	fi
33936c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5
33946c19a6d3Smrgprintf %s "checking options to font compression command... " >&6; }
33956c19a6d3Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5
33966c19a6d3Smrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; }
33976c19a6d3Smrg
339898049353Smrg
339998049353Smrg
34000ad07f78Smrg
34010ad07f78Smrg
34020ad07f78Smrgac_config_files="$ac_config_files Makefile"
34030ad07f78Smrg
340498049353Smrgcat >confcache <<\_ACEOF
340598049353Smrg# This file is a shell script that caches the results of configure
340698049353Smrg# tests run on this system so they can be shared between configure
340798049353Smrg# scripts and configure runs, see configure's option --config-cache.
340898049353Smrg# It is not useful on other systems.  If it contains results you don't
340998049353Smrg# want to keep, you may remove or edit it.
341098049353Smrg#
341198049353Smrg# config.status only pays attention to the cache file if you give it
341298049353Smrg# the --recheck option to rerun configure.
341398049353Smrg#
341498049353Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
341598049353Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
341698049353Smrg# following values.
341798049353Smrg
341898049353Smrg_ACEOF
341998049353Smrg
342098049353Smrg# The following way of writing the cache mishandles newlines in values,
342198049353Smrg# but we know of no workaround that is simple, portable, and efficient.
34220ad07f78Smrg# So, we kill variables containing newlines.
342398049353Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
342498049353Smrg# and sets the high bit in the cache file unless we assign to the vars.
34250ad07f78Smrg(
34260ad07f78Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34270ad07f78Smrg    eval ac_val=\$$ac_var
34280ad07f78Smrg    case $ac_val in #(
34290ad07f78Smrg    *${as_nl}*)
34300ad07f78Smrg      case $ac_var in #(
34316c19a6d3Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
34326c19a6d3Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
34330ad07f78Smrg      esac
34340ad07f78Smrg      case $ac_var in #(
34350ad07f78Smrg      _ | IFS | as_nl) ;; #(
34360ad07f78Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
34374028d71eSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
34380ad07f78Smrg      esac ;;
34390ad07f78Smrg    esac
34400ad07f78Smrg  done
34410ad07f78Smrg
344298049353Smrg  (set) 2>&1 |
34430ad07f78Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
34440ad07f78Smrg    *${as_nl}ac_space=\ *)
34454028d71eSmrg      # `set' does not quote correctly, so add quotes: double-quote
34464028d71eSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
344798049353Smrg      sed -n \
344898049353Smrg	"s/'/'\\\\''/g;
344998049353Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34500ad07f78Smrg      ;; #(
345198049353Smrg    *)
345298049353Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
34530ad07f78Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
345498049353Smrg      ;;
34550ad07f78Smrg    esac |
34560ad07f78Smrg    sort
34570ad07f78Smrg) |
345898049353Smrg  sed '
34590ad07f78Smrg     /^ac_cv_env_/b end
346098049353Smrg     t clear
34610ad07f78Smrg     :clear
34626c19a6d3Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
346398049353Smrg     t end
34640ad07f78Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34650ad07f78Smrg     :end' >>confcache
34660ad07f78Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
34670ad07f78Smrg  if test -w "$cache_file"; then
34684028d71eSmrg    if test "x$cache_file" != "x/dev/null"; then
34696c19a6d3Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
34706c19a6d3Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;}
34714028d71eSmrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
34724028d71eSmrg	cat confcache >"$cache_file"
34734028d71eSmrg      else
34744028d71eSmrg        case $cache_file in #(
34754028d71eSmrg        */* | ?:*)
34764028d71eSmrg	  mv -f confcache "$cache_file"$$ &&
34774028d71eSmrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
34784028d71eSmrg        *)
34794028d71eSmrg	  mv -f confcache "$cache_file" ;;
34804028d71eSmrg	esac
34814028d71eSmrg      fi
34824028d71eSmrg    fi
348398049353Smrg  else
34846c19a6d3Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
34856c19a6d3Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
348698049353Smrg  fi
348798049353Smrgfi
348898049353Smrgrm -f confcache
348998049353Smrg
349098049353Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
349198049353Smrg# Let make expand exec_prefix.
349298049353Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
349398049353Smrg
349498049353Smrg# Transform confdefs.h into DEFS.
349598049353Smrg# Protect against shell expansion while executing Makefile rules.
349698049353Smrg# Protect against Makefile macro expansion.
349798049353Smrg#
349898049353Smrg# If the first sed substitution is executed (which looks for macros that
34990ad07f78Smrg# take arguments), then branch to the quote section.  Otherwise,
350098049353Smrg# look for a macro that doesn't take arguments.
35010ad07f78Smrgac_script='
35020ad07f78Smrg:mline
35030ad07f78Smrg/\\$/{
35040ad07f78Smrg N
35050ad07f78Smrg s,\\\n,,
35060ad07f78Smrg b mline
35070ad07f78Smrg}
350898049353Smrgt clear
35090ad07f78Smrg:clear
35100ad07f78Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
351198049353Smrgt quote
35120ad07f78Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
351398049353Smrgt quote
35140ad07f78Smrgb any
35150ad07f78Smrg:quote
35160ad07f78Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
35170ad07f78Smrgs/\[/\\&/g
35180ad07f78Smrgs/\]/\\&/g
35190ad07f78Smrgs/\$/$$/g
35200ad07f78SmrgH
35210ad07f78Smrg:any
35220ad07f78Smrg${
35230ad07f78Smrg	g
35240ad07f78Smrg	s/^\n//
35250ad07f78Smrg	s/\n/ /g
35260ad07f78Smrg	p
35270ad07f78Smrg}
35280ad07f78Smrg'
35290ad07f78SmrgDEFS=`sed -n "$ac_script" confdefs.h`
353098049353Smrg
353198049353Smrg
353298049353Smrgac_libobjs=
353398049353Smrgac_ltlibobjs=
35344028d71eSmrgU=
353598049353Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
353698049353Smrg  # 1. Remove the extension, and $U if already installed.
35370ad07f78Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
35386c19a6d3Smrg  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
35390ad07f78Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
35400ad07f78Smrg  #    will be set to the directory where LIBOBJS objects are built.
35414028d71eSmrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
35424028d71eSmrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
354398049353Smrgdone
354498049353SmrgLIBOBJS=$ac_libobjs
354598049353Smrg
354698049353SmrgLTLIBOBJS=$ac_ltlibobjs
354798049353Smrg
354898049353Smrg
35496c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
35506c19a6d3Smrgprintf %s "checking that generated files are newer than configure... " >&6; }
35516c19a6d3Smrg   if test -n "$am_sleep_pid"; then
35526c19a6d3Smrg     # Hide warnings about reused PIDs.
35536c19a6d3Smrg     wait $am_sleep_pid 2>/dev/null
35546c19a6d3Smrg   fi
35556c19a6d3Smrg   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
35566c19a6d3Smrgprintf "%s\n" "done" >&6; }
35570ad07f78Smrg
355898049353Smrg
35594028d71eSmrg: "${CONFIG_STATUS=./config.status}"
35600ad07f78Smrgac_write_fail=0
356198049353Smrgac_clean_files_save=$ac_clean_files
356298049353Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
35636c19a6d3Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
35646c19a6d3Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
35654028d71eSmrgas_write_fail=0
35664028d71eSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
356798049353Smrg#! $SHELL
356898049353Smrg# Generated by $as_me.
356998049353Smrg# Run this file to recreate the current configuration.
357098049353Smrg# Compiler output produced by configure, useful for debugging
357198049353Smrg# configure, is in config.log if it exists.
357298049353Smrg
357398049353Smrgdebug=false
357498049353Smrgac_cs_recheck=false
357598049353Smrgac_cs_silent=false
357698049353Smrg
35774028d71eSmrgSHELL=\${CONFIG_SHELL-$SHELL}
35784028d71eSmrgexport SHELL
35794028d71eSmrg_ASEOF
35804028d71eSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
35814028d71eSmrg## -------------------- ##
35824028d71eSmrg## M4sh Initialization. ##
35834028d71eSmrg## -------------------- ##
358498049353Smrg
35850ad07f78Smrg# Be more Bourne compatible
35860ad07f78SmrgDUALCASE=1; export DUALCASE # for MKS sh
35876c19a6d3Smrgas_nop=:
35886c19a6d3Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
35896c19a6d3Smrgthen :
359098049353Smrg  emulate sh
359198049353Smrg  NULLCMD=:
35920ad07f78Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
359398049353Smrg  # is contrary to our usage.  Disable this feature.
359498049353Smrg  alias -g '${1+"$@"}'='"$@"'
35950ad07f78Smrg  setopt NO_GLOB_SUBST
35966c19a6d3Smrgelse $as_nop
35974028d71eSmrg  case `(set -o) 2>/dev/null` in #(
35984028d71eSmrg  *posix*) :
35994028d71eSmrg    set -o posix ;; #(
36004028d71eSmrg  *) :
36014028d71eSmrg     ;;
36020ad07f78Smrgesac
36030ad07f78Smrgfi
36040ad07f78Smrg
36050ad07f78Smrg
36066c19a6d3Smrg
36076c19a6d3Smrg# Reset variables that may have inherited troublesome values from
36086c19a6d3Smrg# the environment.
36096c19a6d3Smrg
36106c19a6d3Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
36116c19a6d3Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
36126c19a6d3Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
36136c19a6d3Smrg# Quoting is to prevent editors from complaining about space-tab.
36140ad07f78Smrgas_nl='
36150ad07f78Smrg'
36160ad07f78Smrgexport as_nl
36176c19a6d3SmrgIFS=" ""	$as_nl"
36186c19a6d3Smrg
36196c19a6d3SmrgPS1='$ '
36206c19a6d3SmrgPS2='> '
36216c19a6d3SmrgPS4='+ '
36226c19a6d3Smrg
36236c19a6d3Smrg# Ensure predictable behavior from utilities with locale-dependent output.
36246c19a6d3SmrgLC_ALL=C
36256c19a6d3Smrgexport LC_ALL
36266c19a6d3SmrgLANGUAGE=C
36276c19a6d3Smrgexport LANGUAGE
36286c19a6d3Smrg
36296c19a6d3Smrg# We cannot yet rely on "unset" to work, but we need these variables
36306c19a6d3Smrg# to be unset--not just set to an empty or harmless value--now, to
36316c19a6d3Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
36326c19a6d3Smrg# also avoids known problems related to "unset" and subshell syntax
36336c19a6d3Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
36346c19a6d3Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
36356c19a6d3Smrgdo eval test \${$as_var+y} \
36366c19a6d3Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
36376c19a6d3Smrgdone
36386c19a6d3Smrg
36396c19a6d3Smrg# Ensure that fds 0, 1, and 2 are open.
36406c19a6d3Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
36416c19a6d3Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
36426c19a6d3Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
36430ad07f78Smrg
36440ad07f78Smrg# The user is always right.
36456c19a6d3Smrgif ${PATH_SEPARATOR+false} :; then
36460ad07f78Smrg  PATH_SEPARATOR=:
36470ad07f78Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
36480ad07f78Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
36490ad07f78Smrg      PATH_SEPARATOR=';'
36500ad07f78Smrg  }
365198049353Smrgfi
365298049353Smrg
365398049353Smrg
36540ad07f78Smrg# Find who we are.  Look in the path if we contain no directory separator.
36554028d71eSmrgas_myself=
36564028d71eSmrgcase $0 in #((
36570ad07f78Smrg  *[\\/]* ) as_myself=$0 ;;
36580ad07f78Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36590ad07f78Smrgfor as_dir in $PATH
36600ad07f78Smrgdo
36610ad07f78Smrg  IFS=$as_save_IFS
36626c19a6d3Smrg  case $as_dir in #(((
36636c19a6d3Smrg    '') as_dir=./ ;;
36646c19a6d3Smrg    */) ;;
36656c19a6d3Smrg    *) as_dir=$as_dir/ ;;
36666c19a6d3Smrg  esac
36676c19a6d3Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
36684028d71eSmrg  done
36690ad07f78SmrgIFS=$as_save_IFS
36700ad07f78Smrg
36710ad07f78Smrg     ;;
36720ad07f78Smrgesac
36730ad07f78Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
36740ad07f78Smrg# in which case we are not to be found in the path.
36750ad07f78Smrgif test "x$as_myself" = x; then
36760ad07f78Smrg  as_myself=$0
36770ad07f78Smrgfi
36780ad07f78Smrgif test ! -f "$as_myself"; then
36796c19a6d3Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
36804028d71eSmrg  exit 1
36810ad07f78Smrgfi
36820ad07f78Smrg
36834028d71eSmrg
36844028d71eSmrg
36854028d71eSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
36864028d71eSmrg# ----------------------------------------
36874028d71eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
36884028d71eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
36894028d71eSmrg# script with STATUS, using 1 if that was 0.
36904028d71eSmrgas_fn_error ()
36914028d71eSmrg{
36924028d71eSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
36934028d71eSmrg  if test "$4"; then
36944028d71eSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
36956c19a6d3Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
36964028d71eSmrg  fi
36976c19a6d3Smrg  printf "%s\n" "$as_me: error: $2" >&2
36984028d71eSmrg  as_fn_exit $as_status
36994028d71eSmrg} # as_fn_error
37004028d71eSmrg
37014028d71eSmrg
37026c19a6d3Smrg
37034028d71eSmrg# as_fn_set_status STATUS
37044028d71eSmrg# -----------------------
37054028d71eSmrg# Set $? to STATUS, without forking.
37064028d71eSmrgas_fn_set_status ()
37074028d71eSmrg{
37084028d71eSmrg  return $1
37094028d71eSmrg} # as_fn_set_status
37104028d71eSmrg
37114028d71eSmrg# as_fn_exit STATUS
37124028d71eSmrg# -----------------
37134028d71eSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
37144028d71eSmrgas_fn_exit ()
37154028d71eSmrg{
37164028d71eSmrg  set +e
37174028d71eSmrg  as_fn_set_status $1
37184028d71eSmrg  exit $1
37194028d71eSmrg} # as_fn_exit
37204028d71eSmrg
37214028d71eSmrg# as_fn_unset VAR
37224028d71eSmrg# ---------------
37234028d71eSmrg# Portably unset VAR.
37244028d71eSmrgas_fn_unset ()
37254028d71eSmrg{
37264028d71eSmrg  { eval $1=; unset $1;}
37274028d71eSmrg}
37284028d71eSmrgas_unset=as_fn_unset
37296c19a6d3Smrg
37304028d71eSmrg# as_fn_append VAR VALUE
37314028d71eSmrg# ----------------------
37324028d71eSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
37334028d71eSmrg# advantage of any shell optimizations that allow amortized linear growth over
37344028d71eSmrg# repeated appends, instead of the typical quadratic growth present in naive
37354028d71eSmrg# implementations.
37366c19a6d3Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
37376c19a6d3Smrgthen :
37384028d71eSmrg  eval 'as_fn_append ()
37394028d71eSmrg  {
37404028d71eSmrg    eval $1+=\$2
37414028d71eSmrg  }'
37426c19a6d3Smrgelse $as_nop
37434028d71eSmrg  as_fn_append ()
37444028d71eSmrg  {
37454028d71eSmrg    eval $1=\$$1\$2
37464028d71eSmrg  }
37474028d71eSmrgfi # as_fn_append
37484028d71eSmrg
37494028d71eSmrg# as_fn_arith ARG...
37504028d71eSmrg# ------------------
37514028d71eSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
37524028d71eSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
37534028d71eSmrg# must be portable across $(()) and expr.
37546c19a6d3Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
37556c19a6d3Smrgthen :
37564028d71eSmrg  eval 'as_fn_arith ()
37574028d71eSmrg  {
37584028d71eSmrg    as_val=$(( $* ))
37594028d71eSmrg  }'
37606c19a6d3Smrgelse $as_nop
37614028d71eSmrg  as_fn_arith ()
37624028d71eSmrg  {
37634028d71eSmrg    as_val=`expr "$@" || test $? -eq 1`
37644028d71eSmrg  }
37654028d71eSmrgfi # as_fn_arith
37664028d71eSmrg
37674028d71eSmrg
37680ad07f78Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
37690ad07f78Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377098049353Smrg  as_expr=expr
377198049353Smrgelse
377298049353Smrg  as_expr=false
377398049353Smrgfi
377498049353Smrg
37750ad07f78Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
377698049353Smrg  as_basename=basename
377798049353Smrgelse
377898049353Smrg  as_basename=false
377998049353Smrgfi
378098049353Smrg
37814028d71eSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
37824028d71eSmrg  as_dirname=dirname
37834028d71eSmrgelse
37844028d71eSmrg  as_dirname=false
37854028d71eSmrgfi
378698049353Smrg
37870ad07f78Smrgas_me=`$as_basename -- "$0" ||
378898049353Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
378998049353Smrg	 X"$0" : 'X\(//\)$' \| \
37900ad07f78Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37916c19a6d3Smrgprintf "%s\n" X/"$0" |
37920ad07f78Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
37930ad07f78Smrg	    s//\1/
37940ad07f78Smrg	    q
37950ad07f78Smrg	  }
37960ad07f78Smrg	  /^X\/\(\/\/\)$/{
37970ad07f78Smrg	    s//\1/
37980ad07f78Smrg	    q
37990ad07f78Smrg	  }
38000ad07f78Smrg	  /^X\/\(\/\).*/{
38010ad07f78Smrg	    s//\1/
38020ad07f78Smrg	    q
38030ad07f78Smrg	  }
38040ad07f78Smrg	  s/.*/./; q'`
380598049353Smrg
38064028d71eSmrg# Avoid depending upon Character Ranges.
38074028d71eSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
38084028d71eSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38094028d71eSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
38104028d71eSmrgas_cr_digits='0123456789'
38114028d71eSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
381298049353Smrg
38136c19a6d3Smrg
38146c19a6d3Smrg# Determine whether it's possible to make 'echo' print without a newline.
38156c19a6d3Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
38166c19a6d3Smrg# for compatibility with existing Makefiles.
38170ad07f78SmrgECHO_C= ECHO_N= ECHO_T=
38184028d71eSmrgcase `echo -n x` in #(((((
38190ad07f78Smrg-n*)
38204028d71eSmrg  case `echo 'xy\c'` in
38210ad07f78Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
38224028d71eSmrg  xy)  ECHO_C='\c';;
38234028d71eSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
38244028d71eSmrg       ECHO_T='	';;
38250ad07f78Smrg  esac;;
38260ad07f78Smrg*)
38270ad07f78Smrg  ECHO_N='-n';;
38280ad07f78Smrgesac
382998049353Smrg
38306c19a6d3Smrg# For backward compatibility with old third-party macros, we provide
38316c19a6d3Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
38326c19a6d3Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
38336c19a6d3Smrgas_echo='printf %s\n'
38346c19a6d3Smrgas_echo_n='printf %s'
38356c19a6d3Smrg
383698049353Smrgrm -f conf$$ conf$$.exe conf$$.file
38370ad07f78Smrgif test -d conf$$.dir; then
38380ad07f78Smrg  rm -f conf$$.dir/conf$$.file
38390ad07f78Smrgelse
38400ad07f78Smrg  rm -f conf$$.dir
38410ad07f78Smrg  mkdir conf$$.dir 2>/dev/null
38420ad07f78Smrgfi
38430ad07f78Smrgif (echo >conf$$.file) 2>/dev/null; then
38440ad07f78Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
384598049353Smrg    as_ln_s='ln -s'
38460ad07f78Smrg    # ... but there are two gotchas:
38470ad07f78Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
38480ad07f78Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
38496c19a6d3Smrg    # In both cases, we have to default to `cp -pR'.
38500ad07f78Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
38516c19a6d3Smrg      as_ln_s='cp -pR'
38520ad07f78Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
38530ad07f78Smrg    as_ln_s=ln
38540ad07f78Smrg  else
38556c19a6d3Smrg    as_ln_s='cp -pR'
385698049353Smrg  fi
385798049353Smrgelse
38586c19a6d3Smrg  as_ln_s='cp -pR'
385998049353Smrgfi
38600ad07f78Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
38610ad07f78Smrgrmdir conf$$.dir 2>/dev/null
386298049353Smrg
38634028d71eSmrg
38644028d71eSmrg# as_fn_mkdir_p
38654028d71eSmrg# -------------
38664028d71eSmrg# Create "$as_dir" as a directory, including parents if necessary.
38674028d71eSmrgas_fn_mkdir_p ()
38684028d71eSmrg{
38694028d71eSmrg
38704028d71eSmrg  case $as_dir in #(
38714028d71eSmrg  -*) as_dir=./$as_dir;;
38724028d71eSmrg  esac
38734028d71eSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
38744028d71eSmrg    as_dirs=
38754028d71eSmrg    while :; do
38764028d71eSmrg      case $as_dir in #(
38776c19a6d3Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
38784028d71eSmrg      *) as_qdir=$as_dir;;
38794028d71eSmrg      esac
38804028d71eSmrg      as_dirs="'$as_qdir' $as_dirs"
38814028d71eSmrg      as_dir=`$as_dirname -- "$as_dir" ||
38824028d71eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38834028d71eSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
38844028d71eSmrg	 X"$as_dir" : 'X\(//\)$' \| \
38854028d71eSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
38866c19a6d3Smrgprintf "%s\n" X"$as_dir" |
38874028d71eSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
38884028d71eSmrg	    s//\1/
38894028d71eSmrg	    q
38904028d71eSmrg	  }
38914028d71eSmrg	  /^X\(\/\/\)[^/].*/{
38924028d71eSmrg	    s//\1/
38934028d71eSmrg	    q
38944028d71eSmrg	  }
38954028d71eSmrg	  /^X\(\/\/\)$/{
38964028d71eSmrg	    s//\1/
38974028d71eSmrg	    q
38984028d71eSmrg	  }
38994028d71eSmrg	  /^X\(\/\).*/{
39004028d71eSmrg	    s//\1/
39014028d71eSmrg	    q
39024028d71eSmrg	  }
39034028d71eSmrg	  s/.*/./; q'`
39044028d71eSmrg      test -d "$as_dir" && break
39054028d71eSmrg    done
39064028d71eSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
39074028d71eSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
39084028d71eSmrg
39094028d71eSmrg
39104028d71eSmrg} # as_fn_mkdir_p
391198049353Smrgif mkdir -p . 2>/dev/null; then
39124028d71eSmrg  as_mkdir_p='mkdir -p "$as_dir"'
391398049353Smrgelse
391498049353Smrg  test -d ./-p && rmdir ./-p
391598049353Smrg  as_mkdir_p=false
391698049353Smrgfi
391798049353Smrg
39186c19a6d3Smrg
39196c19a6d3Smrg# as_fn_executable_p FILE
39206c19a6d3Smrg# -----------------------
39216c19a6d3Smrg# Test if FILE is an executable regular file.
39226c19a6d3Smrgas_fn_executable_p ()
39236c19a6d3Smrg{
39246c19a6d3Smrg  test -f "$1" && test -x "$1"
39256c19a6d3Smrg} # as_fn_executable_p
39266c19a6d3Smrgas_test_x='test -x'
39276c19a6d3Smrgas_executable_p=as_fn_executable_p
392898049353Smrg
392998049353Smrg# Sed expression to map a string onto a valid CPP name.
393098049353Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
393198049353Smrg
393298049353Smrg# Sed expression to map a string onto a valid variable name.
393398049353Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
393498049353Smrg
393598049353Smrg
393698049353Smrgexec 6>&1
39374028d71eSmrg## ----------------------------------- ##
39384028d71eSmrg## Main body of $CONFIG_STATUS script. ##
39394028d71eSmrg## ----------------------------------- ##
39404028d71eSmrg_ASEOF
39414028d71eSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
394298049353Smrg
39434028d71eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39444028d71eSmrg# Save the log message, to keep $0 and so on meaningful, and to
394598049353Smrg# report actual input values of CONFIG_FILES etc. instead of their
39460ad07f78Smrg# values after options handling.
39470ad07f78Smrgac_log="
39486c19a6d3SmrgThis file was extended by font-isas-misc $as_me 1.0.4, which was
39496c19a6d3Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
395098049353Smrg
395198049353Smrg  CONFIG_FILES    = $CONFIG_FILES
395298049353Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
395398049353Smrg  CONFIG_LINKS    = $CONFIG_LINKS
395498049353Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
395598049353Smrg  $ $0 $@
395698049353Smrg
39570ad07f78Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
39580ad07f78Smrg"
39590ad07f78Smrg
396098049353Smrg_ACEOF
396198049353Smrg
39620ad07f78Smrgcase $ac_config_files in *"
39630ad07f78Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
39640ad07f78Smrgesac
396598049353Smrg
396698049353Smrg
396798049353Smrg
39680ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39690ad07f78Smrg# Files that config.status was made for.
39700ad07f78Smrgconfig_files="$ac_config_files"
397198049353Smrg
39720ad07f78Smrg_ACEOF
397398049353Smrg
39740ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
397598049353Smrgac_cs_usage="\
39764028d71eSmrg\`$as_me' instantiates files and other configuration actions
39774028d71eSmrgfrom templates according to the current configuration.  Unless the files
39784028d71eSmrgand actions are specified as TAGs, all are instantiated by default.
397998049353Smrg
39804028d71eSmrgUsage: $0 [OPTION]... [TAG]...
398198049353Smrg
398298049353Smrg  -h, --help       print this help, then exit
39830ad07f78Smrg  -V, --version    print version number and configuration settings, then exit
39844028d71eSmrg      --config     print configuration, then exit
39850ad07f78Smrg  -q, --quiet, --silent
39860ad07f78Smrg                   do not print progress messages
398798049353Smrg  -d, --debug      don't remove temporary files
398898049353Smrg      --recheck    update $as_me by reconfiguring in the same conditions
39890ad07f78Smrg      --file=FILE[:TEMPLATE]
39900ad07f78Smrg                   instantiate the configuration file FILE
399198049353Smrg
399298049353SmrgConfiguration files:
399398049353Smrg$config_files
399498049353Smrg
39956c19a6d3SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/isas-misc/-/issues>."
399698049353Smrg
39970ad07f78Smrg_ACEOF
39986c19a6d3Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
39996c19a6d3Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
40000ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40016c19a6d3Smrgac_cs_config='$ac_cs_config_escaped'
400298049353Smrgac_cs_version="\\
40036c19a6d3Smrgfont-isas-misc config.status 1.0.4
40046c19a6d3Smrgconfigured by $0, generated by GNU Autoconf 2.71,
40054028d71eSmrg  with options \\"\$ac_cs_config\\"
400698049353Smrg
40076c19a6d3SmrgCopyright (C) 2021 Free Software Foundation, Inc.
400898049353SmrgThis config.status script is free software; the Free Software Foundation
400998049353Smrggives unlimited permission to copy, distribute and modify it."
40100ad07f78Smrg
40110ad07f78Smrgac_pwd='$ac_pwd'
40120ad07f78Smrgsrcdir='$srcdir'
40130ad07f78SmrgINSTALL='$INSTALL'
40140ad07f78SmrgMKDIR_P='$MKDIR_P'
40150ad07f78SmrgAWK='$AWK'
40160ad07f78Smrgtest -n "\$AWK" || AWK=awk
401798049353Smrg_ACEOF
401898049353Smrg
40190ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40200ad07f78Smrg# The default lists apply if the user does not specify any file.
402198049353Smrgac_need_defaults=:
402298049353Smrgwhile test $# != 0
402398049353Smrgdo
402498049353Smrg  case $1 in
40254028d71eSmrg  --*=?*)
40260ad07f78Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
40270ad07f78Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
402898049353Smrg    ac_shift=:
402998049353Smrg    ;;
40304028d71eSmrg  --*=)
40314028d71eSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
40324028d71eSmrg    ac_optarg=
40334028d71eSmrg    ac_shift=:
40344028d71eSmrg    ;;
40350ad07f78Smrg  *)
403698049353Smrg    ac_option=$1
403798049353Smrg    ac_optarg=$2
403898049353Smrg    ac_shift=shift
403998049353Smrg    ;;
404098049353Smrg  esac
404198049353Smrg
404298049353Smrg  case $ac_option in
404398049353Smrg  # Handling of the options.
404498049353Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
404598049353Smrg    ac_cs_recheck=: ;;
40460ad07f78Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
40476c19a6d3Smrg    printf "%s\n" "$ac_cs_version"; exit ;;
40484028d71eSmrg  --config | --confi | --conf | --con | --co | --c )
40496c19a6d3Smrg    printf "%s\n" "$ac_cs_config"; exit ;;
40500ad07f78Smrg  --debug | --debu | --deb | --de | --d | -d )
405198049353Smrg    debug=: ;;
405298049353Smrg  --file | --fil | --fi | --f )
405398049353Smrg    $ac_shift
40540ad07f78Smrg    case $ac_optarg in
40556c19a6d3Smrg    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
40564028d71eSmrg    '') as_fn_error $? "missing file argument" ;;
40570ad07f78Smrg    esac
40584028d71eSmrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
405998049353Smrg    ac_need_defaults=false;;
40600ad07f78Smrg  --he | --h |  --help | --hel | -h )
40616c19a6d3Smrg    printf "%s\n" "$ac_cs_usage"; exit ;;
406298049353Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
406398049353Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
406498049353Smrg    ac_cs_silent=: ;;
406598049353Smrg
406698049353Smrg  # This is an error.
40674028d71eSmrg  -*) as_fn_error $? "unrecognized option: \`$1'
40684028d71eSmrgTry \`$0 --help' for more information." ;;
406998049353Smrg
40704028d71eSmrg  *) as_fn_append ac_config_targets " $1"
40710ad07f78Smrg     ac_need_defaults=false ;;
407298049353Smrg
407398049353Smrg  esac
407498049353Smrg  shift
407598049353Smrgdone
407698049353Smrg
407798049353Smrgac_configure_extra_args=
407898049353Smrg
407998049353Smrgif $ac_cs_silent; then
408098049353Smrg  exec 6>/dev/null
408198049353Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
408298049353Smrgfi
408398049353Smrg
408498049353Smrg_ACEOF
40850ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
408698049353Smrgif \$ac_cs_recheck; then
40876c19a6d3Smrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40880ad07f78Smrg  shift
40896c19a6d3Smrg  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
40900ad07f78Smrg  CONFIG_SHELL='$SHELL'
40910ad07f78Smrg  export CONFIG_SHELL
40920ad07f78Smrg  exec "\$@"
409398049353Smrgfi
409498049353Smrg
409598049353Smrg_ACEOF
40960ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40970ad07f78Smrgexec 5>>config.log
40980ad07f78Smrg{
40990ad07f78Smrg  echo
41000ad07f78Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41010ad07f78Smrg## Running $as_me. ##
41020ad07f78Smrg_ASBOX
41036c19a6d3Smrg  printf "%s\n" "$ac_log"
41040ad07f78Smrg} >&5
410598049353Smrg
41060ad07f78Smrg_ACEOF
41070ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41080ad07f78Smrg_ACEOF
410998049353Smrg
41100ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
411198049353Smrg
41120ad07f78Smrg# Handling of arguments.
411398049353Smrgfor ac_config_target in $ac_config_targets
411498049353Smrgdo
41150ad07f78Smrg  case $ac_config_target in
41160ad07f78Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41170ad07f78Smrg
41184028d71eSmrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
411998049353Smrg  esac
412098049353Smrgdone
412198049353Smrg
41220ad07f78Smrg
412398049353Smrg# If the user did not use the arguments to specify the items to instantiate,
412498049353Smrg# then the envvar interface is used.  Set only those that are not.
412598049353Smrg# We use the long form for the default assignment because of an extremely
412698049353Smrg# bizarre bug on SunOS 4.1.3.
412798049353Smrgif $ac_need_defaults; then
41286c19a6d3Smrg  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
412998049353Smrgfi
413098049353Smrg
413198049353Smrg# Have a temporary directory for convenience.  Make it in the build tree
41320ad07f78Smrg# simply because there is no reason against having it here, and in addition,
413398049353Smrg# creating and moving files from /tmp can sometimes cause problems.
41340ad07f78Smrg# Hook for its removal unless debugging.
41350ad07f78Smrg# Note that there is a small window in which the directory will not be cleaned:
41360ad07f78Smrg# after its creation but before its name has been assigned to `$tmp'.
413798049353Smrg$debug ||
413898049353Smrg{
41394028d71eSmrg  tmp= ac_tmp=
41400ad07f78Smrg  trap 'exit_status=$?
41414028d71eSmrg  : "${ac_tmp:=$tmp}"
41424028d71eSmrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
41430ad07f78Smrg' 0
41444028d71eSmrg  trap 'as_fn_exit 1' 1 2 13 15
414598049353Smrg}
414698049353Smrg# Create a (secure) tmp directory for tmp files.
414798049353Smrg
414898049353Smrg{
41490ad07f78Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41504028d71eSmrg  test -d "$tmp"
415198049353Smrg}  ||
415298049353Smrg{
41530ad07f78Smrg  tmp=./conf$$-$RANDOM
41540ad07f78Smrg  (umask 077 && mkdir "$tmp")
41554028d71eSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41564028d71eSmrgac_tmp=$tmp
415798049353Smrg
41580ad07f78Smrg# Set up the scripts for CONFIG_FILES section.
41590ad07f78Smrg# No need to generate them if there are no CONFIG_FILES.
41600ad07f78Smrg# This happens for instance with `./config.status config.h'.
41610ad07f78Smrgif test -n "$CONFIG_FILES"; then
41620ad07f78Smrg
41630ad07f78Smrg
41644028d71eSmrgac_cr=`echo X | tr X '\015'`
41654028d71eSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
41664028d71eSmrg# But we know of no other shell where ac_cr would be empty at this
41674028d71eSmrg# point, so we can use a bashism as a fallback.
41684028d71eSmrgif test "x$ac_cr" = x; then
41694028d71eSmrg  eval ac_cr=\$\'\\r\'
41704028d71eSmrgfi
41710ad07f78Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41720ad07f78Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41730ad07f78Smrg  ac_cs_awk_cr='\\r'
41740ad07f78Smrgelse
41750ad07f78Smrg  ac_cs_awk_cr=$ac_cr
41760ad07f78Smrgfi
41770ad07f78Smrg
41784028d71eSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
417998049353Smrg_ACEOF
418098049353Smrg
418198049353Smrg
41820ad07f78Smrg{
41830ad07f78Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
41840ad07f78Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41850ad07f78Smrg  echo "_ACEOF"
41860ad07f78Smrg} >conf$$subs.sh ||
41874028d71eSmrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41884028d71eSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41890ad07f78Smrgac_delim='%!_!# '
41900ad07f78Smrgfor ac_last_try in false false false false false :; do
41910ad07f78Smrg  . ./conf$$subs.sh ||
41924028d71eSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
419398049353Smrg
41940ad07f78Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41950ad07f78Smrg  if test $ac_delim_n = $ac_delim_num; then
41960ad07f78Smrg    break
41970ad07f78Smrg  elif $ac_last_try; then
41984028d71eSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41990ad07f78Smrg  else
42000ad07f78Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
420198049353Smrg  fi
42020ad07f78Smrgdone
42030ad07f78Smrgrm -f conf$$subs.sh
420498049353Smrg
42050ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42064028d71eSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
420798049353Smrg_ACEOF
42080ad07f78Smrgsed -n '
42090ad07f78Smrgh
42100ad07f78Smrgs/^/S["/; s/!.*/"]=/
42110ad07f78Smrgp
42120ad07f78Smrgg
42130ad07f78Smrgs/^[^!]*!//
42140ad07f78Smrg:repl
42150ad07f78Smrgt repl
42160ad07f78Smrgs/'"$ac_delim"'$//
42170ad07f78Smrgt delim
42180ad07f78Smrg:nl
42190ad07f78Smrgh
42204028d71eSmrgs/\(.\{148\}\)..*/\1/
42210ad07f78Smrgt more1
42220ad07f78Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42230ad07f78Smrgp
42240ad07f78Smrgn
42250ad07f78Smrgb repl
42260ad07f78Smrg:more1
42270ad07f78Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
42280ad07f78Smrgp
42290ad07f78Smrgg
42300ad07f78Smrgs/.\{148\}//
42310ad07f78Smrgt nl
42320ad07f78Smrg:delim
42330ad07f78Smrgh
42344028d71eSmrgs/\(.\{148\}\)..*/\1/
42350ad07f78Smrgt more2
42360ad07f78Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
42370ad07f78Smrgp
42380ad07f78Smrgb
42390ad07f78Smrg:more2
42400ad07f78Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
42410ad07f78Smrgp
42420ad07f78Smrgg
42430ad07f78Smrgs/.\{148\}//
42440ad07f78Smrgt delim
42450ad07f78Smrg' <conf$$subs.awk | sed '
42460ad07f78Smrg/^[^""]/{
42470ad07f78Smrg  N
42480ad07f78Smrg  s/\n//
42490ad07f78Smrg}
42500ad07f78Smrg' >>$CONFIG_STATUS || ac_write_fail=1
42510ad07f78Smrgrm -f conf$$subs.awk
42520ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42530ad07f78Smrg_ACAWK
42544028d71eSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42550ad07f78Smrg  for (key in S) S_is_set[key] = 1
42560ad07f78Smrg  FS = ""
42570ad07f78Smrg
42580ad07f78Smrg}
42590ad07f78Smrg{
42600ad07f78Smrg  line = $ 0
42610ad07f78Smrg  nfields = split(line, field, "@")
42620ad07f78Smrg  substed = 0
42630ad07f78Smrg  len = length(field[1])
42640ad07f78Smrg  for (i = 2; i < nfields; i++) {
42650ad07f78Smrg    key = field[i]
42660ad07f78Smrg    keylen = length(key)
42670ad07f78Smrg    if (S_is_set[key]) {
42680ad07f78Smrg      value = S[key]
42690ad07f78Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42700ad07f78Smrg      len += length(value) + length(field[++i])
42710ad07f78Smrg      substed = 1
42720ad07f78Smrg    } else
42730ad07f78Smrg      len += 1 + keylen
42740ad07f78Smrg  }
42750ad07f78Smrg
42760ad07f78Smrg  print line
42770ad07f78Smrg}
42780ad07f78Smrg
42790ad07f78Smrg_ACAWK
42800ad07f78Smrg_ACEOF
42810ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42820ad07f78Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42830ad07f78Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42840ad07f78Smrgelse
42850ad07f78Smrg  cat
42864028d71eSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42874028d71eSmrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42880ad07f78Smrg_ACEOF
42890ad07f78Smrg
42904028d71eSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42914028d71eSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42920ad07f78Smrg# trailing colons and then remove the whole line if VPATH becomes empty
42930ad07f78Smrg# (actually we leave an empty line to preserve line numbers).
42940ad07f78Smrgif test "x$srcdir" = x.; then
42954028d71eSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
42964028d71eSmrgh
42974028d71eSmrgs///
42984028d71eSmrgs/^/:/
42994028d71eSmrgs/[	 ]*$/:/
43004028d71eSmrgs/:\$(srcdir):/:/g
43014028d71eSmrgs/:\${srcdir}:/:/g
43024028d71eSmrgs/:@srcdir@:/:/g
43034028d71eSmrgs/^:*//
43040ad07f78Smrgs/:*$//
43054028d71eSmrgx
43064028d71eSmrgs/\(=[	 ]*\).*/\1/
43074028d71eSmrgG
43084028d71eSmrgs/\n//
43090ad07f78Smrgs/^[^=]*=[	 ]*$//
43100ad07f78Smrg}'
43110ad07f78Smrgfi
43120ad07f78Smrg
43130ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
43140ad07f78Smrgfi # test -n "$CONFIG_FILES"
43150ad07f78Smrg
43160ad07f78Smrg
43176c19a6d3Smrgeval set X "  :F $CONFIG_FILES      "
43180ad07f78Smrgshift
43190ad07f78Smrgfor ac_tag
43200ad07f78Smrgdo
43210ad07f78Smrg  case $ac_tag in
43220ad07f78Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
43230ad07f78Smrg  esac
43240ad07f78Smrg  case $ac_mode$ac_tag in
43250ad07f78Smrg  :[FHL]*:*);;
43264028d71eSmrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
43270ad07f78Smrg  :[FH]-) ac_tag=-:-;;
43280ad07f78Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
43290ad07f78Smrg  esac
43300ad07f78Smrg  ac_save_IFS=$IFS
43310ad07f78Smrg  IFS=:
43320ad07f78Smrg  set x $ac_tag
43330ad07f78Smrg  IFS=$ac_save_IFS
43340ad07f78Smrg  shift
43350ad07f78Smrg  ac_file=$1
43360ad07f78Smrg  shift
43370ad07f78Smrg
43380ad07f78Smrg  case $ac_mode in
43390ad07f78Smrg  :L) ac_source=$1;;
43400ad07f78Smrg  :[FH])
43410ad07f78Smrg    ac_file_inputs=
43420ad07f78Smrg    for ac_f
43430ad07f78Smrg    do
43440ad07f78Smrg      case $ac_f in
43454028d71eSmrg      -) ac_f="$ac_tmp/stdin";;
43460ad07f78Smrg      *) # Look for the file first in the build tree, then in the source tree
43470ad07f78Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
43480ad07f78Smrg	 # because $ac_f cannot contain `:'.
43490ad07f78Smrg	 test -f "$ac_f" ||
43500ad07f78Smrg	   case $ac_f in
43510ad07f78Smrg	   [\\/$]*) false;;
43520ad07f78Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
43530ad07f78Smrg	   esac ||
43544028d71eSmrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
43550ad07f78Smrg      esac
43566c19a6d3Smrg      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
43574028d71eSmrg      as_fn_append ac_file_inputs " '$ac_f'"
43580ad07f78Smrg    done
43590ad07f78Smrg
43600ad07f78Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
43610ad07f78Smrg    # use $as_me), people would be surprised to read:
43620ad07f78Smrg    #    /* config.h.  Generated by config.status.  */
43630ad07f78Smrg    configure_input='Generated from '`
43646c19a6d3Smrg	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
43650ad07f78Smrg	`' by configure.'
43660ad07f78Smrg    if test x"$ac_file" != x-; then
43670ad07f78Smrg      configure_input="$ac_file.  $configure_input"
43686c19a6d3Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
43696c19a6d3Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;}
43700ad07f78Smrg    fi
43710ad07f78Smrg    # Neutralize special characters interpreted by sed in replacement strings.
43720ad07f78Smrg    case $configure_input in #(
43730ad07f78Smrg    *\&* | *\|* | *\\* )
43746c19a6d3Smrg       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
43750ad07f78Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
43760ad07f78Smrg    *) ac_sed_conf_input=$configure_input;;
43770ad07f78Smrg    esac
43780ad07f78Smrg
43790ad07f78Smrg    case $ac_tag in
43804028d71eSmrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
43814028d71eSmrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
43820ad07f78Smrg    esac
43830ad07f78Smrg    ;;
438498049353Smrg  esac
438598049353Smrg
43860ad07f78Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
438798049353Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
438898049353Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
438998049353Smrg	 X"$ac_file" : 'X\(//\)$' \| \
43900ad07f78Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
43916c19a6d3Smrgprintf "%s\n" X"$ac_file" |
43920ad07f78Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43930ad07f78Smrg	    s//\1/
43940ad07f78Smrg	    q
43950ad07f78Smrg	  }
43960ad07f78Smrg	  /^X\(\/\/\)[^/].*/{
43970ad07f78Smrg	    s//\1/
43980ad07f78Smrg	    q
43990ad07f78Smrg	  }
44000ad07f78Smrg	  /^X\(\/\/\)$/{
44010ad07f78Smrg	    s//\1/
44020ad07f78Smrg	    q
44030ad07f78Smrg	  }
44040ad07f78Smrg	  /^X\(\/\).*/{
44050ad07f78Smrg	    s//\1/
44060ad07f78Smrg	    q
44070ad07f78Smrg	  }
44080ad07f78Smrg	  s/.*/./; q'`
44094028d71eSmrg  as_dir="$ac_dir"; as_fn_mkdir_p
441098049353Smrg  ac_builddir=.
441198049353Smrg
44120ad07f78Smrgcase "$ac_dir" in
44130ad07f78Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
44140ad07f78Smrg*)
44156c19a6d3Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
44160ad07f78Smrg  # A ".." for each directory in $ac_dir_suffix.
44176c19a6d3Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
44180ad07f78Smrg  case $ac_top_builddir_sub in
44190ad07f78Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
44200ad07f78Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
44210ad07f78Smrg  esac ;;
44220ad07f78Smrgesac
44230ad07f78Smrgac_abs_top_builddir=$ac_pwd
44240ad07f78Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
44250ad07f78Smrg# for backward compatibility:
44260ad07f78Smrgac_top_builddir=$ac_top_build_prefix
442798049353Smrg
442898049353Smrgcase $srcdir in
44290ad07f78Smrg  .)  # We are building in place.
443098049353Smrg    ac_srcdir=.
44310ad07f78Smrg    ac_top_srcdir=$ac_top_builddir_sub
44320ad07f78Smrg    ac_abs_top_srcdir=$ac_pwd ;;
44330ad07f78Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
443498049353Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
44350ad07f78Smrg    ac_top_srcdir=$srcdir
44360ad07f78Smrg    ac_abs_top_srcdir=$srcdir ;;
44370ad07f78Smrg  *) # Relative name.
44380ad07f78Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
44390ad07f78Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
44400ad07f78Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
444198049353Smrgesac
44420ad07f78Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
444398049353Smrg
444498049353Smrg
44450ad07f78Smrg  case $ac_mode in
44460ad07f78Smrg  :F)
44470ad07f78Smrg  #
44480ad07f78Smrg  # CONFIG_FILE
44490ad07f78Smrg  #
445098049353Smrg
445198049353Smrg  case $INSTALL in
445298049353Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44530ad07f78Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
445498049353Smrg  esac
44550ad07f78Smrg  ac_MKDIR_P=$MKDIR_P
44560ad07f78Smrg  case $MKDIR_P in
44570ad07f78Smrg  [\\/$]* | ?:[\\/]* ) ;;
44580ad07f78Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
44590ad07f78Smrg  esac
44600ad07f78Smrg_ACEOF
446198049353Smrg
44620ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44630ad07f78Smrg# If the template does not know about datarootdir, expand it.
44640ad07f78Smrg# FIXME: This hack should be removed a few years after 2.60.
44650ad07f78Smrgac_datarootdir_hack=; ac_datarootdir_seen=
44660ad07f78Smrgac_sed_dataroot='
44670ad07f78Smrg/datarootdir/ {
44680ad07f78Smrg  p
44690ad07f78Smrg  q
44700ad07f78Smrg}
44710ad07f78Smrg/@datadir@/p
44720ad07f78Smrg/@docdir@/p
44730ad07f78Smrg/@infodir@/p
44740ad07f78Smrg/@localedir@/p
44754028d71eSmrg/@mandir@/p'
44760ad07f78Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
44770ad07f78Smrg*datarootdir*) ac_datarootdir_seen=yes;;
44780ad07f78Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
44796c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
44806c19a6d3Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
44810ad07f78Smrg_ACEOF
44820ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
44830ad07f78Smrg  ac_datarootdir_hack='
44840ad07f78Smrg  s&@datadir@&$datadir&g
44850ad07f78Smrg  s&@docdir@&$docdir&g
44860ad07f78Smrg  s&@infodir@&$infodir&g
44870ad07f78Smrg  s&@localedir@&$localedir&g
44880ad07f78Smrg  s&@mandir@&$mandir&g
44894028d71eSmrg  s&\\\${datarootdir}&$datarootdir&g' ;;
44900ad07f78Smrgesac
449198049353Smrg_ACEOF
44920ad07f78Smrg
44930ad07f78Smrg# Neutralize VPATH when `$srcdir' = `.'.
44940ad07f78Smrg# Shell code in configure.ac might set extrasub.
44950ad07f78Smrg# FIXME: do we really want to maintain this feature?
44960ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
44970ad07f78Smrgac_sed_extra="$ac_vpsub
449898049353Smrg$extrasub
449998049353Smrg_ACEOF
45000ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
450198049353Smrg:t
450298049353Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45030ad07f78Smrgs|@configure_input@|$ac_sed_conf_input|;t t
45040ad07f78Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
45050ad07f78Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
45060ad07f78Smrgs&@srcdir@&$ac_srcdir&;t t
45070ad07f78Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
45080ad07f78Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
45090ad07f78Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
45100ad07f78Smrgs&@builddir@&$ac_builddir&;t t
45110ad07f78Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
45120ad07f78Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
45130ad07f78Smrgs&@INSTALL@&$ac_INSTALL&;t t
45140ad07f78Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
45150ad07f78Smrg$ac_datarootdir_hack
45160ad07f78Smrg"
45174028d71eSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
45184028d71eSmrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
451998049353Smrg
45200ad07f78Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
45214028d71eSmrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
45224028d71eSmrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
45234028d71eSmrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
45246c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
45254028d71eSmrgwhich seems to be undefined.  Please make sure it is defined" >&5
45266c19a6d3Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
45274028d71eSmrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
45280ad07f78Smrg
45294028d71eSmrg  rm -f "$ac_tmp/stdin"
45300ad07f78Smrg  case $ac_file in
45314028d71eSmrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
45324028d71eSmrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
45330ad07f78Smrg  esac \
45344028d71eSmrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
45350ad07f78Smrg ;;
45360ad07f78Smrg
45370ad07f78Smrg
45380ad07f78Smrg
45390ad07f78Smrg  esac
45400ad07f78Smrg
45410ad07f78Smrgdone # for ac_tag
454298049353Smrg
454398049353Smrg
45444028d71eSmrgas_fn_exit 0
454598049353Smrg_ACEOF
454698049353Smrgac_clean_files=$ac_clean_files_save
454798049353Smrg
45480ad07f78Smrgtest $ac_write_fail = 0 ||
45494028d71eSmrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
45500ad07f78Smrg
455198049353Smrg
455298049353Smrg# configure is writing to config.log, and then calls config.status.
455398049353Smrg# config.status does its own redirection, appending to config.log.
455498049353Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
455598049353Smrg# by configure, so config.status won't be able to write to it; its
455698049353Smrg# output is simply discarded.  So we exec the FD to /dev/null,
455798049353Smrg# effectively closing config.log, so it can be properly (re)opened and
455898049353Smrg# appended to by config.status.  When coming back to configure, we
455998049353Smrg# need to make the FD available again.
456098049353Smrgif test "$no_create" != yes; then
456198049353Smrg  ac_cs_success=:
456298049353Smrg  ac_config_status_args=
456398049353Smrg  test "$silent" = yes &&
456498049353Smrg    ac_config_status_args="$ac_config_status_args --quiet"
456598049353Smrg  exec 5>/dev/null
456698049353Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
456798049353Smrg  exec 5>>config.log
456898049353Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
456998049353Smrg  # would make configure fail if this is the last instruction.
45704028d71eSmrg  $ac_cs_success || as_fn_exit 1
457198049353Smrgfi
45720ad07f78Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
45736c19a6d3Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
45746c19a6d3Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
45750ad07f78Smrgfi
457698049353Smrg
45776c19a6d3Smrg
4578