configure revision 7b5fefc8
1644fc5c1Stron#! /bin/sh
2644fc5c1Stron# Guess values for system-dependent variables and create Makefiles.
37b5fefc8Smrg# Generated by GNU Autoconf 2.71 for font-sony-misc 1.0.4.
4644fc5c1Stron#
57b5fefc8Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/font/sony-misc/-/issues>.
6644fc5c1Stron#
72227fc13Smrg#
87b5fefc8Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
97b5fefc8Smrg# Inc.
102227fc13Smrg#
112227fc13Smrg#
12644fc5c1Stron# This configure script is free software; the Free Software Foundation
13644fc5c1Stron# gives unlimited permission to copy, distribute and modify it.
142227fc13Smrg## -------------------- ##
152227fc13Smrg## M4sh Initialization. ##
162227fc13Smrg## -------------------- ##
17644fc5c1Stron
182227fc13Smrg# Be more Bourne compatible
192227fc13SmrgDUALCASE=1; export DUALCASE # for MKS sh
207b5fefc8Smrgas_nop=:
217b5fefc8Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
227b5fefc8Smrgthen :
23644fc5c1Stron  emulate sh
24644fc5c1Stron  NULLCMD=:
252227fc13Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26644fc5c1Stron  # is contrary to our usage.  Disable this feature.
27644fc5c1Stron  alias -g '${1+"$@"}'='"$@"'
282227fc13Smrg  setopt NO_GLOB_SUBST
297b5fefc8Smrgelse $as_nop
302227fc13Smrg  case `(set -o) 2>/dev/null` in #(
312227fc13Smrg  *posix*) :
322227fc13Smrg    set -o posix ;; #(
332227fc13Smrg  *) :
342227fc13Smrg     ;;
352227fc13Smrgesac
36644fc5c1Stronfi
37644fc5c1Stron
382227fc13Smrg
397b5fefc8Smrg
407b5fefc8Smrg# Reset variables that may have inherited troublesome values from
417b5fefc8Smrg# the environment.
427b5fefc8Smrg
437b5fefc8Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
447b5fefc8Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
457b5fefc8Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
467b5fefc8Smrg# Quoting is to prevent editors from complaining about space-tab.
472227fc13Smrgas_nl='
482227fc13Smrg'
492227fc13Smrgexport as_nl
507b5fefc8SmrgIFS=" ""	$as_nl"
517b5fefc8Smrg
527b5fefc8SmrgPS1='$ '
537b5fefc8SmrgPS2='> '
547b5fefc8SmrgPS4='+ '
557b5fefc8Smrg
567b5fefc8Smrg# Ensure predictable behavior from utilities with locale-dependent output.
577b5fefc8SmrgLC_ALL=C
587b5fefc8Smrgexport LC_ALL
597b5fefc8SmrgLANGUAGE=C
607b5fefc8Smrgexport LANGUAGE
617b5fefc8Smrg
627b5fefc8Smrg# We cannot yet rely on "unset" to work, but we need these variables
637b5fefc8Smrg# to be unset--not just set to an empty or harmless value--now, to
647b5fefc8Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
657b5fefc8Smrg# also avoids known problems related to "unset" and subshell syntax
667b5fefc8Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
677b5fefc8Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
687b5fefc8Smrgdo eval test \${$as_var+y} \
697b5fefc8Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
707b5fefc8Smrgdone
717b5fefc8Smrg
727b5fefc8Smrg# Ensure that fds 0, 1, and 2 are open.
737b5fefc8Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
747b5fefc8Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
757b5fefc8Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
762227fc13Smrg
772227fc13Smrg# The user is always right.
787b5fefc8Smrgif ${PATH_SEPARATOR+false} :; then
792227fc13Smrg  PATH_SEPARATOR=:
802227fc13Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
812227fc13Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
822227fc13Smrg      PATH_SEPARATOR=';'
832227fc13Smrg  }
84644fc5c1Stronfi
85644fc5c1Stron
86644fc5c1Stron
872227fc13Smrg# Find who we are.  Look in the path if we contain no directory separator.
882227fc13Smrgas_myself=
892227fc13Smrgcase $0 in #((
902227fc13Smrg  *[\\/]* ) as_myself=$0 ;;
912227fc13Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
922227fc13Smrgfor as_dir in $PATH
932227fc13Smrgdo
942227fc13Smrg  IFS=$as_save_IFS
957b5fefc8Smrg  case $as_dir in #(((
967b5fefc8Smrg    '') as_dir=./ ;;
977b5fefc8Smrg    */) ;;
987b5fefc8Smrg    *) as_dir=$as_dir/ ;;
997b5fefc8Smrg  esac
1007b5fefc8Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1012227fc13Smrg  done
1022227fc13SmrgIFS=$as_save_IFS
1032227fc13Smrg
1042227fc13Smrg     ;;
1052227fc13Smrgesac
1062227fc13Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
1072227fc13Smrg# in which case we are not to be found in the path.
1082227fc13Smrgif test "x$as_myself" = x; then
1092227fc13Smrg  as_myself=$0
1102227fc13Smrgfi
1112227fc13Smrgif test ! -f "$as_myself"; then
1127b5fefc8Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1132227fc13Smrg  exit 1
1142227fc13Smrgfi
1152227fc13Smrg
1162227fc13Smrg
1177b5fefc8Smrg# Use a proper internal environment variable to ensure we don't fall
1187b5fefc8Smrg  # into an infinite loop, continuously re-executing ourselves.
1197b5fefc8Smrg  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
1207b5fefc8Smrg    _as_can_reexec=no; export _as_can_reexec;
1217b5fefc8Smrg    # We cannot yet assume a decent shell, so we have to provide a
1227b5fefc8Smrg# neutralization value for shells without unset; and this also
1237b5fefc8Smrg# works around shells that cannot unset nonexistent variables.
1247b5fefc8Smrg# Preserve -v and -x to the replacement shell.
1257b5fefc8SmrgBASH_ENV=/dev/null
1267b5fefc8SmrgENV=/dev/null
1277b5fefc8Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1287b5fefc8Smrgcase $- in # ((((
1297b5fefc8Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
1307b5fefc8Smrg  *v* ) as_opts=-v ;;
1317b5fefc8Smrg  *x* ) as_opts=-x ;;
1327b5fefc8Smrg  * ) as_opts= ;;
1337b5fefc8Smrgesac
1347b5fefc8Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1357b5fefc8Smrg# Admittedly, this is quite paranoid, since all the known shells bail
1367b5fefc8Smrg# out after a failed `exec'.
1377b5fefc8Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1387b5fefc8Smrgexit 255
1397b5fefc8Smrg  fi
1407b5fefc8Smrg  # We don't want this to propagate to other subprocesses.
1417b5fefc8Smrg          { _as_can_reexec=; unset _as_can_reexec;}
1422227fc13Smrgif test "x$CONFIG_SHELL" = x; then
1437b5fefc8Smrg  as_bourne_compatible="as_nop=:
1447b5fefc8Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1457b5fefc8Smrgthen :
1462227fc13Smrg  emulate sh
1472227fc13Smrg  NULLCMD=:
1482227fc13Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
1492227fc13Smrg  # is contrary to our usage.  Disable this feature.
1502227fc13Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
1512227fc13Smrg  setopt NO_GLOB_SUBST
1527b5fefc8Smrgelse \$as_nop
1532227fc13Smrg  case \`(set -o) 2>/dev/null\` in #(
1542227fc13Smrg  *posix*) :
1552227fc13Smrg    set -o posix ;; #(
1562227fc13Smrg  *) :
1572227fc13Smrg     ;;
1582227fc13Smrgesac
1592227fc13Smrgfi
1602227fc13Smrg"
1612227fc13Smrg  as_required="as_fn_return () { (exit \$1); }
1622227fc13Smrgas_fn_success () { as_fn_return 0; }
1632227fc13Smrgas_fn_failure () { as_fn_return 1; }
1642227fc13Smrgas_fn_ret_success () { return 0; }
1652227fc13Smrgas_fn_ret_failure () { return 1; }
1662227fc13Smrg
1672227fc13Smrgexitcode=0
1682227fc13Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
1692227fc13Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
1702227fc13Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
1712227fc13Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1727b5fefc8Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" )
1737b5fefc8Smrgthen :
1742227fc13Smrg
1757b5fefc8Smrgelse \$as_nop
1762227fc13Smrg  exitcode=1; echo positional parameters were not saved.
1772227fc13Smrgfi
1787b5fefc8Smrgtest x\$exitcode = x0 || exit 1
1797b5fefc8Smrgblah=\$(echo \$(echo blah))
1807b5fefc8Smrgtest x\"\$blah\" = xblah || exit 1
1817b5fefc8Smrgtest -x / || exit 1"
1822227fc13Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1832227fc13Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1842227fc13Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1852227fc13Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1862227fc13Smrgtest \$(( 1 + 1 )) = 2 || exit 1"
1877b5fefc8Smrg  if (eval "$as_required") 2>/dev/null
1887b5fefc8Smrgthen :
1892227fc13Smrg  as_have_required=yes
1907b5fefc8Smrgelse $as_nop
1912227fc13Smrg  as_have_required=no
1922227fc13Smrgfi
1937b5fefc8Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
1947b5fefc8Smrgthen :
1952227fc13Smrg
1967b5fefc8Smrgelse $as_nop
1972227fc13Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982227fc13Smrgas_found=false
1992227fc13Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200644fc5c1Strondo
2012227fc13Smrg  IFS=$as_save_IFS
2027b5fefc8Smrg  case $as_dir in #(((
2037b5fefc8Smrg    '') as_dir=./ ;;
2047b5fefc8Smrg    */) ;;
2057b5fefc8Smrg    *) as_dir=$as_dir/ ;;
2067b5fefc8Smrg  esac
2072227fc13Smrg  as_found=:
2082227fc13Smrg  case $as_dir in #(
2092227fc13Smrg	 /*)
2102227fc13Smrg	   for as_base in sh bash ksh sh5; do
2112227fc13Smrg	     # Try only shells that exist, to save several forks.
2127b5fefc8Smrg	     as_shell=$as_dir$as_base
2132227fc13Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2147b5fefc8Smrg		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2157b5fefc8Smrgthen :
2162227fc13Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
2177b5fefc8Smrg		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
2187b5fefc8Smrgthen :
2192227fc13Smrg  break 2
2202227fc13Smrgfi
2212227fc13Smrgfi
2222227fc13Smrg	   done;;
2232227fc13Smrg       esac
2242227fc13Smrg  as_found=false
2252227fc13Smrgdone
2262227fc13SmrgIFS=$as_save_IFS
2277b5fefc8Smrgif $as_found
2287b5fefc8Smrgthen :
2292227fc13Smrg
2307b5fefc8Smrgelse $as_nop
2317b5fefc8Smrg  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2327b5fefc8Smrg	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2337b5fefc8Smrgthen :
2347b5fefc8Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
2352227fc13Smrgfi
2367b5fefc8Smrgfi
2377b5fefc8Smrg
2382227fc13Smrg
2397b5fefc8Smrg      if test "x$CONFIG_SHELL" != x
2407b5fefc8Smrgthen :
2417b5fefc8Smrg  export CONFIG_SHELL
2427b5fefc8Smrg             # We cannot yet assume a decent shell, so we have to provide a
2437b5fefc8Smrg# neutralization value for shells without unset; and this also
2447b5fefc8Smrg# works around shells that cannot unset nonexistent variables.
2457b5fefc8Smrg# Preserve -v and -x to the replacement shell.
2467b5fefc8SmrgBASH_ENV=/dev/null
2477b5fefc8SmrgENV=/dev/null
2487b5fefc8Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
2497b5fefc8Smrgcase $- in # ((((
2507b5fefc8Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
2517b5fefc8Smrg  *v* ) as_opts=-v ;;
2527b5fefc8Smrg  *x* ) as_opts=-x ;;
2537b5fefc8Smrg  * ) as_opts= ;;
2547b5fefc8Smrgesac
2557b5fefc8Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
2567b5fefc8Smrg# Admittedly, this is quite paranoid, since all the known shells bail
2577b5fefc8Smrg# out after a failed `exec'.
2587b5fefc8Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
2597b5fefc8Smrgexit 255
2607b5fefc8Smrgfi
2617b5fefc8Smrg
2627b5fefc8Smrg    if test x$as_have_required = xno
2637b5fefc8Smrgthen :
2647b5fefc8Smrg  printf "%s\n" "$0: This script requires a shell more modern than all"
2657b5fefc8Smrg  printf "%s\n" "$0: the shells that I found on your system."
2667b5fefc8Smrg  if test ${ZSH_VERSION+y} ; then
2677b5fefc8Smrg    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2687b5fefc8Smrg    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269644fc5c1Stron  else
2707b5fefc8Smrg    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
2717b5fefc8Smrg$0: https://gitlab.freedesktop.org/xorg/font/sony-misc/-/issues
2722227fc13Smrg$0: about your system, including any error possibly output
2732227fc13Smrg$0: before this message. Then install a modern shell, or
2742227fc13Smrg$0: manually run the script under such a shell if you do
2752227fc13Smrg$0: have one."
276644fc5c1Stron  fi
2772227fc13Smrg  exit 1
2782227fc13Smrgfi
2792227fc13Smrgfi
2802227fc13Smrgfi
2812227fc13SmrgSHELL=${CONFIG_SHELL-/bin/sh}
2822227fc13Smrgexport SHELL
2832227fc13Smrg# Unset more variables known to interfere with behavior of common tools.
2842227fc13SmrgCLICOLOR_FORCE= GREP_OPTIONS=
2852227fc13Smrgunset CLICOLOR_FORCE GREP_OPTIONS
2862227fc13Smrg
2872227fc13Smrg## --------------------- ##
2882227fc13Smrg## M4sh Shell Functions. ##
2892227fc13Smrg## --------------------- ##
2902227fc13Smrg# as_fn_unset VAR
2912227fc13Smrg# ---------------
2922227fc13Smrg# Portably unset VAR.
2932227fc13Smrgas_fn_unset ()
2942227fc13Smrg{
2952227fc13Smrg  { eval $1=; unset $1;}
2962227fc13Smrg}
2972227fc13Smrgas_unset=as_fn_unset
2982227fc13Smrg
2997b5fefc8Smrg
3002227fc13Smrg# as_fn_set_status STATUS
3012227fc13Smrg# -----------------------
3022227fc13Smrg# Set $? to STATUS, without forking.
3032227fc13Smrgas_fn_set_status ()
3042227fc13Smrg{
3052227fc13Smrg  return $1
3062227fc13Smrg} # as_fn_set_status
3072227fc13Smrg
3082227fc13Smrg# as_fn_exit STATUS
3092227fc13Smrg# -----------------
3102227fc13Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3112227fc13Smrgas_fn_exit ()
3122227fc13Smrg{
3132227fc13Smrg  set +e
3142227fc13Smrg  as_fn_set_status $1
3152227fc13Smrg  exit $1
3162227fc13Smrg} # as_fn_exit
3177b5fefc8Smrg# as_fn_nop
3187b5fefc8Smrg# ---------
3197b5fefc8Smrg# Do nothing but, unlike ":", preserve the value of $?.
3207b5fefc8Smrgas_fn_nop ()
3217b5fefc8Smrg{
3227b5fefc8Smrg  return $?
3237b5fefc8Smrg}
3247b5fefc8Smrgas_nop=as_fn_nop
3252227fc13Smrg
3262227fc13Smrg# as_fn_mkdir_p
3272227fc13Smrg# -------------
3282227fc13Smrg# Create "$as_dir" as a directory, including parents if necessary.
3292227fc13Smrgas_fn_mkdir_p ()
3302227fc13Smrg{
3312227fc13Smrg
3322227fc13Smrg  case $as_dir in #(
3332227fc13Smrg  -*) as_dir=./$as_dir;;
3342227fc13Smrg  esac
3352227fc13Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
3362227fc13Smrg    as_dirs=
3372227fc13Smrg    while :; do
3382227fc13Smrg      case $as_dir in #(
3397b5fefc8Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3402227fc13Smrg      *) as_qdir=$as_dir;;
3412227fc13Smrg      esac
3422227fc13Smrg      as_dirs="'$as_qdir' $as_dirs"
3432227fc13Smrg      as_dir=`$as_dirname -- "$as_dir" ||
3442227fc13Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3452227fc13Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3462227fc13Smrg	 X"$as_dir" : 'X\(//\)$' \| \
3472227fc13Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3487b5fefc8Smrgprintf "%s\n" X"$as_dir" |
3492227fc13Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3502227fc13Smrg	    s//\1/
3512227fc13Smrg	    q
3522227fc13Smrg	  }
3532227fc13Smrg	  /^X\(\/\/\)[^/].*/{
3542227fc13Smrg	    s//\1/
3552227fc13Smrg	    q
3562227fc13Smrg	  }
3572227fc13Smrg	  /^X\(\/\/\)$/{
3582227fc13Smrg	    s//\1/
3592227fc13Smrg	    q
3602227fc13Smrg	  }
3612227fc13Smrg	  /^X\(\/\).*/{
3622227fc13Smrg	    s//\1/
3632227fc13Smrg	    q
3642227fc13Smrg	  }
3652227fc13Smrg	  s/.*/./; q'`
3662227fc13Smrg      test -d "$as_dir" && break
3672227fc13Smrg    done
3682227fc13Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3692227fc13Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3702227fc13Smrg
3712227fc13Smrg
3722227fc13Smrg} # as_fn_mkdir_p
3737b5fefc8Smrg
3747b5fefc8Smrg# as_fn_executable_p FILE
3757b5fefc8Smrg# -----------------------
3767b5fefc8Smrg# Test if FILE is an executable regular file.
3777b5fefc8Smrgas_fn_executable_p ()
3787b5fefc8Smrg{
3797b5fefc8Smrg  test -f "$1" && test -x "$1"
3807b5fefc8Smrg} # as_fn_executable_p
3812227fc13Smrg# as_fn_append VAR VALUE
3822227fc13Smrg# ----------------------
3832227fc13Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3842227fc13Smrg# advantage of any shell optimizations that allow amortized linear growth over
3852227fc13Smrg# repeated appends, instead of the typical quadratic growth present in naive
3862227fc13Smrg# implementations.
3877b5fefc8Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3887b5fefc8Smrgthen :
3892227fc13Smrg  eval 'as_fn_append ()
3902227fc13Smrg  {
3912227fc13Smrg    eval $1+=\$2
3922227fc13Smrg  }'
3937b5fefc8Smrgelse $as_nop
3942227fc13Smrg  as_fn_append ()
3952227fc13Smrg  {
3962227fc13Smrg    eval $1=\$$1\$2
3972227fc13Smrg  }
3982227fc13Smrgfi # as_fn_append
3992227fc13Smrg
4002227fc13Smrg# as_fn_arith ARG...
4012227fc13Smrg# ------------------
4022227fc13Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
4032227fc13Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
4042227fc13Smrg# must be portable across $(()) and expr.
4057b5fefc8Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4067b5fefc8Smrgthen :
4072227fc13Smrg  eval 'as_fn_arith ()
4082227fc13Smrg  {
4092227fc13Smrg    as_val=$(( $* ))
4102227fc13Smrg  }'
4117b5fefc8Smrgelse $as_nop
4122227fc13Smrg  as_fn_arith ()
4132227fc13Smrg  {
4142227fc13Smrg    as_val=`expr "$@" || test $? -eq 1`
4152227fc13Smrg  }
4162227fc13Smrgfi # as_fn_arith
4172227fc13Smrg
4187b5fefc8Smrg# as_fn_nop
4197b5fefc8Smrg# ---------
4207b5fefc8Smrg# Do nothing but, unlike ":", preserve the value of $?.
4217b5fefc8Smrgas_fn_nop ()
4227b5fefc8Smrg{
4237b5fefc8Smrg  return $?
4247b5fefc8Smrg}
4257b5fefc8Smrgas_nop=as_fn_nop
4262227fc13Smrg
4272227fc13Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
4282227fc13Smrg# ----------------------------------------
4292227fc13Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4302227fc13Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4312227fc13Smrg# script with STATUS, using 1 if that was 0.
4322227fc13Smrgas_fn_error ()
4332227fc13Smrg{
4342227fc13Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
4352227fc13Smrg  if test "$4"; then
4362227fc13Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4377b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4382227fc13Smrg  fi
4397b5fefc8Smrg  printf "%s\n" "$as_me: error: $2" >&2
4402227fc13Smrg  as_fn_exit $as_status
4412227fc13Smrg} # as_fn_error
442644fc5c1Stron
4432227fc13Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4442227fc13Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
445644fc5c1Stron  as_expr=expr
446644fc5c1Stronelse
447644fc5c1Stron  as_expr=false
448644fc5c1Stronfi
449644fc5c1Stron
4502227fc13Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
451644fc5c1Stron  as_basename=basename
452644fc5c1Stronelse
453644fc5c1Stron  as_basename=false
454644fc5c1Stronfi
455644fc5c1Stron
4562227fc13Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4572227fc13Smrg  as_dirname=dirname
4582227fc13Smrgelse
4592227fc13Smrg  as_dirname=false
4602227fc13Smrgfi
461644fc5c1Stron
4622227fc13Smrgas_me=`$as_basename -- "$0" ||
463644fc5c1Stron$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
464644fc5c1Stron	 X"$0" : 'X\(//\)$' \| \
4652227fc13Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4667b5fefc8Smrgprintf "%s\n" X/"$0" |
4672227fc13Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
4682227fc13Smrg	    s//\1/
4692227fc13Smrg	    q
4702227fc13Smrg	  }
4712227fc13Smrg	  /^X\/\(\/\/\)$/{
4722227fc13Smrg	    s//\1/
4732227fc13Smrg	    q
4742227fc13Smrg	  }
4752227fc13Smrg	  /^X\/\(\/\).*/{
4762227fc13Smrg	    s//\1/
4772227fc13Smrg	    q
4782227fc13Smrg	  }
4792227fc13Smrg	  s/.*/./; q'`
480644fc5c1Stron
481644fc5c1Stron# Avoid depending upon Character Ranges.
482644fc5c1Stronas_cr_letters='abcdefghijklmnopqrstuvwxyz'
483644fc5c1Stronas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484644fc5c1Stronas_cr_Letters=$as_cr_letters$as_cr_LETTERS
485644fc5c1Stronas_cr_digits='0123456789'
486644fc5c1Stronas_cr_alnum=$as_cr_Letters$as_cr_digits
487644fc5c1Stron
488644fc5c1Stron
4892227fc13Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
4902227fc13Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
4912227fc13Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
4922227fc13Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
4932227fc13Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
4942227fc13Smrg  sed -n '
4952227fc13Smrg    p
4962227fc13Smrg    /[$]LINENO/=
4972227fc13Smrg  ' <$as_myself |
498644fc5c1Stron    sed '
4992227fc13Smrg      s/[$]LINENO.*/&-/
5002227fc13Smrg      t lineno
5012227fc13Smrg      b
5022227fc13Smrg      :lineno
503644fc5c1Stron      N
5042227fc13Smrg      :loop
5052227fc13Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506644fc5c1Stron      t loop
5072227fc13Smrg      s/-\n.*//
508644fc5c1Stron    ' >$as_me.lineno &&
5092227fc13Smrg  chmod +x "$as_me.lineno" ||
5107b5fefc8Smrg    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511644fc5c1Stron
5127b5fefc8Smrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
5137b5fefc8Smrg  # already done that, so ensure we don't try to do so again and fall
5147b5fefc8Smrg  # in an infinite loop.  This has already happened in practice.
5157b5fefc8Smrg  _as_can_reexec=no; export _as_can_reexec
516644fc5c1Stron  # Don't try to exec as it changes $[0], causing all sort of problems
517644fc5c1Stron  # (the dirname of $[0] is not the place where we might find the
5182227fc13Smrg  # original and so on.  Autoconf is especially sensitive to this).
5192227fc13Smrg  . "./$as_me.lineno"
520644fc5c1Stron  # Exit status is that of the last command.
521644fc5c1Stron  exit
522644fc5c1Stron}
523644fc5c1Stron
5247b5fefc8Smrg
5257b5fefc8Smrg# Determine whether it's possible to make 'echo' print without a newline.
5267b5fefc8Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5277b5fefc8Smrg# for compatibility with existing Makefiles.
5282227fc13SmrgECHO_C= ECHO_N= ECHO_T=
5292227fc13Smrgcase `echo -n x` in #(((((
5302227fc13Smrg-n*)
5312227fc13Smrg  case `echo 'xy\c'` in
5322227fc13Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5332227fc13Smrg  xy)  ECHO_C='\c';;
5342227fc13Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5352227fc13Smrg       ECHO_T='	';;
5362227fc13Smrg  esac;;
5372227fc13Smrg*)
5382227fc13Smrg  ECHO_N='-n';;
539644fc5c1Stronesac
540644fc5c1Stron
5417b5fefc8Smrg# For backward compatibility with old third-party macros, we provide
5427b5fefc8Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
5437b5fefc8Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5447b5fefc8Smrgas_echo='printf %s\n'
5457b5fefc8Smrgas_echo_n='printf %s'
5467b5fefc8Smrg
5477b5fefc8Smrg
5482227fc13Smrgrm -f conf$$ conf$$.exe conf$$.file
5492227fc13Smrgif test -d conf$$.dir; then
5502227fc13Smrg  rm -f conf$$.dir/conf$$.file
551644fc5c1Stronelse
5522227fc13Smrg  rm -f conf$$.dir
5532227fc13Smrg  mkdir conf$$.dir 2>/dev/null
554644fc5c1Stronfi
5552227fc13Smrgif (echo >conf$$.file) 2>/dev/null; then
5562227fc13Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
557644fc5c1Stron    as_ln_s='ln -s'
5582227fc13Smrg    # ... but there are two gotchas:
5592227fc13Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5602227fc13Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5617b5fefc8Smrg    # In both cases, we have to default to `cp -pR'.
5622227fc13Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5637b5fefc8Smrg      as_ln_s='cp -pR'
5642227fc13Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5652227fc13Smrg    as_ln_s=ln
5662227fc13Smrg  else
5677b5fefc8Smrg    as_ln_s='cp -pR'
568644fc5c1Stron  fi
569644fc5c1Stronelse
5707b5fefc8Smrg  as_ln_s='cp -pR'
571644fc5c1Stronfi
5722227fc13Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5732227fc13Smrgrmdir conf$$.dir 2>/dev/null
574644fc5c1Stron
575644fc5c1Stronif mkdir -p . 2>/dev/null; then
5762227fc13Smrg  as_mkdir_p='mkdir -p "$as_dir"'
577644fc5c1Stronelse
578644fc5c1Stron  test -d ./-p && rmdir ./-p
579644fc5c1Stron  as_mkdir_p=false
580644fc5c1Stronfi
581644fc5c1Stron
5827b5fefc8Smrgas_test_x='test -x'
5837b5fefc8Smrgas_executable_p=as_fn_executable_p
584644fc5c1Stron
585644fc5c1Stron# Sed expression to map a string onto a valid CPP name.
586644fc5c1Stronas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587644fc5c1Stron
588644fc5c1Stron# Sed expression to map a string onto a valid variable name.
589644fc5c1Stronas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590644fc5c1Stron
591644fc5c1Stron
5922227fc13Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
5932227fc13Smrgexec 6>&1
594644fc5c1Stron
595644fc5c1Stron# Name of the host.
5962227fc13Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
597644fc5c1Stron# so uname gets run too.
598644fc5c1Stronac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
599644fc5c1Stron
600644fc5c1Stron#
601644fc5c1Stron# Initializations.
602644fc5c1Stron#
603644fc5c1Stronac_default_prefix=/usr/local
6042227fc13Smrgac_clean_files=
605644fc5c1Stronac_config_libobj_dir=.
6062227fc13SmrgLIBOBJS=
607644fc5c1Stroncross_compiling=no
608644fc5c1Stronsubdirs=
609644fc5c1StronMFLAGS=
610644fc5c1StronMAKEFLAGS=
611644fc5c1Stron
612644fc5c1Stron# Identity of this package.
613644fc5c1StronPACKAGE_NAME='font-sony-misc'
614644fc5c1StronPACKAGE_TARNAME='font-sony-misc'
6157b5fefc8SmrgPACKAGE_VERSION='1.0.4'
6167b5fefc8SmrgPACKAGE_STRING='font-sony-misc 1.0.4'
6177b5fefc8SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/sony-misc/-/issues'
6182227fc13SmrgPACKAGE_URL=''
6192227fc13Smrg
6207b5fefc8Smrgac_subst_vars='LTLIBOBJS
6212227fc13SmrgLIBOBJS
6222227fc13SmrgCOMPRESS_SUFFIX
6237b5fefc8SmrgCOMPRESS_FLAGS
6242227fc13SmrgCOMPRESS
6252227fc13SmrgBDFTOPCF
6262227fc13SmrgMKFONTDIR
6272227fc13SmrgRUN_FCCACHE
6282227fc13SmrgFCCACHE
6292227fc13SmrgFONTDIR
6302227fc13SmrgFONTROOTDIR
6312227fc13SmrgMAN_SUBSTS
6322227fc13SmrgXORG_MAN_PAGE
6332227fc13SmrgADMIN_MAN_DIR
6342227fc13SmrgDRIVER_MAN_DIR
6352227fc13SmrgMISC_MAN_DIR
6362227fc13SmrgFILE_MAN_DIR
6372227fc13SmrgLIB_MAN_DIR
6382227fc13SmrgAPP_MAN_DIR
6392227fc13SmrgADMIN_MAN_SUFFIX
6402227fc13SmrgDRIVER_MAN_SUFFIX
6412227fc13SmrgMISC_MAN_SUFFIX
6422227fc13SmrgFILE_MAN_SUFFIX
6432227fc13SmrgLIB_MAN_SUFFIX
6442227fc13SmrgAPP_MAN_SUFFIX
6452227fc13SmrgSED
6462227fc13Smrghost_os
6472227fc13Smrghost_vendor
6482227fc13Smrghost_cpu
6492227fc13Smrghost
6502227fc13Smrgbuild_os
6512227fc13Smrgbuild_vendor
6522227fc13Smrgbuild_cpu
6532227fc13Smrgbuild
6542227fc13SmrgINSTALL_CMD
6552227fc13SmrgPKG_CONFIG_LIBDIR
6562227fc13SmrgPKG_CONFIG_PATH
6572227fc13SmrgPKG_CONFIG
6582227fc13SmrgCHANGELOG_CMD
6597b5fefc8SmrgAM_BACKSLASH
6607b5fefc8SmrgAM_DEFAULT_VERBOSITY
6617b5fefc8SmrgAM_DEFAULT_V
6627b5fefc8SmrgAM_V
6637b5fefc8SmrgCSCOPE
6647b5fefc8SmrgETAGS
6657b5fefc8SmrgCTAGS
6662227fc13Smrgam__untar
6672227fc13Smrgam__tar
6682227fc13SmrgAMTAR
6692227fc13Smrgam__leading_dot
6702227fc13SmrgSET_MAKE
6712227fc13SmrgAWK
6722227fc13Smrgmkdir_p
6732227fc13SmrgMKDIR_P
6742227fc13SmrgINSTALL_STRIP_PROGRAM
6752227fc13SmrgSTRIP
6762227fc13Smrginstall_sh
6772227fc13SmrgMAKEINFO
6782227fc13SmrgAUTOHEADER
6792227fc13SmrgAUTOMAKE
6802227fc13SmrgAUTOCONF
6812227fc13SmrgACLOCAL
6822227fc13SmrgVERSION
6832227fc13SmrgPACKAGE
6842227fc13SmrgCYGPATH_W
6852227fc13Smrgam__isrc
6862227fc13SmrgINSTALL_DATA
6872227fc13SmrgINSTALL_SCRIPT
6882227fc13SmrgINSTALL_PROGRAM
6892227fc13Smrgtarget_alias
6902227fc13Smrghost_alias
6912227fc13Smrgbuild_alias
6922227fc13SmrgLIBS
6932227fc13SmrgECHO_T
6942227fc13SmrgECHO_N
6952227fc13SmrgECHO_C
6962227fc13SmrgDEFS
6972227fc13Smrgmandir
6982227fc13Smrglocaledir
6992227fc13Smrglibdir
7002227fc13Smrgpsdir
7012227fc13Smrgpdfdir
7022227fc13Smrgdvidir
7032227fc13Smrghtmldir
7042227fc13Smrginfodir
7052227fc13Smrgdocdir
7062227fc13Smrgoldincludedir
7072227fc13Smrgincludedir
7087b5fefc8Smrgrunstatedir
7092227fc13Smrglocalstatedir
7102227fc13Smrgsharedstatedir
7112227fc13Smrgsysconfdir
7122227fc13Smrgdatadir
7132227fc13Smrgdatarootdir
7142227fc13Smrglibexecdir
7152227fc13Smrgsbindir
7162227fc13Smrgbindir
7172227fc13Smrgprogram_transform_name
7182227fc13Smrgprefix
7192227fc13Smrgexec_prefix
7202227fc13SmrgPACKAGE_URL
7212227fc13SmrgPACKAGE_BUGREPORT
7222227fc13SmrgPACKAGE_STRING
7232227fc13SmrgPACKAGE_VERSION
7242227fc13SmrgPACKAGE_TARNAME
7252227fc13SmrgPACKAGE_NAME
7262227fc13SmrgPATH_SEPARATOR
7272227fc13SmrgSHELL'
728644fc5c1Stronac_subst_files=''
7292227fc13Smrgac_user_opts='
7302227fc13Smrgenable_option_checking
7312227fc13Smrgenable_silent_rules
7322227fc13Smrgwith_fontrootdir
7332227fc13Smrgwith_fontdir
7342227fc13Smrgwith_compression
7352227fc13Smrg'
7362227fc13Smrg      ac_precious_vars='build_alias
7372227fc13Smrghost_alias
7382227fc13Smrgtarget_alias
7392227fc13SmrgPKG_CONFIG
7402227fc13SmrgPKG_CONFIG_PATH
7412227fc13SmrgPKG_CONFIG_LIBDIR'
7422227fc13Smrg
743644fc5c1Stron
744644fc5c1Stron# Initialize some variables set by options.
745644fc5c1Stronac_init_help=
746644fc5c1Stronac_init_version=false
7472227fc13Smrgac_unrecognized_opts=
7482227fc13Smrgac_unrecognized_sep=
749644fc5c1Stron# The variables have the same names as the options, with
750644fc5c1Stron# dashes changed to underlines.
751644fc5c1Stroncache_file=/dev/null
752644fc5c1Stronexec_prefix=NONE
753644fc5c1Stronno_create=
754644fc5c1Stronno_recursion=
755644fc5c1Stronprefix=NONE
756644fc5c1Stronprogram_prefix=NONE
757644fc5c1Stronprogram_suffix=NONE
758644fc5c1Stronprogram_transform_name=s,x,x,
759644fc5c1Stronsilent=
760644fc5c1Stronsite=
761644fc5c1Stronsrcdir=
762644fc5c1Stronverbose=
763644fc5c1Stronx_includes=NONE
764644fc5c1Stronx_libraries=NONE
765644fc5c1Stron
766644fc5c1Stron# Installation directory options.
767644fc5c1Stron# These are left unexpanded so users can "make install exec_prefix=/foo"
768644fc5c1Stron# and all the variables that are supposed to be based on exec_prefix
769644fc5c1Stron# by default will actually change.
770644fc5c1Stron# Use braces instead of parens because sh, perl, etc. also accept them.
7712227fc13Smrg# (The list follows the same order as the GNU Coding Standards.)
772644fc5c1Stronbindir='${exec_prefix}/bin'
773644fc5c1Stronsbindir='${exec_prefix}/sbin'
774644fc5c1Stronlibexecdir='${exec_prefix}/libexec'
7752227fc13Smrgdatarootdir='${prefix}/share'
7762227fc13Smrgdatadir='${datarootdir}'
777644fc5c1Stronsysconfdir='${prefix}/etc'
778644fc5c1Stronsharedstatedir='${prefix}/com'
779644fc5c1Stronlocalstatedir='${prefix}/var'
7807b5fefc8Smrgrunstatedir='${localstatedir}/run'
781644fc5c1Stronincludedir='${prefix}/include'
782644fc5c1Stronoldincludedir='/usr/include'
7832227fc13Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7842227fc13Smrginfodir='${datarootdir}/info'
7852227fc13Smrghtmldir='${docdir}'
7862227fc13Smrgdvidir='${docdir}'
7872227fc13Smrgpdfdir='${docdir}'
7882227fc13Smrgpsdir='${docdir}'
7892227fc13Smrglibdir='${exec_prefix}/lib'
7902227fc13Smrglocaledir='${datarootdir}/locale'
7912227fc13Smrgmandir='${datarootdir}/man'
792644fc5c1Stron
793644fc5c1Stronac_prev=
7942227fc13Smrgac_dashdash=
795644fc5c1Stronfor ac_option
796644fc5c1Strondo
797644fc5c1Stron  # If the previous option needs an argument, assign it.
798644fc5c1Stron  if test -n "$ac_prev"; then
7992227fc13Smrg    eval $ac_prev=\$ac_option
800644fc5c1Stron    ac_prev=
801644fc5c1Stron    continue
802644fc5c1Stron  fi
803644fc5c1Stron
8042227fc13Smrg  case $ac_option in
8052227fc13Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
8062227fc13Smrg  *=)   ac_optarg= ;;
8072227fc13Smrg  *)    ac_optarg=yes ;;
8082227fc13Smrg  esac
809644fc5c1Stron
8102227fc13Smrg  case $ac_dashdash$ac_option in
8112227fc13Smrg  --)
8122227fc13Smrg    ac_dashdash=yes ;;
813644fc5c1Stron
814644fc5c1Stron  -bindir | --bindir | --bindi | --bind | --bin | --bi)
815644fc5c1Stron    ac_prev=bindir ;;
816644fc5c1Stron  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817644fc5c1Stron    bindir=$ac_optarg ;;
818644fc5c1Stron
819644fc5c1Stron  -build | --build | --buil | --bui | --bu)
820644fc5c1Stron    ac_prev=build_alias ;;
821644fc5c1Stron  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
822644fc5c1Stron    build_alias=$ac_optarg ;;
823644fc5c1Stron
824644fc5c1Stron  -cache-file | --cache-file | --cache-fil | --cache-fi \
825644fc5c1Stron  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
826644fc5c1Stron    ac_prev=cache_file ;;
827644fc5c1Stron  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
828644fc5c1Stron  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
829644fc5c1Stron    cache_file=$ac_optarg ;;
830644fc5c1Stron
831644fc5c1Stron  --config-cache | -C)
832644fc5c1Stron    cache_file=config.cache ;;
833644fc5c1Stron
8342227fc13Smrg  -datadir | --datadir | --datadi | --datad)
835644fc5c1Stron    ac_prev=datadir ;;
8362227fc13Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
837644fc5c1Stron    datadir=$ac_optarg ;;
838644fc5c1Stron
8392227fc13Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8402227fc13Smrg  | --dataroo | --dataro | --datar)
8412227fc13Smrg    ac_prev=datarootdir ;;
8422227fc13Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8432227fc13Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8442227fc13Smrg    datarootdir=$ac_optarg ;;
8452227fc13Smrg
846644fc5c1Stron  -disable-* | --disable-*)
8472227fc13Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848644fc5c1Stron    # Reject names that are not valid shell variable names.
8492227fc13Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8507b5fefc8Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
8512227fc13Smrg    ac_useropt_orig=$ac_useropt
8527b5fefc8Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
8532227fc13Smrg    case $ac_user_opts in
8542227fc13Smrg      *"
8552227fc13Smrg"enable_$ac_useropt"
8562227fc13Smrg"*) ;;
8572227fc13Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8582227fc13Smrg	 ac_unrecognized_sep=', ';;
8592227fc13Smrg    esac
8602227fc13Smrg    eval enable_$ac_useropt=no ;;
8612227fc13Smrg
8622227fc13Smrg  -docdir | --docdir | --docdi | --doc | --do)
8632227fc13Smrg    ac_prev=docdir ;;
8642227fc13Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8652227fc13Smrg    docdir=$ac_optarg ;;
8662227fc13Smrg
8672227fc13Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8682227fc13Smrg    ac_prev=dvidir ;;
8692227fc13Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8702227fc13Smrg    dvidir=$ac_optarg ;;
871644fc5c1Stron
872644fc5c1Stron  -enable-* | --enable-*)
8732227fc13Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
874644fc5c1Stron    # Reject names that are not valid shell variable names.
8752227fc13Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8767b5fefc8Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
8772227fc13Smrg    ac_useropt_orig=$ac_useropt
8787b5fefc8Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
8792227fc13Smrg    case $ac_user_opts in
8802227fc13Smrg      *"
8812227fc13Smrg"enable_$ac_useropt"
8822227fc13Smrg"*) ;;
8832227fc13Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
8842227fc13Smrg	 ac_unrecognized_sep=', ';;
885644fc5c1Stron    esac
8862227fc13Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
887644fc5c1Stron
888644fc5c1Stron  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
889644fc5c1Stron  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
890644fc5c1Stron  | --exec | --exe | --ex)
891644fc5c1Stron    ac_prev=exec_prefix ;;
892644fc5c1Stron  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
893644fc5c1Stron  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
894644fc5c1Stron  | --exec=* | --exe=* | --ex=*)
895644fc5c1Stron    exec_prefix=$ac_optarg ;;
896644fc5c1Stron
897644fc5c1Stron  -gas | --gas | --ga | --g)
898644fc5c1Stron    # Obsolete; use --with-gas.
899644fc5c1Stron    with_gas=yes ;;
900644fc5c1Stron
901644fc5c1Stron  -help | --help | --hel | --he | -h)
902644fc5c1Stron    ac_init_help=long ;;
903644fc5c1Stron  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
904644fc5c1Stron    ac_init_help=recursive ;;
905644fc5c1Stron  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
906644fc5c1Stron    ac_init_help=short ;;
907644fc5c1Stron
908644fc5c1Stron  -host | --host | --hos | --ho)
909644fc5c1Stron    ac_prev=host_alias ;;
910644fc5c1Stron  -host=* | --host=* | --hos=* | --ho=*)
911644fc5c1Stron    host_alias=$ac_optarg ;;
912644fc5c1Stron
9132227fc13Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9142227fc13Smrg    ac_prev=htmldir ;;
9152227fc13Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9162227fc13Smrg  | --ht=*)
9172227fc13Smrg    htmldir=$ac_optarg ;;
9182227fc13Smrg
919644fc5c1Stron  -includedir | --includedir | --includedi | --included | --include \
920644fc5c1Stron  | --includ | --inclu | --incl | --inc)
921644fc5c1Stron    ac_prev=includedir ;;
922644fc5c1Stron  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
923644fc5c1Stron  | --includ=* | --inclu=* | --incl=* | --inc=*)
924644fc5c1Stron    includedir=$ac_optarg ;;
925644fc5c1Stron
926644fc5c1Stron  -infodir | --infodir | --infodi | --infod | --info | --inf)
927644fc5c1Stron    ac_prev=infodir ;;
928644fc5c1Stron  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
929644fc5c1Stron    infodir=$ac_optarg ;;
930644fc5c1Stron
931644fc5c1Stron  -libdir | --libdir | --libdi | --libd)
932644fc5c1Stron    ac_prev=libdir ;;
933644fc5c1Stron  -libdir=* | --libdir=* | --libdi=* | --libd=*)
934644fc5c1Stron    libdir=$ac_optarg ;;
935644fc5c1Stron
936644fc5c1Stron  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
937644fc5c1Stron  | --libexe | --libex | --libe)
938644fc5c1Stron    ac_prev=libexecdir ;;
939644fc5c1Stron  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
940644fc5c1Stron  | --libexe=* | --libex=* | --libe=*)
941644fc5c1Stron    libexecdir=$ac_optarg ;;
942644fc5c1Stron
9432227fc13Smrg  -localedir | --localedir | --localedi | --localed | --locale)
9442227fc13Smrg    ac_prev=localedir ;;
9452227fc13Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9462227fc13Smrg    localedir=$ac_optarg ;;
9472227fc13Smrg
948644fc5c1Stron  -localstatedir | --localstatedir | --localstatedi | --localstated \
9492227fc13Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
950644fc5c1Stron    ac_prev=localstatedir ;;
951644fc5c1Stron  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9522227fc13Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
953644fc5c1Stron    localstatedir=$ac_optarg ;;
954644fc5c1Stron
955644fc5c1Stron  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
956644fc5c1Stron    ac_prev=mandir ;;
957644fc5c1Stron  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
958644fc5c1Stron    mandir=$ac_optarg ;;
959644fc5c1Stron
960644fc5c1Stron  -nfp | --nfp | --nf)
961644fc5c1Stron    # Obsolete; use --without-fp.
962644fc5c1Stron    with_fp=no ;;
963644fc5c1Stron
964644fc5c1Stron  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
965644fc5c1Stron  | --no-cr | --no-c | -n)
966644fc5c1Stron    no_create=yes ;;
967644fc5c1Stron
968644fc5c1Stron  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
969644fc5c1Stron  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
970644fc5c1Stron    no_recursion=yes ;;
971644fc5c1Stron
972644fc5c1Stron  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
973644fc5c1Stron  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
974644fc5c1Stron  | --oldin | --oldi | --old | --ol | --o)
975644fc5c1Stron    ac_prev=oldincludedir ;;
976644fc5c1Stron  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
977644fc5c1Stron  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
978644fc5c1Stron  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
979644fc5c1Stron    oldincludedir=$ac_optarg ;;
980644fc5c1Stron
981644fc5c1Stron  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
982644fc5c1Stron    ac_prev=prefix ;;
983644fc5c1Stron  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
984644fc5c1Stron    prefix=$ac_optarg ;;
985644fc5c1Stron
986644fc5c1Stron  -program-prefix | --program-prefix | --program-prefi | --program-pref \
987644fc5c1Stron  | --program-pre | --program-pr | --program-p)
988644fc5c1Stron    ac_prev=program_prefix ;;
989644fc5c1Stron  -program-prefix=* | --program-prefix=* | --program-prefi=* \
990644fc5c1Stron  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
991644fc5c1Stron    program_prefix=$ac_optarg ;;
992644fc5c1Stron
993644fc5c1Stron  -program-suffix | --program-suffix | --program-suffi | --program-suff \
994644fc5c1Stron  | --program-suf | --program-su | --program-s)
995644fc5c1Stron    ac_prev=program_suffix ;;
996644fc5c1Stron  -program-suffix=* | --program-suffix=* | --program-suffi=* \
997644fc5c1Stron  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
998644fc5c1Stron    program_suffix=$ac_optarg ;;
999644fc5c1Stron
1000644fc5c1Stron  -program-transform-name | --program-transform-name \
1001644fc5c1Stron  | --program-transform-nam | --program-transform-na \
1002644fc5c1Stron  | --program-transform-n | --program-transform- \
1003644fc5c1Stron  | --program-transform | --program-transfor \
1004644fc5c1Stron  | --program-transfo | --program-transf \
1005644fc5c1Stron  | --program-trans | --program-tran \
1006644fc5c1Stron  | --progr-tra | --program-tr | --program-t)
1007644fc5c1Stron    ac_prev=program_transform_name ;;
1008644fc5c1Stron  -program-transform-name=* | --program-transform-name=* \
1009644fc5c1Stron  | --program-transform-nam=* | --program-transform-na=* \
1010644fc5c1Stron  | --program-transform-n=* | --program-transform-=* \
1011644fc5c1Stron  | --program-transform=* | --program-transfor=* \
1012644fc5c1Stron  | --program-transfo=* | --program-transf=* \
1013644fc5c1Stron  | --program-trans=* | --program-tran=* \
1014644fc5c1Stron  | --progr-tra=* | --program-tr=* | --program-t=*)
1015644fc5c1Stron    program_transform_name=$ac_optarg ;;
1016644fc5c1Stron
10172227fc13Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10182227fc13Smrg    ac_prev=pdfdir ;;
10192227fc13Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10202227fc13Smrg    pdfdir=$ac_optarg ;;
10212227fc13Smrg
10222227fc13Smrg  -psdir | --psdir | --psdi | --psd | --ps)
10232227fc13Smrg    ac_prev=psdir ;;
10242227fc13Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10252227fc13Smrg    psdir=$ac_optarg ;;
10262227fc13Smrg
1027644fc5c1Stron  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028644fc5c1Stron  | -silent | --silent | --silen | --sile | --sil)
1029644fc5c1Stron    silent=yes ;;
1030644fc5c1Stron
10317b5fefc8Smrg  -runstatedir | --runstatedir | --runstatedi | --runstated \
10327b5fefc8Smrg  | --runstate | --runstat | --runsta | --runst | --runs \
10337b5fefc8Smrg  | --run | --ru | --r)
10347b5fefc8Smrg    ac_prev=runstatedir ;;
10357b5fefc8Smrg  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
10367b5fefc8Smrg  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
10377b5fefc8Smrg  | --run=* | --ru=* | --r=*)
10387b5fefc8Smrg    runstatedir=$ac_optarg ;;
10397b5fefc8Smrg
1040644fc5c1Stron  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1041644fc5c1Stron    ac_prev=sbindir ;;
1042644fc5c1Stron  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1043644fc5c1Stron  | --sbi=* | --sb=*)
1044644fc5c1Stron    sbindir=$ac_optarg ;;
1045644fc5c1Stron
1046644fc5c1Stron  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1047644fc5c1Stron  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1048644fc5c1Stron  | --sharedst | --shareds | --shared | --share | --shar \
1049644fc5c1Stron  | --sha | --sh)
1050644fc5c1Stron    ac_prev=sharedstatedir ;;
1051644fc5c1Stron  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1052644fc5c1Stron  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1053644fc5c1Stron  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1054644fc5c1Stron  | --sha=* | --sh=*)
1055644fc5c1Stron    sharedstatedir=$ac_optarg ;;
1056644fc5c1Stron
1057644fc5c1Stron  -site | --site | --sit)
1058644fc5c1Stron    ac_prev=site ;;
1059644fc5c1Stron  -site=* | --site=* | --sit=*)
1060644fc5c1Stron    site=$ac_optarg ;;
1061644fc5c1Stron
1062644fc5c1Stron  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1063644fc5c1Stron    ac_prev=srcdir ;;
1064644fc5c1Stron  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1065644fc5c1Stron    srcdir=$ac_optarg ;;
1066644fc5c1Stron
1067644fc5c1Stron  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1068644fc5c1Stron  | --syscon | --sysco | --sysc | --sys | --sy)
1069644fc5c1Stron    ac_prev=sysconfdir ;;
1070644fc5c1Stron  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1071644fc5c1Stron  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1072644fc5c1Stron    sysconfdir=$ac_optarg ;;
1073644fc5c1Stron
1074644fc5c1Stron  -target | --target | --targe | --targ | --tar | --ta | --t)
1075644fc5c1Stron    ac_prev=target_alias ;;
1076644fc5c1Stron  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1077644fc5c1Stron    target_alias=$ac_optarg ;;
1078644fc5c1Stron
1079644fc5c1Stron  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1080644fc5c1Stron    verbose=yes ;;
1081644fc5c1Stron
1082644fc5c1Stron  -version | --version | --versio | --versi | --vers | -V)
1083644fc5c1Stron    ac_init_version=: ;;
1084644fc5c1Stron
1085644fc5c1Stron  -with-* | --with-*)
10862227fc13Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1087644fc5c1Stron    # Reject names that are not valid shell variable names.
10882227fc13Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10897b5fefc8Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
10902227fc13Smrg    ac_useropt_orig=$ac_useropt
10917b5fefc8Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
10922227fc13Smrg    case $ac_user_opts in
10932227fc13Smrg      *"
10942227fc13Smrg"with_$ac_useropt"
10952227fc13Smrg"*) ;;
10962227fc13Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10972227fc13Smrg	 ac_unrecognized_sep=', ';;
1098644fc5c1Stron    esac
10992227fc13Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1100644fc5c1Stron
1101644fc5c1Stron  -without-* | --without-*)
11022227fc13Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1103644fc5c1Stron    # Reject names that are not valid shell variable names.
11042227fc13Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11057b5fefc8Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
11062227fc13Smrg    ac_useropt_orig=$ac_useropt
11077b5fefc8Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11082227fc13Smrg    case $ac_user_opts in
11092227fc13Smrg      *"
11102227fc13Smrg"with_$ac_useropt"
11112227fc13Smrg"*) ;;
11122227fc13Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11132227fc13Smrg	 ac_unrecognized_sep=', ';;
11142227fc13Smrg    esac
11152227fc13Smrg    eval with_$ac_useropt=no ;;
1116644fc5c1Stron
1117644fc5c1Stron  --x)
1118644fc5c1Stron    # Obsolete; use --with-x.
1119644fc5c1Stron    with_x=yes ;;
1120644fc5c1Stron
1121644fc5c1Stron  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1122644fc5c1Stron  | --x-incl | --x-inc | --x-in | --x-i)
1123644fc5c1Stron    ac_prev=x_includes ;;
1124644fc5c1Stron  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1125644fc5c1Stron  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1126644fc5c1Stron    x_includes=$ac_optarg ;;
1127644fc5c1Stron
1128644fc5c1Stron  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1129644fc5c1Stron  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1130644fc5c1Stron    ac_prev=x_libraries ;;
1131644fc5c1Stron  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1132644fc5c1Stron  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1133644fc5c1Stron    x_libraries=$ac_optarg ;;
1134644fc5c1Stron
11352227fc13Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
11362227fc13SmrgTry \`$0 --help' for more information"
1137644fc5c1Stron    ;;
1138644fc5c1Stron
1139644fc5c1Stron  *=*)
1140644fc5c1Stron    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1141644fc5c1Stron    # Reject names that are not valid shell variable names.
11422227fc13Smrg    case $ac_envvar in #(
11432227fc13Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
11442227fc13Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
11452227fc13Smrg    esac
11462227fc13Smrg    eval $ac_envvar=\$ac_optarg
1147644fc5c1Stron    export $ac_envvar ;;
1148644fc5c1Stron
1149644fc5c1Stron  *)
1150644fc5c1Stron    # FIXME: should be removed in autoconf 3.0.
11517b5fefc8Smrg    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1152644fc5c1Stron    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11537b5fefc8Smrg      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
11542227fc13Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1155644fc5c1Stron    ;;
1156644fc5c1Stron
1157644fc5c1Stron  esac
1158644fc5c1Strondone
1159644fc5c1Stron
1160644fc5c1Stronif test -n "$ac_prev"; then
1161644fc5c1Stron  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11622227fc13Smrg  as_fn_error $? "missing argument to $ac_option"
1163644fc5c1Stronfi
1164644fc5c1Stron
11652227fc13Smrgif test -n "$ac_unrecognized_opts"; then
11662227fc13Smrg  case $enable_option_checking in
11672227fc13Smrg    no) ;;
11682227fc13Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11697b5fefc8Smrg    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170644fc5c1Stron  esac
11712227fc13Smrgfi
1172644fc5c1Stron
11732227fc13Smrg# Check all directory arguments for consistency.
11742227fc13Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
11752227fc13Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
11762227fc13Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11777b5fefc8Smrg		libdir localedir mandir runstatedir
1178644fc5c1Strondo
11792227fc13Smrg  eval ac_val=\$$ac_var
11802227fc13Smrg  # Remove trailing slashes.
1181644fc5c1Stron  case $ac_val in
11822227fc13Smrg    */ )
11832227fc13Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
11842227fc13Smrg      eval $ac_var=\$ac_val;;
1185644fc5c1Stron  esac
11862227fc13Smrg  # Be sure to have absolute directory names.
11872227fc13Smrg  case $ac_val in
11882227fc13Smrg    [\\/$]* | ?:[\\/]* )  continue;;
11892227fc13Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11902227fc13Smrg  esac
11912227fc13Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1192644fc5c1Strondone
1193644fc5c1Stron
1194644fc5c1Stron# There might be people who depend on the old broken behavior: `$host'
1195644fc5c1Stron# used to hold the argument of --host etc.
1196644fc5c1Stron# FIXME: To remove some day.
1197644fc5c1Stronbuild=$build_alias
1198644fc5c1Stronhost=$host_alias
1199644fc5c1Strontarget=$target_alias
1200644fc5c1Stron
1201644fc5c1Stron# FIXME: To remove some day.
1202644fc5c1Stronif test "x$host_alias" != x; then
1203644fc5c1Stron  if test "x$build_alias" = x; then
1204644fc5c1Stron    cross_compiling=maybe
1205644fc5c1Stron  elif test "x$build_alias" != "x$host_alias"; then
1206644fc5c1Stron    cross_compiling=yes
1207644fc5c1Stron  fi
1208644fc5c1Stronfi
1209644fc5c1Stron
1210644fc5c1Stronac_tool_prefix=
1211644fc5c1Strontest -n "$host_alias" && ac_tool_prefix=$host_alias-
1212644fc5c1Stron
1213644fc5c1Strontest "$silent" = yes && exec 6>/dev/null
1214644fc5c1Stron
1215644fc5c1Stron
12162227fc13Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
12172227fc13Smrgac_ls_di=`ls -di .` &&
12182227fc13Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12192227fc13Smrg  as_fn_error $? "working directory cannot be determined"
12202227fc13Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12212227fc13Smrg  as_fn_error $? "pwd does not report name of working directory"
12222227fc13Smrg
12232227fc13Smrg
1224644fc5c1Stron# Find the source files, if location was not specified.
1225644fc5c1Stronif test -z "$srcdir"; then
1226644fc5c1Stron  ac_srcdir_defaulted=yes
12272227fc13Smrg  # Try the directory containing this script, then the parent directory.
12282227fc13Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
12292227fc13Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12302227fc13Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
12312227fc13Smrg	 X"$as_myself" : 'X\(//\)$' \| \
12322227fc13Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12337b5fefc8Smrgprintf "%s\n" X"$as_myself" |
12342227fc13Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12352227fc13Smrg	    s//\1/
12362227fc13Smrg	    q
12372227fc13Smrg	  }
12382227fc13Smrg	  /^X\(\/\/\)[^/].*/{
12392227fc13Smrg	    s//\1/
12402227fc13Smrg	    q
12412227fc13Smrg	  }
12422227fc13Smrg	  /^X\(\/\/\)$/{
12432227fc13Smrg	    s//\1/
12442227fc13Smrg	    q
12452227fc13Smrg	  }
12462227fc13Smrg	  /^X\(\/\).*/{
12472227fc13Smrg	    s//\1/
12482227fc13Smrg	    q
12492227fc13Smrg	  }
12502227fc13Smrg	  s/.*/./; q'`
1251644fc5c1Stron  srcdir=$ac_confdir
12522227fc13Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1253644fc5c1Stron    srcdir=..
1254644fc5c1Stron  fi
1255644fc5c1Stronelse
1256644fc5c1Stron  ac_srcdir_defaulted=no
1257644fc5c1Stronfi
12582227fc13Smrgif test ! -r "$srcdir/$ac_unique_file"; then
12592227fc13Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12602227fc13Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12612227fc13Smrgfi
12622227fc13Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12632227fc13Smrgac_abs_confdir=`(
12642227fc13Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12652227fc13Smrg	pwd)`
12662227fc13Smrg# When building in place, set srcdir=.
12672227fc13Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
12682227fc13Smrg  srcdir=.
1269644fc5c1Stronfi
12702227fc13Smrg# Remove unnecessary trailing slashes from srcdir.
12712227fc13Smrg# Double slashes in file names in object file debugging info
12722227fc13Smrg# mess up M-x gdb in Emacs.
12732227fc13Smrgcase $srcdir in
12742227fc13Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12752227fc13Smrgesac
12762227fc13Smrgfor ac_var in $ac_precious_vars; do
12772227fc13Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
12782227fc13Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
12792227fc13Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12802227fc13Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
12812227fc13Smrgdone
1282644fc5c1Stron
1283644fc5c1Stron#
1284644fc5c1Stron# Report the --help message.
1285644fc5c1Stron#
1286644fc5c1Stronif test "$ac_init_help" = "long"; then
1287644fc5c1Stron  # Omit some internal or obsolete options to make the list less imposing.
1288644fc5c1Stron  # This message is too long to be a string in the A/UX 3.1 sh.
1289644fc5c1Stron  cat <<_ACEOF
12907b5fefc8Smrg\`configure' configures font-sony-misc 1.0.4 to adapt to many kinds of systems.
1291644fc5c1Stron
1292644fc5c1StronUsage: $0 [OPTION]... [VAR=VALUE]...
1293644fc5c1Stron
1294644fc5c1StronTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1295644fc5c1StronVAR=VALUE.  See below for descriptions of some of the useful variables.
1296644fc5c1Stron
1297644fc5c1StronDefaults for the options are specified in brackets.
1298644fc5c1Stron
1299644fc5c1StronConfiguration:
1300644fc5c1Stron  -h, --help              display this help and exit
1301644fc5c1Stron      --help=short        display options specific to this package
1302644fc5c1Stron      --help=recursive    display the short help of all the included packages
1303644fc5c1Stron  -V, --version           display version information and exit
13042227fc13Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
1305644fc5c1Stron      --cache-file=FILE   cache test results in FILE [disabled]
1306644fc5c1Stron  -C, --config-cache      alias for \`--cache-file=config.cache'
1307644fc5c1Stron  -n, --no-create         do not create output files
1308644fc5c1Stron      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1309644fc5c1Stron
1310644fc5c1StronInstallation directories:
1311644fc5c1Stron  --prefix=PREFIX         install architecture-independent files in PREFIX
13122227fc13Smrg                          [$ac_default_prefix]
1313644fc5c1Stron  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
13142227fc13Smrg                          [PREFIX]
1315644fc5c1Stron
1316644fc5c1StronBy default, \`make install' will install all the files in
1317644fc5c1Stron\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1318644fc5c1Stronan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1319644fc5c1Stronfor instance \`--prefix=\$HOME'.
1320644fc5c1Stron
1321644fc5c1StronFor better control, use the options below.
1322644fc5c1Stron
1323644fc5c1StronFine tuning of the installation directories:
13242227fc13Smrg  --bindir=DIR            user executables [EPREFIX/bin]
13252227fc13Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
13262227fc13Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
13272227fc13Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
13282227fc13Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
13292227fc13Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
13307b5fefc8Smrg  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
13312227fc13Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
13322227fc13Smrg  --includedir=DIR        C header files [PREFIX/include]
13332227fc13Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
13342227fc13Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
13352227fc13Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
13362227fc13Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
13372227fc13Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
13382227fc13Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
13392227fc13Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/font-sony-misc]
13402227fc13Smrg  --htmldir=DIR           html documentation [DOCDIR]
13412227fc13Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
13422227fc13Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
13432227fc13Smrg  --psdir=DIR             ps documentation [DOCDIR]
1344644fc5c1Stron_ACEOF
1345644fc5c1Stron
1346644fc5c1Stron  cat <<\_ACEOF
1347644fc5c1Stron
1348644fc5c1StronProgram names:
1349644fc5c1Stron  --program-prefix=PREFIX            prepend PREFIX to installed program names
1350644fc5c1Stron  --program-suffix=SUFFIX            append SUFFIX to installed program names
1351644fc5c1Stron  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13522227fc13Smrg
13532227fc13SmrgSystem types:
13542227fc13Smrg  --build=BUILD     configure for building on BUILD [guessed]
13552227fc13Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1356644fc5c1Stron_ACEOF
1357644fc5c1Stronfi
1358644fc5c1Stron
1359644fc5c1Stronif test -n "$ac_init_help"; then
1360644fc5c1Stron  case $ac_init_help in
13617b5fefc8Smrg     short | recursive ) echo "Configuration of font-sony-misc 1.0.4:";;
1362644fc5c1Stron   esac
1363644fc5c1Stron  cat <<\_ACEOF
1364644fc5c1Stron
1365644fc5c1StronOptional Features:
13662227fc13Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1367644fc5c1Stron  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1368644fc5c1Stron  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
13697b5fefc8Smrg  --enable-silent-rules   less verbose build output (undo: "make V=1")
13707b5fefc8Smrg  --disable-silent-rules  verbose build output (undo: "make V=0")
1371644fc5c1Stron
1372644fc5c1StronOptional Packages:
1373644fc5c1Stron  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1374644fc5c1Stron  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
13752227fc13Smrg  --with-fontrootdir=DIR  Path to root directory for font files
13762227fc13Smrg  --with-fontdir=DIR      Path to misc files [FONTROOTDIR/misc]
13772227fc13Smrg  --with-compression=<no|compress|gzip|bzip2>
13782227fc13Smrg                          compression method to use on pcf fonts
13792227fc13Smrg
13802227fc13SmrgSome influential environment variables:
13812227fc13Smrg  PKG_CONFIG  path to pkg-config utility
13822227fc13Smrg  PKG_CONFIG_PATH
13832227fc13Smrg              directories to add to pkg-config's search path
13842227fc13Smrg  PKG_CONFIG_LIBDIR
13852227fc13Smrg              path overriding pkg-config's built-in search path
13862227fc13Smrg
13872227fc13SmrgUse these variables to override the choices made by `configure' or to help
13882227fc13Smrgit to find libraries and programs with nonstandard names/locations.
1389644fc5c1Stron
13907b5fefc8SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/sony-misc/-/issues>.
1391644fc5c1Stron_ACEOF
13922227fc13Smrgac_status=$?
1393644fc5c1Stronfi
1394644fc5c1Stron
1395644fc5c1Stronif test "$ac_init_help" = "recursive"; then
1396644fc5c1Stron  # If there are subdirs, report their specific --help.
1397644fc5c1Stron  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13982227fc13Smrg    test -d "$ac_dir" ||
13992227fc13Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
14002227fc13Smrg      continue
1401644fc5c1Stron    ac_builddir=.
1402644fc5c1Stron
14032227fc13Smrgcase "$ac_dir" in
14042227fc13Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14052227fc13Smrg*)
14067b5fefc8Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14072227fc13Smrg  # A ".." for each directory in $ac_dir_suffix.
14087b5fefc8Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14092227fc13Smrg  case $ac_top_builddir_sub in
14102227fc13Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14112227fc13Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14122227fc13Smrg  esac ;;
14132227fc13Smrgesac
14142227fc13Smrgac_abs_top_builddir=$ac_pwd
14152227fc13Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
14162227fc13Smrg# for backward compatibility:
14172227fc13Smrgac_top_builddir=$ac_top_build_prefix
1418644fc5c1Stron
1419644fc5c1Stroncase $srcdir in
14202227fc13Smrg  .)  # We are building in place.
1421644fc5c1Stron    ac_srcdir=.
14222227fc13Smrg    ac_top_srcdir=$ac_top_builddir_sub
14232227fc13Smrg    ac_abs_top_srcdir=$ac_pwd ;;
14242227fc13Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1425644fc5c1Stron    ac_srcdir=$srcdir$ac_dir_suffix;
14262227fc13Smrg    ac_top_srcdir=$srcdir
14272227fc13Smrg    ac_abs_top_srcdir=$srcdir ;;
14282227fc13Smrg  *) # Relative name.
14292227fc13Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14302227fc13Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
14312227fc13Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1432644fc5c1Stronesac
14332227fc13Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14342227fc13Smrg
14352227fc13Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
14367b5fefc8Smrg    # Check for configure.gnu first; this name is used for a wrapper for
14377b5fefc8Smrg    # Metaconfig's "Configure" on case-insensitive file systems.
14382227fc13Smrg    if test -f "$ac_srcdir/configure.gnu"; then
14392227fc13Smrg      echo &&
14402227fc13Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14412227fc13Smrg    elif test -f "$ac_srcdir/configure"; then
14422227fc13Smrg      echo &&
14432227fc13Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1444644fc5c1Stron    else
14457b5fefc8Smrg      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14462227fc13Smrg    fi || ac_status=$?
14472227fc13Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1448644fc5c1Stron  done
1449644fc5c1Stronfi
1450644fc5c1Stron
14512227fc13Smrgtest -n "$ac_init_help" && exit $ac_status
1452644fc5c1Stronif $ac_init_version; then
1453644fc5c1Stron  cat <<\_ACEOF
14547b5fefc8Smrgfont-sony-misc configure 1.0.4
14557b5fefc8Smrggenerated by GNU Autoconf 2.71
1456644fc5c1Stron
14577b5fefc8SmrgCopyright (C) 2021 Free Software Foundation, Inc.
1458644fc5c1StronThis configure script is free software; the Free Software Foundation
1459644fc5c1Strongives unlimited permission to copy, distribute and modify it.
1460644fc5c1Stron_ACEOF
14612227fc13Smrg  exit
1462644fc5c1Stronfi
14632227fc13Smrg
14642227fc13Smrg## ------------------------ ##
14652227fc13Smrg## Autoconf initialization. ##
14662227fc13Smrg## ------------------------ ##
14677b5fefc8Smrgac_configure_args_raw=
14687b5fefc8Smrgfor ac_arg
14697b5fefc8Smrgdo
14707b5fefc8Smrg  case $ac_arg in
14717b5fefc8Smrg  *\'*)
14727b5fefc8Smrg    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14737b5fefc8Smrg  esac
14747b5fefc8Smrg  as_fn_append ac_configure_args_raw " '$ac_arg'"
14757b5fefc8Smrgdone
14762227fc13Smrg
14777b5fefc8Smrgcase $ac_configure_args_raw in
14787b5fefc8Smrg  *$as_nl*)
14797b5fefc8Smrg    ac_safe_unquote= ;;
14807b5fefc8Smrg  *)
14817b5fefc8Smrg    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
14827b5fefc8Smrg    ac_unsafe_a="$ac_unsafe_z#~"
14837b5fefc8Smrg    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
14847b5fefc8Smrg    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
14852227fc13Smrgesac
14862227fc13Smrg
14872227fc13Smrgcat >config.log <<_ACEOF
1488644fc5c1StronThis file contains any messages produced by compilers while
1489644fc5c1Stronrunning configure, to aid debugging if configure makes a mistake.
1490644fc5c1Stron
14917b5fefc8SmrgIt was created by font-sony-misc $as_me 1.0.4, which was
14927b5fefc8Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
1493644fc5c1Stron
14947b5fefc8Smrg  $ $0$ac_configure_args_raw
1495644fc5c1Stron
1496644fc5c1Stron_ACEOF
14972227fc13Smrgexec 5>>config.log
1498644fc5c1Stron{
1499644fc5c1Stroncat <<_ASUNAME
1500644fc5c1Stron## --------- ##
1501644fc5c1Stron## Platform. ##
1502644fc5c1Stron## --------- ##
1503644fc5c1Stron
1504644fc5c1Stronhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1505644fc5c1Stronuname -m = `(uname -m) 2>/dev/null || echo unknown`
1506644fc5c1Stronuname -r = `(uname -r) 2>/dev/null || echo unknown`
1507644fc5c1Stronuname -s = `(uname -s) 2>/dev/null || echo unknown`
1508644fc5c1Stronuname -v = `(uname -v) 2>/dev/null || echo unknown`
1509644fc5c1Stron
1510644fc5c1Stron/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1511644fc5c1Stron/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1512644fc5c1Stron
1513644fc5c1Stron/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1514644fc5c1Stron/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1515644fc5c1Stron/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
15162227fc13Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1517644fc5c1Stron/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1518644fc5c1Stron/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1519644fc5c1Stron/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1520644fc5c1Stron
1521644fc5c1Stron_ASUNAME
1522644fc5c1Stron
1523644fc5c1Stronas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1524644fc5c1Stronfor as_dir in $PATH
1525644fc5c1Strondo
1526644fc5c1Stron  IFS=$as_save_IFS
15277b5fefc8Smrg  case $as_dir in #(((
15287b5fefc8Smrg    '') as_dir=./ ;;
15297b5fefc8Smrg    */) ;;
15307b5fefc8Smrg    *) as_dir=$as_dir/ ;;
15317b5fefc8Smrg  esac
15327b5fefc8Smrg    printf "%s\n" "PATH: $as_dir"
15332227fc13Smrg  done
15342227fc13SmrgIFS=$as_save_IFS
1535644fc5c1Stron
1536644fc5c1Stron} >&5
1537644fc5c1Stron
1538644fc5c1Stroncat >&5 <<_ACEOF
1539644fc5c1Stron
1540644fc5c1Stron
1541644fc5c1Stron## ----------- ##
1542644fc5c1Stron## Core tests. ##
1543644fc5c1Stron## ----------- ##
1544644fc5c1Stron
1545644fc5c1Stron_ACEOF
1546644fc5c1Stron
1547644fc5c1Stron
1548644fc5c1Stron# Keep a trace of the command line.
1549644fc5c1Stron# Strip out --no-create and --no-recursion so they do not pile up.
1550644fc5c1Stron# Strip out --silent because we don't want to record it for future runs.
1551644fc5c1Stron# Also quote any args containing shell meta-characters.
1552644fc5c1Stron# Make two passes to allow for proper duplicate-argument suppression.
1553644fc5c1Stronac_configure_args=
1554644fc5c1Stronac_configure_args0=
1555644fc5c1Stronac_configure_args1=
1556644fc5c1Stronac_must_keep_next=false
1557644fc5c1Stronfor ac_pass in 1 2
1558644fc5c1Strondo
1559644fc5c1Stron  for ac_arg
1560644fc5c1Stron  do
1561644fc5c1Stron    case $ac_arg in
1562644fc5c1Stron    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1563644fc5c1Stron    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1564644fc5c1Stron    | -silent | --silent | --silen | --sile | --sil)
1565644fc5c1Stron      continue ;;
15662227fc13Smrg    *\'*)
15677b5fefc8Smrg      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1568644fc5c1Stron    esac
1569644fc5c1Stron    case $ac_pass in
15702227fc13Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1571644fc5c1Stron    2)
15722227fc13Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1573644fc5c1Stron      if test $ac_must_keep_next = true; then
1574644fc5c1Stron	ac_must_keep_next=false # Got value, back to normal.
1575644fc5c1Stron      else
1576644fc5c1Stron	case $ac_arg in
1577644fc5c1Stron	  *=* | --config-cache | -C | -disable-* | --disable-* \
1578644fc5c1Stron	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1579644fc5c1Stron	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1580644fc5c1Stron	  | -with-* | --with-* | -without-* | --without-* | --x)
1581644fc5c1Stron	    case "$ac_configure_args0 " in
1582644fc5c1Stron	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1583644fc5c1Stron	    esac
1584644fc5c1Stron	    ;;
1585644fc5c1Stron	  -* ) ac_must_keep_next=true ;;
1586644fc5c1Stron	esac
1587644fc5c1Stron      fi
15882227fc13Smrg      as_fn_append ac_configure_args " '$ac_arg'"
1589644fc5c1Stron      ;;
1590644fc5c1Stron    esac
1591644fc5c1Stron  done
1592644fc5c1Strondone
15932227fc13Smrg{ ac_configure_args0=; unset ac_configure_args0;}
15942227fc13Smrg{ ac_configure_args1=; unset ac_configure_args1;}
1595644fc5c1Stron
1596644fc5c1Stron# When interrupted or exit'd, cleanup temporary files, and complete
1597644fc5c1Stron# config.log.  We remove comments because anyway the quotes in there
1598644fc5c1Stron# would cause problems or look ugly.
15992227fc13Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
16002227fc13Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1601644fc5c1Strontrap 'exit_status=$?
16027b5fefc8Smrg  # Sanitize IFS.
16037b5fefc8Smrg  IFS=" ""	$as_nl"
1604644fc5c1Stron  # Save into config.log some information that might help in debugging.
1605644fc5c1Stron  {
1606644fc5c1Stron    echo
1607644fc5c1Stron
16087b5fefc8Smrg    printf "%s\n" "## ---------------- ##
1609644fc5c1Stron## Cache variables. ##
16102227fc13Smrg## ---------------- ##"
1611644fc5c1Stron    echo
1612644fc5c1Stron    # The following way of writing the cache mishandles newlines in values,
16132227fc13Smrg(
16142227fc13Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
16152227fc13Smrg    eval ac_val=\$$ac_var
16162227fc13Smrg    case $ac_val in #(
16172227fc13Smrg    *${as_nl}*)
16182227fc13Smrg      case $ac_var in #(
16197b5fefc8Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16207b5fefc8Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16212227fc13Smrg      esac
16222227fc13Smrg      case $ac_var in #(
16232227fc13Smrg      _ | IFS | as_nl) ;; #(
16242227fc13Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16252227fc13Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
16262227fc13Smrg      esac ;;
16272227fc13Smrg    esac
16282227fc13Smrg  done
1629644fc5c1Stron  (set) 2>&1 |
16302227fc13Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
16312227fc13Smrg    *${as_nl}ac_space=\ *)
1632644fc5c1Stron      sed -n \
16332227fc13Smrg	"s/'\''/'\''\\\\'\'''\''/g;
16342227fc13Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
16352227fc13Smrg      ;; #(
1636644fc5c1Stron    *)
16372227fc13Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1638644fc5c1Stron      ;;
16392227fc13Smrg    esac |
16402227fc13Smrg    sort
16412227fc13Smrg)
1642644fc5c1Stron    echo
1643644fc5c1Stron
16447b5fefc8Smrg    printf "%s\n" "## ----------------- ##
1645644fc5c1Stron## Output variables. ##
16462227fc13Smrg## ----------------- ##"
1647644fc5c1Stron    echo
1648644fc5c1Stron    for ac_var in $ac_subst_vars
1649644fc5c1Stron    do
16502227fc13Smrg      eval ac_val=\$$ac_var
16512227fc13Smrg      case $ac_val in
16527b5fefc8Smrg      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16532227fc13Smrg      esac
16547b5fefc8Smrg      printf "%s\n" "$ac_var='\''$ac_val'\''"
1655644fc5c1Stron    done | sort
1656644fc5c1Stron    echo
1657644fc5c1Stron
1658644fc5c1Stron    if test -n "$ac_subst_files"; then
16597b5fefc8Smrg      printf "%s\n" "## ------------------- ##
16602227fc13Smrg## File substitutions. ##
16612227fc13Smrg## ------------------- ##"
1662644fc5c1Stron      echo
1663644fc5c1Stron      for ac_var in $ac_subst_files
1664644fc5c1Stron      do
16652227fc13Smrg	eval ac_val=\$$ac_var
16662227fc13Smrg	case $ac_val in
16677b5fefc8Smrg	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16682227fc13Smrg	esac
16697b5fefc8Smrg	printf "%s\n" "$ac_var='\''$ac_val'\''"
1670644fc5c1Stron      done | sort
1671644fc5c1Stron      echo
1672644fc5c1Stron    fi
1673644fc5c1Stron
1674644fc5c1Stron    if test -s confdefs.h; then
16757b5fefc8Smrg      printf "%s\n" "## ----------- ##
1676644fc5c1Stron## confdefs.h. ##
16772227fc13Smrg## ----------- ##"
1678644fc5c1Stron      echo
16792227fc13Smrg      cat confdefs.h
1680644fc5c1Stron      echo
1681644fc5c1Stron    fi
1682644fc5c1Stron    test "$ac_signal" != 0 &&
16837b5fefc8Smrg      printf "%s\n" "$as_me: caught signal $ac_signal"
16847b5fefc8Smrg    printf "%s\n" "$as_me: exit $exit_status"
1685644fc5c1Stron  } >&5
16862227fc13Smrg  rm -f core *.core core.conftest.* &&
16872227fc13Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1688644fc5c1Stron    exit $exit_status
16892227fc13Smrg' 0
1690644fc5c1Stronfor ac_signal in 1 2 13 15; do
16912227fc13Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1692644fc5c1Strondone
1693644fc5c1Stronac_signal=0
1694644fc5c1Stron
1695644fc5c1Stron# confdefs.h avoids OS command line length limits that DEFS can exceed.
16962227fc13Smrgrm -f -r conftest* confdefs.h
16972227fc13Smrg
16987b5fefc8Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h
1699644fc5c1Stron
1700644fc5c1Stron# Predefined preprocessor variables.
1701644fc5c1Stron
17027b5fefc8Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1703644fc5c1Stron
17047b5fefc8Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1705644fc5c1Stron
17067b5fefc8Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1707644fc5c1Stron
17087b5fefc8Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1709644fc5c1Stron
17107b5fefc8Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1711644fc5c1Stron
17127b5fefc8Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
17132227fc13Smrg
1714644fc5c1Stron
1715644fc5c1Stron# Let the site file select an alternate cache file if it wants to.
17162227fc13Smrg# Prefer an explicitly selected file to automatically selected ones.
17172227fc13Smrgif test -n "$CONFIG_SITE"; then
17187b5fefc8Smrg  ac_site_files="$CONFIG_SITE"
17192227fc13Smrgelif test "x$prefix" != xNONE; then
17207b5fefc8Smrg  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
17212227fc13Smrgelse
17227b5fefc8Smrg  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1723644fc5c1Stronfi
17247b5fefc8Smrg
17257b5fefc8Smrgfor ac_site_file in $ac_site_files
17262227fc13Smrgdo
17277b5fefc8Smrg  case $ac_site_file in #(
17287b5fefc8Smrg  */*) :
17297b5fefc8Smrg     ;; #(
17307b5fefc8Smrg  *) :
17317b5fefc8Smrg    ac_site_file=./$ac_site_file ;;
17327b5fefc8Smrgesac
17337b5fefc8Smrg  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
17347b5fefc8Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
17357b5fefc8Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1736644fc5c1Stron    sed 's/^/| /' "$ac_site_file" >&5
17372227fc13Smrg    . "$ac_site_file" \
17387b5fefc8Smrg      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17397b5fefc8Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17402227fc13Smrgas_fn_error $? "failed to load site script $ac_site_file
17412227fc13SmrgSee \`config.log' for more details" "$LINENO" 5; }
1742644fc5c1Stron  fi
1743644fc5c1Strondone
1744644fc5c1Stron
1745644fc5c1Stronif test -r "$cache_file"; then
17462227fc13Smrg  # Some versions of bash will fail to source /dev/null (special files
17472227fc13Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
17482227fc13Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
17497b5fefc8Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
17507b5fefc8Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1751644fc5c1Stron    case $cache_file in
17522227fc13Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
17532227fc13Smrg      *)                      . "./$cache_file";;
1754644fc5c1Stron    esac
1755644fc5c1Stron  fi
1756644fc5c1Stronelse
17577b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
17587b5fefc8Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1759644fc5c1Stron  >$cache_file
1760644fc5c1Stronfi
1761644fc5c1Stron
17627b5fefc8Smrg
17637b5fefc8Smrg# Auxiliary files required by this configure script.
17647b5fefc8Smrgac_aux_files="config.guess config.sub missing install-sh"
17657b5fefc8Smrg
17667b5fefc8Smrg# Locations in which to look for auxiliary files.
17677b5fefc8Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
17687b5fefc8Smrg
17697b5fefc8Smrg# Search for a directory containing all of the required auxiliary files,
17707b5fefc8Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
17717b5fefc8Smrg# If we don't find one directory that contains all the files we need,
17727b5fefc8Smrg# we report the set of missing files from the *first* directory in
17737b5fefc8Smrg# $ac_aux_dir_candidates and give up.
17747b5fefc8Smrgac_missing_aux_files=""
17757b5fefc8Smrgac_first_candidate=:
17767b5fefc8Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
17777b5fefc8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17787b5fefc8Smrgas_found=false
17797b5fefc8Smrgfor as_dir in $ac_aux_dir_candidates
17807b5fefc8Smrgdo
17817b5fefc8Smrg  IFS=$as_save_IFS
17827b5fefc8Smrg  case $as_dir in #(((
17837b5fefc8Smrg    '') as_dir=./ ;;
17847b5fefc8Smrg    */) ;;
17857b5fefc8Smrg    *) as_dir=$as_dir/ ;;
17867b5fefc8Smrg  esac
17877b5fefc8Smrg  as_found=:
17887b5fefc8Smrg
17897b5fefc8Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
17907b5fefc8Smrg  ac_aux_dir_found=yes
17917b5fefc8Smrg  ac_install_sh=
17927b5fefc8Smrg  for ac_aux in $ac_aux_files
17937b5fefc8Smrg  do
17947b5fefc8Smrg    # As a special case, if "install-sh" is required, that requirement
17957b5fefc8Smrg    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
17967b5fefc8Smrg    # and $ac_install_sh is set appropriately for whichever one is found.
17977b5fefc8Smrg    if test x"$ac_aux" = x"install-sh"
17987b5fefc8Smrg    then
17997b5fefc8Smrg      if test -f "${as_dir}install-sh"; then
18007b5fefc8Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
18017b5fefc8Smrg        ac_install_sh="${as_dir}install-sh -c"
18027b5fefc8Smrg      elif test -f "${as_dir}install.sh"; then
18037b5fefc8Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
18047b5fefc8Smrg        ac_install_sh="${as_dir}install.sh -c"
18057b5fefc8Smrg      elif test -f "${as_dir}shtool"; then
18067b5fefc8Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
18077b5fefc8Smrg        ac_install_sh="${as_dir}shtool install -c"
18087b5fefc8Smrg      else
18097b5fefc8Smrg        ac_aux_dir_found=no
18107b5fefc8Smrg        if $ac_first_candidate; then
18117b5fefc8Smrg          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
18127b5fefc8Smrg        else
18137b5fefc8Smrg          break
18147b5fefc8Smrg        fi
18157b5fefc8Smrg      fi
18167b5fefc8Smrg    else
18177b5fefc8Smrg      if test -f "${as_dir}${ac_aux}"; then
18187b5fefc8Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
18197b5fefc8Smrg      else
18207b5fefc8Smrg        ac_aux_dir_found=no
18217b5fefc8Smrg        if $ac_first_candidate; then
18227b5fefc8Smrg          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
18237b5fefc8Smrg        else
18247b5fefc8Smrg          break
18257b5fefc8Smrg        fi
18267b5fefc8Smrg      fi
18277b5fefc8Smrg    fi
18287b5fefc8Smrg  done
18297b5fefc8Smrg  if test "$ac_aux_dir_found" = yes; then
18307b5fefc8Smrg    ac_aux_dir="$as_dir"
18317b5fefc8Smrg    break
18327b5fefc8Smrg  fi
18337b5fefc8Smrg  ac_first_candidate=false
18347b5fefc8Smrg
18357b5fefc8Smrg  as_found=false
18367b5fefc8Smrgdone
18377b5fefc8SmrgIFS=$as_save_IFS
18387b5fefc8Smrgif $as_found
18397b5fefc8Smrgthen :
18407b5fefc8Smrg
18417b5fefc8Smrgelse $as_nop
18427b5fefc8Smrg  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
18437b5fefc8Smrgfi
18447b5fefc8Smrg
18457b5fefc8Smrg
18467b5fefc8Smrg# These three variables are undocumented and unsupported,
18477b5fefc8Smrg# and are intended to be withdrawn in a future Autoconf release.
18487b5fefc8Smrg# They can cause serious problems if a builder's source tree is in a directory
18497b5fefc8Smrg# whose full name contains unusual characters.
18507b5fefc8Smrgif test -f "${ac_aux_dir}config.guess"; then
18517b5fefc8Smrg  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
18527b5fefc8Smrgfi
18537b5fefc8Smrgif test -f "${ac_aux_dir}config.sub"; then
18547b5fefc8Smrg  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
18557b5fefc8Smrgfi
18567b5fefc8Smrgif test -f "$ac_aux_dir/configure"; then
18577b5fefc8Smrg  ac_configure="$SHELL ${ac_aux_dir}configure"
18587b5fefc8Smrgfi
18597b5fefc8Smrg
1860644fc5c1Stron# Check that the precious variables saved in the cache have kept the same
1861644fc5c1Stron# value.
1862644fc5c1Stronac_cache_corrupted=false
18632227fc13Smrgfor ac_var in $ac_precious_vars; do
1864644fc5c1Stron  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1865644fc5c1Stron  eval ac_new_set=\$ac_env_${ac_var}_set
18662227fc13Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
18672227fc13Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1868644fc5c1Stron  case $ac_old_set,$ac_new_set in
1869644fc5c1Stron    set,)
18707b5fefc8Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
18717b5fefc8Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1872644fc5c1Stron      ac_cache_corrupted=: ;;
1873644fc5c1Stron    ,set)
18747b5fefc8Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
18757b5fefc8Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1876644fc5c1Stron      ac_cache_corrupted=: ;;
1877644fc5c1Stron    ,);;
1878644fc5c1Stron    *)
1879644fc5c1Stron      if test "x$ac_old_val" != "x$ac_new_val"; then
18802227fc13Smrg	# differences in whitespace do not lead to failure.
18812227fc13Smrg	ac_old_val_w=`echo x $ac_old_val`
18822227fc13Smrg	ac_new_val_w=`echo x $ac_new_val`
18832227fc13Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
18847b5fefc8Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
18857b5fefc8Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
18862227fc13Smrg	  ac_cache_corrupted=:
18872227fc13Smrg	else
18887b5fefc8Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
18897b5fefc8Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
18902227fc13Smrg	  eval $ac_var=\$ac_old_val
18912227fc13Smrg	fi
18927b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
18937b5fefc8Smrgprintf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
18947b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
18957b5fefc8Smrgprintf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
1896644fc5c1Stron      fi;;
1897644fc5c1Stron  esac
1898644fc5c1Stron  # Pass precious variables to config.status.
1899644fc5c1Stron  if test "$ac_new_set" = set; then
1900644fc5c1Stron    case $ac_new_val in
19017b5fefc8Smrg    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1902644fc5c1Stron    *) ac_arg=$ac_var=$ac_new_val ;;
1903644fc5c1Stron    esac
1904644fc5c1Stron    case " $ac_configure_args " in
1905644fc5c1Stron      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
19062227fc13Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1907644fc5c1Stron    esac
1908644fc5c1Stron  fi
1909644fc5c1Strondone
1910644fc5c1Stronif $ac_cache_corrupted; then
19117b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19127b5fefc8Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
19137b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
19147b5fefc8Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
19157b5fefc8Smrg  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
19167b5fefc8Smrg	    and start over" "$LINENO" 5
1917644fc5c1Stronfi
19182227fc13Smrg## -------------------- ##
19192227fc13Smrg## Main body of script. ##
19202227fc13Smrg## -------------------- ##
1921644fc5c1Stron
1922644fc5c1Stronac_ext=c
1923644fc5c1Stronac_cpp='$CPP $CPPFLAGS'
1924644fc5c1Stronac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1925644fc5c1Stronac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1926644fc5c1Stronac_compiler_gnu=$ac_cv_c_compiler_gnu
1927644fc5c1Stron
1928644fc5c1Stron
19297b5fefc8Smrgam__api_version='1.16'
19302227fc13Smrg
19312227fc13Smrg
1932644fc5c1Stron
19337b5fefc8Smrg  # Find a good install program.  We prefer a C program (faster),
1934644fc5c1Stron# so one script is as good as another.  But avoid the broken or
1935644fc5c1Stron# incompatible versions:
1936644fc5c1Stron# SysV /etc/install, /usr/sbin/install
1937644fc5c1Stron# SunOS /usr/etc/install
1938644fc5c1Stron# IRIX /sbin/install
1939644fc5c1Stron# AIX /bin/install
1940644fc5c1Stron# AmigaOS /C/install, which installs bootblocks on floppy discs
1941644fc5c1Stron# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1942644fc5c1Stron# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1943644fc5c1Stron# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1944644fc5c1Stron# OS/2's system install, which has a completely different semantic
1945644fc5c1Stron# ./install, which can be erroneously created by make from ./install.sh.
19462227fc13Smrg# Reject install programs that cannot install multiple files.
19477b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
19487b5fefc8Smrgprintf %s "checking for a BSD-compatible install... " >&6; }
1949644fc5c1Stronif test -z "$INSTALL"; then
19507b5fefc8Smrgif test ${ac_cv_path_install+y}
19517b5fefc8Smrgthen :
19527b5fefc8Smrg  printf %s "(cached) " >&6
19537b5fefc8Smrgelse $as_nop
1954644fc5c1Stron  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955644fc5c1Stronfor as_dir in $PATH
1956644fc5c1Strondo
1957644fc5c1Stron  IFS=$as_save_IFS
19587b5fefc8Smrg  case $as_dir in #(((
19597b5fefc8Smrg    '') as_dir=./ ;;
19607b5fefc8Smrg    */) ;;
19617b5fefc8Smrg    *) as_dir=$as_dir/ ;;
19627b5fefc8Smrg  esac
19637b5fefc8Smrg    # Account for fact that we put trailing slashes in our PATH walk.
19647b5fefc8Smrgcase $as_dir in #((
19657b5fefc8Smrg  ./ | /[cC]/* | \
1966644fc5c1Stron  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19672227fc13Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1968644fc5c1Stron  /usr/ucb/* ) ;;
1969644fc5c1Stron  *)
1970644fc5c1Stron    # OSF1 and SCO ODT 3.0 have their own names for install.
1971644fc5c1Stron    # Don't use installbsd from OSF since it installs stuff as root
1972644fc5c1Stron    # by default.
1973644fc5c1Stron    for ac_prog in ginstall scoinst install; do
1974644fc5c1Stron      for ac_exec_ext in '' $ac_executable_extensions; do
19757b5fefc8Smrg	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1976644fc5c1Stron	  if test $ac_prog = install &&
19777b5fefc8Smrg	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1978644fc5c1Stron	    # AIX install.  It has an incompatible calling convention.
1979644fc5c1Stron	    :
1980644fc5c1Stron	  elif test $ac_prog = install &&
19817b5fefc8Smrg	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1982644fc5c1Stron	    # program-specific install script used by HP pwplus--don't use.
1983644fc5c1Stron	    :
1984644fc5c1Stron	  else
19852227fc13Smrg	    rm -rf conftest.one conftest.two conftest.dir
19862227fc13Smrg	    echo one > conftest.one
19872227fc13Smrg	    echo two > conftest.two
19882227fc13Smrg	    mkdir conftest.dir
19897b5fefc8Smrg	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
19902227fc13Smrg	      test -s conftest.one && test -s conftest.two &&
19912227fc13Smrg	      test -s conftest.dir/conftest.one &&
19922227fc13Smrg	      test -s conftest.dir/conftest.two
19932227fc13Smrg	    then
19947b5fefc8Smrg	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
19952227fc13Smrg	      break 3
19962227fc13Smrg	    fi
1997644fc5c1Stron	  fi
1998644fc5c1Stron	fi
1999644fc5c1Stron      done
2000644fc5c1Stron    done
2001644fc5c1Stron    ;;
2002644fc5c1Stronesac
2003644fc5c1Stron
20042227fc13Smrg  done
20052227fc13SmrgIFS=$as_save_IFS
20062227fc13Smrg
20072227fc13Smrgrm -rf conftest.one conftest.two conftest.dir
2008644fc5c1Stron
2009644fc5c1Stronfi
20107b5fefc8Smrg  if test ${ac_cv_path_install+y}; then
2011644fc5c1Stron    INSTALL=$ac_cv_path_install
2012644fc5c1Stron  else
20132227fc13Smrg    # As a last resort, use the slow shell script.  Don't cache a
20142227fc13Smrg    # value for INSTALL within a source directory, because that will
2015644fc5c1Stron    # break other packages using the cache if that directory is
20162227fc13Smrg    # removed, or if the value is a relative name.
2017644fc5c1Stron    INSTALL=$ac_install_sh
2018644fc5c1Stron  fi
2019644fc5c1Stronfi
20207b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
20217b5fefc8Smrgprintf "%s\n" "$INSTALL" >&6; }
2022644fc5c1Stron
2023644fc5c1Stron# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2024644fc5c1Stron# It thinks the first close brace ends the variable substitution.
2025644fc5c1Strontest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2026644fc5c1Stron
2027644fc5c1Strontest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2028644fc5c1Stron
2029644fc5c1Strontest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2030644fc5c1Stron
20317b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
20327b5fefc8Smrgprintf %s "checking whether build environment is sane... " >&6; }
20332227fc13Smrg# Reject unsafe characters in $srcdir or the absolute working directory
20342227fc13Smrg# name.  Accept space and tab only in the latter.
20352227fc13Smrgam_lf='
20362227fc13Smrg'
20372227fc13Smrgcase `pwd` in
20382227fc13Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
20392227fc13Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
20402227fc13Smrgesac
20412227fc13Smrgcase $srcdir in
20422227fc13Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
20437b5fefc8Smrg    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
20442227fc13Smrgesac
20452227fc13Smrg
20467b5fefc8Smrg# Do 'set' in a subshell so we don't clobber the current shell's
2047644fc5c1Stron# arguments.  Must try -L first in case configure is actually a
2048644fc5c1Stron# symlink; some systems play weird games with the mod time of symlinks
2049644fc5c1Stron# (eg FreeBSD returns the mod time of the symlink's containing
2050644fc5c1Stron# directory).
2051644fc5c1Stronif (
20527b5fefc8Smrg   am_has_slept=no
20537b5fefc8Smrg   for am_try in 1 2; do
20547b5fefc8Smrg     echo "timestamp, slept: $am_has_slept" > conftest.file
20557b5fefc8Smrg     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
20567b5fefc8Smrg     if test "$*" = "X"; then
20577b5fefc8Smrg	# -L didn't work.
20587b5fefc8Smrg	set X `ls -t "$srcdir/configure" conftest.file`
20597b5fefc8Smrg     fi
20607b5fefc8Smrg     if test "$*" != "X $srcdir/configure conftest.file" \
20617b5fefc8Smrg	&& test "$*" != "X conftest.file $srcdir/configure"; then
20627b5fefc8Smrg
20637b5fefc8Smrg	# If neither matched, then we have a broken ls.  This can happen
20647b5fefc8Smrg	# if, for instance, CONFIG_SHELL is bash and it inherits a
20657b5fefc8Smrg	# broken ls alias from the environment.  This has actually
20667b5fefc8Smrg	# happened.  Such a system could not be considered "sane".
20677b5fefc8Smrg	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
20687b5fefc8Smrg  alias in your environment" "$LINENO" 5
20697b5fefc8Smrg     fi
20707b5fefc8Smrg     if test "$2" = conftest.file || test $am_try -eq 2; then
20717b5fefc8Smrg       break
20727b5fefc8Smrg     fi
20737b5fefc8Smrg     # Just in case.
20747b5fefc8Smrg     sleep 1
20757b5fefc8Smrg     am_has_slept=yes
20767b5fefc8Smrg   done
2077644fc5c1Stron   test "$2" = conftest.file
2078644fc5c1Stron   )
2079644fc5c1Stronthen
2080644fc5c1Stron   # Ok.
2081644fc5c1Stron   :
2082644fc5c1Stronelse
20832227fc13Smrg   as_fn_error $? "newly created file is older than distributed files!
20842227fc13SmrgCheck your system clock" "$LINENO" 5
2085644fc5c1Stronfi
20867b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20877b5fefc8Smrgprintf "%s\n" "yes" >&6; }
20887b5fefc8Smrg# If we didn't sleep, we still need to ensure time stamps of config.status and
20897b5fefc8Smrg# generated files are strictly newer.
20907b5fefc8Smrgam_sleep_pid=
20917b5fefc8Smrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then
20927b5fefc8Smrg  ( sleep 1 ) &
20937b5fefc8Smrg  am_sleep_pid=$!
20947b5fefc8Smrgfi
20957b5fefc8Smrg
20967b5fefc8Smrgrm -f conftest.file
20977b5fefc8Smrg
2098644fc5c1Strontest "$program_prefix" != NONE &&
20992227fc13Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2100644fc5c1Stron# Use a double $ so make ignores it.
2101644fc5c1Strontest "$program_suffix" != NONE &&
21022227fc13Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
21032227fc13Smrg# Double any \ or $.
2104644fc5c1Stron# By default was `s,x,x', remove it if useless.
21052227fc13Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
21067b5fefc8Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2107644fc5c1Stron
2108644fc5c1Stron
21097b5fefc8Smrg# Expand $ac_aux_dir to an absolute path.
21107b5fefc8Smrgam_aux_dir=`cd "$ac_aux_dir" && pwd`
21117b5fefc8Smrg
21127b5fefc8Smrg
21137b5fefc8Smrg  if test x"${MISSING+set}" != xset; then
21147b5fefc8Smrg  MISSING="\${SHELL} '$am_aux_dir/missing'"
21152227fc13Smrgfi
2116644fc5c1Stron# Use eval to expand $SHELL
21177b5fefc8Smrgif eval "$MISSING --is-lightweight"; then
21187b5fefc8Smrg  am_missing_run="$MISSING "
2119644fc5c1Stronelse
2120644fc5c1Stron  am_missing_run=
21217b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
21227b5fefc8Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
21232227fc13Smrgfi
21242227fc13Smrg
21257b5fefc8Smrgif test x"${install_sh+set}" != xset; then
21262227fc13Smrg  case $am_aux_dir in
21272227fc13Smrg  *\ * | *\	*)
21282227fc13Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
21292227fc13Smrg  *)
21302227fc13Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
21312227fc13Smrg  esac
21322227fc13Smrgfi
21332227fc13Smrg
21347b5fefc8Smrg# Installed binaries are usually stripped using 'strip' when the user
21357b5fefc8Smrg# run "make install-strip".  However 'strip' might not be the right
21362227fc13Smrg# tool to use in cross-compilation environments, therefore Automake
21377b5fefc8Smrg# will honor the 'STRIP' environment variable to overrule this program.
21382227fc13Smrgif test "$cross_compiling" != no; then
21392227fc13Smrg  if test -n "$ac_tool_prefix"; then
21402227fc13Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21412227fc13Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21427b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21437b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
21447b5fefc8Smrgif test ${ac_cv_prog_STRIP+y}
21457b5fefc8Smrgthen :
21467b5fefc8Smrg  printf %s "(cached) " >&6
21477b5fefc8Smrgelse $as_nop
21482227fc13Smrg  if test -n "$STRIP"; then
21492227fc13Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21502227fc13Smrgelse
21512227fc13Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21522227fc13Smrgfor as_dir in $PATH
21532227fc13Smrgdo
21542227fc13Smrg  IFS=$as_save_IFS
21557b5fefc8Smrg  case $as_dir in #(((
21567b5fefc8Smrg    '') as_dir=./ ;;
21577b5fefc8Smrg    */) ;;
21587b5fefc8Smrg    *) as_dir=$as_dir/ ;;
21597b5fefc8Smrg  esac
21602227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
21617b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21622227fc13Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21637b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21642227fc13Smrg    break 2
21652227fc13Smrg  fi
21662227fc13Smrgdone
21672227fc13Smrg  done
21682227fc13SmrgIFS=$as_save_IFS
21692227fc13Smrg
21702227fc13Smrgfi
21712227fc13Smrgfi
21722227fc13SmrgSTRIP=$ac_cv_prog_STRIP
21732227fc13Smrgif test -n "$STRIP"; then
21747b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
21757b5fefc8Smrgprintf "%s\n" "$STRIP" >&6; }
21762227fc13Smrgelse
21777b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21787b5fefc8Smrgprintf "%s\n" "no" >&6; }
21792227fc13Smrgfi
21802227fc13Smrg
21812227fc13Smrg
21822227fc13Smrgfi
21832227fc13Smrgif test -z "$ac_cv_prog_STRIP"; then
21842227fc13Smrg  ac_ct_STRIP=$STRIP
21852227fc13Smrg  # Extract the first word of "strip", so it can be a program name with args.
21862227fc13Smrgset dummy strip; ac_word=$2
21877b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21887b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
21897b5fefc8Smrgif test ${ac_cv_prog_ac_ct_STRIP+y}
21907b5fefc8Smrgthen :
21917b5fefc8Smrg  printf %s "(cached) " >&6
21927b5fefc8Smrgelse $as_nop
21932227fc13Smrg  if test -n "$ac_ct_STRIP"; then
21942227fc13Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21952227fc13Smrgelse
21962227fc13Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21972227fc13Smrgfor as_dir in $PATH
21982227fc13Smrgdo
21992227fc13Smrg  IFS=$as_save_IFS
22007b5fefc8Smrg  case $as_dir in #(((
22017b5fefc8Smrg    '') as_dir=./ ;;
22027b5fefc8Smrg    */) ;;
22037b5fefc8Smrg    *) as_dir=$as_dir/ ;;
22047b5fefc8Smrg  esac
22052227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
22067b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22072227fc13Smrg    ac_cv_prog_ac_ct_STRIP="strip"
22087b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22092227fc13Smrg    break 2
22102227fc13Smrg  fi
22112227fc13Smrgdone
22122227fc13Smrg  done
22132227fc13SmrgIFS=$as_save_IFS
22142227fc13Smrg
22152227fc13Smrgfi
22162227fc13Smrgfi
22172227fc13Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
22182227fc13Smrgif test -n "$ac_ct_STRIP"; then
22197b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
22207b5fefc8Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; }
22212227fc13Smrgelse
22227b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22237b5fefc8Smrgprintf "%s\n" "no" >&6; }
22242227fc13Smrgfi
22252227fc13Smrg
22262227fc13Smrg  if test "x$ac_ct_STRIP" = x; then
22272227fc13Smrg    STRIP=":"
22282227fc13Smrg  else
22292227fc13Smrg    case $cross_compiling:$ac_tool_warned in
22302227fc13Smrgyes:)
22317b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22327b5fefc8Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22332227fc13Smrgac_tool_warned=yes ;;
22342227fc13Smrgesac
22352227fc13Smrg    STRIP=$ac_ct_STRIP
22362227fc13Smrg  fi
22372227fc13Smrgelse
22382227fc13Smrg  STRIP="$ac_cv_prog_STRIP"
22392227fc13Smrgfi
22402227fc13Smrg
22412227fc13Smrgfi
22422227fc13SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22432227fc13Smrg
22447b5fefc8Smrg
22457b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
22467b5fefc8Smrgprintf %s "checking for a race-free mkdir -p... " >&6; }
22472227fc13Smrgif test -z "$MKDIR_P"; then
22487b5fefc8Smrg  if test ${ac_cv_path_mkdir+y}
22497b5fefc8Smrgthen :
22507b5fefc8Smrg  printf %s "(cached) " >&6
22517b5fefc8Smrgelse $as_nop
22522227fc13Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22532227fc13Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
22542227fc13Smrgdo
22552227fc13Smrg  IFS=$as_save_IFS
22567b5fefc8Smrg  case $as_dir in #(((
22577b5fefc8Smrg    '') as_dir=./ ;;
22587b5fefc8Smrg    */) ;;
22597b5fefc8Smrg    *) as_dir=$as_dir/ ;;
22607b5fefc8Smrg  esac
22612227fc13Smrg    for ac_prog in mkdir gmkdir; do
22622227fc13Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
22637b5fefc8Smrg	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
22647b5fefc8Smrg	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
22657b5fefc8Smrg	     'mkdir ('*'coreutils) '* | \
22667b5fefc8Smrg	     'BusyBox '* | \
22672227fc13Smrg	     'mkdir (fileutils) '4.1*)
22687b5fefc8Smrg	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
22692227fc13Smrg	       break 3;;
22702227fc13Smrg	   esac
22712227fc13Smrg	 done
22722227fc13Smrg       done
22732227fc13Smrg  done
22742227fc13SmrgIFS=$as_save_IFS
22752227fc13Smrg
22762227fc13Smrgfi
22772227fc13Smrg
22782227fc13Smrg  test -d ./--version && rmdir ./--version
22797b5fefc8Smrg  if test ${ac_cv_path_mkdir+y}; then
22802227fc13Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
22812227fc13Smrg  else
22822227fc13Smrg    # As a last resort, use the slow shell script.  Don't cache a
22832227fc13Smrg    # value for MKDIR_P within a source directory, because that will
22842227fc13Smrg    # break other packages using the cache if that directory is
22852227fc13Smrg    # removed, or if the value is a relative name.
22862227fc13Smrg    MKDIR_P="$ac_install_sh -d"
22872227fc13Smrg  fi
2288644fc5c1Stronfi
22897b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
22907b5fefc8Smrgprintf "%s\n" "$MKDIR_P" >&6; }
2291644fc5c1Stron
2292644fc5c1Stronfor ac_prog in gawk mawk nawk awk
2293644fc5c1Strondo
2294644fc5c1Stron  # Extract the first word of "$ac_prog", so it can be a program name with args.
2295644fc5c1Stronset dummy $ac_prog; ac_word=$2
22967b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22977b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
22987b5fefc8Smrgif test ${ac_cv_prog_AWK+y}
22997b5fefc8Smrgthen :
23007b5fefc8Smrg  printf %s "(cached) " >&6
23017b5fefc8Smrgelse $as_nop
2302644fc5c1Stron  if test -n "$AWK"; then
2303644fc5c1Stron  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2304644fc5c1Stronelse
2305644fc5c1Stronas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306644fc5c1Stronfor as_dir in $PATH
2307644fc5c1Strondo
2308644fc5c1Stron  IFS=$as_save_IFS
23097b5fefc8Smrg  case $as_dir in #(((
23107b5fefc8Smrg    '') as_dir=./ ;;
23117b5fefc8Smrg    */) ;;
23127b5fefc8Smrg    *) as_dir=$as_dir/ ;;
23137b5fefc8Smrg  esac
23142227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
23157b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2316644fc5c1Stron    ac_cv_prog_AWK="$ac_prog"
23177b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2318644fc5c1Stron    break 2
2319644fc5c1Stron  fi
2320644fc5c1Strondone
23212227fc13Smrg  done
23222227fc13SmrgIFS=$as_save_IFS
2323644fc5c1Stron
2324644fc5c1Stronfi
2325644fc5c1Stronfi
2326644fc5c1StronAWK=$ac_cv_prog_AWK
2327644fc5c1Stronif test -n "$AWK"; then
23287b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
23297b5fefc8Smrgprintf "%s\n" "$AWK" >&6; }
2330644fc5c1Stronelse
23317b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23327b5fefc8Smrgprintf "%s\n" "no" >&6; }
2333644fc5c1Stronfi
2334644fc5c1Stron
23352227fc13Smrg
2336644fc5c1Stron  test -n "$AWK" && break
2337644fc5c1Strondone
2338644fc5c1Stron
23397b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
23407b5fefc8Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
23412227fc13Smrgset x ${MAKE-make}
23427b5fefc8Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
23437b5fefc8Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y}
23447b5fefc8Smrgthen :
23457b5fefc8Smrg  printf %s "(cached) " >&6
23467b5fefc8Smrgelse $as_nop
2347644fc5c1Stron  cat >conftest.make <<\_ACEOF
23482227fc13SmrgSHELL = /bin/sh
2349644fc5c1Stronall:
23502227fc13Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2351644fc5c1Stron_ACEOF
23522227fc13Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
23532227fc13Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
23542227fc13Smrg  *@@@%%%=?*=@@@%%%*)
23552227fc13Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
23562227fc13Smrg  *)
23572227fc13Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
23582227fc13Smrgesac
2359644fc5c1Stronrm -f conftest.make
2360644fc5c1Stronfi
23612227fc13Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
23627b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23637b5fefc8Smrgprintf "%s\n" "yes" >&6; }
2364644fc5c1Stron  SET_MAKE=
2365644fc5c1Stronelse
23667b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23677b5fefc8Smrgprintf "%s\n" "no" >&6; }
2368644fc5c1Stron  SET_MAKE="MAKE=${MAKE-make}"
2369644fc5c1Stronfi
2370644fc5c1Stron
2371644fc5c1Stronrm -rf .tst 2>/dev/null
2372644fc5c1Stronmkdir .tst 2>/dev/null
2373644fc5c1Stronif test -d .tst; then
2374644fc5c1Stron  am__leading_dot=.
2375644fc5c1Stronelse
2376644fc5c1Stron  am__leading_dot=_
2377644fc5c1Stronfi
2378644fc5c1Stronrmdir .tst 2>/dev/null
2379644fc5c1Stron
23807b5fefc8Smrg# Check whether --enable-silent-rules was given.
23817b5fefc8Smrgif test ${enable_silent_rules+y}
23827b5fefc8Smrgthen :
23837b5fefc8Smrg  enableval=$enable_silent_rules;
23847b5fefc8Smrgfi
23857b5fefc8Smrg
23867b5fefc8Smrgcase $enable_silent_rules in # (((
23877b5fefc8Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
23887b5fefc8Smrg   no) AM_DEFAULT_VERBOSITY=1;;
23897b5fefc8Smrg    *) AM_DEFAULT_VERBOSITY=1;;
23907b5fefc8Smrgesac
23917b5fefc8Smrgam_make=${MAKE-make}
23927b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
23937b5fefc8Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
23947b5fefc8Smrgif test ${am_cv_make_support_nested_variables+y}
23957b5fefc8Smrgthen :
23967b5fefc8Smrg  printf %s "(cached) " >&6
23977b5fefc8Smrgelse $as_nop
23987b5fefc8Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
23997b5fefc8SmrgBAR0=false
24007b5fefc8SmrgBAR1=true
24017b5fefc8SmrgV=1
24027b5fefc8Smrgam__doit:
24037b5fefc8Smrg	@$(TRUE)
24047b5fefc8Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
24057b5fefc8Smrg  am_cv_make_support_nested_variables=yes
24067b5fefc8Smrgelse
24077b5fefc8Smrg  am_cv_make_support_nested_variables=no
24087b5fefc8Smrgfi
24097b5fefc8Smrgfi
24107b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
24117b5fefc8Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
24127b5fefc8Smrgif test $am_cv_make_support_nested_variables = yes; then
24137b5fefc8Smrg    AM_V='$(V)'
24147b5fefc8Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
24157b5fefc8Smrgelse
24167b5fefc8Smrg  AM_V=$AM_DEFAULT_VERBOSITY
24177b5fefc8Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
24187b5fefc8Smrgfi
24197b5fefc8SmrgAM_BACKSLASH='\'
24207b5fefc8Smrg
24212227fc13Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
24222227fc13Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
24232227fc13Smrg  # is not polluted with repeated "-I."
24242227fc13Smrg  am__isrc=' -I$(srcdir)'
24252227fc13Smrg  # test to see if srcdir already configured
24262227fc13Smrg  if test -f $srcdir/config.status; then
24272227fc13Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
24282227fc13Smrg  fi
2429644fc5c1Stronfi
2430644fc5c1Stron
2431644fc5c1Stron# test whether we have cygpath
2432644fc5c1Stronif test -z "$CYGPATH_W"; then
2433644fc5c1Stron  if (cygpath --version) >/dev/null 2>/dev/null; then
2434644fc5c1Stron    CYGPATH_W='cygpath -w'
2435644fc5c1Stron  else
2436644fc5c1Stron    CYGPATH_W=echo
2437644fc5c1Stron  fi
2438644fc5c1Stronfi
2439644fc5c1Stron
2440644fc5c1Stron
2441644fc5c1Stron# Define the identity of the package.
2442644fc5c1Stron PACKAGE='font-sony-misc'
24437b5fefc8Smrg VERSION='1.0.4'
2444644fc5c1Stron
2445644fc5c1Stron
24467b5fefc8Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2447644fc5c1Stron
2448644fc5c1Stron
24497b5fefc8Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2450644fc5c1Stron
2451644fc5c1Stron# Some tools Automake needs.
2452644fc5c1Stron
2453644fc5c1StronACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2454644fc5c1Stron
2455644fc5c1Stron
2456644fc5c1StronAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2457644fc5c1Stron
2458644fc5c1Stron
2459644fc5c1StronAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2460644fc5c1Stron
2461644fc5c1Stron
2462644fc5c1StronAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2463644fc5c1Stron
2464644fc5c1Stron
2465644fc5c1StronMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2466644fc5c1Stron
24677b5fefc8Smrg# For better backward compatibility.  To be removed once Automake 1.9.x
24687b5fefc8Smrg# dies out for good.  For more background, see:
24697b5fefc8Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
24707b5fefc8Smrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
24717b5fefc8Smrgmkdir_p='$(MKDIR_P)'
2472644fc5c1Stron
24737b5fefc8Smrg# We need awk for the "check" target (and possibly the TAP driver).  The
24747b5fefc8Smrg# system "awk" is bad on some platforms.
24757b5fefc8Smrg# Always define AMTAR for backward compatibility.  Yes, it's still used
24767b5fefc8Smrg# in the wild :-(  We should find a proper way to deprecate it ...
24777b5fefc8SmrgAMTAR='$${TAR-tar}'
2478644fc5c1Stron
2479644fc5c1Stron
24807b5fefc8Smrg# We'll loop over all known methods to create a tar archive until one works.
24817b5fefc8Smrg_am_tools='gnutar  pax cpio none'
24822227fc13Smrg
24837b5fefc8Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
24842227fc13Smrg
24852227fc13Smrg
24862227fc13Smrg
24872227fc13Smrg
24887b5fefc8Smrg
24897b5fefc8Smrg# Variables for tags utilities; see am/tags.am
24907b5fefc8Smrgif test -z "$CTAGS"; then
24917b5fefc8Smrg  CTAGS=ctags
24922227fc13Smrgfi
24932227fc13Smrg
24947b5fefc8Smrgif test -z "$ETAGS"; then
24957b5fefc8Smrg  ETAGS=etags
24962227fc13Smrgfi
24972227fc13Smrg
24987b5fefc8Smrgif test -z "$CSCOPE"; then
24997b5fefc8Smrg  CSCOPE=cscope
25007b5fefc8Smrgfi
25012227fc13Smrg
25022227fc13Smrg
25032227fc13Smrg
25047b5fefc8Smrg# POSIX will say in a future version that running "rm -f" with no argument
25057b5fefc8Smrg# is OK; and we want to be able to make that assumption in our Makefile
25067b5fefc8Smrg# recipes.  So use an aggressive probe to check that the usage we want is
25077b5fefc8Smrg# actually supported "in the wild" to an acceptable degree.
25087b5fefc8Smrg# See automake bug#10828.
25097b5fefc8Smrg# To make any issue more visible, cause the running configure to be aborted
25107b5fefc8Smrg# by default if the 'rm' program in use doesn't match our expectations; the
25117b5fefc8Smrg# user can still override this though.
25127b5fefc8Smrgif rm -f && rm -fr && rm -rf; then : OK; else
25137b5fefc8Smrg  cat >&2 <<'END'
25147b5fefc8SmrgOops!
25152227fc13Smrg
25167b5fefc8SmrgYour 'rm' program seems unable to run without file operands specified
25177b5fefc8Smrgon the command line, even when the '-f' option is present.  This is contrary
25187b5fefc8Smrgto the behaviour of most rm programs out there, and not conforming with
25197b5fefc8Smrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
25202227fc13Smrg
25217b5fefc8SmrgPlease tell bug-automake@gnu.org about your system, including the value
25227b5fefc8Smrgof your $PATH and any error possibly output before this message.  This
25237b5fefc8Smrgcan help us improve future automake versions.
25242227fc13Smrg
25257b5fefc8SmrgEND
25267b5fefc8Smrg  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
25277b5fefc8Smrg    echo 'Configuration will proceed anyway, since you have set the' >&2
25287b5fefc8Smrg    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
25297b5fefc8Smrg    echo >&2
25307b5fefc8Smrg  else
25317b5fefc8Smrg    cat >&2 <<'END'
25327b5fefc8SmrgAborting the configuration process, to ensure you take notice of the issue.
25332227fc13Smrg
25347b5fefc8SmrgYou can download and install GNU coreutils to get an 'rm' implementation
25357b5fefc8Smrgthat behaves properly: <https://www.gnu.org/software/coreutils/>.
25362227fc13Smrg
25377b5fefc8SmrgIf you want to complete the configuration process using your problematic
25387b5fefc8Smrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
25397b5fefc8Smrgto "yes", and re-run configure.
25402227fc13Smrg
25417b5fefc8SmrgEND
25427b5fefc8Smrg    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
25437b5fefc8Smrg  fi
25447b5fefc8Smrgfi
25452227fc13Smrg
25462227fc13Smrg
25477b5fefc8Smrg# Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
25482227fc13Smrg
25492227fc13Smrg
25502227fc13Smrg
25512227fc13Smrg
25522227fc13Smrg
25532227fc13Smrg
25542227fc13Smrg
25552227fc13Smrg
25562227fc13Smrg
25572227fc13Smrg
25582227fc13Smrg
25592227fc13Smrg
25602227fc13Smrg
25612227fc13Smrg
25622227fc13Smrg
25632227fc13Smrg
25642227fc13Smrg
25652227fc13Smrg
25662227fc13Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25672227fc13Smrg	if test -n "$ac_tool_prefix"; then
25682227fc13Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25692227fc13Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25707b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25717b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
25727b5fefc8Smrgif test ${ac_cv_path_PKG_CONFIG+y}
25737b5fefc8Smrgthen :
25747b5fefc8Smrg  printf %s "(cached) " >&6
25757b5fefc8Smrgelse $as_nop
25762227fc13Smrg  case $PKG_CONFIG in
25772227fc13Smrg  [\\/]* | ?:[\\/]*)
25782227fc13Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25792227fc13Smrg  ;;
25802227fc13Smrg  *)
25812227fc13Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25822227fc13Smrgfor as_dir in $PATH
25832227fc13Smrgdo
25842227fc13Smrg  IFS=$as_save_IFS
25857b5fefc8Smrg  case $as_dir in #(((
25867b5fefc8Smrg    '') as_dir=./ ;;
25877b5fefc8Smrg    */) ;;
25887b5fefc8Smrg    *) as_dir=$as_dir/ ;;
25897b5fefc8Smrg  esac
25902227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
25917b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25927b5fefc8Smrg    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
25937b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25942227fc13Smrg    break 2
25952227fc13Smrg  fi
25962227fc13Smrgdone
25972227fc13Smrg  done
25982227fc13SmrgIFS=$as_save_IFS
25992227fc13Smrg
26002227fc13Smrg  ;;
26012227fc13Smrgesac
26022227fc13Smrgfi
26032227fc13SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
26042227fc13Smrgif test -n "$PKG_CONFIG"; then
26057b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26067b5fefc8Smrgprintf "%s\n" "$PKG_CONFIG" >&6; }
26072227fc13Smrgelse
26087b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26097b5fefc8Smrgprintf "%s\n" "no" >&6; }
26102227fc13Smrgfi
26112227fc13Smrg
26122227fc13Smrg
26132227fc13Smrgfi
26142227fc13Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
26152227fc13Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
26162227fc13Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
26172227fc13Smrgset dummy pkg-config; ac_word=$2
26187b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26197b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
26207b5fefc8Smrgif test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
26217b5fefc8Smrgthen :
26227b5fefc8Smrg  printf %s "(cached) " >&6
26237b5fefc8Smrgelse $as_nop
26242227fc13Smrg  case $ac_pt_PKG_CONFIG in
26252227fc13Smrg  [\\/]* | ?:[\\/]*)
26262227fc13Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26272227fc13Smrg  ;;
26282227fc13Smrg  *)
26292227fc13Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26302227fc13Smrgfor as_dir in $PATH
26312227fc13Smrgdo
26322227fc13Smrg  IFS=$as_save_IFS
26337b5fefc8Smrg  case $as_dir in #(((
26347b5fefc8Smrg    '') as_dir=./ ;;
26357b5fefc8Smrg    */) ;;
26367b5fefc8Smrg    *) as_dir=$as_dir/ ;;
26377b5fefc8Smrg  esac
26382227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
26397b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
26407b5fefc8Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
26417b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26422227fc13Smrg    break 2
26432227fc13Smrg  fi
26442227fc13Smrgdone
26452227fc13Smrg  done
26462227fc13SmrgIFS=$as_save_IFS
26472227fc13Smrg
26482227fc13Smrg  ;;
26492227fc13Smrgesac
26502227fc13Smrgfi
26512227fc13Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26522227fc13Smrgif test -n "$ac_pt_PKG_CONFIG"; then
26537b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26547b5fefc8Smrgprintf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
26552227fc13Smrgelse
26567b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26577b5fefc8Smrgprintf "%s\n" "no" >&6; }
26582227fc13Smrgfi
26592227fc13Smrg
26602227fc13Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
26612227fc13Smrg    PKG_CONFIG=""
26622227fc13Smrg  else
26632227fc13Smrg    case $cross_compiling:$ac_tool_warned in
26642227fc13Smrgyes:)
26657b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26667b5fefc8Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26672227fc13Smrgac_tool_warned=yes ;;
26682227fc13Smrgesac
26692227fc13Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
26702227fc13Smrg  fi
26712227fc13Smrgelse
26722227fc13Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26732227fc13Smrgfi
26742227fc13Smrg
26752227fc13Smrgfi
26762227fc13Smrgif test -n "$PKG_CONFIG"; then
26772227fc13Smrg	_pkg_min_version=0.9.0
26787b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26797b5fefc8Smrgprintf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26802227fc13Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26817b5fefc8Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26827b5fefc8Smrgprintf "%s\n" "yes" >&6; }
26832227fc13Smrg	else
26847b5fefc8Smrg		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26857b5fefc8Smrgprintf "%s\n" "no" >&6; }
26862227fc13Smrg		PKG_CONFIG=""
26872227fc13Smrg	fi
26882227fc13Smrgfi
26892227fc13Smrg
26907b5fefc8Smrg
26917b5fefc8Smrg  # Make sure we can run config.sub.
26927b5fefc8Smrg$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
26937b5fefc8Smrg  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
26947b5fefc8Smrg
26957b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
26967b5fefc8Smrgprintf %s "checking build system type... " >&6; }
26977b5fefc8Smrgif test ${ac_cv_build+y}
26987b5fefc8Smrgthen :
26997b5fefc8Smrg  printf %s "(cached) " >&6
27007b5fefc8Smrgelse $as_nop
27012227fc13Smrg  ac_build_alias=$build_alias
27022227fc13Smrgtest "x$ac_build_alias" = x &&
27037b5fefc8Smrg  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
27042227fc13Smrgtest "x$ac_build_alias" = x &&
27052227fc13Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
27067b5fefc8Smrgac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
27077b5fefc8Smrg  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
27082227fc13Smrg
27092227fc13Smrgfi
27107b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
27117b5fefc8Smrgprintf "%s\n" "$ac_cv_build" >&6; }
27122227fc13Smrgcase $ac_cv_build in
27132227fc13Smrg*-*-*) ;;
27142227fc13Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
27152227fc13Smrgesac
27162227fc13Smrgbuild=$ac_cv_build
27172227fc13Smrgac_save_IFS=$IFS; IFS='-'
27182227fc13Smrgset x $ac_cv_build
27192227fc13Smrgshift
27202227fc13Smrgbuild_cpu=$1
27212227fc13Smrgbuild_vendor=$2
27222227fc13Smrgshift; shift
27232227fc13Smrg# Remember, the first character of IFS is used to create $*,
27242227fc13Smrg# except with old shells:
27252227fc13Smrgbuild_os=$*
27262227fc13SmrgIFS=$ac_save_IFS
27272227fc13Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
27282227fc13Smrg
27292227fc13Smrg
27307b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
27317b5fefc8Smrgprintf %s "checking host system type... " >&6; }
27327b5fefc8Smrgif test ${ac_cv_host+y}
27337b5fefc8Smrgthen :
27347b5fefc8Smrg  printf %s "(cached) " >&6
27357b5fefc8Smrgelse $as_nop
27362227fc13Smrg  if test "x$host_alias" = x; then
27372227fc13Smrg  ac_cv_host=$ac_cv_build
27382227fc13Smrgelse
27397b5fefc8Smrg  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
27407b5fefc8Smrg    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
27412227fc13Smrgfi
27422227fc13Smrg
27432227fc13Smrgfi
27447b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
27457b5fefc8Smrgprintf "%s\n" "$ac_cv_host" >&6; }
27462227fc13Smrgcase $ac_cv_host in
27472227fc13Smrg*-*-*) ;;
27482227fc13Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
27492227fc13Smrgesac
27502227fc13Smrghost=$ac_cv_host
27512227fc13Smrgac_save_IFS=$IFS; IFS='-'
27522227fc13Smrgset x $ac_cv_host
27532227fc13Smrgshift
27542227fc13Smrghost_cpu=$1
27552227fc13Smrghost_vendor=$2
27562227fc13Smrgshift; shift
27572227fc13Smrg# Remember, the first character of IFS is used to create $*,
27582227fc13Smrg# except with old shells:
27592227fc13Smrghost_os=$*
27602227fc13SmrgIFS=$ac_save_IFS
27612227fc13Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
27622227fc13Smrg
27632227fc13Smrg
27647b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
27657b5fefc8Smrgprintf %s "checking for a sed that does not truncate output... " >&6; }
27667b5fefc8Smrgif test ${ac_cv_path_SED+y}
27677b5fefc8Smrgthen :
27687b5fefc8Smrg  printf %s "(cached) " >&6
27697b5fefc8Smrgelse $as_nop
27702227fc13Smrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
27712227fc13Smrg     for ac_i in 1 2 3 4 5 6 7; do
27722227fc13Smrg       ac_script="$ac_script$as_nl$ac_script"
27732227fc13Smrg     done
27742227fc13Smrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
27752227fc13Smrg     { ac_script=; unset ac_script;}
27762227fc13Smrg     if test -z "$SED"; then
27772227fc13Smrg  ac_path_SED_found=false
27782227fc13Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
27792227fc13Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27802227fc13Smrgfor as_dir in $PATH
27812227fc13Smrgdo
27822227fc13Smrg  IFS=$as_save_IFS
27837b5fefc8Smrg  case $as_dir in #(((
27847b5fefc8Smrg    '') as_dir=./ ;;
27857b5fefc8Smrg    */) ;;
27867b5fefc8Smrg    *) as_dir=$as_dir/ ;;
27877b5fefc8Smrg  esac
27887b5fefc8Smrg    for ac_prog in sed gsed
27897b5fefc8Smrg   do
27902227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
27917b5fefc8Smrg      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
27927b5fefc8Smrg      as_fn_executable_p "$ac_path_SED" || continue
27932227fc13Smrg# Check for GNU ac_path_SED and select it if it is found.
27942227fc13Smrg  # Check for GNU $ac_path_SED
27952227fc13Smrgcase `"$ac_path_SED" --version 2>&1` in
27962227fc13Smrg*GNU*)
27972227fc13Smrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
27982227fc13Smrg*)
27992227fc13Smrg  ac_count=0
28007b5fefc8Smrg  printf %s 0123456789 >"conftest.in"
28012227fc13Smrg  while :
28022227fc13Smrg  do
28032227fc13Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
28042227fc13Smrg    mv "conftest.tmp" "conftest.in"
28052227fc13Smrg    cp "conftest.in" "conftest.nl"
28067b5fefc8Smrg    printf "%s\n" '' >> "conftest.nl"
28072227fc13Smrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
28082227fc13Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
28092227fc13Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
28102227fc13Smrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
28112227fc13Smrg      # Best one so far, save it but keep looking for a better one
28122227fc13Smrg      ac_cv_path_SED="$ac_path_SED"
28132227fc13Smrg      ac_path_SED_max=$ac_count
28142227fc13Smrg    fi
28152227fc13Smrg    # 10*(2^10) chars as input seems more than enough
28162227fc13Smrg    test $ac_count -gt 10 && break
28172227fc13Smrg  done
28182227fc13Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
28192227fc13Smrgesac
28202227fc13Smrg
28212227fc13Smrg      $ac_path_SED_found && break 3
28222227fc13Smrg    done
28232227fc13Smrg  done
28242227fc13Smrg  done
28252227fc13SmrgIFS=$as_save_IFS
28262227fc13Smrg  if test -z "$ac_cv_path_SED"; then
28272227fc13Smrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
28282227fc13Smrg  fi
28292227fc13Smrgelse
28302227fc13Smrg  ac_cv_path_SED=$SED
28312227fc13Smrgfi
28322227fc13Smrg
28332227fc13Smrgfi
28347b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
28357b5fefc8Smrgprintf "%s\n" "$ac_cv_path_SED" >&6; }
28362227fc13Smrg SED="$ac_cv_path_SED"
28372227fc13Smrg  rm -f conftest.sed
28382227fc13Smrg
28392227fc13Smrg
28402227fc13Smrg
28412227fc13Smrg
28422227fc13Smrg
28432227fc13Smrgcat >>confdefs.h <<_ACEOF
28442227fc13Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
28452227fc13Smrg_ACEOF
28462227fc13Smrg
28472227fc13Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
28482227fc13Smrg	if test "x$PVM" = "x"; then
28492227fc13Smrg		PVM="0"
28502227fc13Smrg	fi
28512227fc13Smrg
28527b5fefc8Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
28532227fc13Smrg
28542227fc13Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
28552227fc13Smrg	if test "x$PVP" = "x"; then
28562227fc13Smrg		PVP="0"
28572227fc13Smrg	fi
28582227fc13Smrg
28597b5fefc8Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
28602227fc13Smrg
28612227fc13Smrg
28622227fc13Smrg
28637b5fefc8SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
28642227fc13Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
28657b5fefc8Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
28667b5fefc8Smrgtouch \$(top_srcdir)/ChangeLog; \
28677b5fefc8Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
28682227fc13Smrg
28692227fc13Smrg
28702227fc13Smrg
28712227fc13Smrg
28722227fc13Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
28732227fc13SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
28742227fc13Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
28757b5fefc8Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
28767b5fefc8Smrgtouch \$(top_srcdir)/INSTALL; \
28777b5fefc8Smrgecho 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
2878644fc5c1Stron
2879644fc5c1Stron
2880644fc5c1Stron
28812227fc13Smrg
28822227fc13Smrg
28832227fc13Smrg
28847b5fefc8Smrgcase $host_os in
28857b5fefc8Smrg    solaris*)
28867b5fefc8Smrg        # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
28877b5fefc8Smrg        # check for a man page file found in later versions that use
28887b5fefc8Smrg        # traditional section numbers instead
28897b5fefc8Smrg        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
28907b5fefc8Smrgprintf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
28917b5fefc8Smrgif test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
28927b5fefc8Smrgthen :
28937b5fefc8Smrg  printf %s "(cached) " >&6
28947b5fefc8Smrgelse $as_nop
28957b5fefc8Smrg  test "$cross_compiling" = yes &&
28967b5fefc8Smrg  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
28977b5fefc8Smrgif test -r "/usr/share/man/man7/attributes.7"; then
28987b5fefc8Smrg  ac_cv_file__usr_share_man_man7_attributes_7=yes
28997b5fefc8Smrgelse
29007b5fefc8Smrg  ac_cv_file__usr_share_man_man7_attributes_7=no
29017b5fefc8Smrgfi
29027b5fefc8Smrgfi
29037b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
29047b5fefc8Smrgprintf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
29057b5fefc8Smrgif test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
29067b5fefc8Smrgthen :
29077b5fefc8Smrg  SYSV_MAN_SECTIONS=false
29087b5fefc8Smrgelse $as_nop
29097b5fefc8Smrg  SYSV_MAN_SECTIONS=true
29107b5fefc8Smrgfi
29117b5fefc8Smrg
29127b5fefc8Smrg        ;;
29137b5fefc8Smrg    *) SYSV_MAN_SECTIONS=false ;;
29147b5fefc8Smrgesac
29157b5fefc8Smrg
29162227fc13Smrgif test x$APP_MAN_SUFFIX = x    ; then
29172227fc13Smrg    APP_MAN_SUFFIX=1
29182227fc13Smrgfi
29192227fc13Smrgif test x$APP_MAN_DIR = x    ; then
29202227fc13Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
29212227fc13Smrgfi
29222227fc13Smrg
29232227fc13Smrgif test x$LIB_MAN_SUFFIX = x    ; then
29242227fc13Smrg    LIB_MAN_SUFFIX=3
29252227fc13Smrgfi
29262227fc13Smrgif test x$LIB_MAN_DIR = x    ; then
29272227fc13Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
29282227fc13Smrgfi
29292227fc13Smrg
29302227fc13Smrgif test x$FILE_MAN_SUFFIX = x    ; then
29317b5fefc8Smrg    case $SYSV_MAN_SECTIONS in
29327b5fefc8Smrg	true)				FILE_MAN_SUFFIX=4  ;;
29337b5fefc8Smrg	*)				FILE_MAN_SUFFIX=5  ;;
29342227fc13Smrg    esac
29352227fc13Smrgfi
29362227fc13Smrgif test x$FILE_MAN_DIR = x    ; then
29372227fc13Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
29382227fc13Smrgfi
29392227fc13Smrg
29402227fc13Smrgif test x$MISC_MAN_SUFFIX = x    ; then
29417b5fefc8Smrg    case $SYSV_MAN_SECTIONS in
29427b5fefc8Smrg	true)				MISC_MAN_SUFFIX=5  ;;
29437b5fefc8Smrg	*)				MISC_MAN_SUFFIX=7  ;;
29442227fc13Smrg    esac
29452227fc13Smrgfi
29462227fc13Smrgif test x$MISC_MAN_DIR = x    ; then
29472227fc13Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
29482227fc13Smrgfi
29492227fc13Smrg
29502227fc13Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
29517b5fefc8Smrg    case $SYSV_MAN_SECTIONS in
29527b5fefc8Smrg	true)				DRIVER_MAN_SUFFIX=7  ;;
29537b5fefc8Smrg	*)				DRIVER_MAN_SUFFIX=4  ;;
29542227fc13Smrg    esac
29552227fc13Smrgfi
29562227fc13Smrgif test x$DRIVER_MAN_DIR = x    ; then
29572227fc13Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
29582227fc13Smrgfi
29592227fc13Smrg
29602227fc13Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
29617b5fefc8Smrg    case $SYSV_MAN_SECTIONS in
29627b5fefc8Smrg	true)				ADMIN_MAN_SUFFIX=1m ;;
29637b5fefc8Smrg	*)				ADMIN_MAN_SUFFIX=8  ;;
29642227fc13Smrg    esac
29652227fc13Smrgfi
29662227fc13Smrgif test x$ADMIN_MAN_DIR = x    ; then
29672227fc13Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
29682227fc13Smrgfi
29692227fc13Smrg
29702227fc13Smrg
29712227fc13Smrg
29722227fc13Smrg
29732227fc13Smrg
29742227fc13Smrg
29752227fc13Smrg
29762227fc13Smrg
29772227fc13Smrg
29782227fc13Smrg
29792227fc13Smrg
29802227fc13Smrg
29812227fc13Smrg
29822227fc13Smrg
29832227fc13Smrg
29842227fc13SmrgXORG_MAN_PAGE="X Version 11"
29852227fc13Smrg
29862227fc13SmrgMAN_SUBSTS="\
29872227fc13Smrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
29882227fc13Smrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
29892227fc13Smrg	-e 's|__xservername__|Xorg|g' \
29902227fc13Smrg	-e 's|__xconfigfile__|xorg.conf|g' \
29912227fc13Smrg	-e 's|__projectroot__|\$(prefix)|g' \
29922227fc13Smrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
29932227fc13Smrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
29942227fc13Smrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
29952227fc13Smrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
29962227fc13Smrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
29972227fc13Smrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
29982227fc13Smrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
29992227fc13Smrg
30002227fc13Smrg
30012227fc13Smrg
30022227fc13Smrg# Check whether --enable-silent-rules was given.
30037b5fefc8Smrgif test ${enable_silent_rules+y}
30047b5fefc8Smrgthen :
30052227fc13Smrg  enableval=$enable_silent_rules;
30062227fc13Smrgfi
30072227fc13Smrg
30087b5fefc8Smrgcase $enable_silent_rules in # (((
30097b5fefc8Smrg  yes) AM_DEFAULT_VERBOSITY=0;;
30107b5fefc8Smrg   no) AM_DEFAULT_VERBOSITY=1;;
30117b5fefc8Smrg    *) AM_DEFAULT_VERBOSITY=0;;
30122227fc13Smrgesac
30137b5fefc8Smrgam_make=${MAKE-make}
30147b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
30157b5fefc8Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
30167b5fefc8Smrgif test ${am_cv_make_support_nested_variables+y}
30177b5fefc8Smrgthen :
30187b5fefc8Smrg  printf %s "(cached) " >&6
30197b5fefc8Smrgelse $as_nop
30207b5fefc8Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
30217b5fefc8SmrgBAR0=false
30227b5fefc8SmrgBAR1=true
30237b5fefc8SmrgV=1
30247b5fefc8Smrgam__doit:
30257b5fefc8Smrg	@$(TRUE)
30267b5fefc8Smrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
30277b5fefc8Smrg  am_cv_make_support_nested_variables=yes
30287b5fefc8Smrgelse
30297b5fefc8Smrg  am_cv_make_support_nested_variables=no
30307b5fefc8Smrgfi
30317b5fefc8Smrgfi
30327b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
30337b5fefc8Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
30347b5fefc8Smrgif test $am_cv_make_support_nested_variables = yes; then
30357b5fefc8Smrg    AM_V='$(V)'
30367b5fefc8Smrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
30377b5fefc8Smrgelse
30387b5fefc8Smrg  AM_V=$AM_DEFAULT_VERBOSITY
30397b5fefc8Smrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
30407b5fefc8Smrgfi
30412227fc13SmrgAM_BACKSLASH='\'
30422227fc13Smrg
30432227fc13Smrg
30442227fc13Smrg
30457b5fefc8Smrg# Require X.Org's font util macros 1.4 or later for COMPRESS_FLAGS
30462227fc13Smrg
30472227fc13Smrg
30482227fc13Smrg
30492227fc13Smrg
30502227fc13Smrg
30512227fc13Smrg
30522227fc13Smrg
30532227fc13Smrg
30542227fc13Smrg
30552227fc13Smrg
30562227fc13Smrg
30572227fc13Smrg
30582227fc13Smrg
30592227fc13Smrg
30602227fc13Smrg
30617b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
30627b5fefc8Smrgprintf %s "checking for root directory for font files... " >&6; }
30632227fc13Smrg
30642227fc13Smrg# Check whether --with-fontrootdir was given.
30657b5fefc8Smrgif test ${with_fontrootdir+y}
30667b5fefc8Smrgthen :
30672227fc13Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
30682227fc13Smrgfi
30692227fc13Smrg
30702227fc13Smrg	# if --with-fontrootdir not specified...
30712227fc13Smrg	if test "x${FONTROOTDIR}" = "x"; then
30722227fc13Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
30732227fc13Smrg	fi
30742227fc13Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
30752227fc13Smrg	if test "x${FONTROOTDIR}" = "x"; then
30762227fc13Smrg		FONTROOTDIR="${datadir}/fonts/X11"
30772227fc13Smrg	fi
30782227fc13Smrg
30797b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
30807b5fefc8Smrgprintf "%s\n" "${FONTROOTDIR}" >&6; }
30812227fc13Smrg
30822227fc13Smrg
30832227fc13Smrg
30842227fc13Smrg
30857b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5
30867b5fefc8Smrgprintf %s "checking for directory for misc files... " >&6; }
30872227fc13Smrg
30882227fc13Smrg# Check whether --with-fontdir was given.
30897b5fefc8Smrgif test ${with_fontdir+y}
30907b5fefc8Smrgthen :
30912227fc13Smrg  withval=$with_fontdir; FONTDIR="${withval}"
30927b5fefc8Smrgelse $as_nop
30932227fc13Smrg  FONTDIR='${FONTROOTDIR}/misc'
3094644fc5c1Stronfi
3095644fc5c1Stron
3096644fc5c1Stron
30977b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5
30987b5fefc8Smrgprintf "%s\n" "${FONTDIR}" >&6; }
3099644fc5c1Stron
3100644fc5c1Stron
31012227fc13Smrg
31022227fc13Smrg
31032227fc13Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
31042227fc13Smrgset dummy fc-cache; ac_word=$2
31057b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31067b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
31077b5fefc8Smrgif test ${ac_cv_path_FCCACHE+y}
31087b5fefc8Smrgthen :
31097b5fefc8Smrg  printf %s "(cached) " >&6
31107b5fefc8Smrgelse $as_nop
31112227fc13Smrg  case $FCCACHE in
31122227fc13Smrg  [\\/]* | ?:[\\/]*)
31132227fc13Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
31142227fc13Smrg  ;;
31152227fc13Smrg  *)
3116644fc5c1Stron  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117644fc5c1Stronfor as_dir in $PATH
3118644fc5c1Strondo
3119644fc5c1Stron  IFS=$as_save_IFS
31207b5fefc8Smrg  case $as_dir in #(((
31217b5fefc8Smrg    '') as_dir=./ ;;
31227b5fefc8Smrg    */) ;;
31237b5fefc8Smrg    *) as_dir=$as_dir/ ;;
31247b5fefc8Smrg  esac
31252227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
31267b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31277b5fefc8Smrg    ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext"
31287b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31292227fc13Smrg    break 2
31302227fc13Smrg  fi
3131644fc5c1Strondone
31322227fc13Smrg  done
31332227fc13SmrgIFS=$as_save_IFS
3134644fc5c1Stron
31352227fc13Smrg  ;;
31362227fc13Smrgesac
3137644fc5c1Stronfi
31382227fc13SmrgFCCACHE=$ac_cv_path_FCCACHE
31392227fc13Smrgif test -n "$FCCACHE"; then
31407b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
31417b5fefc8Smrgprintf "%s\n" "$FCCACHE" >&6; }
31422227fc13Smrgelse
31437b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31447b5fefc8Smrgprintf "%s\n" "no" >&6; }
3145644fc5c1Stronfi
3146644fc5c1Stron
3147644fc5c1Stron
31482227fc13Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
31497b5fefc8Smrg	if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then
31502227fc13Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
31512227fc13Smrg	else
31522227fc13Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
31532227fc13Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
31542227fc13Smrg	fi
3155644fc5c1Stron
3156644fc5c1Stron
3157644fc5c1Stron
31587b5fefc8Smrg	if test x"$cross_compiling" != x"no" ; then
31597b5fefc8Smrg		# Extract the first word of "mkfontdir", so it can be a program name with args.
31602227fc13Smrgset dummy mkfontdir; ac_word=$2
31617b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31627b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
31637b5fefc8Smrgif test ${ac_cv_path_MKFONTDIR+y}
31647b5fefc8Smrgthen :
31657b5fefc8Smrg  printf %s "(cached) " >&6
31667b5fefc8Smrgelse $as_nop
31677b5fefc8Smrg  case $MKFONTDIR in
31687b5fefc8Smrg  [\\/]* | ?:[\\/]*)
31697b5fefc8Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
31707b5fefc8Smrg  ;;
31717b5fefc8Smrg  *)
31727b5fefc8Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31737b5fefc8Smrgfor as_dir in $PATH
31747b5fefc8Smrgdo
31757b5fefc8Smrg  IFS=$as_save_IFS
31767b5fefc8Smrg  case $as_dir in #(((
31777b5fefc8Smrg    '') as_dir=./ ;;
31787b5fefc8Smrg    */) ;;
31797b5fefc8Smrg    *) as_dir=$as_dir/ ;;
31807b5fefc8Smrg  esac
31817b5fefc8Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
31827b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31837b5fefc8Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
31847b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31857b5fefc8Smrg    break 2
31867b5fefc8Smrg  fi
31877b5fefc8Smrgdone
31887b5fefc8Smrg  done
31897b5fefc8SmrgIFS=$as_save_IFS
31907b5fefc8Smrg
31917b5fefc8Smrg  test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR=""""
31927b5fefc8Smrg  ;;
31937b5fefc8Smrgesac
31947b5fefc8Smrgfi
31957b5fefc8SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
31967b5fefc8Smrgif test -n "$MKFONTDIR"; then
31977b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
31987b5fefc8Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
3199644fc5c1Stronelse
32007b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32017b5fefc8Smrgprintf "%s\n" "no" >&6; }
32027b5fefc8Smrgfi
32037b5fefc8Smrg
32047b5fefc8Smrg
32057b5fefc8Smrg		MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"'
32067b5fefc8Smrg
32077b5fefc8Smrg		if test x"$MKFONTDIR" = x; then
32087b5fefc8Smrg			MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'"
32097b5fefc8Smrg		fi
32107b5fefc8Smrg	else
32117b5fefc8Smrg
32127b5fefc8Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
32137b5fefc8Smrgset dummy mkfontdir; ac_word=$2
32147b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32157b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
32167b5fefc8Smrgif test ${ac_cv_path_MKFONTDIR+y}
32177b5fefc8Smrgthen :
32187b5fefc8Smrg  printf %s "(cached) " >&6
32197b5fefc8Smrgelse $as_nop
32202227fc13Smrg  case $MKFONTDIR in
3221644fc5c1Stron  [\\/]* | ?:[\\/]*)
32222227fc13Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
3223644fc5c1Stron  ;;
3224644fc5c1Stron  *)
3225644fc5c1Stron  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226644fc5c1Stronfor as_dir in $PATH
3227644fc5c1Strondo
3228644fc5c1Stron  IFS=$as_save_IFS
32297b5fefc8Smrg  case $as_dir in #(((
32307b5fefc8Smrg    '') as_dir=./ ;;
32317b5fefc8Smrg    */) ;;
32327b5fefc8Smrg    *) as_dir=$as_dir/ ;;
32337b5fefc8Smrg  esac
32342227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
32357b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
32367b5fefc8Smrg    ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
32377b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3238644fc5c1Stron    break 2
3239644fc5c1Stron  fi
3240644fc5c1Strondone
32412227fc13Smrg  done
32422227fc13SmrgIFS=$as_save_IFS
3243644fc5c1Stron
3244644fc5c1Stron  ;;
3245644fc5c1Stronesac
3246644fc5c1Stronfi
32472227fc13SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
32482227fc13Smrgif test -n "$MKFONTDIR"; then
32497b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
32507b5fefc8Smrgprintf "%s\n" "$MKFONTDIR" >&6; }
3251644fc5c1Stronelse
32527b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32537b5fefc8Smrgprintf "%s\n" "no" >&6; }
3254644fc5c1Stronfi
3255644fc5c1Stron
32562227fc13Smrg
32572227fc13Smrg	if test x"$MKFONTDIR" = x; then
32582227fc13Smrg		as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5
32592227fc13Smrg	fi
32602227fc13Smrg
32617b5fefc8Smrg	fi
32627b5fefc8Smrg
32637b5fefc8Smrg
32647b5fefc8Smrg
32652227fc13Smrg
32662227fc13Smrg
32672227fc13Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
32682227fc13Smrgset dummy bdftopcf; ac_word=$2
32697b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32707b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
32717b5fefc8Smrgif test ${ac_cv_path_BDFTOPCF+y}
32727b5fefc8Smrgthen :
32737b5fefc8Smrg  printf %s "(cached) " >&6
32747b5fefc8Smrgelse $as_nop
32752227fc13Smrg  case $BDFTOPCF in
3276644fc5c1Stron  [\\/]* | ?:[\\/]*)
32772227fc13Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
3278644fc5c1Stron  ;;
3279644fc5c1Stron  *)
3280644fc5c1Stron  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281644fc5c1Stronfor as_dir in $PATH
3282644fc5c1Strondo
3283644fc5c1Stron  IFS=$as_save_IFS
32847b5fefc8Smrg  case $as_dir in #(((
32857b5fefc8Smrg    '') as_dir=./ ;;
32867b5fefc8Smrg    */) ;;
32877b5fefc8Smrg    *) as_dir=$as_dir/ ;;
32887b5fefc8Smrg  esac
32892227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
32907b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
32917b5fefc8Smrg    ac_cv_path_BDFTOPCF="$as_dir$ac_word$ac_exec_ext"
32927b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3293644fc5c1Stron    break 2
3294644fc5c1Stron  fi
3295644fc5c1Strondone
32962227fc13Smrg  done
32972227fc13SmrgIFS=$as_save_IFS
3298644fc5c1Stron
3299644fc5c1Stron  ;;
3300644fc5c1Stronesac
3301644fc5c1Stronfi
33022227fc13SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
33032227fc13Smrgif test -n "$BDFTOPCF"; then
33047b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5
33057b5fefc8Smrgprintf "%s\n" "$BDFTOPCF" >&6; }
33062227fc13Smrgelse
33077b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33087b5fefc8Smrgprintf "%s\n" "no" >&6; }
33092227fc13Smrgfi
33102227fc13Smrg
3311644fc5c1Stron
33122227fc13Smrg	if test x"$BDFTOPCF" = x; then
33132227fc13Smrg		as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5
33142227fc13Smrg	fi
33152227fc13Smrg
33162227fc13Smrg
33177b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5
33187b5fefc8Smrgprintf %s "checking font compression method... " >&6; }
33192227fc13Smrg
33202227fc13Smrg# Check whether --with-compression was given.
33217b5fefc8Smrgif test ${with_compression+y}
33227b5fefc8Smrgthen :
33232227fc13Smrg  withval=$with_compression; compression="$withval"
33247b5fefc8Smrgelse $as_nop
33252227fc13Smrg  compression="yes"
3326644fc5c1Stronfi
3327644fc5c1Stron
33282227fc13Smrg	if test x"$compression" = "xyes" ; then
33292227fc13Smrg		compression="gzip"
33302227fc13Smrg	fi
33317b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5
33327b5fefc8Smrgprintf "%s\n" "${compression}" >&6; }
33332227fc13Smrg	case ${compression} in
33342227fc13Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
33357b5fefc8Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;
33367b5fefc8Smrg			COMPRESS_FLAGS="${COMPRESS_FLAGS--n}" ;;
33372227fc13Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
33382227fc13Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
33392227fc13Smrg	 *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;;
33402227fc13Smrg	esac
33412227fc13Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
33422227fc13Smrg
33432227fc13Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
33442227fc13Smrgset dummy ${compression}; ac_word=$2
33457b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33467b5fefc8Smrgprintf %s "checking for $ac_word... " >&6; }
33477b5fefc8Smrgif test ${ac_cv_path_COMPRESS+y}
33487b5fefc8Smrgthen :
33497b5fefc8Smrg  printf %s "(cached) " >&6
33507b5fefc8Smrgelse $as_nop
33512227fc13Smrg  case $COMPRESS in
3352644fc5c1Stron  [\\/]* | ?:[\\/]*)
33532227fc13Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
3354644fc5c1Stron  ;;
3355644fc5c1Stron  *)
3356644fc5c1Stron  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357644fc5c1Stronfor as_dir in $PATH
3358644fc5c1Strondo
3359644fc5c1Stron  IFS=$as_save_IFS
33607b5fefc8Smrg  case $as_dir in #(((
33617b5fefc8Smrg    '') as_dir=./ ;;
33627b5fefc8Smrg    */) ;;
33637b5fefc8Smrg    *) as_dir=$as_dir/ ;;
33647b5fefc8Smrg  esac
33652227fc13Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
33667b5fefc8Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
33677b5fefc8Smrg    ac_cv_path_COMPRESS="$as_dir$ac_word$ac_exec_ext"
33687b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3369644fc5c1Stron    break 2
3370644fc5c1Stron  fi
3371644fc5c1Strondone
33722227fc13Smrg  done
33732227fc13SmrgIFS=$as_save_IFS
3374644fc5c1Stron
3375644fc5c1Stron  ;;
3376644fc5c1Stronesac
3377644fc5c1Stronfi
33782227fc13SmrgCOMPRESS=$ac_cv_path_COMPRESS
33792227fc13Smrgif test -n "$COMPRESS"; then
33807b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5
33817b5fefc8Smrgprintf "%s\n" "$COMPRESS" >&6; }
3382644fc5c1Stronelse
33837b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33847b5fefc8Smrgprintf "%s\n" "no" >&6; }
3385644fc5c1Stronfi
3386644fc5c1Stron
3387644fc5c1Stron
33882227fc13Smrg	if test x"$COMPRESS" = x; then
33892227fc13Smrg		as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5
33902227fc13Smrg	fi
3391644fc5c1Stron
33922227fc13Smrg	fi
33937b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking options to font compression command" >&5
33947b5fefc8Smrgprintf %s "checking options to font compression command... " >&6; }
33957b5fefc8Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${COMPRESS_FLAGS:-none}" >&5
33967b5fefc8Smrgprintf "%s\n" "${COMPRESS_FLAGS:-none}" >&6; }
33977b5fefc8Smrg
3398644fc5c1Stron
3399644fc5c1Stron
3400644fc5c1Stron
3401644fc5c1Stron
34022227fc13Smrgac_config_files="$ac_config_files Makefile"
3403644fc5c1Stron
3404644fc5c1Stroncat >confcache <<\_ACEOF
3405644fc5c1Stron# This file is a shell script that caches the results of configure
3406644fc5c1Stron# tests run on this system so they can be shared between configure
3407644fc5c1Stron# scripts and configure runs, see configure's option --config-cache.
3408644fc5c1Stron# It is not useful on other systems.  If it contains results you don't
3409644fc5c1Stron# want to keep, you may remove or edit it.
3410644fc5c1Stron#
3411644fc5c1Stron# config.status only pays attention to the cache file if you give it
3412644fc5c1Stron# the --recheck option to rerun configure.
3413644fc5c1Stron#
3414644fc5c1Stron# `ac_cv_env_foo' variables (set or unset) will be overridden when
3415644fc5c1Stron# loading this file, other *unset* `ac_cv_foo' will be assigned the
3416644fc5c1Stron# following values.
3417644fc5c1Stron
3418644fc5c1Stron_ACEOF
3419644fc5c1Stron
3420644fc5c1Stron# The following way of writing the cache mishandles newlines in values,
3421644fc5c1Stron# but we know of no workaround that is simple, portable, and efficient.
34222227fc13Smrg# So, we kill variables containing newlines.
3423644fc5c1Stron# Ultrix sh set writes to stderr and can't be redirected directly,
3424644fc5c1Stron# and sets the high bit in the cache file unless we assign to the vars.
34252227fc13Smrg(
34262227fc13Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34272227fc13Smrg    eval ac_val=\$$ac_var
34282227fc13Smrg    case $ac_val in #(
34292227fc13Smrg    *${as_nl}*)
34302227fc13Smrg      case $ac_var in #(
34317b5fefc8Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
34327b5fefc8Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
34332227fc13Smrg      esac
34342227fc13Smrg      case $ac_var in #(
34352227fc13Smrg      _ | IFS | as_nl) ;; #(
34362227fc13Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
34372227fc13Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
34382227fc13Smrg      esac ;;
34392227fc13Smrg    esac
34402227fc13Smrg  done
34412227fc13Smrg
3442644fc5c1Stron  (set) 2>&1 |
34432227fc13Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
34442227fc13Smrg    *${as_nl}ac_space=\ *)
34452227fc13Smrg      # `set' does not quote correctly, so add quotes: double-quote
34462227fc13Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
3447644fc5c1Stron      sed -n \
3448644fc5c1Stron	"s/'/'\\\\''/g;
3449644fc5c1Stron	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34502227fc13Smrg      ;; #(
3451644fc5c1Stron    *)
3452644fc5c1Stron      # `set' quotes correctly as required by POSIX, so do not add quotes.
34532227fc13Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3454644fc5c1Stron      ;;
34552227fc13Smrg    esac |
34562227fc13Smrg    sort
34572227fc13Smrg) |
3458644fc5c1Stron  sed '
34592227fc13Smrg     /^ac_cv_env_/b end
3460644fc5c1Stron     t clear
34612227fc13Smrg     :clear
34627b5fefc8Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3463644fc5c1Stron     t end
34642227fc13Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34652227fc13Smrg     :end' >>confcache
34662227fc13Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
34672227fc13Smrg  if test -w "$cache_file"; then
34682227fc13Smrg    if test "x$cache_file" != "x/dev/null"; then
34697b5fefc8Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
34707b5fefc8Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;}
34712227fc13Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
34722227fc13Smrg	cat confcache >"$cache_file"
34732227fc13Smrg      else
34742227fc13Smrg        case $cache_file in #(
34752227fc13Smrg        */* | ?:*)
34762227fc13Smrg	  mv -f confcache "$cache_file"$$ &&
34772227fc13Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
34782227fc13Smrg        *)
34792227fc13Smrg	  mv -f confcache "$cache_file" ;;
34802227fc13Smrg	esac
34812227fc13Smrg      fi
34822227fc13Smrg    fi
3483644fc5c1Stron  else
34847b5fefc8Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
34857b5fefc8Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3486644fc5c1Stron  fi
3487644fc5c1Stronfi
3488644fc5c1Stronrm -f confcache
3489644fc5c1Stron
3490644fc5c1Strontest "x$prefix" = xNONE && prefix=$ac_default_prefix
3491644fc5c1Stron# Let make expand exec_prefix.
3492644fc5c1Strontest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3493644fc5c1Stron
3494644fc5c1Stron# Transform confdefs.h into DEFS.
3495644fc5c1Stron# Protect against shell expansion while executing Makefile rules.
3496644fc5c1Stron# Protect against Makefile macro expansion.
3497644fc5c1Stron#
3498644fc5c1Stron# If the first sed substitution is executed (which looks for macros that
34992227fc13Smrg# take arguments), then branch to the quote section.  Otherwise,
3500644fc5c1Stron# look for a macro that doesn't take arguments.
35012227fc13Smrgac_script='
35022227fc13Smrg:mline
35032227fc13Smrg/\\$/{
35042227fc13Smrg N
35052227fc13Smrg s,\\\n,,
35062227fc13Smrg b mline
35072227fc13Smrg}
3508644fc5c1Stront clear
35092227fc13Smrg:clear
35102227fc13Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
3511644fc5c1Stront quote
35122227fc13Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
3513644fc5c1Stront quote
35142227fc13Smrgb any
35152227fc13Smrg:quote
35162227fc13Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
35172227fc13Smrgs/\[/\\&/g
35182227fc13Smrgs/\]/\\&/g
35192227fc13Smrgs/\$/$$/g
35202227fc13SmrgH
35212227fc13Smrg:any
35222227fc13Smrg${
35232227fc13Smrg	g
35242227fc13Smrg	s/^\n//
35252227fc13Smrg	s/\n/ /g
35262227fc13Smrg	p
35272227fc13Smrg}
35282227fc13Smrg'
35292227fc13SmrgDEFS=`sed -n "$ac_script" confdefs.h`
3530644fc5c1Stron
3531644fc5c1Stron
3532644fc5c1Stronac_libobjs=
3533644fc5c1Stronac_ltlibobjs=
35342227fc13SmrgU=
3535644fc5c1Stronfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3536644fc5c1Stron  # 1. Remove the extension, and $U if already installed.
35372227fc13Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
35387b5fefc8Smrg  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
35392227fc13Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
35402227fc13Smrg  #    will be set to the directory where LIBOBJS objects are built.
35412227fc13Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
35422227fc13Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3543644fc5c1Strondone
3544644fc5c1StronLIBOBJS=$ac_libobjs
3545644fc5c1Stron
3546644fc5c1StronLTLIBOBJS=$ac_ltlibobjs
3547644fc5c1Stron
3548644fc5c1Stron
35497b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
35507b5fefc8Smrgprintf %s "checking that generated files are newer than configure... " >&6; }
35517b5fefc8Smrg   if test -n "$am_sleep_pid"; then
35527b5fefc8Smrg     # Hide warnings about reused PIDs.
35537b5fefc8Smrg     wait $am_sleep_pid 2>/dev/null
35547b5fefc8Smrg   fi
35557b5fefc8Smrg   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
35567b5fefc8Smrgprintf "%s\n" "done" >&6; }
35572227fc13Smrg
3558644fc5c1Stron
35592227fc13Smrg: "${CONFIG_STATUS=./config.status}"
35602227fc13Smrgac_write_fail=0
3561644fc5c1Stronac_clean_files_save=$ac_clean_files
3562644fc5c1Stronac_clean_files="$ac_clean_files $CONFIG_STATUS"
35637b5fefc8Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
35647b5fefc8Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
35652227fc13Smrgas_write_fail=0
35662227fc13Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3567644fc5c1Stron#! $SHELL
3568644fc5c1Stron# Generated by $as_me.
3569644fc5c1Stron# Run this file to recreate the current configuration.
3570644fc5c1Stron# Compiler output produced by configure, useful for debugging
3571644fc5c1Stron# configure, is in config.log if it exists.
3572644fc5c1Stron
3573644fc5c1Strondebug=false
3574644fc5c1Stronac_cs_recheck=false
3575644fc5c1Stronac_cs_silent=false
3576644fc5c1Stron
35772227fc13SmrgSHELL=\${CONFIG_SHELL-$SHELL}
35782227fc13Smrgexport SHELL
35792227fc13Smrg_ASEOF
35802227fc13Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
35812227fc13Smrg## -------------------- ##
35822227fc13Smrg## M4sh Initialization. ##
35832227fc13Smrg## -------------------- ##
35842227fc13Smrg
35852227fc13Smrg# Be more Bourne compatible
35862227fc13SmrgDUALCASE=1; export DUALCASE # for MKS sh
35877b5fefc8Smrgas_nop=:
35887b5fefc8Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
35897b5fefc8Smrgthen :
3590644fc5c1Stron  emulate sh
3591644fc5c1Stron  NULLCMD=:
35922227fc13Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3593644fc5c1Stron  # is contrary to our usage.  Disable this feature.
3594644fc5c1Stron  alias -g '${1+"$@"}'='"$@"'
35952227fc13Smrg  setopt NO_GLOB_SUBST
35967b5fefc8Smrgelse $as_nop
35972227fc13Smrg  case `(set -o) 2>/dev/null` in #(
35982227fc13Smrg  *posix*) :
35992227fc13Smrg    set -o posix ;; #(
36002227fc13Smrg  *) :
36012227fc13Smrg     ;;
36022227fc13Smrgesac
3603644fc5c1Stronfi
3604644fc5c1Stron
36052227fc13Smrg
36067b5fefc8Smrg
36077b5fefc8Smrg# Reset variables that may have inherited troublesome values from
36087b5fefc8Smrg# the environment.
36097b5fefc8Smrg
36107b5fefc8Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
36117b5fefc8Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
36127b5fefc8Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
36137b5fefc8Smrg# Quoting is to prevent editors from complaining about space-tab.
36142227fc13Smrgas_nl='
36152227fc13Smrg'
36162227fc13Smrgexport as_nl
36177b5fefc8SmrgIFS=" ""	$as_nl"
36187b5fefc8Smrg
36197b5fefc8SmrgPS1='$ '
36207b5fefc8SmrgPS2='> '
36217b5fefc8SmrgPS4='+ '
36227b5fefc8Smrg
36237b5fefc8Smrg# Ensure predictable behavior from utilities with locale-dependent output.
36247b5fefc8SmrgLC_ALL=C
36257b5fefc8Smrgexport LC_ALL
36267b5fefc8SmrgLANGUAGE=C
36277b5fefc8Smrgexport LANGUAGE
36287b5fefc8Smrg
36297b5fefc8Smrg# We cannot yet rely on "unset" to work, but we need these variables
36307b5fefc8Smrg# to be unset--not just set to an empty or harmless value--now, to
36317b5fefc8Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
36327b5fefc8Smrg# also avoids known problems related to "unset" and subshell syntax
36337b5fefc8Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
36347b5fefc8Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
36357b5fefc8Smrgdo eval test \${$as_var+y} \
36367b5fefc8Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
36377b5fefc8Smrgdone
36387b5fefc8Smrg
36397b5fefc8Smrg# Ensure that fds 0, 1, and 2 are open.
36407b5fefc8Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
36417b5fefc8Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
36427b5fefc8Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
36432227fc13Smrg
36442227fc13Smrg# The user is always right.
36457b5fefc8Smrgif ${PATH_SEPARATOR+false} :; then
36462227fc13Smrg  PATH_SEPARATOR=:
36472227fc13Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
36482227fc13Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
36492227fc13Smrg      PATH_SEPARATOR=';'
36502227fc13Smrg  }
36512227fc13Smrgfi
36522227fc13Smrg
36532227fc13Smrg
36542227fc13Smrg# Find who we are.  Look in the path if we contain no directory separator.
36552227fc13Smrgas_myself=
36562227fc13Smrgcase $0 in #((
36572227fc13Smrg  *[\\/]* ) as_myself=$0 ;;
36582227fc13Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36592227fc13Smrgfor as_dir in $PATH
36602227fc13Smrgdo
36612227fc13Smrg  IFS=$as_save_IFS
36627b5fefc8Smrg  case $as_dir in #(((
36637b5fefc8Smrg    '') as_dir=./ ;;
36647b5fefc8Smrg    */) ;;
36657b5fefc8Smrg    *) as_dir=$as_dir/ ;;
36667b5fefc8Smrg  esac
36677b5fefc8Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
36682227fc13Smrg  done
36692227fc13SmrgIFS=$as_save_IFS
36702227fc13Smrg
36712227fc13Smrg     ;;
36722227fc13Smrgesac
36732227fc13Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
36742227fc13Smrg# in which case we are not to be found in the path.
36752227fc13Smrgif test "x$as_myself" = x; then
36762227fc13Smrg  as_myself=$0
36772227fc13Smrgfi
36782227fc13Smrgif test ! -f "$as_myself"; then
36797b5fefc8Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
36802227fc13Smrg  exit 1
3681644fc5c1Stronfi
3682644fc5c1Stron
36832227fc13Smrg
36842227fc13Smrg
36852227fc13Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
36862227fc13Smrg# ----------------------------------------
36872227fc13Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
36882227fc13Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
36892227fc13Smrg# script with STATUS, using 1 if that was 0.
36902227fc13Smrgas_fn_error ()
36912227fc13Smrg{
36922227fc13Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
36932227fc13Smrg  if test "$4"; then
36942227fc13Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
36957b5fefc8Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3696644fc5c1Stron  fi
36977b5fefc8Smrg  printf "%s\n" "$as_me: error: $2" >&2
36982227fc13Smrg  as_fn_exit $as_status
36992227fc13Smrg} # as_fn_error
37002227fc13Smrg
37012227fc13Smrg
37027b5fefc8Smrg
37032227fc13Smrg# as_fn_set_status STATUS
37042227fc13Smrg# -----------------------
37052227fc13Smrg# Set $? to STATUS, without forking.
37062227fc13Smrgas_fn_set_status ()
37072227fc13Smrg{
37082227fc13Smrg  return $1
37092227fc13Smrg} # as_fn_set_status
37102227fc13Smrg
37112227fc13Smrg# as_fn_exit STATUS
37122227fc13Smrg# -----------------
37132227fc13Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
37142227fc13Smrgas_fn_exit ()
37152227fc13Smrg{
37162227fc13Smrg  set +e
37172227fc13Smrg  as_fn_set_status $1
37182227fc13Smrg  exit $1
37192227fc13Smrg} # as_fn_exit
37202227fc13Smrg
37212227fc13Smrg# as_fn_unset VAR
37222227fc13Smrg# ---------------
37232227fc13Smrg# Portably unset VAR.
37242227fc13Smrgas_fn_unset ()
37252227fc13Smrg{
37262227fc13Smrg  { eval $1=; unset $1;}
37272227fc13Smrg}
37282227fc13Smrgas_unset=as_fn_unset
37297b5fefc8Smrg
37302227fc13Smrg# as_fn_append VAR VALUE
37312227fc13Smrg# ----------------------
37322227fc13Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
37332227fc13Smrg# advantage of any shell optimizations that allow amortized linear growth over
37342227fc13Smrg# repeated appends, instead of the typical quadratic growth present in naive
37352227fc13Smrg# implementations.
37367b5fefc8Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
37377b5fefc8Smrgthen :
37382227fc13Smrg  eval 'as_fn_append ()
37392227fc13Smrg  {
37402227fc13Smrg    eval $1+=\$2
37412227fc13Smrg  }'
37427b5fefc8Smrgelse $as_nop
37432227fc13Smrg  as_fn_append ()
37442227fc13Smrg  {
37452227fc13Smrg    eval $1=\$$1\$2
37462227fc13Smrg  }
37472227fc13Smrgfi # as_fn_append
37482227fc13Smrg
37492227fc13Smrg# as_fn_arith ARG...
37502227fc13Smrg# ------------------
37512227fc13Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
37522227fc13Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
37532227fc13Smrg# must be portable across $(()) and expr.
37547b5fefc8Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
37557b5fefc8Smrgthen :
37562227fc13Smrg  eval 'as_fn_arith ()
37572227fc13Smrg  {
37582227fc13Smrg    as_val=$(( $* ))
37592227fc13Smrg  }'
37607b5fefc8Smrgelse $as_nop
37612227fc13Smrg  as_fn_arith ()
37622227fc13Smrg  {
37632227fc13Smrg    as_val=`expr "$@" || test $? -eq 1`
37642227fc13Smrg  }
37652227fc13Smrgfi # as_fn_arith
3766644fc5c1Stron
37672227fc13Smrg
37682227fc13Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
37692227fc13Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3770644fc5c1Stron  as_expr=expr
3771644fc5c1Stronelse
3772644fc5c1Stron  as_expr=false
3773644fc5c1Stronfi
3774644fc5c1Stron
37752227fc13Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3776644fc5c1Stron  as_basename=basename
3777644fc5c1Stronelse
3778644fc5c1Stron  as_basename=false
3779644fc5c1Stronfi
3780644fc5c1Stron
37812227fc13Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
37822227fc13Smrg  as_dirname=dirname
37832227fc13Smrgelse
37842227fc13Smrg  as_dirname=false
37852227fc13Smrgfi
3786644fc5c1Stron
37872227fc13Smrgas_me=`$as_basename -- "$0" ||
3788644fc5c1Stron$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3789644fc5c1Stron	 X"$0" : 'X\(//\)$' \| \
37902227fc13Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37917b5fefc8Smrgprintf "%s\n" X/"$0" |
37922227fc13Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
37932227fc13Smrg	    s//\1/
37942227fc13Smrg	    q
37952227fc13Smrg	  }
37962227fc13Smrg	  /^X\/\(\/\/\)$/{
37972227fc13Smrg	    s//\1/
37982227fc13Smrg	    q
37992227fc13Smrg	  }
38002227fc13Smrg	  /^X\/\(\/\).*/{
38012227fc13Smrg	    s//\1/
38022227fc13Smrg	    q
38032227fc13Smrg	  }
38042227fc13Smrg	  s/.*/./; q'`
3805644fc5c1Stron
3806644fc5c1Stron# Avoid depending upon Character Ranges.
3807644fc5c1Stronas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3808644fc5c1Stronas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3809644fc5c1Stronas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3810644fc5c1Stronas_cr_digits='0123456789'
3811644fc5c1Stronas_cr_alnum=$as_cr_Letters$as_cr_digits
3812644fc5c1Stron
38137b5fefc8Smrg
38147b5fefc8Smrg# Determine whether it's possible to make 'echo' print without a newline.
38157b5fefc8Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
38167b5fefc8Smrg# for compatibility with existing Makefiles.
38172227fc13SmrgECHO_C= ECHO_N= ECHO_T=
38182227fc13Smrgcase `echo -n x` in #(((((
38192227fc13Smrg-n*)
38202227fc13Smrg  case `echo 'xy\c'` in
38212227fc13Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
38222227fc13Smrg  xy)  ECHO_C='\c';;
38232227fc13Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
38242227fc13Smrg       ECHO_T='	';;
38252227fc13Smrg  esac;;
38262227fc13Smrg*)
38272227fc13Smrg  ECHO_N='-n';;
3828644fc5c1Stronesac
3829644fc5c1Stron
38307b5fefc8Smrg# For backward compatibility with old third-party macros, we provide
38317b5fefc8Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
38327b5fefc8Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
38337b5fefc8Smrgas_echo='printf %s\n'
38347b5fefc8Smrgas_echo_n='printf %s'
38357b5fefc8Smrg
38362227fc13Smrgrm -f conf$$ conf$$.exe conf$$.file
38372227fc13Smrgif test -d conf$$.dir; then
38382227fc13Smrg  rm -f conf$$.dir/conf$$.file
3839644fc5c1Stronelse
38402227fc13Smrg  rm -f conf$$.dir
38412227fc13Smrg  mkdir conf$$.dir 2>/dev/null
3842644fc5c1Stronfi
38432227fc13Smrgif (echo >conf$$.file) 2>/dev/null; then
38442227fc13Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
3845644fc5c1Stron    as_ln_s='ln -s'
38462227fc13Smrg    # ... but there are two gotchas:
38472227fc13Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
38482227fc13Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
38497b5fefc8Smrg    # In both cases, we have to default to `cp -pR'.
38502227fc13Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
38517b5fefc8Smrg      as_ln_s='cp -pR'
38522227fc13Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
38532227fc13Smrg    as_ln_s=ln
38542227fc13Smrg  else
38557b5fefc8Smrg    as_ln_s='cp -pR'
3856644fc5c1Stron  fi
3857644fc5c1Stronelse
38587b5fefc8Smrg  as_ln_s='cp -pR'
3859644fc5c1Stronfi
38602227fc13Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
38612227fc13Smrgrmdir conf$$.dir 2>/dev/null
38622227fc13Smrg
38632227fc13Smrg
38642227fc13Smrg# as_fn_mkdir_p
38652227fc13Smrg# -------------
38662227fc13Smrg# Create "$as_dir" as a directory, including parents if necessary.
38672227fc13Smrgas_fn_mkdir_p ()
38682227fc13Smrg{
3869644fc5c1Stron
38702227fc13Smrg  case $as_dir in #(
38712227fc13Smrg  -*) as_dir=./$as_dir;;
38722227fc13Smrg  esac
38732227fc13Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
38742227fc13Smrg    as_dirs=
38752227fc13Smrg    while :; do
38762227fc13Smrg      case $as_dir in #(
38777b5fefc8Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
38782227fc13Smrg      *) as_qdir=$as_dir;;
38792227fc13Smrg      esac
38802227fc13Smrg      as_dirs="'$as_qdir' $as_dirs"
38812227fc13Smrg      as_dir=`$as_dirname -- "$as_dir" ||
38822227fc13Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38832227fc13Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
38842227fc13Smrg	 X"$as_dir" : 'X\(//\)$' \| \
38852227fc13Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
38867b5fefc8Smrgprintf "%s\n" X"$as_dir" |
38872227fc13Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
38882227fc13Smrg	    s//\1/
38892227fc13Smrg	    q
38902227fc13Smrg	  }
38912227fc13Smrg	  /^X\(\/\/\)[^/].*/{
38922227fc13Smrg	    s//\1/
38932227fc13Smrg	    q
38942227fc13Smrg	  }
38952227fc13Smrg	  /^X\(\/\/\)$/{
38962227fc13Smrg	    s//\1/
38972227fc13Smrg	    q
38982227fc13Smrg	  }
38992227fc13Smrg	  /^X\(\/\).*/{
39002227fc13Smrg	    s//\1/
39012227fc13Smrg	    q
39022227fc13Smrg	  }
39032227fc13Smrg	  s/.*/./; q'`
39042227fc13Smrg      test -d "$as_dir" && break
39052227fc13Smrg    done
39062227fc13Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
39072227fc13Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
39082227fc13Smrg
39092227fc13Smrg
39102227fc13Smrg} # as_fn_mkdir_p
3911644fc5c1Stronif mkdir -p . 2>/dev/null; then
39122227fc13Smrg  as_mkdir_p='mkdir -p "$as_dir"'
3913644fc5c1Stronelse
3914644fc5c1Stron  test -d ./-p && rmdir ./-p
3915644fc5c1Stron  as_mkdir_p=false
3916644fc5c1Stronfi
3917644fc5c1Stron
39187b5fefc8Smrg
39197b5fefc8Smrg# as_fn_executable_p FILE
39207b5fefc8Smrg# -----------------------
39217b5fefc8Smrg# Test if FILE is an executable regular file.
39227b5fefc8Smrgas_fn_executable_p ()
39237b5fefc8Smrg{
39247b5fefc8Smrg  test -f "$1" && test -x "$1"
39257b5fefc8Smrg} # as_fn_executable_p
39267b5fefc8Smrgas_test_x='test -x'
39277b5fefc8Smrgas_executable_p=as_fn_executable_p
3928644fc5c1Stron
3929644fc5c1Stron# Sed expression to map a string onto a valid CPP name.
3930644fc5c1Stronas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3931644fc5c1Stron
3932644fc5c1Stron# Sed expression to map a string onto a valid variable name.
3933644fc5c1Stronas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3934644fc5c1Stron
3935644fc5c1Stron
3936644fc5c1Stronexec 6>&1
39372227fc13Smrg## ----------------------------------- ##
39382227fc13Smrg## Main body of $CONFIG_STATUS script. ##
39392227fc13Smrg## ----------------------------------- ##
39402227fc13Smrg_ASEOF
39412227fc13Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
39422227fc13Smrg
39432227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39442227fc13Smrg# Save the log message, to keep $0 and so on meaningful, and to
3945644fc5c1Stron# report actual input values of CONFIG_FILES etc. instead of their
39462227fc13Smrg# values after options handling.
39472227fc13Smrgac_log="
39487b5fefc8SmrgThis file was extended by font-sony-misc $as_me 1.0.4, which was
39497b5fefc8Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
3950644fc5c1Stron
3951644fc5c1Stron  CONFIG_FILES    = $CONFIG_FILES
3952644fc5c1Stron  CONFIG_HEADERS  = $CONFIG_HEADERS
3953644fc5c1Stron  CONFIG_LINKS    = $CONFIG_LINKS
3954644fc5c1Stron  CONFIG_COMMANDS = $CONFIG_COMMANDS
3955644fc5c1Stron  $ $0 $@
3956644fc5c1Stron
39572227fc13Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
39582227fc13Smrg"
39592227fc13Smrg
3960644fc5c1Stron_ACEOF
3961644fc5c1Stron
39622227fc13Smrgcase $ac_config_files in *"
39632227fc13Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
39642227fc13Smrgesac
3965644fc5c1Stron
3966644fc5c1Stron
3967644fc5c1Stron
39682227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39692227fc13Smrg# Files that config.status was made for.
39702227fc13Smrgconfig_files="$ac_config_files"
3971644fc5c1Stron
39722227fc13Smrg_ACEOF
3973644fc5c1Stron
39742227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3975644fc5c1Stronac_cs_usage="\
39762227fc13Smrg\`$as_me' instantiates files and other configuration actions
39772227fc13Smrgfrom templates according to the current configuration.  Unless the files
39782227fc13Smrgand actions are specified as TAGs, all are instantiated by default.
3979644fc5c1Stron
39802227fc13SmrgUsage: $0 [OPTION]... [TAG]...
3981644fc5c1Stron
3982644fc5c1Stron  -h, --help       print this help, then exit
39832227fc13Smrg  -V, --version    print version number and configuration settings, then exit
39842227fc13Smrg      --config     print configuration, then exit
39852227fc13Smrg  -q, --quiet, --silent
39862227fc13Smrg                   do not print progress messages
3987644fc5c1Stron  -d, --debug      don't remove temporary files
3988644fc5c1Stron      --recheck    update $as_me by reconfiguring in the same conditions
39892227fc13Smrg      --file=FILE[:TEMPLATE]
39902227fc13Smrg                   instantiate the configuration file FILE
3991644fc5c1Stron
3992644fc5c1StronConfiguration files:
3993644fc5c1Stron$config_files
3994644fc5c1Stron
39957b5fefc8SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/font/sony-misc/-/issues>."
3996644fc5c1Stron
39972227fc13Smrg_ACEOF
39987b5fefc8Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
39997b5fefc8Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
40002227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40017b5fefc8Smrgac_cs_config='$ac_cs_config_escaped'
4002644fc5c1Stronac_cs_version="\\
40037b5fefc8Smrgfont-sony-misc config.status 1.0.4
40047b5fefc8Smrgconfigured by $0, generated by GNU Autoconf 2.71,
40052227fc13Smrg  with options \\"\$ac_cs_config\\"
4006644fc5c1Stron
40077b5fefc8SmrgCopyright (C) 2021 Free Software Foundation, Inc.
4008644fc5c1StronThis config.status script is free software; the Free Software Foundation
4009644fc5c1Strongives unlimited permission to copy, distribute and modify it."
40102227fc13Smrg
40112227fc13Smrgac_pwd='$ac_pwd'
40122227fc13Smrgsrcdir='$srcdir'
40132227fc13SmrgINSTALL='$INSTALL'
40142227fc13SmrgMKDIR_P='$MKDIR_P'
40152227fc13SmrgAWK='$AWK'
40162227fc13Smrgtest -n "\$AWK" || AWK=awk
4017644fc5c1Stron_ACEOF
4018644fc5c1Stron
40192227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40202227fc13Smrg# The default lists apply if the user does not specify any file.
4021644fc5c1Stronac_need_defaults=:
4022644fc5c1Stronwhile test $# != 0
4023644fc5c1Strondo
4024644fc5c1Stron  case $1 in
40252227fc13Smrg  --*=?*)
40262227fc13Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
40272227fc13Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
40282227fc13Smrg    ac_shift=:
40292227fc13Smrg    ;;
40302227fc13Smrg  --*=)
40312227fc13Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
40322227fc13Smrg    ac_optarg=
4033644fc5c1Stron    ac_shift=:
4034644fc5c1Stron    ;;
40352227fc13Smrg  *)
4036644fc5c1Stron    ac_option=$1
4037644fc5c1Stron    ac_optarg=$2
4038644fc5c1Stron    ac_shift=shift
4039644fc5c1Stron    ;;
4040644fc5c1Stron  esac
4041644fc5c1Stron
4042644fc5c1Stron  case $ac_option in
4043644fc5c1Stron  # Handling of the options.
4044644fc5c1Stron  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4045644fc5c1Stron    ac_cs_recheck=: ;;
40462227fc13Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
40477b5fefc8Smrg    printf "%s\n" "$ac_cs_version"; exit ;;
40482227fc13Smrg  --config | --confi | --conf | --con | --co | --c )
40497b5fefc8Smrg    printf "%s\n" "$ac_cs_config"; exit ;;
40502227fc13Smrg  --debug | --debu | --deb | --de | --d | -d )
4051644fc5c1Stron    debug=: ;;
4052644fc5c1Stron  --file | --fil | --fi | --f )
4053644fc5c1Stron    $ac_shift
40542227fc13Smrg    case $ac_optarg in
40557b5fefc8Smrg    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
40562227fc13Smrg    '') as_fn_error $? "missing file argument" ;;
40572227fc13Smrg    esac
40582227fc13Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
4059644fc5c1Stron    ac_need_defaults=false;;
40602227fc13Smrg  --he | --h |  --help | --hel | -h )
40617b5fefc8Smrg    printf "%s\n" "$ac_cs_usage"; exit ;;
4062644fc5c1Stron  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4063644fc5c1Stron  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4064644fc5c1Stron    ac_cs_silent=: ;;
4065644fc5c1Stron
4066644fc5c1Stron  # This is an error.
40672227fc13Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
40682227fc13SmrgTry \`$0 --help' for more information." ;;
4069644fc5c1Stron
40702227fc13Smrg  *) as_fn_append ac_config_targets " $1"
40712227fc13Smrg     ac_need_defaults=false ;;
4072644fc5c1Stron
4073644fc5c1Stron  esac
4074644fc5c1Stron  shift
4075644fc5c1Strondone
4076644fc5c1Stron
4077644fc5c1Stronac_configure_extra_args=
4078644fc5c1Stron
4079644fc5c1Stronif $ac_cs_silent; then
4080644fc5c1Stron  exec 6>/dev/null
4081644fc5c1Stron  ac_configure_extra_args="$ac_configure_extra_args --silent"
4082644fc5c1Stronfi
4083644fc5c1Stron
4084644fc5c1Stron_ACEOF
40852227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4086644fc5c1Stronif \$ac_cs_recheck; then
40877b5fefc8Smrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40882227fc13Smrg  shift
40897b5fefc8Smrg  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
40902227fc13Smrg  CONFIG_SHELL='$SHELL'
40912227fc13Smrg  export CONFIG_SHELL
40922227fc13Smrg  exec "\$@"
4093644fc5c1Stronfi
4094644fc5c1Stron
4095644fc5c1Stron_ACEOF
40962227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
40972227fc13Smrgexec 5>>config.log
40982227fc13Smrg{
40992227fc13Smrg  echo
41002227fc13Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41012227fc13Smrg## Running $as_me. ##
41022227fc13Smrg_ASBOX
41037b5fefc8Smrg  printf "%s\n" "$ac_log"
41042227fc13Smrg} >&5
4105644fc5c1Stron
41062227fc13Smrg_ACEOF
41072227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41082227fc13Smrg_ACEOF
4109644fc5c1Stron
41102227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4111644fc5c1Stron
41122227fc13Smrg# Handling of arguments.
4113644fc5c1Stronfor ac_config_target in $ac_config_targets
4114644fc5c1Strondo
41152227fc13Smrg  case $ac_config_target in
41162227fc13Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41172227fc13Smrg
41182227fc13Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4119644fc5c1Stron  esac
4120644fc5c1Strondone
4121644fc5c1Stron
41222227fc13Smrg
4123644fc5c1Stron# If the user did not use the arguments to specify the items to instantiate,
4124644fc5c1Stron# then the envvar interface is used.  Set only those that are not.
4125644fc5c1Stron# We use the long form for the default assignment because of an extremely
4126644fc5c1Stron# bizarre bug on SunOS 4.1.3.
4127644fc5c1Stronif $ac_need_defaults; then
41287b5fefc8Smrg  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4129644fc5c1Stronfi
4130644fc5c1Stron
4131644fc5c1Stron# Have a temporary directory for convenience.  Make it in the build tree
41322227fc13Smrg# simply because there is no reason against having it here, and in addition,
4133644fc5c1Stron# creating and moving files from /tmp can sometimes cause problems.
41342227fc13Smrg# Hook for its removal unless debugging.
41352227fc13Smrg# Note that there is a small window in which the directory will not be cleaned:
41362227fc13Smrg# after its creation but before its name has been assigned to `$tmp'.
4137644fc5c1Stron$debug ||
4138644fc5c1Stron{
41392227fc13Smrg  tmp= ac_tmp=
41402227fc13Smrg  trap 'exit_status=$?
41412227fc13Smrg  : "${ac_tmp:=$tmp}"
41422227fc13Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
41432227fc13Smrg' 0
41442227fc13Smrg  trap 'as_fn_exit 1' 1 2 13 15
4145644fc5c1Stron}
4146644fc5c1Stron# Create a (secure) tmp directory for tmp files.
4147644fc5c1Stron
4148644fc5c1Stron{
41492227fc13Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41502227fc13Smrg  test -d "$tmp"
4151644fc5c1Stron}  ||
4152644fc5c1Stron{
41532227fc13Smrg  tmp=./conf$$-$RANDOM
41542227fc13Smrg  (umask 077 && mkdir "$tmp")
41552227fc13Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41562227fc13Smrgac_tmp=$tmp
41572227fc13Smrg
41582227fc13Smrg# Set up the scripts for CONFIG_FILES section.
41592227fc13Smrg# No need to generate them if there are no CONFIG_FILES.
41602227fc13Smrg# This happens for instance with `./config.status config.h'.
41612227fc13Smrgif test -n "$CONFIG_FILES"; then
41622227fc13Smrg
41632227fc13Smrg
41642227fc13Smrgac_cr=`echo X | tr X '\015'`
41652227fc13Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
41662227fc13Smrg# But we know of no other shell where ac_cr would be empty at this
41672227fc13Smrg# point, so we can use a bashism as a fallback.
41682227fc13Smrgif test "x$ac_cr" = x; then
41692227fc13Smrg  eval ac_cr=\$\'\\r\'
41702227fc13Smrgfi
41712227fc13Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41722227fc13Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41732227fc13Smrg  ac_cs_awk_cr='\\r'
41742227fc13Smrgelse
41752227fc13Smrg  ac_cs_awk_cr=$ac_cr
41762227fc13Smrgfi
41772227fc13Smrg
41782227fc13Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
41792227fc13Smrg_ACEOF
41802227fc13Smrg
41812227fc13Smrg
41822227fc13Smrg{
41832227fc13Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
41842227fc13Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41852227fc13Smrg  echo "_ACEOF"
41862227fc13Smrg} >conf$$subs.sh ||
41872227fc13Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41882227fc13Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41892227fc13Smrgac_delim='%!_!# '
41902227fc13Smrgfor ac_last_try in false false false false false :; do
41912227fc13Smrg  . ./conf$$subs.sh ||
41922227fc13Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41932227fc13Smrg
41942227fc13Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41952227fc13Smrg  if test $ac_delim_n = $ac_delim_num; then
41962227fc13Smrg    break
41972227fc13Smrg  elif $ac_last_try; then
41982227fc13Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41992227fc13Smrg  else
42002227fc13Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42012227fc13Smrg  fi
42022227fc13Smrgdone
42032227fc13Smrgrm -f conf$$subs.sh
42042227fc13Smrg
42052227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42062227fc13Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42072227fc13Smrg_ACEOF
42082227fc13Smrgsed -n '
42092227fc13Smrgh
42102227fc13Smrgs/^/S["/; s/!.*/"]=/
42112227fc13Smrgp
42122227fc13Smrgg
42132227fc13Smrgs/^[^!]*!//
42142227fc13Smrg:repl
42152227fc13Smrgt repl
42162227fc13Smrgs/'"$ac_delim"'$//
42172227fc13Smrgt delim
42182227fc13Smrg:nl
42192227fc13Smrgh
42202227fc13Smrgs/\(.\{148\}\)..*/\1/
42212227fc13Smrgt more1
42222227fc13Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42232227fc13Smrgp
42242227fc13Smrgn
42252227fc13Smrgb repl
42262227fc13Smrg:more1
42272227fc13Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
42282227fc13Smrgp
42292227fc13Smrgg
42302227fc13Smrgs/.\{148\}//
42312227fc13Smrgt nl
42322227fc13Smrg:delim
42332227fc13Smrgh
42342227fc13Smrgs/\(.\{148\}\)..*/\1/
42352227fc13Smrgt more2
42362227fc13Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
42372227fc13Smrgp
42382227fc13Smrgb
42392227fc13Smrg:more2
42402227fc13Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
42412227fc13Smrgp
42422227fc13Smrgg
42432227fc13Smrgs/.\{148\}//
42442227fc13Smrgt delim
42452227fc13Smrg' <conf$$subs.awk | sed '
42462227fc13Smrg/^[^""]/{
42472227fc13Smrg  N
42482227fc13Smrg  s/\n//
42492227fc13Smrg}
42502227fc13Smrg' >>$CONFIG_STATUS || ac_write_fail=1
42512227fc13Smrgrm -f conf$$subs.awk
42522227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42532227fc13Smrg_ACAWK
42542227fc13Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42552227fc13Smrg  for (key in S) S_is_set[key] = 1
42562227fc13Smrg  FS = ""
42572227fc13Smrg
42582227fc13Smrg}
4259644fc5c1Stron{
42602227fc13Smrg  line = $ 0
42612227fc13Smrg  nfields = split(line, field, "@")
42622227fc13Smrg  substed = 0
42632227fc13Smrg  len = length(field[1])
42642227fc13Smrg  for (i = 2; i < nfields; i++) {
42652227fc13Smrg    key = field[i]
42662227fc13Smrg    keylen = length(key)
42672227fc13Smrg    if (S_is_set[key]) {
42682227fc13Smrg      value = S[key]
42692227fc13Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42702227fc13Smrg      len += length(value) + length(field[++i])
42712227fc13Smrg      substed = 1
42722227fc13Smrg    } else
42732227fc13Smrg      len += 1 + keylen
42742227fc13Smrg  }
42752227fc13Smrg
42762227fc13Smrg  print line
4277644fc5c1Stron}
4278644fc5c1Stron
42792227fc13Smrg_ACAWK
42802227fc13Smrg_ACEOF
42812227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42822227fc13Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42832227fc13Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42842227fc13Smrgelse
42852227fc13Smrg  cat
42862227fc13Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42872227fc13Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4288644fc5c1Stron_ACEOF
4289644fc5c1Stron
42902227fc13Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42912227fc13Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42922227fc13Smrg# trailing colons and then remove the whole line if VPATH becomes empty
42932227fc13Smrg# (actually we leave an empty line to preserve line numbers).
42942227fc13Smrgif test "x$srcdir" = x.; then
42952227fc13Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
42962227fc13Smrgh
42972227fc13Smrgs///
42982227fc13Smrgs/^/:/
42992227fc13Smrgs/[	 ]*$/:/
43002227fc13Smrgs/:\$(srcdir):/:/g
43012227fc13Smrgs/:\${srcdir}:/:/g
43022227fc13Smrgs/:@srcdir@:/:/g
43032227fc13Smrgs/^:*//
43042227fc13Smrgs/:*$//
43052227fc13Smrgx
43062227fc13Smrgs/\(=[	 ]*\).*/\1/
43072227fc13SmrgG
43082227fc13Smrgs/\n//
43092227fc13Smrgs/^[^=]*=[	 ]*$//
43102227fc13Smrg}'
43112227fc13Smrgfi
4312644fc5c1Stron
43132227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
43142227fc13Smrgfi # test -n "$CONFIG_FILES"
4315644fc5c1Stron
4316644fc5c1Stron
43177b5fefc8Smrgeval set X "  :F $CONFIG_FILES      "
43182227fc13Smrgshift
43192227fc13Smrgfor ac_tag
43202227fc13Smrgdo
43212227fc13Smrg  case $ac_tag in
43222227fc13Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
43232227fc13Smrg  esac
43242227fc13Smrg  case $ac_mode$ac_tag in
43252227fc13Smrg  :[FHL]*:*);;
43262227fc13Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
43272227fc13Smrg  :[FH]-) ac_tag=-:-;;
43282227fc13Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
43292227fc13Smrg  esac
43302227fc13Smrg  ac_save_IFS=$IFS
43312227fc13Smrg  IFS=:
43322227fc13Smrg  set x $ac_tag
43332227fc13Smrg  IFS=$ac_save_IFS
43342227fc13Smrg  shift
43352227fc13Smrg  ac_file=$1
43362227fc13Smrg  shift
4337644fc5c1Stron
43382227fc13Smrg  case $ac_mode in
43392227fc13Smrg  :L) ac_source=$1;;
43402227fc13Smrg  :[FH])
43412227fc13Smrg    ac_file_inputs=
43422227fc13Smrg    for ac_f
43432227fc13Smrg    do
43442227fc13Smrg      case $ac_f in
43452227fc13Smrg      -) ac_f="$ac_tmp/stdin";;
43462227fc13Smrg      *) # Look for the file first in the build tree, then in the source tree
43472227fc13Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
43482227fc13Smrg	 # because $ac_f cannot contain `:'.
43492227fc13Smrg	 test -f "$ac_f" ||
43502227fc13Smrg	   case $ac_f in
43512227fc13Smrg	   [\\/$]*) false;;
43522227fc13Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
43532227fc13Smrg	   esac ||
43542227fc13Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
43552227fc13Smrg      esac
43567b5fefc8Smrg      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
43572227fc13Smrg      as_fn_append ac_file_inputs " '$ac_f'"
43582227fc13Smrg    done
43592227fc13Smrg
43602227fc13Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
43612227fc13Smrg    # use $as_me), people would be surprised to read:
43622227fc13Smrg    #    /* config.h.  Generated by config.status.  */
43632227fc13Smrg    configure_input='Generated from '`
43647b5fefc8Smrg	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
43652227fc13Smrg	`' by configure.'
43662227fc13Smrg    if test x"$ac_file" != x-; then
43672227fc13Smrg      configure_input="$ac_file.  $configure_input"
43687b5fefc8Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
43697b5fefc8Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;}
4370644fc5c1Stron    fi
43712227fc13Smrg    # Neutralize special characters interpreted by sed in replacement strings.
43722227fc13Smrg    case $configure_input in #(
43732227fc13Smrg    *\&* | *\|* | *\\* )
43747b5fefc8Smrg       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
43752227fc13Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
43762227fc13Smrg    *) ac_sed_conf_input=$configure_input;;
43772227fc13Smrg    esac
4378644fc5c1Stron
43792227fc13Smrg    case $ac_tag in
43802227fc13Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
43812227fc13Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
43822227fc13Smrg    esac
43832227fc13Smrg    ;;
4384644fc5c1Stron  esac
4385644fc5c1Stron
43862227fc13Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
4387644fc5c1Stron$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4388644fc5c1Stron	 X"$ac_file" : 'X\(//\)[^/]' \| \
4389644fc5c1Stron	 X"$ac_file" : 'X\(//\)$' \| \
43902227fc13Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
43917b5fefc8Smrgprintf "%s\n" X"$ac_file" |
43922227fc13Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43932227fc13Smrg	    s//\1/
43942227fc13Smrg	    q
43952227fc13Smrg	  }
43962227fc13Smrg	  /^X\(\/\/\)[^/].*/{
43972227fc13Smrg	    s//\1/
43982227fc13Smrg	    q
43992227fc13Smrg	  }
44002227fc13Smrg	  /^X\(\/\/\)$/{
44012227fc13Smrg	    s//\1/
44022227fc13Smrg	    q
44032227fc13Smrg	  }
44042227fc13Smrg	  /^X\(\/\).*/{
44052227fc13Smrg	    s//\1/
44062227fc13Smrg	    q
44072227fc13Smrg	  }
44082227fc13Smrg	  s/.*/./; q'`
44092227fc13Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
4410644fc5c1Stron  ac_builddir=.
4411644fc5c1Stron
44122227fc13Smrgcase "$ac_dir" in
44132227fc13Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
44142227fc13Smrg*)
44157b5fefc8Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
44162227fc13Smrg  # A ".." for each directory in $ac_dir_suffix.
44177b5fefc8Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
44182227fc13Smrg  case $ac_top_builddir_sub in
44192227fc13Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
44202227fc13Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
44212227fc13Smrg  esac ;;
44222227fc13Smrgesac
44232227fc13Smrgac_abs_top_builddir=$ac_pwd
44242227fc13Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
44252227fc13Smrg# for backward compatibility:
44262227fc13Smrgac_top_builddir=$ac_top_build_prefix
4427644fc5c1Stron
4428644fc5c1Stroncase $srcdir in
44292227fc13Smrg  .)  # We are building in place.
4430644fc5c1Stron    ac_srcdir=.
44312227fc13Smrg    ac_top_srcdir=$ac_top_builddir_sub
44322227fc13Smrg    ac_abs_top_srcdir=$ac_pwd ;;
44332227fc13Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
4434644fc5c1Stron    ac_srcdir=$srcdir$ac_dir_suffix;
44352227fc13Smrg    ac_top_srcdir=$srcdir
44362227fc13Smrg    ac_abs_top_srcdir=$srcdir ;;
44372227fc13Smrg  *) # Relative name.
44382227fc13Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
44392227fc13Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
44402227fc13Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4441644fc5c1Stronesac
44422227fc13Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4443644fc5c1Stron
4444644fc5c1Stron
44452227fc13Smrg  case $ac_mode in
44462227fc13Smrg  :F)
44472227fc13Smrg  #
44482227fc13Smrg  # CONFIG_FILE
44492227fc13Smrg  #
4450644fc5c1Stron
4451644fc5c1Stron  case $INSTALL in
4452644fc5c1Stron  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44532227fc13Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
44542227fc13Smrg  esac
44552227fc13Smrg  ac_MKDIR_P=$MKDIR_P
44562227fc13Smrg  case $MKDIR_P in
44572227fc13Smrg  [\\/$]* | ?:[\\/]* ) ;;
44582227fc13Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4459644fc5c1Stron  esac
44602227fc13Smrg_ACEOF
4461644fc5c1Stron
44622227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
44632227fc13Smrg# If the template does not know about datarootdir, expand it.
44642227fc13Smrg# FIXME: This hack should be removed a few years after 2.60.
44652227fc13Smrgac_datarootdir_hack=; ac_datarootdir_seen=
44662227fc13Smrgac_sed_dataroot='
44672227fc13Smrg/datarootdir/ {
44682227fc13Smrg  p
44692227fc13Smrg  q
44702227fc13Smrg}
44712227fc13Smrg/@datadir@/p
44722227fc13Smrg/@docdir@/p
44732227fc13Smrg/@infodir@/p
44742227fc13Smrg/@localedir@/p
44752227fc13Smrg/@mandir@/p'
44762227fc13Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
44772227fc13Smrg*datarootdir*) ac_datarootdir_seen=yes;;
44782227fc13Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
44797b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
44807b5fefc8Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4481644fc5c1Stron_ACEOF
44822227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
44832227fc13Smrg  ac_datarootdir_hack='
44842227fc13Smrg  s&@datadir@&$datadir&g
44852227fc13Smrg  s&@docdir@&$docdir&g
44862227fc13Smrg  s&@infodir@&$infodir&g
44872227fc13Smrg  s&@localedir@&$localedir&g
44882227fc13Smrg  s&@mandir@&$mandir&g
44892227fc13Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
44902227fc13Smrgesac
44912227fc13Smrg_ACEOF
44922227fc13Smrg
44932227fc13Smrg# Neutralize VPATH when `$srcdir' = `.'.
44942227fc13Smrg# Shell code in configure.ac might set extrasub.
44952227fc13Smrg# FIXME: do we really want to maintain this feature?
44962227fc13Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
44972227fc13Smrgac_sed_extra="$ac_vpsub
4498644fc5c1Stron$extrasub
4499644fc5c1Stron_ACEOF
45002227fc13Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4501644fc5c1Stron:t
4502644fc5c1Stron/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45032227fc13Smrgs|@configure_input@|$ac_sed_conf_input|;t t
45042227fc13Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
45052227fc13Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
45062227fc13Smrgs&@srcdir@&$ac_srcdir&;t t
45072227fc13Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
45082227fc13Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
45092227fc13Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
45102227fc13Smrgs&@builddir@&$ac_builddir&;t t
45112227fc13Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
45122227fc13Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
45132227fc13Smrgs&@INSTALL@&$ac_INSTALL&;t t
45142227fc13Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
45152227fc13Smrg$ac_datarootdir_hack
45162227fc13Smrg"
45172227fc13Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
45182227fc13Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
45192227fc13Smrg
45202227fc13Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
45212227fc13Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
45222227fc13Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
45232227fc13Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
45247b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
45252227fc13Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
45267b5fefc8Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
45272227fc13Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
45282227fc13Smrg
45292227fc13Smrg  rm -f "$ac_tmp/stdin"
45302227fc13Smrg  case $ac_file in
45312227fc13Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
45322227fc13Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
45332227fc13Smrg  esac \
45342227fc13Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
45352227fc13Smrg ;;
4536644fc5c1Stron
4537644fc5c1Stron
45382227fc13Smrg
45392227fc13Smrg  esac
45402227fc13Smrg
45412227fc13Smrgdone # for ac_tag
45422227fc13Smrg
4543644fc5c1Stron
45442227fc13Smrgas_fn_exit 0
4545644fc5c1Stron_ACEOF
4546644fc5c1Stronac_clean_files=$ac_clean_files_save
4547644fc5c1Stron
45482227fc13Smrgtest $ac_write_fail = 0 ||
45492227fc13Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
45502227fc13Smrg
4551644fc5c1Stron
4552644fc5c1Stron# configure is writing to config.log, and then calls config.status.
4553644fc5c1Stron# config.status does its own redirection, appending to config.log.
4554644fc5c1Stron# Unfortunately, on DOS this fails, as config.log is still kept open
4555644fc5c1Stron# by configure, so config.status won't be able to write to it; its
4556644fc5c1Stron# output is simply discarded.  So we exec the FD to /dev/null,
4557644fc5c1Stron# effectively closing config.log, so it can be properly (re)opened and
4558644fc5c1Stron# appended to by config.status.  When coming back to configure, we
4559644fc5c1Stron# need to make the FD available again.
4560644fc5c1Stronif test "$no_create" != yes; then
4561644fc5c1Stron  ac_cs_success=:
4562644fc5c1Stron  ac_config_status_args=
4563644fc5c1Stron  test "$silent" = yes &&
4564644fc5c1Stron    ac_config_status_args="$ac_config_status_args --quiet"
4565644fc5c1Stron  exec 5>/dev/null
4566644fc5c1Stron  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4567644fc5c1Stron  exec 5>>config.log
4568644fc5c1Stron  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4569644fc5c1Stron  # would make configure fail if this is the last instruction.
45702227fc13Smrg  $ac_cs_success || as_fn_exit 1
45712227fc13Smrgfi
45722227fc13Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
45737b5fefc8Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
45747b5fefc8Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4575644fc5c1Stronfi
4576644fc5c1Stron
45777b5fefc8Smrg
4578