configure revision 29459361
129459361Smrg#! /bin/sh
229459361Smrg# Guess values for system-dependent variables and create Makefiles.
329459361Smrg# Generated by GNU Autoconf 2.60 for bdftopcf 1.0.1.
429459361Smrg#
529459361Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
629459361Smrg#
729459361Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
829459361Smrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
929459361Smrg# This configure script is free software; the Free Software Foundation
1029459361Smrg# gives unlimited permission to copy, distribute and modify it.
1129459361Smrg## --------------------- ##
1229459361Smrg## M4sh Initialization.  ##
1329459361Smrg## --------------------- ##
1429459361Smrg
1529459361Smrg# Be Bourne compatible
1629459361Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1729459361Smrg  emulate sh
1829459361Smrg  NULLCMD=:
1929459361Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2029459361Smrg  # is contrary to our usage.  Disable this feature.
2129459361Smrg  alias -g '${1+"$@"}'='"$@"'
2229459361Smrg  setopt NO_GLOB_SUBST
2329459361Smrgelse
2429459361Smrg  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2529459361Smrgfi
2629459361SmrgBIN_SH=xpg4; export BIN_SH # for Tru64
2729459361SmrgDUALCASE=1; export DUALCASE # for MKS sh
2829459361Smrg
2929459361Smrg
3029459361Smrg# PATH needs CR
3129459361Smrg# Avoid depending upon Character Ranges.
3229459361Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3329459361Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3429459361Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3529459361Smrgas_cr_digits='0123456789'
3629459361Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
3729459361Smrg
3829459361Smrg# The user is always right.
3929459361Smrgif test "${PATH_SEPARATOR+set}" != set; then
4029459361Smrg  echo "#! /bin/sh" >conf$$.sh
4129459361Smrg  echo  "exit 0"   >>conf$$.sh
4229459361Smrg  chmod +x conf$$.sh
4329459361Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4429459361Smrg    PATH_SEPARATOR=';'
4529459361Smrg  else
4629459361Smrg    PATH_SEPARATOR=:
4729459361Smrg  fi
4829459361Smrg  rm -f conf$$.sh
4929459361Smrgfi
5029459361Smrg
5129459361Smrg# Support unset when possible.
5229459361Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5329459361Smrg  as_unset=unset
5429459361Smrgelse
5529459361Smrg  as_unset=false
5629459361Smrgfi
5729459361Smrg
5829459361Smrg
5929459361Smrg# IFS
6029459361Smrg# We need space, tab and new line, in precisely that order.  Quoting is
6129459361Smrg# there to prevent editors from complaining about space-tab.
6229459361Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6329459361Smrg# splitting by setting IFS to empty value.)
6429459361Smrgas_nl='
6529459361Smrg'
6629459361SmrgIFS=" ""	$as_nl"
6729459361Smrg
6829459361Smrg# Find who we are.  Look in the path if we contain no directory separator.
6929459361Smrgcase $0 in
7029459361Smrg  *[\\/]* ) as_myself=$0 ;;
7129459361Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7229459361Smrgfor as_dir in $PATH
7329459361Smrgdo
7429459361Smrg  IFS=$as_save_IFS
7529459361Smrg  test -z "$as_dir" && as_dir=.
7629459361Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7729459361Smrgdone
7829459361SmrgIFS=$as_save_IFS
7929459361Smrg
8029459361Smrg     ;;
8129459361Smrgesac
8229459361Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
8329459361Smrg# in which case we are not to be found in the path.
8429459361Smrgif test "x$as_myself" = x; then
8529459361Smrg  as_myself=$0
8629459361Smrgfi
8729459361Smrgif test ! -f "$as_myself"; then
8829459361Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8929459361Smrg  { (exit 1); exit 1; }
9029459361Smrgfi
9129459361Smrg
9229459361Smrg# Work around bugs in pre-3.0 UWIN ksh.
9329459361Smrgfor as_var in ENV MAIL MAILPATH
9429459361Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9529459361Smrgdone
9629459361SmrgPS1='$ '
9729459361SmrgPS2='> '
9829459361SmrgPS4='+ '
9929459361Smrg
10029459361Smrg# NLS nuisances.
10129459361Smrgfor as_var in \
10229459361Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10329459361Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10429459361Smrg  LC_TELEPHONE LC_TIME
10529459361Smrgdo
10629459361Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10729459361Smrg    eval $as_var=C; export $as_var
10829459361Smrg  else
10929459361Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11029459361Smrg  fi
11129459361Smrgdone
11229459361Smrg
11329459361Smrg# Required to use basename.
11429459361Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
11529459361Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11629459361Smrg  as_expr=expr
11729459361Smrgelse
11829459361Smrg  as_expr=false
11929459361Smrgfi
12029459361Smrg
12129459361Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12229459361Smrg  as_basename=basename
12329459361Smrgelse
12429459361Smrg  as_basename=false
12529459361Smrgfi
12629459361Smrg
12729459361Smrg
12829459361Smrg# Name of the executable.
12929459361Smrgas_me=`$as_basename -- "$0" ||
13029459361Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13129459361Smrg	 X"$0" : 'X\(//\)$' \| \
13229459361Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13329459361Smrgecho X/"$0" |
13429459361Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
13529459361Smrg	    s//\1/
13629459361Smrg	    q
13729459361Smrg	  }
13829459361Smrg	  /^X\/\(\/\/\)$/{
13929459361Smrg	    s//\1/
14029459361Smrg	    q
14129459361Smrg	  }
14229459361Smrg	  /^X\/\(\/\).*/{
14329459361Smrg	    s//\1/
14429459361Smrg	    q
14529459361Smrg	  }
14629459361Smrg	  s/.*/./; q'`
14729459361Smrg
14829459361Smrg# CDPATH.
14929459361Smrg$as_unset CDPATH
15029459361Smrg
15129459361Smrg
15229459361Smrgif test "x$CONFIG_SHELL" = x; then
15329459361Smrg  if (eval ":") 2>/dev/null; then
15429459361Smrg  as_have_required=yes
15529459361Smrgelse
15629459361Smrg  as_have_required=no
15729459361Smrgfi
15829459361Smrg
15929459361Smrg  if test $as_have_required = yes && 	 (eval ":
16029459361Smrg(as_func_return () {
16129459361Smrg  (exit \$1)
16229459361Smrg}
16329459361Smrgas_func_success () {
16429459361Smrg  as_func_return 0
16529459361Smrg}
16629459361Smrgas_func_failure () {
16729459361Smrg  as_func_return 1
16829459361Smrg}
16929459361Smrgas_func_ret_success () {
17029459361Smrg  return 0
17129459361Smrg}
17229459361Smrgas_func_ret_failure () {
17329459361Smrg  return 1
17429459361Smrg}
17529459361Smrg
17629459361Smrgexitcode=0
17729459361Smrgif as_func_success; then
17829459361Smrg  :
17929459361Smrgelse
18029459361Smrg  exitcode=1
18129459361Smrg  echo as_func_success failed.
18229459361Smrgfi
18329459361Smrg
18429459361Smrgif as_func_failure; then
18529459361Smrg  exitcode=1
18629459361Smrg  echo as_func_failure succeeded.
18729459361Smrgfi
18829459361Smrg
18929459361Smrgif as_func_ret_success; then
19029459361Smrg  :
19129459361Smrgelse
19229459361Smrg  exitcode=1
19329459361Smrg  echo as_func_ret_success failed.
19429459361Smrgfi
19529459361Smrg
19629459361Smrgif as_func_ret_failure; then
19729459361Smrg  exitcode=1
19829459361Smrg  echo as_func_ret_failure succeeded.
19929459361Smrgfi
20029459361Smrg
20129459361Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
20229459361Smrg  :
20329459361Smrgelse
20429459361Smrg  exitcode=1
20529459361Smrg  echo positional parameters were not saved.
20629459361Smrgfi
20729459361Smrg
20829459361Smrgtest \$exitcode = 0) || { (exit 1); exit 1; }
20929459361Smrg
21029459361Smrg(
21129459361Smrg  as_lineno_1=\$LINENO
21229459361Smrg  as_lineno_2=\$LINENO
21329459361Smrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
21429459361Smrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
21529459361Smrg") 2> /dev/null; then
21629459361Smrg  :
21729459361Smrgelse
21829459361Smrg  as_candidate_shells=
21929459361Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22029459361Smrgfor as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22129459361Smrgdo
22229459361Smrg  IFS=$as_save_IFS
22329459361Smrg  test -z "$as_dir" && as_dir=.
22429459361Smrg  case $as_dir in
22529459361Smrg	 /*)
22629459361Smrg	   for as_base in sh bash ksh sh5; do
22729459361Smrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
22829459361Smrg	   done;;
22929459361Smrg       esac
23029459361Smrgdone
23129459361SmrgIFS=$as_save_IFS
23229459361Smrg
23329459361Smrg
23429459361Smrg      for as_shell in $as_candidate_shells $SHELL; do
23529459361Smrg	 # Try only shells that exist, to save several forks.
23629459361Smrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
23729459361Smrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
23829459361Smrg# Be Bourne compatible
23929459361Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24029459361Smrg  emulate sh
24129459361Smrg  NULLCMD=:
24229459361Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24329459361Smrg  # is contrary to our usage.  Disable this feature.
24429459361Smrg  alias -g '${1+"$@"}'='"$@"'
24529459361Smrg  setopt NO_GLOB_SUBST
24629459361Smrgelse
24729459361Smrg  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24829459361Smrgfi
24929459361SmrgBIN_SH=xpg4; export BIN_SH # for Tru64
25029459361SmrgDUALCASE=1; export DUALCASE # for MKS sh
25129459361Smrg
25229459361Smrg:
25329459361Smrg_ASEOF
25429459361Smrg}; then
25529459361Smrg  CONFIG_SHELL=$as_shell
25629459361Smrg	       as_have_required=yes
25729459361Smrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
25829459361Smrg# Be Bourne compatible
25929459361Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26029459361Smrg  emulate sh
26129459361Smrg  NULLCMD=:
26229459361Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26329459361Smrg  # is contrary to our usage.  Disable this feature.
26429459361Smrg  alias -g '${1+"$@"}'='"$@"'
26529459361Smrg  setopt NO_GLOB_SUBST
26629459361Smrgelse
26729459361Smrg  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26829459361Smrgfi
26929459361SmrgBIN_SH=xpg4; export BIN_SH # for Tru64
27029459361SmrgDUALCASE=1; export DUALCASE # for MKS sh
27129459361Smrg
27229459361Smrg:
27329459361Smrg(as_func_return () {
27429459361Smrg  (exit $1)
27529459361Smrg}
27629459361Smrgas_func_success () {
27729459361Smrg  as_func_return 0
27829459361Smrg}
27929459361Smrgas_func_failure () {
28029459361Smrg  as_func_return 1
28129459361Smrg}
28229459361Smrgas_func_ret_success () {
28329459361Smrg  return 0
28429459361Smrg}
28529459361Smrgas_func_ret_failure () {
28629459361Smrg  return 1
28729459361Smrg}
28829459361Smrg
28929459361Smrgexitcode=0
29029459361Smrgif as_func_success; then
29129459361Smrg  :
29229459361Smrgelse
29329459361Smrg  exitcode=1
29429459361Smrg  echo as_func_success failed.
29529459361Smrgfi
29629459361Smrg
29729459361Smrgif as_func_failure; then
29829459361Smrg  exitcode=1
29929459361Smrg  echo as_func_failure succeeded.
30029459361Smrgfi
30129459361Smrg
30229459361Smrgif as_func_ret_success; then
30329459361Smrg  :
30429459361Smrgelse
30529459361Smrg  exitcode=1
30629459361Smrg  echo as_func_ret_success failed.
30729459361Smrgfi
30829459361Smrg
30929459361Smrgif as_func_ret_failure; then
31029459361Smrg  exitcode=1
31129459361Smrg  echo as_func_ret_failure succeeded.
31229459361Smrgfi
31329459361Smrg
31429459361Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then
31529459361Smrg  :
31629459361Smrgelse
31729459361Smrg  exitcode=1
31829459361Smrg  echo positional parameters were not saved.
31929459361Smrgfi
32029459361Smrg
32129459361Smrgtest $exitcode = 0) || { (exit 1); exit 1; }
32229459361Smrg
32329459361Smrg(
32429459361Smrg  as_lineno_1=$LINENO
32529459361Smrg  as_lineno_2=$LINENO
32629459361Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
32729459361Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
32829459361Smrg
32929459361Smrg_ASEOF
33029459361Smrg}; then
33129459361Smrg  break
33229459361Smrgfi
33329459361Smrg
33429459361Smrgfi
33529459361Smrg
33629459361Smrg      done
33729459361Smrg
33829459361Smrg      if test "x$CONFIG_SHELL" != x; then
33929459361Smrg  for as_var in BASH_ENV ENV
34029459361Smrg        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
34129459361Smrg        done
34229459361Smrg        export CONFIG_SHELL
34329459361Smrg        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
34429459361Smrgfi
34529459361Smrg
34629459361Smrg
34729459361Smrg    if test $as_have_required = no; then
34829459361Smrg  echo This script requires a shell more modern than all the
34929459361Smrg      echo shells that I found on your system.  Please install a
35029459361Smrg      echo modern shell, or manually run the script under such a
35129459361Smrg      echo shell if you do have one.
35229459361Smrg      { (exit 1); exit 1; }
35329459361Smrgfi
35429459361Smrg
35529459361Smrg
35629459361Smrgfi
35729459361Smrg
35829459361Smrgfi
35929459361Smrg
36029459361Smrg
36129459361Smrg
36229459361Smrg(eval "as_func_return () {
36329459361Smrg  (exit \$1)
36429459361Smrg}
36529459361Smrgas_func_success () {
36629459361Smrg  as_func_return 0
36729459361Smrg}
36829459361Smrgas_func_failure () {
36929459361Smrg  as_func_return 1
37029459361Smrg}
37129459361Smrgas_func_ret_success () {
37229459361Smrg  return 0
37329459361Smrg}
37429459361Smrgas_func_ret_failure () {
37529459361Smrg  return 1
37629459361Smrg}
37729459361Smrg
37829459361Smrgexitcode=0
37929459361Smrgif as_func_success; then
38029459361Smrg  :
38129459361Smrgelse
38229459361Smrg  exitcode=1
38329459361Smrg  echo as_func_success failed.
38429459361Smrgfi
38529459361Smrg
38629459361Smrgif as_func_failure; then
38729459361Smrg  exitcode=1
38829459361Smrg  echo as_func_failure succeeded.
38929459361Smrgfi
39029459361Smrg
39129459361Smrgif as_func_ret_success; then
39229459361Smrg  :
39329459361Smrgelse
39429459361Smrg  exitcode=1
39529459361Smrg  echo as_func_ret_success failed.
39629459361Smrgfi
39729459361Smrg
39829459361Smrgif as_func_ret_failure; then
39929459361Smrg  exitcode=1
40029459361Smrg  echo as_func_ret_failure succeeded.
40129459361Smrgfi
40229459361Smrg
40329459361Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
40429459361Smrg  :
40529459361Smrgelse
40629459361Smrg  exitcode=1
40729459361Smrg  echo positional parameters were not saved.
40829459361Smrgfi
40929459361Smrg
41029459361Smrgtest \$exitcode = 0") || {
41129459361Smrg  echo No shell found that supports shell functions.
41229459361Smrg  echo Please tell autoconf@gnu.org about your system,
41329459361Smrg  echo including any error possibly output before this
41429459361Smrg  echo message
41529459361Smrg}
41629459361Smrg
41729459361Smrg
41829459361Smrg
41929459361Smrg  as_lineno_1=$LINENO
42029459361Smrg  as_lineno_2=$LINENO
42129459361Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
42229459361Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
42329459361Smrg
42429459361Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42529459361Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
42629459361Smrg  # line-number line after each line using $LINENO; the second 'sed'
42729459361Smrg  # does the real work.  The second script uses 'N' to pair each
42829459361Smrg  # line-number line with the line containing $LINENO, and appends
42929459361Smrg  # trailing '-' during substitution so that $LINENO is not a special
43029459361Smrg  # case at line end.
43129459361Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43229459361Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
43329459361Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
43429459361Smrg  sed -n '
43529459361Smrg    p
43629459361Smrg    /[$]LINENO/=
43729459361Smrg  ' <$as_myself |
43829459361Smrg    sed '
43929459361Smrg      s/[$]LINENO.*/&-/
44029459361Smrg      t lineno
44129459361Smrg      b
44229459361Smrg      :lineno
44329459361Smrg      N
44429459361Smrg      :loop
44529459361Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
44629459361Smrg      t loop
44729459361Smrg      s/-\n.*//
44829459361Smrg    ' >$as_me.lineno &&
44929459361Smrg  chmod +x "$as_me.lineno" ||
45029459361Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
45129459361Smrg   { (exit 1); exit 1; }; }
45229459361Smrg
45329459361Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
45429459361Smrg  # (the dirname of $[0] is not the place where we might find the
45529459361Smrg  # original and so on.  Autoconf is especially sensitive to this).
45629459361Smrg  . "./$as_me.lineno"
45729459361Smrg  # Exit status is that of the last command.
45829459361Smrg  exit
45929459361Smrg}
46029459361Smrg
46129459361Smrg
46229459361Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
46329459361Smrg  as_dirname=dirname
46429459361Smrgelse
46529459361Smrg  as_dirname=false
46629459361Smrgfi
46729459361Smrg
46829459361SmrgECHO_C= ECHO_N= ECHO_T=
46929459361Smrgcase `echo -n x` in
47029459361Smrg-n*)
47129459361Smrg  case `echo 'x\c'` in
47229459361Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
47329459361Smrg  *)   ECHO_C='\c';;
47429459361Smrg  esac;;
47529459361Smrg*)
47629459361Smrg  ECHO_N='-n';;
47729459361Smrgesac
47829459361Smrg
47929459361Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
48029459361Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
48129459361Smrg  as_expr=expr
48229459361Smrgelse
48329459361Smrg  as_expr=false
48429459361Smrgfi
48529459361Smrg
48629459361Smrgrm -f conf$$ conf$$.exe conf$$.file
48729459361Smrgif test -d conf$$.dir; then
48829459361Smrg  rm -f conf$$.dir/conf$$.file
48929459361Smrgelse
49029459361Smrg  rm -f conf$$.dir
49129459361Smrg  mkdir conf$$.dir
49229459361Smrgfi
49329459361Smrgecho >conf$$.file
49429459361Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
49529459361Smrg  as_ln_s='ln -s'
49629459361Smrg  # ... but there are two gotchas:
49729459361Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49829459361Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49929459361Smrg  # In both cases, we have to default to `cp -p'.
50029459361Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50129459361Smrg    as_ln_s='cp -p'
50229459361Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
50329459361Smrg  as_ln_s=ln
50429459361Smrgelse
50529459361Smrg  as_ln_s='cp -p'
50629459361Smrgfi
50729459361Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50829459361Smrgrmdir conf$$.dir 2>/dev/null
50929459361Smrg
51029459361Smrgif mkdir -p . 2>/dev/null; then
51129459361Smrg  as_mkdir_p=:
51229459361Smrgelse
51329459361Smrg  test -d ./-p && rmdir ./-p
51429459361Smrg  as_mkdir_p=false
51529459361Smrgfi
51629459361Smrg
51729459361Smrg# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
51829459361Smrg# systems may use methods other than mode bits to determine executability.
51929459361Smrgcat >conf$$.file <<_ASEOF
52029459361Smrg#! /bin/sh
52129459361Smrgexit 0
52229459361Smrg_ASEOF
52329459361Smrgchmod +x conf$$.file
52429459361Smrgif test -x conf$$.file >/dev/null 2>&1; then
52529459361Smrg  as_executable_p="test -x"
52629459361Smrgelse
52729459361Smrg  as_executable_p=:
52829459361Smrgfi
52929459361Smrgrm -f conf$$.file
53029459361Smrg
53129459361Smrg# Sed expression to map a string onto a valid CPP name.
53229459361Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53329459361Smrg
53429459361Smrg# Sed expression to map a string onto a valid variable name.
53529459361Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53629459361Smrg
53729459361Smrg
53829459361Smrg
53929459361Smrgexec 7<&0 </dev/null 6>&1
54029459361Smrg
54129459361Smrg# Name of the host.
54229459361Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
54329459361Smrg# so uname gets run too.
54429459361Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
54529459361Smrg
54629459361Smrg#
54729459361Smrg# Initializations.
54829459361Smrg#
54929459361Smrgac_default_prefix=/usr/local
55029459361Smrgac_clean_files=
55129459361Smrgac_config_libobj_dir=.
55229459361SmrgLIBOBJS=
55329459361Smrgcross_compiling=no
55429459361Smrgsubdirs=
55529459361SmrgMFLAGS=
55629459361SmrgMAKEFLAGS=
55729459361SmrgSHELL=${CONFIG_SHELL-/bin/sh}
55829459361Smrg
55929459361Smrg# Identity of this package.
56029459361SmrgPACKAGE_NAME='bdftopcf'
56129459361SmrgPACKAGE_TARNAME='bdftopcf'
56229459361SmrgPACKAGE_VERSION='1.0.1'
56329459361SmrgPACKAGE_STRING='bdftopcf 1.0.1'
56429459361SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
56529459361Smrg
56629459361Smrgac_subst_vars='SHELL
56729459361SmrgPATH_SEPARATOR
56829459361SmrgPACKAGE_NAME
56929459361SmrgPACKAGE_TARNAME
57029459361SmrgPACKAGE_VERSION
57129459361SmrgPACKAGE_STRING
57229459361SmrgPACKAGE_BUGREPORT
57329459361Smrgexec_prefix
57429459361Smrgprefix
57529459361Smrgprogram_transform_name
57629459361Smrgbindir
57729459361Smrgsbindir
57829459361Smrglibexecdir
57929459361Smrgdatarootdir
58029459361Smrgdatadir
58129459361Smrgsysconfdir
58229459361Smrgsharedstatedir
58329459361Smrglocalstatedir
58429459361Smrgincludedir
58529459361Smrgoldincludedir
58629459361Smrgdocdir
58729459361Smrginfodir
58829459361Smrghtmldir
58929459361Smrgdvidir
59029459361Smrgpdfdir
59129459361Smrgpsdir
59229459361Smrglibdir
59329459361Smrglocaledir
59429459361Smrgmandir
59529459361SmrgDEFS
59629459361SmrgECHO_C
59729459361SmrgECHO_N
59829459361SmrgECHO_T
59929459361SmrgLIBS
60029459361Smrgbuild_alias
60129459361Smrghost_alias
60229459361Smrgtarget_alias
60329459361SmrgINSTALL_PROGRAM
60429459361SmrgINSTALL_SCRIPT
60529459361SmrgINSTALL_DATA
60629459361SmrgCYGPATH_W
60729459361SmrgPACKAGE
60829459361SmrgVERSION
60929459361SmrgACLOCAL
61029459361SmrgAUTOCONF
61129459361SmrgAUTOMAKE
61229459361SmrgAUTOHEADER
61329459361SmrgMAKEINFO
61429459361Smrginstall_sh
61529459361SmrgSTRIP
61629459361SmrgINSTALL_STRIP_PROGRAM
61729459361Smrgmkdir_p
61829459361SmrgAWK
61929459361SmrgSET_MAKE
62029459361Smrgam__leading_dot
62129459361SmrgAMTAR
62229459361Smrgam__tar
62329459361Smrgam__untar
62429459361SmrgMAINTAINER_MODE_TRUE
62529459361SmrgMAINTAINER_MODE_FALSE
62629459361SmrgMAINT
62729459361SmrgCC
62829459361SmrgCFLAGS
62929459361SmrgLDFLAGS
63029459361SmrgCPPFLAGS
63129459361Smrgac_ct_CC
63229459361SmrgEXEEXT
63329459361SmrgOBJEXT
63429459361SmrgDEPDIR
63529459361Smrgam__include
63629459361Smrgam__quote
63729459361SmrgAMDEP_TRUE
63829459361SmrgAMDEP_FALSE
63929459361SmrgAMDEPBACKSLASH
64029459361SmrgCCDEPMODE
64129459361Smrgam__fastdepCC_TRUE
64229459361Smrgam__fastdepCC_FALSE
64329459361SmrgPKG_CONFIG
64429459361SmrgBDFTOPCF_CFLAGS
64529459361SmrgBDFTOPCF_LIBS
64629459361SmrgLINT
64729459361SmrgLINT_FLAGS
64829459361SmrgLINT_TRUE
64929459361SmrgLINT_FALSE
65029459361Smrgbuild
65129459361Smrgbuild_cpu
65229459361Smrgbuild_vendor
65329459361Smrgbuild_os
65429459361Smrghost
65529459361Smrghost_cpu
65629459361Smrghost_vendor
65729459361Smrghost_os
65829459361SmrgAPP_MAN_SUFFIX
65929459361SmrgLIB_MAN_SUFFIX
66029459361SmrgFILE_MAN_SUFFIX
66129459361SmrgMISC_MAN_SUFFIX
66229459361SmrgDRIVER_MAN_SUFFIX
66329459361SmrgADMIN_MAN_SUFFIX
66429459361SmrgAPP_MAN_DIR
66529459361SmrgLIB_MAN_DIR
66629459361SmrgFILE_MAN_DIR
66729459361SmrgMISC_MAN_DIR
66829459361SmrgDRIVER_MAN_DIR
66929459361SmrgADMIN_MAN_DIR
67029459361SmrgLIBOBJS
67129459361SmrgLTLIBOBJS'
67229459361Smrgac_subst_files=''
67329459361Smrg      ac_precious_vars='build_alias
67429459361Smrghost_alias
67529459361Smrgtarget_alias
67629459361SmrgCC
67729459361SmrgCFLAGS
67829459361SmrgLDFLAGS
67929459361SmrgCPPFLAGS
68029459361SmrgPKG_CONFIG
68129459361SmrgBDFTOPCF_CFLAGS
68229459361SmrgBDFTOPCF_LIBS'
68329459361Smrg
68429459361Smrg
68529459361Smrg# Initialize some variables set by options.
68629459361Smrgac_init_help=
68729459361Smrgac_init_version=false
68829459361Smrg# The variables have the same names as the options, with
68929459361Smrg# dashes changed to underlines.
69029459361Smrgcache_file=/dev/null
69129459361Smrgexec_prefix=NONE
69229459361Smrgno_create=
69329459361Smrgno_recursion=
69429459361Smrgprefix=NONE
69529459361Smrgprogram_prefix=NONE
69629459361Smrgprogram_suffix=NONE
69729459361Smrgprogram_transform_name=s,x,x,
69829459361Smrgsilent=
69929459361Smrgsite=
70029459361Smrgsrcdir=
70129459361Smrgverbose=
70229459361Smrgx_includes=NONE
70329459361Smrgx_libraries=NONE
70429459361Smrg
70529459361Smrg# Installation directory options.
70629459361Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
70729459361Smrg# and all the variables that are supposed to be based on exec_prefix
70829459361Smrg# by default will actually change.
70929459361Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
71029459361Smrg# (The list follows the same order as the GNU Coding Standards.)
71129459361Smrgbindir='${exec_prefix}/bin'
71229459361Smrgsbindir='${exec_prefix}/sbin'
71329459361Smrglibexecdir='${exec_prefix}/libexec'
71429459361Smrgdatarootdir='${prefix}/share'
71529459361Smrgdatadir='${datarootdir}'
71629459361Smrgsysconfdir='${prefix}/etc'
71729459361Smrgsharedstatedir='${prefix}/com'
71829459361Smrglocalstatedir='${prefix}/var'
71929459361Smrgincludedir='${prefix}/include'
72029459361Smrgoldincludedir='/usr/include'
72129459361Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
72229459361Smrginfodir='${datarootdir}/info'
72329459361Smrghtmldir='${docdir}'
72429459361Smrgdvidir='${docdir}'
72529459361Smrgpdfdir='${docdir}'
72629459361Smrgpsdir='${docdir}'
72729459361Smrglibdir='${exec_prefix}/lib'
72829459361Smrglocaledir='${datarootdir}/locale'
72929459361Smrgmandir='${datarootdir}/man'
73029459361Smrg
73129459361Smrgac_prev=
73229459361Smrgac_dashdash=
73329459361Smrgfor ac_option
73429459361Smrgdo
73529459361Smrg  # If the previous option needs an argument, assign it.
73629459361Smrg  if test -n "$ac_prev"; then
73729459361Smrg    eval $ac_prev=\$ac_option
73829459361Smrg    ac_prev=
73929459361Smrg    continue
74029459361Smrg  fi
74129459361Smrg
74229459361Smrg  case $ac_option in
74329459361Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
74429459361Smrg  *)	ac_optarg=yes ;;
74529459361Smrg  esac
74629459361Smrg
74729459361Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
74829459361Smrg
74929459361Smrg  case $ac_dashdash$ac_option in
75029459361Smrg  --)
75129459361Smrg    ac_dashdash=yes ;;
75229459361Smrg
75329459361Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
75429459361Smrg    ac_prev=bindir ;;
75529459361Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
75629459361Smrg    bindir=$ac_optarg ;;
75729459361Smrg
75829459361Smrg  -build | --build | --buil | --bui | --bu)
75929459361Smrg    ac_prev=build_alias ;;
76029459361Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
76129459361Smrg    build_alias=$ac_optarg ;;
76229459361Smrg
76329459361Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
76429459361Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
76529459361Smrg    ac_prev=cache_file ;;
76629459361Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
76729459361Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
76829459361Smrg    cache_file=$ac_optarg ;;
76929459361Smrg
77029459361Smrg  --config-cache | -C)
77129459361Smrg    cache_file=config.cache ;;
77229459361Smrg
77329459361Smrg  -datadir | --datadir | --datadi | --datad)
77429459361Smrg    ac_prev=datadir ;;
77529459361Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
77629459361Smrg    datadir=$ac_optarg ;;
77729459361Smrg
77829459361Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
77929459361Smrg  | --dataroo | --dataro | --datar)
78029459361Smrg    ac_prev=datarootdir ;;
78129459361Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
78229459361Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
78329459361Smrg    datarootdir=$ac_optarg ;;
78429459361Smrg
78529459361Smrg  -disable-* | --disable-*)
78629459361Smrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
78729459361Smrg    # Reject names that are not valid shell variable names.
78829459361Smrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
78929459361Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
79029459361Smrg   { (exit 1); exit 1; }; }
79129459361Smrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
79229459361Smrg    eval enable_$ac_feature=no ;;
79329459361Smrg
79429459361Smrg  -docdir | --docdir | --docdi | --doc | --do)
79529459361Smrg    ac_prev=docdir ;;
79629459361Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
79729459361Smrg    docdir=$ac_optarg ;;
79829459361Smrg
79929459361Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
80029459361Smrg    ac_prev=dvidir ;;
80129459361Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
80229459361Smrg    dvidir=$ac_optarg ;;
80329459361Smrg
80429459361Smrg  -enable-* | --enable-*)
80529459361Smrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
80629459361Smrg    # Reject names that are not valid shell variable names.
80729459361Smrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
80829459361Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
80929459361Smrg   { (exit 1); exit 1; }; }
81029459361Smrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
81129459361Smrg    eval enable_$ac_feature=\$ac_optarg ;;
81229459361Smrg
81329459361Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
81429459361Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
81529459361Smrg  | --exec | --exe | --ex)
81629459361Smrg    ac_prev=exec_prefix ;;
81729459361Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
81829459361Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
81929459361Smrg  | --exec=* | --exe=* | --ex=*)
82029459361Smrg    exec_prefix=$ac_optarg ;;
82129459361Smrg
82229459361Smrg  -gas | --gas | --ga | --g)
82329459361Smrg    # Obsolete; use --with-gas.
82429459361Smrg    with_gas=yes ;;
82529459361Smrg
82629459361Smrg  -help | --help | --hel | --he | -h)
82729459361Smrg    ac_init_help=long ;;
82829459361Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
82929459361Smrg    ac_init_help=recursive ;;
83029459361Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
83129459361Smrg    ac_init_help=short ;;
83229459361Smrg
83329459361Smrg  -host | --host | --hos | --ho)
83429459361Smrg    ac_prev=host_alias ;;
83529459361Smrg  -host=* | --host=* | --hos=* | --ho=*)
83629459361Smrg    host_alias=$ac_optarg ;;
83729459361Smrg
83829459361Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
83929459361Smrg    ac_prev=htmldir ;;
84029459361Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
84129459361Smrg  | --ht=*)
84229459361Smrg    htmldir=$ac_optarg ;;
84329459361Smrg
84429459361Smrg  -includedir | --includedir | --includedi | --included | --include \
84529459361Smrg  | --includ | --inclu | --incl | --inc)
84629459361Smrg    ac_prev=includedir ;;
84729459361Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
84829459361Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
84929459361Smrg    includedir=$ac_optarg ;;
85029459361Smrg
85129459361Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
85229459361Smrg    ac_prev=infodir ;;
85329459361Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
85429459361Smrg    infodir=$ac_optarg ;;
85529459361Smrg
85629459361Smrg  -libdir | --libdir | --libdi | --libd)
85729459361Smrg    ac_prev=libdir ;;
85829459361Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
85929459361Smrg    libdir=$ac_optarg ;;
86029459361Smrg
86129459361Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
86229459361Smrg  | --libexe | --libex | --libe)
86329459361Smrg    ac_prev=libexecdir ;;
86429459361Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
86529459361Smrg  | --libexe=* | --libex=* | --libe=*)
86629459361Smrg    libexecdir=$ac_optarg ;;
86729459361Smrg
86829459361Smrg  -localedir | --localedir | --localedi | --localed | --locale)
86929459361Smrg    ac_prev=localedir ;;
87029459361Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
87129459361Smrg    localedir=$ac_optarg ;;
87229459361Smrg
87329459361Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
87429459361Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
87529459361Smrg    ac_prev=localstatedir ;;
87629459361Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
87729459361Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
87829459361Smrg    localstatedir=$ac_optarg ;;
87929459361Smrg
88029459361Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
88129459361Smrg    ac_prev=mandir ;;
88229459361Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
88329459361Smrg    mandir=$ac_optarg ;;
88429459361Smrg
88529459361Smrg  -nfp | --nfp | --nf)
88629459361Smrg    # Obsolete; use --without-fp.
88729459361Smrg    with_fp=no ;;
88829459361Smrg
88929459361Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
89029459361Smrg  | --no-cr | --no-c | -n)
89129459361Smrg    no_create=yes ;;
89229459361Smrg
89329459361Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
89429459361Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
89529459361Smrg    no_recursion=yes ;;
89629459361Smrg
89729459361Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
89829459361Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
89929459361Smrg  | --oldin | --oldi | --old | --ol | --o)
90029459361Smrg    ac_prev=oldincludedir ;;
90129459361Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
90229459361Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
90329459361Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
90429459361Smrg    oldincludedir=$ac_optarg ;;
90529459361Smrg
90629459361Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
90729459361Smrg    ac_prev=prefix ;;
90829459361Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
90929459361Smrg    prefix=$ac_optarg ;;
91029459361Smrg
91129459361Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
91229459361Smrg  | --program-pre | --program-pr | --program-p)
91329459361Smrg    ac_prev=program_prefix ;;
91429459361Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
91529459361Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
91629459361Smrg    program_prefix=$ac_optarg ;;
91729459361Smrg
91829459361Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
91929459361Smrg  | --program-suf | --program-su | --program-s)
92029459361Smrg    ac_prev=program_suffix ;;
92129459361Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
92229459361Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
92329459361Smrg    program_suffix=$ac_optarg ;;
92429459361Smrg
92529459361Smrg  -program-transform-name | --program-transform-name \
92629459361Smrg  | --program-transform-nam | --program-transform-na \
92729459361Smrg  | --program-transform-n | --program-transform- \
92829459361Smrg  | --program-transform | --program-transfor \
92929459361Smrg  | --program-transfo | --program-transf \
93029459361Smrg  | --program-trans | --program-tran \
93129459361Smrg  | --progr-tra | --program-tr | --program-t)
93229459361Smrg    ac_prev=program_transform_name ;;
93329459361Smrg  -program-transform-name=* | --program-transform-name=* \
93429459361Smrg  | --program-transform-nam=* | --program-transform-na=* \
93529459361Smrg  | --program-transform-n=* | --program-transform-=* \
93629459361Smrg  | --program-transform=* | --program-transfor=* \
93729459361Smrg  | --program-transfo=* | --program-transf=* \
93829459361Smrg  | --program-trans=* | --program-tran=* \
93929459361Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
94029459361Smrg    program_transform_name=$ac_optarg ;;
94129459361Smrg
94229459361Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
94329459361Smrg    ac_prev=pdfdir ;;
94429459361Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
94529459361Smrg    pdfdir=$ac_optarg ;;
94629459361Smrg
94729459361Smrg  -psdir | --psdir | --psdi | --psd | --ps)
94829459361Smrg    ac_prev=psdir ;;
94929459361Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
95029459361Smrg    psdir=$ac_optarg ;;
95129459361Smrg
95229459361Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
95329459361Smrg  | -silent | --silent | --silen | --sile | --sil)
95429459361Smrg    silent=yes ;;
95529459361Smrg
95629459361Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
95729459361Smrg    ac_prev=sbindir ;;
95829459361Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
95929459361Smrg  | --sbi=* | --sb=*)
96029459361Smrg    sbindir=$ac_optarg ;;
96129459361Smrg
96229459361Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
96329459361Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
96429459361Smrg  | --sharedst | --shareds | --shared | --share | --shar \
96529459361Smrg  | --sha | --sh)
96629459361Smrg    ac_prev=sharedstatedir ;;
96729459361Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
96829459361Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
96929459361Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
97029459361Smrg  | --sha=* | --sh=*)
97129459361Smrg    sharedstatedir=$ac_optarg ;;
97229459361Smrg
97329459361Smrg  -site | --site | --sit)
97429459361Smrg    ac_prev=site ;;
97529459361Smrg  -site=* | --site=* | --sit=*)
97629459361Smrg    site=$ac_optarg ;;
97729459361Smrg
97829459361Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
97929459361Smrg    ac_prev=srcdir ;;
98029459361Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
98129459361Smrg    srcdir=$ac_optarg ;;
98229459361Smrg
98329459361Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
98429459361Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
98529459361Smrg    ac_prev=sysconfdir ;;
98629459361Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
98729459361Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
98829459361Smrg    sysconfdir=$ac_optarg ;;
98929459361Smrg
99029459361Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
99129459361Smrg    ac_prev=target_alias ;;
99229459361Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
99329459361Smrg    target_alias=$ac_optarg ;;
99429459361Smrg
99529459361Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
99629459361Smrg    verbose=yes ;;
99729459361Smrg
99829459361Smrg  -version | --version | --versio | --versi | --vers | -V)
99929459361Smrg    ac_init_version=: ;;
100029459361Smrg
100129459361Smrg  -with-* | --with-*)
100229459361Smrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
100329459361Smrg    # Reject names that are not valid shell variable names.
100429459361Smrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
100529459361Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
100629459361Smrg   { (exit 1); exit 1; }; }
100729459361Smrg    ac_package=`echo $ac_package| sed 's/-/_/g'`
100829459361Smrg    eval with_$ac_package=\$ac_optarg ;;
100929459361Smrg
101029459361Smrg  -without-* | --without-*)
101129459361Smrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
101229459361Smrg    # Reject names that are not valid shell variable names.
101329459361Smrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
101429459361Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
101529459361Smrg   { (exit 1); exit 1; }; }
101629459361Smrg    ac_package=`echo $ac_package | sed 's/-/_/g'`
101729459361Smrg    eval with_$ac_package=no ;;
101829459361Smrg
101929459361Smrg  --x)
102029459361Smrg    # Obsolete; use --with-x.
102129459361Smrg    with_x=yes ;;
102229459361Smrg
102329459361Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
102429459361Smrg  | --x-incl | --x-inc | --x-in | --x-i)
102529459361Smrg    ac_prev=x_includes ;;
102629459361Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
102729459361Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
102829459361Smrg    x_includes=$ac_optarg ;;
102929459361Smrg
103029459361Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
103129459361Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
103229459361Smrg    ac_prev=x_libraries ;;
103329459361Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
103429459361Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
103529459361Smrg    x_libraries=$ac_optarg ;;
103629459361Smrg
103729459361Smrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
103829459361SmrgTry \`$0 --help' for more information." >&2
103929459361Smrg   { (exit 1); exit 1; }; }
104029459361Smrg    ;;
104129459361Smrg
104229459361Smrg  *=*)
104329459361Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
104429459361Smrg    # Reject names that are not valid shell variable names.
104529459361Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
104629459361Smrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
104729459361Smrg   { (exit 1); exit 1; }; }
104829459361Smrg    eval $ac_envvar=\$ac_optarg
104929459361Smrg    export $ac_envvar ;;
105029459361Smrg
105129459361Smrg  *)
105229459361Smrg    # FIXME: should be removed in autoconf 3.0.
105329459361Smrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
105429459361Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
105529459361Smrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
105629459361Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
105729459361Smrg    ;;
105829459361Smrg
105929459361Smrg  esac
106029459361Smrgdone
106129459361Smrg
106229459361Smrgif test -n "$ac_prev"; then
106329459361Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
106429459361Smrg  { echo "$as_me: error: missing argument to $ac_option" >&2
106529459361Smrg   { (exit 1); exit 1; }; }
106629459361Smrgfi
106729459361Smrg
106829459361Smrg# Be sure to have absolute directory names.
106929459361Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
107029459361Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
107129459361Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
107229459361Smrg		libdir localedir mandir
107329459361Smrgdo
107429459361Smrg  eval ac_val=\$$ac_var
107529459361Smrg  case $ac_val in
107629459361Smrg    [\\/$]* | ?:[\\/]* )  continue;;
107729459361Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
107829459361Smrg  esac
107929459361Smrg  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
108029459361Smrg   { (exit 1); exit 1; }; }
108129459361Smrgdone
108229459361Smrg
108329459361Smrg# There might be people who depend on the old broken behavior: `$host'
108429459361Smrg# used to hold the argument of --host etc.
108529459361Smrg# FIXME: To remove some day.
108629459361Smrgbuild=$build_alias
108729459361Smrghost=$host_alias
108829459361Smrgtarget=$target_alias
108929459361Smrg
109029459361Smrg# FIXME: To remove some day.
109129459361Smrgif test "x$host_alias" != x; then
109229459361Smrg  if test "x$build_alias" = x; then
109329459361Smrg    cross_compiling=maybe
109429459361Smrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
109529459361Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
109629459361Smrg  elif test "x$build_alias" != "x$host_alias"; then
109729459361Smrg    cross_compiling=yes
109829459361Smrg  fi
109929459361Smrgfi
110029459361Smrg
110129459361Smrgac_tool_prefix=
110229459361Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
110329459361Smrg
110429459361Smrgtest "$silent" = yes && exec 6>/dev/null
110529459361Smrg
110629459361Smrg
110729459361Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
110829459361Smrgac_ls_di=`ls -di .` &&
110929459361Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
111029459361Smrg  { echo "$as_me: error: Working directory cannot be determined" >&2
111129459361Smrg   { (exit 1); exit 1; }; }
111229459361Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
111329459361Smrg  { echo "$as_me: error: pwd does not report name of working directory" >&2
111429459361Smrg   { (exit 1); exit 1; }; }
111529459361Smrg
111629459361Smrg
111729459361Smrg# Find the source files, if location was not specified.
111829459361Smrgif test -z "$srcdir"; then
111929459361Smrg  ac_srcdir_defaulted=yes
112029459361Smrg  # Try the directory containing this script, then the parent directory.
112129459361Smrg  ac_confdir=`$as_dirname -- "$0" ||
112229459361Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
112329459361Smrg	 X"$0" : 'X\(//\)[^/]' \| \
112429459361Smrg	 X"$0" : 'X\(//\)$' \| \
112529459361Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
112629459361Smrgecho X"$0" |
112729459361Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
112829459361Smrg	    s//\1/
112929459361Smrg	    q
113029459361Smrg	  }
113129459361Smrg	  /^X\(\/\/\)[^/].*/{
113229459361Smrg	    s//\1/
113329459361Smrg	    q
113429459361Smrg	  }
113529459361Smrg	  /^X\(\/\/\)$/{
113629459361Smrg	    s//\1/
113729459361Smrg	    q
113829459361Smrg	  }
113929459361Smrg	  /^X\(\/\).*/{
114029459361Smrg	    s//\1/
114129459361Smrg	    q
114229459361Smrg	  }
114329459361Smrg	  s/.*/./; q'`
114429459361Smrg  srcdir=$ac_confdir
114529459361Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
114629459361Smrg    srcdir=..
114729459361Smrg  fi
114829459361Smrgelse
114929459361Smrg  ac_srcdir_defaulted=no
115029459361Smrgfi
115129459361Smrgif test ! -r "$srcdir/$ac_unique_file"; then
115229459361Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
115329459361Smrg  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
115429459361Smrg   { (exit 1); exit 1; }; }
115529459361Smrgfi
115629459361Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
115729459361Smrgac_abs_confdir=`(
115829459361Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
115929459361Smrg   { (exit 1); exit 1; }; }
116029459361Smrg	pwd)`
116129459361Smrg# When building in place, set srcdir=.
116229459361Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
116329459361Smrg  srcdir=.
116429459361Smrgfi
116529459361Smrg# Remove unnecessary trailing slashes from srcdir.
116629459361Smrg# Double slashes in file names in object file debugging info
116729459361Smrg# mess up M-x gdb in Emacs.
116829459361Smrgcase $srcdir in
116929459361Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
117029459361Smrgesac
117129459361Smrgfor ac_var in $ac_precious_vars; do
117229459361Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
117329459361Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
117429459361Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
117529459361Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
117629459361Smrgdone
117729459361Smrg
117829459361Smrg#
117929459361Smrg# Report the --help message.
118029459361Smrg#
118129459361Smrgif test "$ac_init_help" = "long"; then
118229459361Smrg  # Omit some internal or obsolete options to make the list less imposing.
118329459361Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
118429459361Smrg  cat <<_ACEOF
118529459361Smrg\`configure' configures bdftopcf 1.0.1 to adapt to many kinds of systems.
118629459361Smrg
118729459361SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
118829459361Smrg
118929459361SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
119029459361SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
119129459361Smrg
119229459361SmrgDefaults for the options are specified in brackets.
119329459361Smrg
119429459361SmrgConfiguration:
119529459361Smrg  -h, --help              display this help and exit
119629459361Smrg      --help=short        display options specific to this package
119729459361Smrg      --help=recursive    display the short help of all the included packages
119829459361Smrg  -V, --version           display version information and exit
119929459361Smrg  -q, --quiet, --silent   do not print \`checking...' messages
120029459361Smrg      --cache-file=FILE   cache test results in FILE [disabled]
120129459361Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
120229459361Smrg  -n, --no-create         do not create output files
120329459361Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
120429459361Smrg
120529459361SmrgInstallation directories:
120629459361Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
120729459361Smrg			  [$ac_default_prefix]
120829459361Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
120929459361Smrg			  [PREFIX]
121029459361Smrg
121129459361SmrgBy default, \`make install' will install all the files in
121229459361Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
121329459361Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
121429459361Smrgfor instance \`--prefix=\$HOME'.
121529459361Smrg
121629459361SmrgFor better control, use the options below.
121729459361Smrg
121829459361SmrgFine tuning of the installation directories:
121929459361Smrg  --bindir=DIR           user executables [EPREFIX/bin]
122029459361Smrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
122129459361Smrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
122229459361Smrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
122329459361Smrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
122429459361Smrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
122529459361Smrg  --libdir=DIR           object code libraries [EPREFIX/lib]
122629459361Smrg  --includedir=DIR       C header files [PREFIX/include]
122729459361Smrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
122829459361Smrg  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
122929459361Smrg  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
123029459361Smrg  --infodir=DIR          info documentation [DATAROOTDIR/info]
123129459361Smrg  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
123229459361Smrg  --mandir=DIR           man documentation [DATAROOTDIR/man]
123329459361Smrg  --docdir=DIR           documentation root [DATAROOTDIR/doc/bdftopcf]
123429459361Smrg  --htmldir=DIR          html documentation [DOCDIR]
123529459361Smrg  --dvidir=DIR           dvi documentation [DOCDIR]
123629459361Smrg  --pdfdir=DIR           pdf documentation [DOCDIR]
123729459361Smrg  --psdir=DIR            ps documentation [DOCDIR]
123829459361Smrg_ACEOF
123929459361Smrg
124029459361Smrg  cat <<\_ACEOF
124129459361Smrg
124229459361SmrgProgram names:
124329459361Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
124429459361Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
124529459361Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
124629459361Smrg
124729459361SmrgSystem types:
124829459361Smrg  --build=BUILD     configure for building on BUILD [guessed]
124929459361Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
125029459361Smrg_ACEOF
125129459361Smrgfi
125229459361Smrg
125329459361Smrgif test -n "$ac_init_help"; then
125429459361Smrg  case $ac_init_help in
125529459361Smrg     short | recursive ) echo "Configuration of bdftopcf 1.0.1:";;
125629459361Smrg   esac
125729459361Smrg  cat <<\_ACEOF
125829459361Smrg
125929459361SmrgOptional Features:
126029459361Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
126129459361Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
126229459361Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
126329459361Smrg			  (and sometimes confusing) to the casual installer
126429459361Smrg  --disable-dependency-tracking  speeds up one-time build
126529459361Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
126629459361Smrg
126729459361SmrgOptional Packages:
126829459361Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
126929459361Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
127029459361Smrg  --with-lint             Use a lint-style source code checker (default:
127129459361Smrg                          disabled)
127229459361Smrg  --with-release-version=STRING
127329459361Smrg                          Use release version string in package name
127429459361Smrg
127529459361SmrgSome influential environment variables:
127629459361Smrg  CC          C compiler command
127729459361Smrg  CFLAGS      C compiler flags
127829459361Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
127929459361Smrg              nonstandard directory <lib dir>
128029459361Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
128129459361Smrg              you have headers in a nonstandard directory <include dir>
128229459361Smrg  PKG_CONFIG  path to pkg-config utility
128329459361Smrg  BDFTOPCF_CFLAGS
128429459361Smrg              C compiler flags for BDFTOPCF, overriding pkg-config
128529459361Smrg  BDFTOPCF_LIBS
128629459361Smrg              linker flags for BDFTOPCF, overriding pkg-config
128729459361Smrg
128829459361SmrgUse these variables to override the choices made by `configure' or to help
128929459361Smrgit to find libraries and programs with nonstandard names/locations.
129029459361Smrg
129129459361SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
129229459361Smrg_ACEOF
129329459361Smrgac_status=$?
129429459361Smrgfi
129529459361Smrg
129629459361Smrgif test "$ac_init_help" = "recursive"; then
129729459361Smrg  # If there are subdirs, report their specific --help.
129829459361Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
129929459361Smrg    test -d "$ac_dir" || continue
130029459361Smrg    ac_builddir=.
130129459361Smrg
130229459361Smrgcase "$ac_dir" in
130329459361Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
130429459361Smrg*)
130529459361Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
130629459361Smrg  # A ".." for each directory in $ac_dir_suffix.
130729459361Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
130829459361Smrg  case $ac_top_builddir_sub in
130929459361Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
131029459361Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
131129459361Smrg  esac ;;
131229459361Smrgesac
131329459361Smrgac_abs_top_builddir=$ac_pwd
131429459361Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
131529459361Smrg# for backward compatibility:
131629459361Smrgac_top_builddir=$ac_top_build_prefix
131729459361Smrg
131829459361Smrgcase $srcdir in
131929459361Smrg  .)  # We are building in place.
132029459361Smrg    ac_srcdir=.
132129459361Smrg    ac_top_srcdir=$ac_top_builddir_sub
132229459361Smrg    ac_abs_top_srcdir=$ac_pwd ;;
132329459361Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
132429459361Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
132529459361Smrg    ac_top_srcdir=$srcdir
132629459361Smrg    ac_abs_top_srcdir=$srcdir ;;
132729459361Smrg  *) # Relative name.
132829459361Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
132929459361Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
133029459361Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
133129459361Smrgesac
133229459361Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
133329459361Smrg
133429459361Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
133529459361Smrg    # Check for guested configure.
133629459361Smrg    if test -f "$ac_srcdir/configure.gnu"; then
133729459361Smrg      echo &&
133829459361Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
133929459361Smrg    elif test -f "$ac_srcdir/configure"; then
134029459361Smrg      echo &&
134129459361Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
134229459361Smrg    else
134329459361Smrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
134429459361Smrg    fi || ac_status=$?
134529459361Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
134629459361Smrg  done
134729459361Smrgfi
134829459361Smrg
134929459361Smrgtest -n "$ac_init_help" && exit $ac_status
135029459361Smrgif $ac_init_version; then
135129459361Smrg  cat <<\_ACEOF
135229459361Smrgbdftopcf configure 1.0.1
135329459361Smrggenerated by GNU Autoconf 2.60
135429459361Smrg
135529459361SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
135629459361Smrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
135729459361SmrgThis configure script is free software; the Free Software Foundation
135829459361Smrggives unlimited permission to copy, distribute and modify it.
135929459361Smrg_ACEOF
136029459361Smrg  exit
136129459361Smrgfi
136229459361Smrgcat >config.log <<_ACEOF
136329459361SmrgThis file contains any messages produced by compilers while
136429459361Smrgrunning configure, to aid debugging if configure makes a mistake.
136529459361Smrg
136629459361SmrgIt was created by bdftopcf $as_me 1.0.1, which was
136729459361Smrggenerated by GNU Autoconf 2.60.  Invocation command line was
136829459361Smrg
136929459361Smrg  $ $0 $@
137029459361Smrg
137129459361Smrg_ACEOF
137229459361Smrgexec 5>>config.log
137329459361Smrg{
137429459361Smrgcat <<_ASUNAME
137529459361Smrg## --------- ##
137629459361Smrg## Platform. ##
137729459361Smrg## --------- ##
137829459361Smrg
137929459361Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
138029459361Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
138129459361Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
138229459361Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
138329459361Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
138429459361Smrg
138529459361Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
138629459361Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
138729459361Smrg
138829459361Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
138929459361Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
139029459361Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
139129459361Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
139229459361Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
139329459361Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
139429459361Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
139529459361Smrg
139629459361Smrg_ASUNAME
139729459361Smrg
139829459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
139929459361Smrgfor as_dir in $PATH
140029459361Smrgdo
140129459361Smrg  IFS=$as_save_IFS
140229459361Smrg  test -z "$as_dir" && as_dir=.
140329459361Smrg  echo "PATH: $as_dir"
140429459361Smrgdone
140529459361SmrgIFS=$as_save_IFS
140629459361Smrg
140729459361Smrg} >&5
140829459361Smrg
140929459361Smrgcat >&5 <<_ACEOF
141029459361Smrg
141129459361Smrg
141229459361Smrg## ----------- ##
141329459361Smrg## Core tests. ##
141429459361Smrg## ----------- ##
141529459361Smrg
141629459361Smrg_ACEOF
141729459361Smrg
141829459361Smrg
141929459361Smrg# Keep a trace of the command line.
142029459361Smrg# Strip out --no-create and --no-recursion so they do not pile up.
142129459361Smrg# Strip out --silent because we don't want to record it for future runs.
142229459361Smrg# Also quote any args containing shell meta-characters.
142329459361Smrg# Make two passes to allow for proper duplicate-argument suppression.
142429459361Smrgac_configure_args=
142529459361Smrgac_configure_args0=
142629459361Smrgac_configure_args1=
142729459361Smrgac_must_keep_next=false
142829459361Smrgfor ac_pass in 1 2
142929459361Smrgdo
143029459361Smrg  for ac_arg
143129459361Smrg  do
143229459361Smrg    case $ac_arg in
143329459361Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
143429459361Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
143529459361Smrg    | -silent | --silent | --silen | --sile | --sil)
143629459361Smrg      continue ;;
143729459361Smrg    *\'*)
143829459361Smrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
143929459361Smrg    esac
144029459361Smrg    case $ac_pass in
144129459361Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
144229459361Smrg    2)
144329459361Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
144429459361Smrg      if test $ac_must_keep_next = true; then
144529459361Smrg	ac_must_keep_next=false # Got value, back to normal.
144629459361Smrg      else
144729459361Smrg	case $ac_arg in
144829459361Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
144929459361Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
145029459361Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
145129459361Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
145229459361Smrg	    case "$ac_configure_args0 " in
145329459361Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
145429459361Smrg	    esac
145529459361Smrg	    ;;
145629459361Smrg	  -* ) ac_must_keep_next=true ;;
145729459361Smrg	esac
145829459361Smrg      fi
145929459361Smrg      ac_configure_args="$ac_configure_args '$ac_arg'"
146029459361Smrg      ;;
146129459361Smrg    esac
146229459361Smrg  done
146329459361Smrgdone
146429459361Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
146529459361Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
146629459361Smrg
146729459361Smrg# When interrupted or exit'd, cleanup temporary files, and complete
146829459361Smrg# config.log.  We remove comments because anyway the quotes in there
146929459361Smrg# would cause problems or look ugly.
147029459361Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
147129459361Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
147229459361Smrgtrap 'exit_status=$?
147329459361Smrg  # Save into config.log some information that might help in debugging.
147429459361Smrg  {
147529459361Smrg    echo
147629459361Smrg
147729459361Smrg    cat <<\_ASBOX
147829459361Smrg## ---------------- ##
147929459361Smrg## Cache variables. ##
148029459361Smrg## ---------------- ##
148129459361Smrg_ASBOX
148229459361Smrg    echo
148329459361Smrg    # The following way of writing the cache mishandles newlines in values,
148429459361Smrg(
148529459361Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
148629459361Smrg    eval ac_val=\$$ac_var
148729459361Smrg    case $ac_val in #(
148829459361Smrg    *${as_nl}*)
148929459361Smrg      case $ac_var in #(
149029459361Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
149129459361Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
149229459361Smrg      esac
149329459361Smrg      case $ac_var in #(
149429459361Smrg      _ | IFS | as_nl) ;; #(
149529459361Smrg      *) $as_unset $ac_var ;;
149629459361Smrg      esac ;;
149729459361Smrg    esac
149829459361Smrg  done
149929459361Smrg  (set) 2>&1 |
150029459361Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
150129459361Smrg    *${as_nl}ac_space=\ *)
150229459361Smrg      sed -n \
150329459361Smrg	"s/'\''/'\''\\\\'\'''\''/g;
150429459361Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
150529459361Smrg      ;; #(
150629459361Smrg    *)
150729459361Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
150829459361Smrg      ;;
150929459361Smrg    esac |
151029459361Smrg    sort
151129459361Smrg)
151229459361Smrg    echo
151329459361Smrg
151429459361Smrg    cat <<\_ASBOX
151529459361Smrg## ----------------- ##
151629459361Smrg## Output variables. ##
151729459361Smrg## ----------------- ##
151829459361Smrg_ASBOX
151929459361Smrg    echo
152029459361Smrg    for ac_var in $ac_subst_vars
152129459361Smrg    do
152229459361Smrg      eval ac_val=\$$ac_var
152329459361Smrg      case $ac_val in
152429459361Smrg      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
152529459361Smrg      esac
152629459361Smrg      echo "$ac_var='\''$ac_val'\''"
152729459361Smrg    done | sort
152829459361Smrg    echo
152929459361Smrg
153029459361Smrg    if test -n "$ac_subst_files"; then
153129459361Smrg      cat <<\_ASBOX
153229459361Smrg## ------------------- ##
153329459361Smrg## File substitutions. ##
153429459361Smrg## ------------------- ##
153529459361Smrg_ASBOX
153629459361Smrg      echo
153729459361Smrg      for ac_var in $ac_subst_files
153829459361Smrg      do
153929459361Smrg	eval ac_val=\$$ac_var
154029459361Smrg	case $ac_val in
154129459361Smrg	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
154229459361Smrg	esac
154329459361Smrg	echo "$ac_var='\''$ac_val'\''"
154429459361Smrg      done | sort
154529459361Smrg      echo
154629459361Smrg    fi
154729459361Smrg
154829459361Smrg    if test -s confdefs.h; then
154929459361Smrg      cat <<\_ASBOX
155029459361Smrg## ----------- ##
155129459361Smrg## confdefs.h. ##
155229459361Smrg## ----------- ##
155329459361Smrg_ASBOX
155429459361Smrg      echo
155529459361Smrg      cat confdefs.h
155629459361Smrg      echo
155729459361Smrg    fi
155829459361Smrg    test "$ac_signal" != 0 &&
155929459361Smrg      echo "$as_me: caught signal $ac_signal"
156029459361Smrg    echo "$as_me: exit $exit_status"
156129459361Smrg  } >&5
156229459361Smrg  rm -f core *.core core.conftest.* &&
156329459361Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
156429459361Smrg    exit $exit_status
156529459361Smrg' 0
156629459361Smrgfor ac_signal in 1 2 13 15; do
156729459361Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
156829459361Smrgdone
156929459361Smrgac_signal=0
157029459361Smrg
157129459361Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
157229459361Smrgrm -f -r conftest* confdefs.h
157329459361Smrg
157429459361Smrg# Predefined preprocessor variables.
157529459361Smrg
157629459361Smrgcat >>confdefs.h <<_ACEOF
157729459361Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
157829459361Smrg_ACEOF
157929459361Smrg
158029459361Smrg
158129459361Smrgcat >>confdefs.h <<_ACEOF
158229459361Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
158329459361Smrg_ACEOF
158429459361Smrg
158529459361Smrg
158629459361Smrgcat >>confdefs.h <<_ACEOF
158729459361Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
158829459361Smrg_ACEOF
158929459361Smrg
159029459361Smrg
159129459361Smrgcat >>confdefs.h <<_ACEOF
159229459361Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
159329459361Smrg_ACEOF
159429459361Smrg
159529459361Smrg
159629459361Smrgcat >>confdefs.h <<_ACEOF
159729459361Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
159829459361Smrg_ACEOF
159929459361Smrg
160029459361Smrg
160129459361Smrg# Let the site file select an alternate cache file if it wants to.
160229459361Smrg# Prefer explicitly selected file to automatically selected ones.
160329459361Smrgif test -n "$CONFIG_SITE"; then
160429459361Smrg  set x "$CONFIG_SITE"
160529459361Smrgelif test "x$prefix" != xNONE; then
160629459361Smrg  set x "$prefix/share/config.site" "$prefix/etc/config.site"
160729459361Smrgelse
160829459361Smrg  set x "$ac_default_prefix/share/config.site" \
160929459361Smrg	"$ac_default_prefix/etc/config.site"
161029459361Smrgfi
161129459361Smrgshift
161229459361Smrgfor ac_site_file
161329459361Smrgdo
161429459361Smrg  if test -r "$ac_site_file"; then
161529459361Smrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
161629459361Smrgecho "$as_me: loading site script $ac_site_file" >&6;}
161729459361Smrg    sed 's/^/| /' "$ac_site_file" >&5
161829459361Smrg    . "$ac_site_file"
161929459361Smrg  fi
162029459361Smrgdone
162129459361Smrg
162229459361Smrgif test -r "$cache_file"; then
162329459361Smrg  # Some versions of bash will fail to source /dev/null (special
162429459361Smrg  # files actually), so we avoid doing that.
162529459361Smrg  if test -f "$cache_file"; then
162629459361Smrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
162729459361Smrgecho "$as_me: loading cache $cache_file" >&6;}
162829459361Smrg    case $cache_file in
162929459361Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
163029459361Smrg      *)                      . "./$cache_file";;
163129459361Smrg    esac
163229459361Smrg  fi
163329459361Smrgelse
163429459361Smrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
163529459361Smrgecho "$as_me: creating cache $cache_file" >&6;}
163629459361Smrg  >$cache_file
163729459361Smrgfi
163829459361Smrg
163929459361Smrg# Check that the precious variables saved in the cache have kept the same
164029459361Smrg# value.
164129459361Smrgac_cache_corrupted=false
164229459361Smrgfor ac_var in $ac_precious_vars; do
164329459361Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
164429459361Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
164529459361Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
164629459361Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
164729459361Smrg  case $ac_old_set,$ac_new_set in
164829459361Smrg    set,)
164929459361Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
165029459361Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
165129459361Smrg      ac_cache_corrupted=: ;;
165229459361Smrg    ,set)
165329459361Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
165429459361Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
165529459361Smrg      ac_cache_corrupted=: ;;
165629459361Smrg    ,);;
165729459361Smrg    *)
165829459361Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
165929459361Smrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
166029459361Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
166129459361Smrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
166229459361Smrgecho "$as_me:   former value:  $ac_old_val" >&2;}
166329459361Smrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
166429459361Smrgecho "$as_me:   current value: $ac_new_val" >&2;}
166529459361Smrg	ac_cache_corrupted=:
166629459361Smrg      fi;;
166729459361Smrg  esac
166829459361Smrg  # Pass precious variables to config.status.
166929459361Smrg  if test "$ac_new_set" = set; then
167029459361Smrg    case $ac_new_val in
167129459361Smrg    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
167229459361Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
167329459361Smrg    esac
167429459361Smrg    case " $ac_configure_args " in
167529459361Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
167629459361Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
167729459361Smrg    esac
167829459361Smrg  fi
167929459361Smrgdone
168029459361Smrgif $ac_cache_corrupted; then
168129459361Smrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
168229459361Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
168329459361Smrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
168429459361Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
168529459361Smrg   { (exit 1); exit 1; }; }
168629459361Smrgfi
168729459361Smrg
168829459361Smrg
168929459361Smrg
169029459361Smrg
169129459361Smrg
169229459361Smrg
169329459361Smrg
169429459361Smrg
169529459361Smrg
169629459361Smrg
169729459361Smrg
169829459361Smrg
169929459361Smrg
170029459361Smrg
170129459361Smrg
170229459361Smrg
170329459361Smrg
170429459361Smrg
170529459361Smrg
170629459361Smrg
170729459361Smrg
170829459361Smrg
170929459361Smrg
171029459361Smrg
171129459361Smrg
171229459361Smrgac_ext=c
171329459361Smrgac_cpp='$CPP $CPPFLAGS'
171429459361Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
171529459361Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
171629459361Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
171729459361Smrg
171829459361Smrg
171929459361Smrgam__api_version="1.9"
172029459361Smrgac_aux_dir=
172129459361Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
172229459361Smrg  if test -f "$ac_dir/install-sh"; then
172329459361Smrg    ac_aux_dir=$ac_dir
172429459361Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
172529459361Smrg    break
172629459361Smrg  elif test -f "$ac_dir/install.sh"; then
172729459361Smrg    ac_aux_dir=$ac_dir
172829459361Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
172929459361Smrg    break
173029459361Smrg  elif test -f "$ac_dir/shtool"; then
173129459361Smrg    ac_aux_dir=$ac_dir
173229459361Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
173329459361Smrg    break
173429459361Smrg  fi
173529459361Smrgdone
173629459361Smrgif test -z "$ac_aux_dir"; then
173729459361Smrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
173829459361Smrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
173929459361Smrg   { (exit 1); exit 1; }; }
174029459361Smrgfi
174129459361Smrg
174229459361Smrg# These three variables are undocumented and unsupported,
174329459361Smrg# and are intended to be withdrawn in a future Autoconf release.
174429459361Smrg# They can cause serious problems if a builder's source tree is in a directory
174529459361Smrg# whose full name contains unusual characters.
174629459361Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
174729459361Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
174829459361Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
174929459361Smrg
175029459361Smrg
175129459361Smrg# Find a good install program.  We prefer a C program (faster),
175229459361Smrg# so one script is as good as another.  But avoid the broken or
175329459361Smrg# incompatible versions:
175429459361Smrg# SysV /etc/install, /usr/sbin/install
175529459361Smrg# SunOS /usr/etc/install
175629459361Smrg# IRIX /sbin/install
175729459361Smrg# AIX /bin/install
175829459361Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
175929459361Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
176029459361Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
176129459361Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
176229459361Smrg# OS/2's system install, which has a completely different semantic
176329459361Smrg# ./install, which can be erroneously created by make from ./install.sh.
176429459361Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
176529459361Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
176629459361Smrgif test -z "$INSTALL"; then
176729459361Smrgif test "${ac_cv_path_install+set}" = set; then
176829459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
176929459361Smrgelse
177029459361Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
177129459361Smrgfor as_dir in $PATH
177229459361Smrgdo
177329459361Smrg  IFS=$as_save_IFS
177429459361Smrg  test -z "$as_dir" && as_dir=.
177529459361Smrg  # Account for people who put trailing slashes in PATH elements.
177629459361Smrgcase $as_dir/ in
177729459361Smrg  ./ | .// | /cC/* | \
177829459361Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
177929459361Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
178029459361Smrg  /usr/ucb/* ) ;;
178129459361Smrg  *)
178229459361Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
178329459361Smrg    # Don't use installbsd from OSF since it installs stuff as root
178429459361Smrg    # by default.
178529459361Smrg    for ac_prog in ginstall scoinst install; do
178629459361Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
178729459361Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
178829459361Smrg	  if test $ac_prog = install &&
178929459361Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
179029459361Smrg	    # AIX install.  It has an incompatible calling convention.
179129459361Smrg	    :
179229459361Smrg	  elif test $ac_prog = install &&
179329459361Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
179429459361Smrg	    # program-specific install script used by HP pwplus--don't use.
179529459361Smrg	    :
179629459361Smrg	  else
179729459361Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
179829459361Smrg	    break 3
179929459361Smrg	  fi
180029459361Smrg	fi
180129459361Smrg      done
180229459361Smrg    done
180329459361Smrg    ;;
180429459361Smrgesac
180529459361Smrgdone
180629459361SmrgIFS=$as_save_IFS
180729459361Smrg
180829459361Smrg
180929459361Smrgfi
181029459361Smrg  if test "${ac_cv_path_install+set}" = set; then
181129459361Smrg    INSTALL=$ac_cv_path_install
181229459361Smrg  else
181329459361Smrg    # As a last resort, use the slow shell script.  Don't cache a
181429459361Smrg    # value for INSTALL within a source directory, because that will
181529459361Smrg    # break other packages using the cache if that directory is
181629459361Smrg    # removed, or if the value is a relative name.
181729459361Smrg    INSTALL=$ac_install_sh
181829459361Smrg  fi
181929459361Smrgfi
182029459361Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
182129459361Smrgecho "${ECHO_T}$INSTALL" >&6; }
182229459361Smrg
182329459361Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
182429459361Smrg# It thinks the first close brace ends the variable substitution.
182529459361Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
182629459361Smrg
182729459361Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
182829459361Smrg
182929459361Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
183029459361Smrg
183129459361Smrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
183229459361Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
183329459361Smrg# Just in case
183429459361Smrgsleep 1
183529459361Smrgecho timestamp > conftest.file
183629459361Smrg# Do `set' in a subshell so we don't clobber the current shell's
183729459361Smrg# arguments.  Must try -L first in case configure is actually a
183829459361Smrg# symlink; some systems play weird games with the mod time of symlinks
183929459361Smrg# (eg FreeBSD returns the mod time of the symlink's containing
184029459361Smrg# directory).
184129459361Smrgif (
184229459361Smrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
184329459361Smrg   if test "$*" = "X"; then
184429459361Smrg      # -L didn't work.
184529459361Smrg      set X `ls -t $srcdir/configure conftest.file`
184629459361Smrg   fi
184729459361Smrg   rm -f conftest.file
184829459361Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
184929459361Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
185029459361Smrg
185129459361Smrg      # If neither matched, then we have a broken ls.  This can happen
185229459361Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
185329459361Smrg      # broken ls alias from the environment.  This has actually
185429459361Smrg      # happened.  Such a system could not be considered "sane".
185529459361Smrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
185629459361Smrgalias in your environment" >&5
185729459361Smrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
185829459361Smrgalias in your environment" >&2;}
185929459361Smrg   { (exit 1); exit 1; }; }
186029459361Smrg   fi
186129459361Smrg
186229459361Smrg   test "$2" = conftest.file
186329459361Smrg   )
186429459361Smrgthen
186529459361Smrg   # Ok.
186629459361Smrg   :
186729459361Smrgelse
186829459361Smrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
186929459361SmrgCheck your system clock" >&5
187029459361Smrgecho "$as_me: error: newly created file is older than distributed files!
187129459361SmrgCheck your system clock" >&2;}
187229459361Smrg   { (exit 1); exit 1; }; }
187329459361Smrgfi
187429459361Smrg{ echo "$as_me:$LINENO: result: yes" >&5
187529459361Smrgecho "${ECHO_T}yes" >&6; }
187629459361Smrgtest "$program_prefix" != NONE &&
187729459361Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
187829459361Smrg# Use a double $ so make ignores it.
187929459361Smrgtest "$program_suffix" != NONE &&
188029459361Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
188129459361Smrg# Double any \ or $.  echo might interpret backslashes.
188229459361Smrg# By default was `s,x,x', remove it if useless.
188329459361Smrgcat <<\_ACEOF >conftest.sed
188429459361Smrgs/[\\$]/&&/g;s/;s,x,x,$//
188529459361Smrg_ACEOF
188629459361Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
188729459361Smrgrm -f conftest.sed
188829459361Smrg
188929459361Smrg# expand $ac_aux_dir to an absolute path
189029459361Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
189129459361Smrg
189229459361Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
189329459361Smrg# Use eval to expand $SHELL
189429459361Smrgif eval "$MISSING --run true"; then
189529459361Smrg  am_missing_run="$MISSING --run "
189629459361Smrgelse
189729459361Smrg  am_missing_run=
189829459361Smrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
189929459361Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
190029459361Smrgfi
190129459361Smrg
190229459361Smrgif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
190329459361Smrg  # We used to keeping the `.' as first argument, in order to
190429459361Smrg  # allow $(mkdir_p) to be used without argument.  As in
190529459361Smrg  #   $(mkdir_p) $(somedir)
190629459361Smrg  # where $(somedir) is conditionally defined.  However this is wrong
190729459361Smrg  # for two reasons:
190829459361Smrg  #  1. if the package is installed by a user who cannot write `.'
190929459361Smrg  #     make install will fail,
191029459361Smrg  #  2. the above comment should most certainly read
191129459361Smrg  #     $(mkdir_p) $(DESTDIR)$(somedir)
191229459361Smrg  #     so it does not work when $(somedir) is undefined and
191329459361Smrg  #     $(DESTDIR) is not.
191429459361Smrg  #  To support the latter case, we have to write
191529459361Smrg  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
191629459361Smrg  #  so the `.' trick is pointless.
191729459361Smrg  mkdir_p='mkdir -p --'
191829459361Smrgelse
191929459361Smrg  # On NextStep and OpenStep, the `mkdir' command does not
192029459361Smrg  # recognize any option.  It will interpret all options as
192129459361Smrg  # directories to create, and then abort because `.' already
192229459361Smrg  # exists.
192329459361Smrg  for d in ./-p ./--version;
192429459361Smrg  do
192529459361Smrg    test -d $d && rmdir $d
192629459361Smrg  done
192729459361Smrg  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
192829459361Smrg  if test -f "$ac_aux_dir/mkinstalldirs"; then
192929459361Smrg    mkdir_p='$(mkinstalldirs)'
193029459361Smrg  else
193129459361Smrg    mkdir_p='$(install_sh) -d'
193229459361Smrg  fi
193329459361Smrgfi
193429459361Smrg
193529459361Smrgfor ac_prog in gawk mawk nawk awk
193629459361Smrgdo
193729459361Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
193829459361Smrgset dummy $ac_prog; ac_word=$2
193929459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
194029459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
194129459361Smrgif test "${ac_cv_prog_AWK+set}" = set; then
194229459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
194329459361Smrgelse
194429459361Smrg  if test -n "$AWK"; then
194529459361Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
194629459361Smrgelse
194729459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194829459361Smrgfor as_dir in $PATH
194929459361Smrgdo
195029459361Smrg  IFS=$as_save_IFS
195129459361Smrg  test -z "$as_dir" && as_dir=.
195229459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
195329459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
195429459361Smrg    ac_cv_prog_AWK="$ac_prog"
195529459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
195629459361Smrg    break 2
195729459361Smrg  fi
195829459361Smrgdone
195929459361Smrgdone
196029459361SmrgIFS=$as_save_IFS
196129459361Smrg
196229459361Smrgfi
196329459361Smrgfi
196429459361SmrgAWK=$ac_cv_prog_AWK
196529459361Smrgif test -n "$AWK"; then
196629459361Smrg  { echo "$as_me:$LINENO: result: $AWK" >&5
196729459361Smrgecho "${ECHO_T}$AWK" >&6; }
196829459361Smrgelse
196929459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
197029459361Smrgecho "${ECHO_T}no" >&6; }
197129459361Smrgfi
197229459361Smrg
197329459361Smrg
197429459361Smrg  test -n "$AWK" && break
197529459361Smrgdone
197629459361Smrg
197729459361Smrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
197829459361Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
197929459361Smrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
198029459361Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
198129459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
198229459361Smrgelse
198329459361Smrg  cat >conftest.make <<\_ACEOF
198429459361SmrgSHELL = /bin/sh
198529459361Smrgall:
198629459361Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
198729459361Smrg_ACEOF
198829459361Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
198929459361Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
199029459361Smrg  *@@@%%%=?*=@@@%%%*)
199129459361Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
199229459361Smrg  *)
199329459361Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
199429459361Smrgesac
199529459361Smrgrm -f conftest.make
199629459361Smrgfi
199729459361Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
199829459361Smrg  { echo "$as_me:$LINENO: result: yes" >&5
199929459361Smrgecho "${ECHO_T}yes" >&6; }
200029459361Smrg  SET_MAKE=
200129459361Smrgelse
200229459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
200329459361Smrgecho "${ECHO_T}no" >&6; }
200429459361Smrg  SET_MAKE="MAKE=${MAKE-make}"
200529459361Smrgfi
200629459361Smrg
200729459361Smrgrm -rf .tst 2>/dev/null
200829459361Smrgmkdir .tst 2>/dev/null
200929459361Smrgif test -d .tst; then
201029459361Smrg  am__leading_dot=.
201129459361Smrgelse
201229459361Smrg  am__leading_dot=_
201329459361Smrgfi
201429459361Smrgrmdir .tst 2>/dev/null
201529459361Smrg
201629459361Smrg# test to see if srcdir already configured
201729459361Smrgif test "`cd $srcdir && pwd`" != "`pwd`" &&
201829459361Smrg   test -f $srcdir/config.status; then
201929459361Smrg  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
202029459361Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
202129459361Smrg   { (exit 1); exit 1; }; }
202229459361Smrgfi
202329459361Smrg
202429459361Smrg# test whether we have cygpath
202529459361Smrgif test -z "$CYGPATH_W"; then
202629459361Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
202729459361Smrg    CYGPATH_W='cygpath -w'
202829459361Smrg  else
202929459361Smrg    CYGPATH_W=echo
203029459361Smrg  fi
203129459361Smrgfi
203229459361Smrg
203329459361Smrg
203429459361Smrg# Define the identity of the package.
203529459361Smrg PACKAGE='bdftopcf'
203629459361Smrg VERSION='1.0.1'
203729459361Smrg
203829459361Smrg
203929459361Smrgcat >>confdefs.h <<_ACEOF
204029459361Smrg#define PACKAGE "$PACKAGE"
204129459361Smrg_ACEOF
204229459361Smrg
204329459361Smrg
204429459361Smrgcat >>confdefs.h <<_ACEOF
204529459361Smrg#define VERSION "$VERSION"
204629459361Smrg_ACEOF
204729459361Smrg
204829459361Smrg# Some tools Automake needs.
204929459361Smrg
205029459361SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
205129459361Smrg
205229459361Smrg
205329459361SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
205429459361Smrg
205529459361Smrg
205629459361SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
205729459361Smrg
205829459361Smrg
205929459361SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
206029459361Smrg
206129459361Smrg
206229459361SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
206329459361Smrg
206429459361Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"}
206529459361Smrg
206629459361Smrg# Installed binaries are usually stripped using `strip' when the user
206729459361Smrg# run `make install-strip'.  However `strip' might not be the right
206829459361Smrg# tool to use in cross-compilation environments, therefore Automake
206929459361Smrg# will honor the `STRIP' environment variable to overrule this program.
207029459361Smrgif test "$cross_compiling" != no; then
207129459361Smrg  if test -n "$ac_tool_prefix"; then
207229459361Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
207329459361Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
207429459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
207529459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
207629459361Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
207729459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
207829459361Smrgelse
207929459361Smrg  if test -n "$STRIP"; then
208029459361Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
208129459361Smrgelse
208229459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208329459361Smrgfor as_dir in $PATH
208429459361Smrgdo
208529459361Smrg  IFS=$as_save_IFS
208629459361Smrg  test -z "$as_dir" && as_dir=.
208729459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
208829459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
208929459361Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
209029459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
209129459361Smrg    break 2
209229459361Smrg  fi
209329459361Smrgdone
209429459361Smrgdone
209529459361SmrgIFS=$as_save_IFS
209629459361Smrg
209729459361Smrgfi
209829459361Smrgfi
209929459361SmrgSTRIP=$ac_cv_prog_STRIP
210029459361Smrgif test -n "$STRIP"; then
210129459361Smrg  { echo "$as_me:$LINENO: result: $STRIP" >&5
210229459361Smrgecho "${ECHO_T}$STRIP" >&6; }
210329459361Smrgelse
210429459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
210529459361Smrgecho "${ECHO_T}no" >&6; }
210629459361Smrgfi
210729459361Smrg
210829459361Smrg
210929459361Smrgfi
211029459361Smrgif test -z "$ac_cv_prog_STRIP"; then
211129459361Smrg  ac_ct_STRIP=$STRIP
211229459361Smrg  # Extract the first word of "strip", so it can be a program name with args.
211329459361Smrgset dummy strip; ac_word=$2
211429459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
211529459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
211629459361Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
211729459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
211829459361Smrgelse
211929459361Smrg  if test -n "$ac_ct_STRIP"; then
212029459361Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
212129459361Smrgelse
212229459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212329459361Smrgfor as_dir in $PATH
212429459361Smrgdo
212529459361Smrg  IFS=$as_save_IFS
212629459361Smrg  test -z "$as_dir" && as_dir=.
212729459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
212829459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
212929459361Smrg    ac_cv_prog_ac_ct_STRIP="strip"
213029459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
213129459361Smrg    break 2
213229459361Smrg  fi
213329459361Smrgdone
213429459361Smrgdone
213529459361SmrgIFS=$as_save_IFS
213629459361Smrg
213729459361Smrgfi
213829459361Smrgfi
213929459361Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
214029459361Smrgif test -n "$ac_ct_STRIP"; then
214129459361Smrg  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
214229459361Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6; }
214329459361Smrgelse
214429459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
214529459361Smrgecho "${ECHO_T}no" >&6; }
214629459361Smrgfi
214729459361Smrg
214829459361Smrg  if test "x$ac_ct_STRIP" = x; then
214929459361Smrg    STRIP=":"
215029459361Smrg  else
215129459361Smrg    case $cross_compiling:$ac_tool_warned in
215229459361Smrgyes:)
215329459361Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
215429459361Smrgwhose name does not start with the host triplet.  If you think this
215529459361Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
215629459361Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
215729459361Smrgwhose name does not start with the host triplet.  If you think this
215829459361Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
215929459361Smrgac_tool_warned=yes ;;
216029459361Smrgesac
216129459361Smrg    STRIP=$ac_ct_STRIP
216229459361Smrg  fi
216329459361Smrgelse
216429459361Smrg  STRIP="$ac_cv_prog_STRIP"
216529459361Smrgfi
216629459361Smrg
216729459361Smrgfi
216829459361SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
216929459361Smrg
217029459361Smrg# We need awk for the "check" target.  The system "awk" is bad on
217129459361Smrg# some platforms.
217229459361Smrg# Always define AMTAR for backward compatibility.
217329459361Smrg
217429459361SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
217529459361Smrg
217629459361Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
217729459361Smrg
217829459361Smrg
217929459361Smrg
218029459361Smrg
218129459361Smrg
218229459361Smrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
218329459361Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
218429459361Smrg    # Check whether --enable-maintainer-mode was given.
218529459361Smrgif test "${enable_maintainer_mode+set}" = set; then
218629459361Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
218729459361Smrgelse
218829459361Smrg  USE_MAINTAINER_MODE=no
218929459361Smrgfi
219029459361Smrg
219129459361Smrg  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
219229459361Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
219329459361Smrg
219429459361Smrg
219529459361Smrgif test $USE_MAINTAINER_MODE = yes; then
219629459361Smrg  MAINTAINER_MODE_TRUE=
219729459361Smrg  MAINTAINER_MODE_FALSE='#'
219829459361Smrgelse
219929459361Smrg  MAINTAINER_MODE_TRUE='#'
220029459361Smrg  MAINTAINER_MODE_FALSE=
220129459361Smrgfi
220229459361Smrg
220329459361Smrg  MAINT=$MAINTAINER_MODE_TRUE
220429459361Smrg
220529459361Smrg
220629459361Smrg
220729459361Smrgac_config_headers="$ac_config_headers config.h"
220829459361Smrg
220929459361Smrg
221029459361Smrg# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
221129459361Smrg
221229459361Smrg
221329459361Smrg	XORG_MACROS_needed_version=1.1
221429459361Smrg	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
221529459361Smrg	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
221629459361Smrg	{ echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
221729459361Smrgecho $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6; }
221829459361Smrg	XORG_MACROS_version=1.1.5
221929459361Smrg	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
222029459361Smrg	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
222129459361Smrg	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
222229459361Smrg		{ { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
222329459361Smrgecho "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
222429459361Smrg   { (exit 1); exit 1; }; }
222529459361Smrg	fi
222629459361Smrg	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
222729459361Smrg		{ { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
222829459361Smrgecho "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
222929459361Smrg   { (exit 1); exit 1; }; }
223029459361Smrg	fi
223129459361Smrg	{ echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
223229459361Smrgecho "${ECHO_T}yes, $XORG_MACROS_version" >&6; }
223329459361Smrg
223429459361Smrg
223529459361Smrgac_ext=c
223629459361Smrgac_cpp='$CPP $CPPFLAGS'
223729459361Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
223829459361Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
223929459361Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
224029459361Smrgif test -n "$ac_tool_prefix"; then
224129459361Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
224229459361Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
224329459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
224429459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
224529459361Smrgif test "${ac_cv_prog_CC+set}" = set; then
224629459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
224729459361Smrgelse
224829459361Smrg  if test -n "$CC"; then
224929459361Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
225029459361Smrgelse
225129459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225229459361Smrgfor as_dir in $PATH
225329459361Smrgdo
225429459361Smrg  IFS=$as_save_IFS
225529459361Smrg  test -z "$as_dir" && as_dir=.
225629459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
225729459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
225829459361Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
225929459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
226029459361Smrg    break 2
226129459361Smrg  fi
226229459361Smrgdone
226329459361Smrgdone
226429459361SmrgIFS=$as_save_IFS
226529459361Smrg
226629459361Smrgfi
226729459361Smrgfi
226829459361SmrgCC=$ac_cv_prog_CC
226929459361Smrgif test -n "$CC"; then
227029459361Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
227129459361Smrgecho "${ECHO_T}$CC" >&6; }
227229459361Smrgelse
227329459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
227429459361Smrgecho "${ECHO_T}no" >&6; }
227529459361Smrgfi
227629459361Smrg
227729459361Smrg
227829459361Smrgfi
227929459361Smrgif test -z "$ac_cv_prog_CC"; then
228029459361Smrg  ac_ct_CC=$CC
228129459361Smrg  # Extract the first word of "gcc", so it can be a program name with args.
228229459361Smrgset dummy gcc; ac_word=$2
228329459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
228429459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
228529459361Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
228629459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
228729459361Smrgelse
228829459361Smrg  if test -n "$ac_ct_CC"; then
228929459361Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
229029459361Smrgelse
229129459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
229229459361Smrgfor as_dir in $PATH
229329459361Smrgdo
229429459361Smrg  IFS=$as_save_IFS
229529459361Smrg  test -z "$as_dir" && as_dir=.
229629459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
229729459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
229829459361Smrg    ac_cv_prog_ac_ct_CC="gcc"
229929459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
230029459361Smrg    break 2
230129459361Smrg  fi
230229459361Smrgdone
230329459361Smrgdone
230429459361SmrgIFS=$as_save_IFS
230529459361Smrg
230629459361Smrgfi
230729459361Smrgfi
230829459361Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
230929459361Smrgif test -n "$ac_ct_CC"; then
231029459361Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
231129459361Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
231229459361Smrgelse
231329459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
231429459361Smrgecho "${ECHO_T}no" >&6; }
231529459361Smrgfi
231629459361Smrg
231729459361Smrg  if test "x$ac_ct_CC" = x; then
231829459361Smrg    CC=""
231929459361Smrg  else
232029459361Smrg    case $cross_compiling:$ac_tool_warned in
232129459361Smrgyes:)
232229459361Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
232329459361Smrgwhose name does not start with the host triplet.  If you think this
232429459361Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
232529459361Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
232629459361Smrgwhose name does not start with the host triplet.  If you think this
232729459361Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
232829459361Smrgac_tool_warned=yes ;;
232929459361Smrgesac
233029459361Smrg    CC=$ac_ct_CC
233129459361Smrg  fi
233229459361Smrgelse
233329459361Smrg  CC="$ac_cv_prog_CC"
233429459361Smrgfi
233529459361Smrg
233629459361Smrgif test -z "$CC"; then
233729459361Smrg          if test -n "$ac_tool_prefix"; then
233829459361Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
233929459361Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
234029459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
234129459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
234229459361Smrgif test "${ac_cv_prog_CC+set}" = set; then
234329459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
234429459361Smrgelse
234529459361Smrg  if test -n "$CC"; then
234629459361Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
234729459361Smrgelse
234829459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
234929459361Smrgfor as_dir in $PATH
235029459361Smrgdo
235129459361Smrg  IFS=$as_save_IFS
235229459361Smrg  test -z "$as_dir" && as_dir=.
235329459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
235429459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
235529459361Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
235629459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
235729459361Smrg    break 2
235829459361Smrg  fi
235929459361Smrgdone
236029459361Smrgdone
236129459361SmrgIFS=$as_save_IFS
236229459361Smrg
236329459361Smrgfi
236429459361Smrgfi
236529459361SmrgCC=$ac_cv_prog_CC
236629459361Smrgif test -n "$CC"; then
236729459361Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
236829459361Smrgecho "${ECHO_T}$CC" >&6; }
236929459361Smrgelse
237029459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
237129459361Smrgecho "${ECHO_T}no" >&6; }
237229459361Smrgfi
237329459361Smrg
237429459361Smrg
237529459361Smrg  fi
237629459361Smrgfi
237729459361Smrgif test -z "$CC"; then
237829459361Smrg  # Extract the first word of "cc", so it can be a program name with args.
237929459361Smrgset dummy cc; ac_word=$2
238029459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
238129459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
238229459361Smrgif test "${ac_cv_prog_CC+set}" = set; then
238329459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
238429459361Smrgelse
238529459361Smrg  if test -n "$CC"; then
238629459361Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
238729459361Smrgelse
238829459361Smrg  ac_prog_rejected=no
238929459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
239029459361Smrgfor as_dir in $PATH
239129459361Smrgdo
239229459361Smrg  IFS=$as_save_IFS
239329459361Smrg  test -z "$as_dir" && as_dir=.
239429459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
239529459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
239629459361Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
239729459361Smrg       ac_prog_rejected=yes
239829459361Smrg       continue
239929459361Smrg     fi
240029459361Smrg    ac_cv_prog_CC="cc"
240129459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
240229459361Smrg    break 2
240329459361Smrg  fi
240429459361Smrgdone
240529459361Smrgdone
240629459361SmrgIFS=$as_save_IFS
240729459361Smrg
240829459361Smrgif test $ac_prog_rejected = yes; then
240929459361Smrg  # We found a bogon in the path, so make sure we never use it.
241029459361Smrg  set dummy $ac_cv_prog_CC
241129459361Smrg  shift
241229459361Smrg  if test $# != 0; then
241329459361Smrg    # We chose a different compiler from the bogus one.
241429459361Smrg    # However, it has the same basename, so the bogon will be chosen
241529459361Smrg    # first if we set CC to just the basename; use the full file name.
241629459361Smrg    shift
241729459361Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
241829459361Smrg  fi
241929459361Smrgfi
242029459361Smrgfi
242129459361Smrgfi
242229459361SmrgCC=$ac_cv_prog_CC
242329459361Smrgif test -n "$CC"; then
242429459361Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
242529459361Smrgecho "${ECHO_T}$CC" >&6; }
242629459361Smrgelse
242729459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
242829459361Smrgecho "${ECHO_T}no" >&6; }
242929459361Smrgfi
243029459361Smrg
243129459361Smrg
243229459361Smrgfi
243329459361Smrgif test -z "$CC"; then
243429459361Smrg  if test -n "$ac_tool_prefix"; then
243529459361Smrg  for ac_prog in cl.exe
243629459361Smrg  do
243729459361Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
243829459361Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
243929459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
244029459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
244129459361Smrgif test "${ac_cv_prog_CC+set}" = set; then
244229459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
244329459361Smrgelse
244429459361Smrg  if test -n "$CC"; then
244529459361Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
244629459361Smrgelse
244729459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
244829459361Smrgfor as_dir in $PATH
244929459361Smrgdo
245029459361Smrg  IFS=$as_save_IFS
245129459361Smrg  test -z "$as_dir" && as_dir=.
245229459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
245329459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
245429459361Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
245529459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
245629459361Smrg    break 2
245729459361Smrg  fi
245829459361Smrgdone
245929459361Smrgdone
246029459361SmrgIFS=$as_save_IFS
246129459361Smrg
246229459361Smrgfi
246329459361Smrgfi
246429459361SmrgCC=$ac_cv_prog_CC
246529459361Smrgif test -n "$CC"; then
246629459361Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
246729459361Smrgecho "${ECHO_T}$CC" >&6; }
246829459361Smrgelse
246929459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
247029459361Smrgecho "${ECHO_T}no" >&6; }
247129459361Smrgfi
247229459361Smrg
247329459361Smrg
247429459361Smrg    test -n "$CC" && break
247529459361Smrg  done
247629459361Smrgfi
247729459361Smrgif test -z "$CC"; then
247829459361Smrg  ac_ct_CC=$CC
247929459361Smrg  for ac_prog in cl.exe
248029459361Smrgdo
248129459361Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
248229459361Smrgset dummy $ac_prog; ac_word=$2
248329459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
248429459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
248529459361Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
248629459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
248729459361Smrgelse
248829459361Smrg  if test -n "$ac_ct_CC"; then
248929459361Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
249029459361Smrgelse
249129459361Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
249229459361Smrgfor as_dir in $PATH
249329459361Smrgdo
249429459361Smrg  IFS=$as_save_IFS
249529459361Smrg  test -z "$as_dir" && as_dir=.
249629459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
249729459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
249829459361Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
249929459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
250029459361Smrg    break 2
250129459361Smrg  fi
250229459361Smrgdone
250329459361Smrgdone
250429459361SmrgIFS=$as_save_IFS
250529459361Smrg
250629459361Smrgfi
250729459361Smrgfi
250829459361Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
250929459361Smrgif test -n "$ac_ct_CC"; then
251029459361Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
251129459361Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
251229459361Smrgelse
251329459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
251429459361Smrgecho "${ECHO_T}no" >&6; }
251529459361Smrgfi
251629459361Smrg
251729459361Smrg
251829459361Smrg  test -n "$ac_ct_CC" && break
251929459361Smrgdone
252029459361Smrg
252129459361Smrg  if test "x$ac_ct_CC" = x; then
252229459361Smrg    CC=""
252329459361Smrg  else
252429459361Smrg    case $cross_compiling:$ac_tool_warned in
252529459361Smrgyes:)
252629459361Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
252729459361Smrgwhose name does not start with the host triplet.  If you think this
252829459361Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
252929459361Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
253029459361Smrgwhose name does not start with the host triplet.  If you think this
253129459361Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
253229459361Smrgac_tool_warned=yes ;;
253329459361Smrgesac
253429459361Smrg    CC=$ac_ct_CC
253529459361Smrg  fi
253629459361Smrgfi
253729459361Smrg
253829459361Smrgfi
253929459361Smrg
254029459361Smrg
254129459361Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
254229459361SmrgSee \`config.log' for more details." >&5
254329459361Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH
254429459361SmrgSee \`config.log' for more details." >&2;}
254529459361Smrg   { (exit 1); exit 1; }; }
254629459361Smrg
254729459361Smrg# Provide some information about the compiler.
254829459361Smrgecho "$as_me:$LINENO: checking for C compiler version" >&5
254929459361Smrgac_compiler=`set X $ac_compile; echo $2`
255029459361Smrg{ (ac_try="$ac_compiler --version >&5"
255129459361Smrgcase "(($ac_try" in
255229459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
255329459361Smrg  *) ac_try_echo=$ac_try;;
255429459361Smrgesac
255529459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
255629459361Smrg  (eval "$ac_compiler --version >&5") 2>&5
255729459361Smrg  ac_status=$?
255829459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
255929459361Smrg  (exit $ac_status); }
256029459361Smrg{ (ac_try="$ac_compiler -v >&5"
256129459361Smrgcase "(($ac_try" in
256229459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
256329459361Smrg  *) ac_try_echo=$ac_try;;
256429459361Smrgesac
256529459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
256629459361Smrg  (eval "$ac_compiler -v >&5") 2>&5
256729459361Smrg  ac_status=$?
256829459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
256929459361Smrg  (exit $ac_status); }
257029459361Smrg{ (ac_try="$ac_compiler -V >&5"
257129459361Smrgcase "(($ac_try" in
257229459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
257329459361Smrg  *) ac_try_echo=$ac_try;;
257429459361Smrgesac
257529459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
257629459361Smrg  (eval "$ac_compiler -V >&5") 2>&5
257729459361Smrg  ac_status=$?
257829459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
257929459361Smrg  (exit $ac_status); }
258029459361Smrg
258129459361Smrgcat >conftest.$ac_ext <<_ACEOF
258229459361Smrg/* confdefs.h.  */
258329459361Smrg_ACEOF
258429459361Smrgcat confdefs.h >>conftest.$ac_ext
258529459361Smrgcat >>conftest.$ac_ext <<_ACEOF
258629459361Smrg/* end confdefs.h.  */
258729459361Smrg
258829459361Smrgint
258929459361Smrgmain ()
259029459361Smrg{
259129459361Smrg
259229459361Smrg  ;
259329459361Smrg  return 0;
259429459361Smrg}
259529459361Smrg_ACEOF
259629459361Smrgac_clean_files_save=$ac_clean_files
259729459361Smrgac_clean_files="$ac_clean_files a.out a.exe b.out"
259829459361Smrg# Try to create an executable without -o first, disregard a.out.
259929459361Smrg# It will help us diagnose broken compilers, and finding out an intuition
260029459361Smrg# of exeext.
260129459361Smrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
260229459361Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
260329459361Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
260429459361Smrg#
260529459361Smrg# List of possible output files, starting from the most likely.
260629459361Smrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
260729459361Smrg# only as a last resort.  b.out is created by i960 compilers.
260829459361Smrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
260929459361Smrg#
261029459361Smrg# The IRIX 6 linker writes into existing files which may not be
261129459361Smrg# executable, retaining their permissions.  Remove them first so a
261229459361Smrg# subsequent execution test works.
261329459361Smrgac_rmfiles=
261429459361Smrgfor ac_file in $ac_files
261529459361Smrgdo
261629459361Smrg  case $ac_file in
261729459361Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
261829459361Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
261929459361Smrg  esac
262029459361Smrgdone
262129459361Smrgrm -f $ac_rmfiles
262229459361Smrg
262329459361Smrgif { (ac_try="$ac_link_default"
262429459361Smrgcase "(($ac_try" in
262529459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
262629459361Smrg  *) ac_try_echo=$ac_try;;
262729459361Smrgesac
262829459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
262929459361Smrg  (eval "$ac_link_default") 2>&5
263029459361Smrg  ac_status=$?
263129459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
263229459361Smrg  (exit $ac_status); }; then
263329459361Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
263429459361Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
263529459361Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
263629459361Smrg# so that the user can short-circuit this test for compilers unknown to
263729459361Smrg# Autoconf.
263829459361Smrgfor ac_file in $ac_files
263929459361Smrgdo
264029459361Smrg  test -f "$ac_file" || continue
264129459361Smrg  case $ac_file in
264229459361Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
264329459361Smrg	;;
264429459361Smrg    [ab].out )
264529459361Smrg	# We found the default executable, but exeext='' is most
264629459361Smrg	# certainly right.
264729459361Smrg	break;;
264829459361Smrg    *.* )
264929459361Smrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
265029459361Smrg	then :; else
265129459361Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
265229459361Smrg	fi
265329459361Smrg	# We set ac_cv_exeext here because the later test for it is not
265429459361Smrg	# safe: cross compilers may not add the suffix if given an `-o'
265529459361Smrg	# argument, so we may need to know it at that point already.
265629459361Smrg	# Even if this section looks crufty: it has the advantage of
265729459361Smrg	# actually working.
265829459361Smrg	break;;
265929459361Smrg    * )
266029459361Smrg	break;;
266129459361Smrg  esac
266229459361Smrgdone
266329459361Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
266429459361Smrg
266529459361Smrgelse
266629459361Smrg  echo "$as_me: failed program was:" >&5
266729459361Smrgsed 's/^/| /' conftest.$ac_ext >&5
266829459361Smrg
266929459361Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
267029459361SmrgSee \`config.log' for more details." >&5
267129459361Smrgecho "$as_me: error: C compiler cannot create executables
267229459361SmrgSee \`config.log' for more details." >&2;}
267329459361Smrg   { (exit 77); exit 77; }; }
267429459361Smrgfi
267529459361Smrg
267629459361Smrgac_exeext=$ac_cv_exeext
267729459361Smrg{ echo "$as_me:$LINENO: result: $ac_file" >&5
267829459361Smrgecho "${ECHO_T}$ac_file" >&6; }
267929459361Smrg
268029459361Smrg# Check that the compiler produces executables we can run.  If not, either
268129459361Smrg# the compiler is broken, or we cross compile.
268229459361Smrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
268329459361Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
268429459361Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
268529459361Smrg# If not cross compiling, check that we can run a simple program.
268629459361Smrgif test "$cross_compiling" != yes; then
268729459361Smrg  if { ac_try='./$ac_file'
268829459361Smrg  { (case "(($ac_try" in
268929459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
269029459361Smrg  *) ac_try_echo=$ac_try;;
269129459361Smrgesac
269229459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
269329459361Smrg  (eval "$ac_try") 2>&5
269429459361Smrg  ac_status=$?
269529459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
269629459361Smrg  (exit $ac_status); }; }; then
269729459361Smrg    cross_compiling=no
269829459361Smrg  else
269929459361Smrg    if test "$cross_compiling" = maybe; then
270029459361Smrg	cross_compiling=yes
270129459361Smrg    else
270229459361Smrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
270329459361SmrgIf you meant to cross compile, use \`--host'.
270429459361SmrgSee \`config.log' for more details." >&5
270529459361Smrgecho "$as_me: error: cannot run C compiled programs.
270629459361SmrgIf you meant to cross compile, use \`--host'.
270729459361SmrgSee \`config.log' for more details." >&2;}
270829459361Smrg   { (exit 1); exit 1; }; }
270929459361Smrg    fi
271029459361Smrg  fi
271129459361Smrgfi
271229459361Smrg{ echo "$as_me:$LINENO: result: yes" >&5
271329459361Smrgecho "${ECHO_T}yes" >&6; }
271429459361Smrg
271529459361Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
271629459361Smrgac_clean_files=$ac_clean_files_save
271729459361Smrg# Check that the compiler produces executables we can run.  If not, either
271829459361Smrg# the compiler is broken, or we cross compile.
271929459361Smrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
272029459361Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
272129459361Smrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
272229459361Smrgecho "${ECHO_T}$cross_compiling" >&6; }
272329459361Smrg
272429459361Smrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
272529459361Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
272629459361Smrgif { (ac_try="$ac_link"
272729459361Smrgcase "(($ac_try" in
272829459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
272929459361Smrg  *) ac_try_echo=$ac_try;;
273029459361Smrgesac
273129459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
273229459361Smrg  (eval "$ac_link") 2>&5
273329459361Smrg  ac_status=$?
273429459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
273529459361Smrg  (exit $ac_status); }; then
273629459361Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
273729459361Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
273829459361Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
273929459361Smrg# `rm'.
274029459361Smrgfor ac_file in conftest.exe conftest conftest.*; do
274129459361Smrg  test -f "$ac_file" || continue
274229459361Smrg  case $ac_file in
274329459361Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
274429459361Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
274529459361Smrg	  break;;
274629459361Smrg    * ) break;;
274729459361Smrg  esac
274829459361Smrgdone
274929459361Smrgelse
275029459361Smrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
275129459361SmrgSee \`config.log' for more details." >&5
275229459361Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
275329459361SmrgSee \`config.log' for more details." >&2;}
275429459361Smrg   { (exit 1); exit 1; }; }
275529459361Smrgfi
275629459361Smrg
275729459361Smrgrm -f conftest$ac_cv_exeext
275829459361Smrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
275929459361Smrgecho "${ECHO_T}$ac_cv_exeext" >&6; }
276029459361Smrg
276129459361Smrgrm -f conftest.$ac_ext
276229459361SmrgEXEEXT=$ac_cv_exeext
276329459361Smrgac_exeext=$EXEEXT
276429459361Smrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
276529459361Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
276629459361Smrgif test "${ac_cv_objext+set}" = set; then
276729459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
276829459361Smrgelse
276929459361Smrg  cat >conftest.$ac_ext <<_ACEOF
277029459361Smrg/* confdefs.h.  */
277129459361Smrg_ACEOF
277229459361Smrgcat confdefs.h >>conftest.$ac_ext
277329459361Smrgcat >>conftest.$ac_ext <<_ACEOF
277429459361Smrg/* end confdefs.h.  */
277529459361Smrg
277629459361Smrgint
277729459361Smrgmain ()
277829459361Smrg{
277929459361Smrg
278029459361Smrg  ;
278129459361Smrg  return 0;
278229459361Smrg}
278329459361Smrg_ACEOF
278429459361Smrgrm -f conftest.o conftest.obj
278529459361Smrgif { (ac_try="$ac_compile"
278629459361Smrgcase "(($ac_try" in
278729459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
278829459361Smrg  *) ac_try_echo=$ac_try;;
278929459361Smrgesac
279029459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
279129459361Smrg  (eval "$ac_compile") 2>&5
279229459361Smrg  ac_status=$?
279329459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
279429459361Smrg  (exit $ac_status); }; then
279529459361Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
279629459361Smrg  test -f "$ac_file" || continue;
279729459361Smrg  case $ac_file in
279829459361Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
279929459361Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
280029459361Smrg       break;;
280129459361Smrg  esac
280229459361Smrgdone
280329459361Smrgelse
280429459361Smrg  echo "$as_me: failed program was:" >&5
280529459361Smrgsed 's/^/| /' conftest.$ac_ext >&5
280629459361Smrg
280729459361Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
280829459361SmrgSee \`config.log' for more details." >&5
280929459361Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
281029459361SmrgSee \`config.log' for more details." >&2;}
281129459361Smrg   { (exit 1); exit 1; }; }
281229459361Smrgfi
281329459361Smrg
281429459361Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
281529459361Smrgfi
281629459361Smrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
281729459361Smrgecho "${ECHO_T}$ac_cv_objext" >&6; }
281829459361SmrgOBJEXT=$ac_cv_objext
281929459361Smrgac_objext=$OBJEXT
282029459361Smrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
282129459361Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
282229459361Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
282329459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
282429459361Smrgelse
282529459361Smrg  cat >conftest.$ac_ext <<_ACEOF
282629459361Smrg/* confdefs.h.  */
282729459361Smrg_ACEOF
282829459361Smrgcat confdefs.h >>conftest.$ac_ext
282929459361Smrgcat >>conftest.$ac_ext <<_ACEOF
283029459361Smrg/* end confdefs.h.  */
283129459361Smrg
283229459361Smrgint
283329459361Smrgmain ()
283429459361Smrg{
283529459361Smrg#ifndef __GNUC__
283629459361Smrg       choke me
283729459361Smrg#endif
283829459361Smrg
283929459361Smrg  ;
284029459361Smrg  return 0;
284129459361Smrg}
284229459361Smrg_ACEOF
284329459361Smrgrm -f conftest.$ac_objext
284429459361Smrgif { (ac_try="$ac_compile"
284529459361Smrgcase "(($ac_try" in
284629459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
284729459361Smrg  *) ac_try_echo=$ac_try;;
284829459361Smrgesac
284929459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
285029459361Smrg  (eval "$ac_compile") 2>conftest.er1
285129459361Smrg  ac_status=$?
285229459361Smrg  grep -v '^ *+' conftest.er1 >conftest.err
285329459361Smrg  rm -f conftest.er1
285429459361Smrg  cat conftest.err >&5
285529459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
285629459361Smrg  (exit $ac_status); } &&
285729459361Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
285829459361Smrg  { (case "(($ac_try" in
285929459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
286029459361Smrg  *) ac_try_echo=$ac_try;;
286129459361Smrgesac
286229459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
286329459361Smrg  (eval "$ac_try") 2>&5
286429459361Smrg  ac_status=$?
286529459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
286629459361Smrg  (exit $ac_status); }; } &&
286729459361Smrg	 { ac_try='test -s conftest.$ac_objext'
286829459361Smrg  { (case "(($ac_try" in
286929459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
287029459361Smrg  *) ac_try_echo=$ac_try;;
287129459361Smrgesac
287229459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
287329459361Smrg  (eval "$ac_try") 2>&5
287429459361Smrg  ac_status=$?
287529459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
287629459361Smrg  (exit $ac_status); }; }; then
287729459361Smrg  ac_compiler_gnu=yes
287829459361Smrgelse
287929459361Smrg  echo "$as_me: failed program was:" >&5
288029459361Smrgsed 's/^/| /' conftest.$ac_ext >&5
288129459361Smrg
288229459361Smrg	ac_compiler_gnu=no
288329459361Smrgfi
288429459361Smrg
288529459361Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
288629459361Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
288729459361Smrg
288829459361Smrgfi
288929459361Smrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
289029459361Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
289129459361SmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
289229459361Smrgac_test_CFLAGS=${CFLAGS+set}
289329459361Smrgac_save_CFLAGS=$CFLAGS
289429459361Smrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
289529459361Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
289629459361Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
289729459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
289829459361Smrgelse
289929459361Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
290029459361Smrg   ac_c_werror_flag=yes
290129459361Smrg   ac_cv_prog_cc_g=no
290229459361Smrg   CFLAGS="-g"
290329459361Smrg   cat >conftest.$ac_ext <<_ACEOF
290429459361Smrg/* confdefs.h.  */
290529459361Smrg_ACEOF
290629459361Smrgcat confdefs.h >>conftest.$ac_ext
290729459361Smrgcat >>conftest.$ac_ext <<_ACEOF
290829459361Smrg/* end confdefs.h.  */
290929459361Smrg
291029459361Smrgint
291129459361Smrgmain ()
291229459361Smrg{
291329459361Smrg
291429459361Smrg  ;
291529459361Smrg  return 0;
291629459361Smrg}
291729459361Smrg_ACEOF
291829459361Smrgrm -f conftest.$ac_objext
291929459361Smrgif { (ac_try="$ac_compile"
292029459361Smrgcase "(($ac_try" in
292129459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
292229459361Smrg  *) ac_try_echo=$ac_try;;
292329459361Smrgesac
292429459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
292529459361Smrg  (eval "$ac_compile") 2>conftest.er1
292629459361Smrg  ac_status=$?
292729459361Smrg  grep -v '^ *+' conftest.er1 >conftest.err
292829459361Smrg  rm -f conftest.er1
292929459361Smrg  cat conftest.err >&5
293029459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
293129459361Smrg  (exit $ac_status); } &&
293229459361Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
293329459361Smrg  { (case "(($ac_try" in
293429459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
293529459361Smrg  *) ac_try_echo=$ac_try;;
293629459361Smrgesac
293729459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
293829459361Smrg  (eval "$ac_try") 2>&5
293929459361Smrg  ac_status=$?
294029459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
294129459361Smrg  (exit $ac_status); }; } &&
294229459361Smrg	 { ac_try='test -s conftest.$ac_objext'
294329459361Smrg  { (case "(($ac_try" in
294429459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
294529459361Smrg  *) ac_try_echo=$ac_try;;
294629459361Smrgesac
294729459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
294829459361Smrg  (eval "$ac_try") 2>&5
294929459361Smrg  ac_status=$?
295029459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
295129459361Smrg  (exit $ac_status); }; }; then
295229459361Smrg  ac_cv_prog_cc_g=yes
295329459361Smrgelse
295429459361Smrg  echo "$as_me: failed program was:" >&5
295529459361Smrgsed 's/^/| /' conftest.$ac_ext >&5
295629459361Smrg
295729459361Smrg	CFLAGS=""
295829459361Smrg      cat >conftest.$ac_ext <<_ACEOF
295929459361Smrg/* confdefs.h.  */
296029459361Smrg_ACEOF
296129459361Smrgcat confdefs.h >>conftest.$ac_ext
296229459361Smrgcat >>conftest.$ac_ext <<_ACEOF
296329459361Smrg/* end confdefs.h.  */
296429459361Smrg
296529459361Smrgint
296629459361Smrgmain ()
296729459361Smrg{
296829459361Smrg
296929459361Smrg  ;
297029459361Smrg  return 0;
297129459361Smrg}
297229459361Smrg_ACEOF
297329459361Smrgrm -f conftest.$ac_objext
297429459361Smrgif { (ac_try="$ac_compile"
297529459361Smrgcase "(($ac_try" in
297629459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
297729459361Smrg  *) ac_try_echo=$ac_try;;
297829459361Smrgesac
297929459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
298029459361Smrg  (eval "$ac_compile") 2>conftest.er1
298129459361Smrg  ac_status=$?
298229459361Smrg  grep -v '^ *+' conftest.er1 >conftest.err
298329459361Smrg  rm -f conftest.er1
298429459361Smrg  cat conftest.err >&5
298529459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
298629459361Smrg  (exit $ac_status); } &&
298729459361Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
298829459361Smrg  { (case "(($ac_try" in
298929459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
299029459361Smrg  *) ac_try_echo=$ac_try;;
299129459361Smrgesac
299229459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
299329459361Smrg  (eval "$ac_try") 2>&5
299429459361Smrg  ac_status=$?
299529459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
299629459361Smrg  (exit $ac_status); }; } &&
299729459361Smrg	 { ac_try='test -s conftest.$ac_objext'
299829459361Smrg  { (case "(($ac_try" in
299929459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
300029459361Smrg  *) ac_try_echo=$ac_try;;
300129459361Smrgesac
300229459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
300329459361Smrg  (eval "$ac_try") 2>&5
300429459361Smrg  ac_status=$?
300529459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
300629459361Smrg  (exit $ac_status); }; }; then
300729459361Smrg  :
300829459361Smrgelse
300929459361Smrg  echo "$as_me: failed program was:" >&5
301029459361Smrgsed 's/^/| /' conftest.$ac_ext >&5
301129459361Smrg
301229459361Smrg	ac_c_werror_flag=$ac_save_c_werror_flag
301329459361Smrg	 CFLAGS="-g"
301429459361Smrg	 cat >conftest.$ac_ext <<_ACEOF
301529459361Smrg/* confdefs.h.  */
301629459361Smrg_ACEOF
301729459361Smrgcat confdefs.h >>conftest.$ac_ext
301829459361Smrgcat >>conftest.$ac_ext <<_ACEOF
301929459361Smrg/* end confdefs.h.  */
302029459361Smrg
302129459361Smrgint
302229459361Smrgmain ()
302329459361Smrg{
302429459361Smrg
302529459361Smrg  ;
302629459361Smrg  return 0;
302729459361Smrg}
302829459361Smrg_ACEOF
302929459361Smrgrm -f conftest.$ac_objext
303029459361Smrgif { (ac_try="$ac_compile"
303129459361Smrgcase "(($ac_try" in
303229459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
303329459361Smrg  *) ac_try_echo=$ac_try;;
303429459361Smrgesac
303529459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
303629459361Smrg  (eval "$ac_compile") 2>conftest.er1
303729459361Smrg  ac_status=$?
303829459361Smrg  grep -v '^ *+' conftest.er1 >conftest.err
303929459361Smrg  rm -f conftest.er1
304029459361Smrg  cat conftest.err >&5
304129459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
304229459361Smrg  (exit $ac_status); } &&
304329459361Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
304429459361Smrg  { (case "(($ac_try" in
304529459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
304629459361Smrg  *) ac_try_echo=$ac_try;;
304729459361Smrgesac
304829459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
304929459361Smrg  (eval "$ac_try") 2>&5
305029459361Smrg  ac_status=$?
305129459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
305229459361Smrg  (exit $ac_status); }; } &&
305329459361Smrg	 { ac_try='test -s conftest.$ac_objext'
305429459361Smrg  { (case "(($ac_try" in
305529459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
305629459361Smrg  *) ac_try_echo=$ac_try;;
305729459361Smrgesac
305829459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
305929459361Smrg  (eval "$ac_try") 2>&5
306029459361Smrg  ac_status=$?
306129459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
306229459361Smrg  (exit $ac_status); }; }; then
306329459361Smrg  ac_cv_prog_cc_g=yes
306429459361Smrgelse
306529459361Smrg  echo "$as_me: failed program was:" >&5
306629459361Smrgsed 's/^/| /' conftest.$ac_ext >&5
306729459361Smrg
306829459361Smrg
306929459361Smrgfi
307029459361Smrg
307129459361Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
307229459361Smrgfi
307329459361Smrg
307429459361Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
307529459361Smrgfi
307629459361Smrg
307729459361Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
307829459361Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
307929459361Smrgfi
308029459361Smrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
308129459361Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
308229459361Smrgif test "$ac_test_CFLAGS" = set; then
308329459361Smrg  CFLAGS=$ac_save_CFLAGS
308429459361Smrgelif test $ac_cv_prog_cc_g = yes; then
308529459361Smrg  if test "$GCC" = yes; then
308629459361Smrg    CFLAGS="-g -O2"
308729459361Smrg  else
308829459361Smrg    CFLAGS="-g"
308929459361Smrg  fi
309029459361Smrgelse
309129459361Smrg  if test "$GCC" = yes; then
309229459361Smrg    CFLAGS="-O2"
309329459361Smrg  else
309429459361Smrg    CFLAGS=
309529459361Smrg  fi
309629459361Smrgfi
309729459361Smrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
309829459361Smrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
309929459361Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then
310029459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
310129459361Smrgelse
310229459361Smrg  ac_cv_prog_cc_c89=no
310329459361Smrgac_save_CC=$CC
310429459361Smrgcat >conftest.$ac_ext <<_ACEOF
310529459361Smrg/* confdefs.h.  */
310629459361Smrg_ACEOF
310729459361Smrgcat confdefs.h >>conftest.$ac_ext
310829459361Smrgcat >>conftest.$ac_ext <<_ACEOF
310929459361Smrg/* end confdefs.h.  */
311029459361Smrg#include <stdarg.h>
311129459361Smrg#include <stdio.h>
311229459361Smrg#include <sys/types.h>
311329459361Smrg#include <sys/stat.h>
311429459361Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
311529459361Smrgstruct buf { int x; };
311629459361SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
311729459361Smrgstatic char *e (p, i)
311829459361Smrg     char **p;
311929459361Smrg     int i;
312029459361Smrg{
312129459361Smrg  return p[i];
312229459361Smrg}
312329459361Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
312429459361Smrg{
312529459361Smrg  char *s;
312629459361Smrg  va_list v;
312729459361Smrg  va_start (v,p);
312829459361Smrg  s = g (p, va_arg (v,int));
312929459361Smrg  va_end (v);
313029459361Smrg  return s;
313129459361Smrg}
313229459361Smrg
313329459361Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
313429459361Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
313529459361Smrg   These don't provoke an error unfortunately, instead are silently treated
313629459361Smrg   as 'x'.  The following induces an error, until -std is added to get
313729459361Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
313829459361Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
313929459361Smrg   that's true only with -std.  */
314029459361Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
314129459361Smrg
314229459361Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
314329459361Smrg   inside strings and character constants.  */
314429459361Smrg#define FOO(x) 'x'
314529459361Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
314629459361Smrg
314729459361Smrgint test (int i, double x);
314829459361Smrgstruct s1 {int (*f) (int a);};
314929459361Smrgstruct s2 {int (*f) (double a);};
315029459361Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
315129459361Smrgint argc;
315229459361Smrgchar **argv;
315329459361Smrgint
315429459361Smrgmain ()
315529459361Smrg{
315629459361Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
315729459361Smrg  ;
315829459361Smrg  return 0;
315929459361Smrg}
316029459361Smrg_ACEOF
316129459361Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
316229459361Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
316329459361Smrgdo
316429459361Smrg  CC="$ac_save_CC $ac_arg"
316529459361Smrg  rm -f conftest.$ac_objext
316629459361Smrgif { (ac_try="$ac_compile"
316729459361Smrgcase "(($ac_try" in
316829459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
316929459361Smrg  *) ac_try_echo=$ac_try;;
317029459361Smrgesac
317129459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
317229459361Smrg  (eval "$ac_compile") 2>conftest.er1
317329459361Smrg  ac_status=$?
317429459361Smrg  grep -v '^ *+' conftest.er1 >conftest.err
317529459361Smrg  rm -f conftest.er1
317629459361Smrg  cat conftest.err >&5
317729459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
317829459361Smrg  (exit $ac_status); } &&
317929459361Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
318029459361Smrg  { (case "(($ac_try" in
318129459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
318229459361Smrg  *) ac_try_echo=$ac_try;;
318329459361Smrgesac
318429459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
318529459361Smrg  (eval "$ac_try") 2>&5
318629459361Smrg  ac_status=$?
318729459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
318829459361Smrg  (exit $ac_status); }; } &&
318929459361Smrg	 { ac_try='test -s conftest.$ac_objext'
319029459361Smrg  { (case "(($ac_try" in
319129459361Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
319229459361Smrg  *) ac_try_echo=$ac_try;;
319329459361Smrgesac
319429459361Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
319529459361Smrg  (eval "$ac_try") 2>&5
319629459361Smrg  ac_status=$?
319729459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
319829459361Smrg  (exit $ac_status); }; }; then
319929459361Smrg  ac_cv_prog_cc_c89=$ac_arg
320029459361Smrgelse
320129459361Smrg  echo "$as_me: failed program was:" >&5
320229459361Smrgsed 's/^/| /' conftest.$ac_ext >&5
320329459361Smrg
320429459361Smrg
320529459361Smrgfi
320629459361Smrg
320729459361Smrgrm -f core conftest.err conftest.$ac_objext
320829459361Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
320929459361Smrgdone
321029459361Smrgrm -f conftest.$ac_ext
321129459361SmrgCC=$ac_save_CC
321229459361Smrg
321329459361Smrgfi
321429459361Smrg# AC_CACHE_VAL
321529459361Smrgcase "x$ac_cv_prog_cc_c89" in
321629459361Smrg  x)
321729459361Smrg    { echo "$as_me:$LINENO: result: none needed" >&5
321829459361Smrgecho "${ECHO_T}none needed" >&6; } ;;
321929459361Smrg  xno)
322029459361Smrg    { echo "$as_me:$LINENO: result: unsupported" >&5
322129459361Smrgecho "${ECHO_T}unsupported" >&6; } ;;
322229459361Smrg  *)
322329459361Smrg    CC="$CC $ac_cv_prog_cc_c89"
322429459361Smrg    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
322529459361Smrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
322629459361Smrgesac
322729459361Smrg
322829459361Smrg
322929459361Smrgac_ext=c
323029459361Smrgac_cpp='$CPP $CPPFLAGS'
323129459361Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
323229459361Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
323329459361Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
323429459361SmrgDEPDIR="${am__leading_dot}deps"
323529459361Smrg
323629459361Smrgac_config_commands="$ac_config_commands depfiles"
323729459361Smrg
323829459361Smrg
323929459361Smrgam_make=${MAKE-make}
324029459361Smrgcat > confinc << 'END'
324129459361Smrgam__doit:
324229459361Smrg	@echo done
324329459361Smrg.PHONY: am__doit
324429459361SmrgEND
324529459361Smrg# If we don't find an include directive, just comment out the code.
324629459361Smrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
324729459361Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
324829459361Smrgam__include="#"
324929459361Smrgam__quote=
325029459361Smrg_am_result=none
325129459361Smrg# First try GNU make style include.
325229459361Smrgecho "include confinc" > confmf
325329459361Smrg# We grep out `Entering directory' and `Leaving directory'
325429459361Smrg# messages which can occur if `w' ends up in MAKEFLAGS.
325529459361Smrg# In particular we don't look at `^make:' because GNU make might
325629459361Smrg# be invoked under some other name (usually "gmake"), in which
325729459361Smrg# case it prints its new name instead of `make'.
325829459361Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
325929459361Smrg   am__include=include
326029459361Smrg   am__quote=
326129459361Smrg   _am_result=GNU
326229459361Smrgfi
326329459361Smrg# Now try BSD make style include.
326429459361Smrgif test "$am__include" = "#"; then
326529459361Smrg   echo '.include "confinc"' > confmf
326629459361Smrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
326729459361Smrg      am__include=.include
326829459361Smrg      am__quote="\""
326929459361Smrg      _am_result=BSD
327029459361Smrg   fi
327129459361Smrgfi
327229459361Smrg
327329459361Smrg
327429459361Smrg{ echo "$as_me:$LINENO: result: $_am_result" >&5
327529459361Smrgecho "${ECHO_T}$_am_result" >&6; }
327629459361Smrgrm -f confinc confmf
327729459361Smrg
327829459361Smrg# Check whether --enable-dependency-tracking was given.
327929459361Smrgif test "${enable_dependency_tracking+set}" = set; then
328029459361Smrg  enableval=$enable_dependency_tracking;
328129459361Smrgfi
328229459361Smrg
328329459361Smrgif test "x$enable_dependency_tracking" != xno; then
328429459361Smrg  am_depcomp="$ac_aux_dir/depcomp"
328529459361Smrg  AMDEPBACKSLASH='\'
328629459361Smrgfi
328729459361Smrg
328829459361Smrg
328929459361Smrgif test "x$enable_dependency_tracking" != xno; then
329029459361Smrg  AMDEP_TRUE=
329129459361Smrg  AMDEP_FALSE='#'
329229459361Smrgelse
329329459361Smrg  AMDEP_TRUE='#'
329429459361Smrg  AMDEP_FALSE=
329529459361Smrgfi
329629459361Smrg
329729459361Smrg
329829459361Smrg
329929459361Smrg
330029459361Smrgdepcc="$CC"   am_compiler_list=
330129459361Smrg
330229459361Smrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
330329459361Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
330429459361Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
330529459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
330629459361Smrgelse
330729459361Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
330829459361Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
330929459361Smrg  # making bogus files that we don't know about and never remove.  For
331029459361Smrg  # instance it was reported that on HP-UX the gcc test will end up
331129459361Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
331229459361Smrg  # in D'.
331329459361Smrg  mkdir conftest.dir
331429459361Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
331529459361Smrg  # using a relative directory.
331629459361Smrg  cp "$am_depcomp" conftest.dir
331729459361Smrg  cd conftest.dir
331829459361Smrg  # We will build objects and dependencies in a subdirectory because
331929459361Smrg  # it helps to detect inapplicable dependency modes.  For instance
332029459361Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
332129459361Smrg  # side effect of compilation, but ICC will put the dependencies in
332229459361Smrg  # the current directory while Tru64 will put them in the object
332329459361Smrg  # directory.
332429459361Smrg  mkdir sub
332529459361Smrg
332629459361Smrg  am_cv_CC_dependencies_compiler_type=none
332729459361Smrg  if test "$am_compiler_list" = ""; then
332829459361Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
332929459361Smrg  fi
333029459361Smrg  for depmode in $am_compiler_list; do
333129459361Smrg    # Setup a source with many dependencies, because some compilers
333229459361Smrg    # like to wrap large dependency lists on column 80 (with \), and
333329459361Smrg    # we should not choose a depcomp mode which is confused by this.
333429459361Smrg    #
333529459361Smrg    # We need to recreate these files for each test, as the compiler may
333629459361Smrg    # overwrite some of them when testing with obscure command lines.
333729459361Smrg    # This happens at least with the AIX C compiler.
333829459361Smrg    : > sub/conftest.c
333929459361Smrg    for i in 1 2 3 4 5 6; do
334029459361Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
334129459361Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
334229459361Smrg      # Solaris 8's {/usr,}/bin/sh.
334329459361Smrg      touch sub/conftst$i.h
334429459361Smrg    done
334529459361Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
334629459361Smrg
334729459361Smrg    case $depmode in
334829459361Smrg    nosideeffect)
334929459361Smrg      # after this tag, mechanisms are not by side-effect, so they'll
335029459361Smrg      # only be used when explicitly requested
335129459361Smrg      if test "x$enable_dependency_tracking" = xyes; then
335229459361Smrg	continue
335329459361Smrg      else
335429459361Smrg	break
335529459361Smrg      fi
335629459361Smrg      ;;
335729459361Smrg    none) break ;;
335829459361Smrg    esac
335929459361Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
336029459361Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
336129459361Smrg    # handle `-M -o', and we need to detect this.
336229459361Smrg    if depmode=$depmode \
336329459361Smrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
336429459361Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
336529459361Smrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
336629459361Smrg         >/dev/null 2>conftest.err &&
336729459361Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
336829459361Smrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
336929459361Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
337029459361Smrg      # icc doesn't choke on unknown options, it will just issue warnings
337129459361Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
337229459361Smrg      # that says an option was ignored or not supported.
337329459361Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
337429459361Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
337529459361Smrg      # The diagnosis changed in icc 8.0:
337629459361Smrg      #   icc: Command line remark: option '-MP' not supported
337729459361Smrg      if (grep 'ignoring option' conftest.err ||
337829459361Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
337929459361Smrg        am_cv_CC_dependencies_compiler_type=$depmode
338029459361Smrg        break
338129459361Smrg      fi
338229459361Smrg    fi
338329459361Smrg  done
338429459361Smrg
338529459361Smrg  cd ..
338629459361Smrg  rm -rf conftest.dir
338729459361Smrgelse
338829459361Smrg  am_cv_CC_dependencies_compiler_type=none
338929459361Smrgfi
339029459361Smrg
339129459361Smrgfi
339229459361Smrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
339329459361Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
339429459361SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
339529459361Smrg
339629459361Smrg
339729459361Smrg
339829459361Smrgif
339929459361Smrg  test "x$enable_dependency_tracking" != xno \
340029459361Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
340129459361Smrg  am__fastdepCC_TRUE=
340229459361Smrg  am__fastdepCC_FALSE='#'
340329459361Smrgelse
340429459361Smrg  am__fastdepCC_TRUE='#'
340529459361Smrg  am__fastdepCC_FALSE=
340629459361Smrgfi
340729459361Smrg
340829459361Smrg
340929459361Smrg# Find a good install program.  We prefer a C program (faster),
341029459361Smrg# so one script is as good as another.  But avoid the broken or
341129459361Smrg# incompatible versions:
341229459361Smrg# SysV /etc/install, /usr/sbin/install
341329459361Smrg# SunOS /usr/etc/install
341429459361Smrg# IRIX /sbin/install
341529459361Smrg# AIX /bin/install
341629459361Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
341729459361Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
341829459361Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
341929459361Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
342029459361Smrg# OS/2's system install, which has a completely different semantic
342129459361Smrg# ./install, which can be erroneously created by make from ./install.sh.
342229459361Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
342329459361Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
342429459361Smrgif test -z "$INSTALL"; then
342529459361Smrgif test "${ac_cv_path_install+set}" = set; then
342629459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
342729459361Smrgelse
342829459361Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
342929459361Smrgfor as_dir in $PATH
343029459361Smrgdo
343129459361Smrg  IFS=$as_save_IFS
343229459361Smrg  test -z "$as_dir" && as_dir=.
343329459361Smrg  # Account for people who put trailing slashes in PATH elements.
343429459361Smrgcase $as_dir/ in
343529459361Smrg  ./ | .// | /cC/* | \
343629459361Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
343729459361Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
343829459361Smrg  /usr/ucb/* ) ;;
343929459361Smrg  *)
344029459361Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
344129459361Smrg    # Don't use installbsd from OSF since it installs stuff as root
344229459361Smrg    # by default.
344329459361Smrg    for ac_prog in ginstall scoinst install; do
344429459361Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
344529459361Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
344629459361Smrg	  if test $ac_prog = install &&
344729459361Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
344829459361Smrg	    # AIX install.  It has an incompatible calling convention.
344929459361Smrg	    :
345029459361Smrg	  elif test $ac_prog = install &&
345129459361Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
345229459361Smrg	    # program-specific install script used by HP pwplus--don't use.
345329459361Smrg	    :
345429459361Smrg	  else
345529459361Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
345629459361Smrg	    break 3
345729459361Smrg	  fi
345829459361Smrg	fi
345929459361Smrg      done
346029459361Smrg    done
346129459361Smrg    ;;
346229459361Smrgesac
346329459361Smrgdone
346429459361SmrgIFS=$as_save_IFS
346529459361Smrg
346629459361Smrg
346729459361Smrgfi
346829459361Smrg  if test "${ac_cv_path_install+set}" = set; then
346929459361Smrg    INSTALL=$ac_cv_path_install
347029459361Smrg  else
347129459361Smrg    # As a last resort, use the slow shell script.  Don't cache a
347229459361Smrg    # value for INSTALL within a source directory, because that will
347329459361Smrg    # break other packages using the cache if that directory is
347429459361Smrg    # removed, or if the value is a relative name.
347529459361Smrg    INSTALL=$ac_install_sh
347629459361Smrg  fi
347729459361Smrgfi
347829459361Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
347929459361Smrgecho "${ECHO_T}$INSTALL" >&6; }
348029459361Smrg
348129459361Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
348229459361Smrg# It thinks the first close brace ends the variable substitution.
348329459361Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
348429459361Smrg
348529459361Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
348629459361Smrg
348729459361Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
348829459361Smrg
348929459361Smrg
349029459361Smrg# Checks for pkg-config packages
349129459361Smrg
349229459361Smrg
349329459361Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
349429459361Smrg	if test -n "$ac_tool_prefix"; then
349529459361Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
349629459361Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
349729459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
349829459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
349929459361Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
350029459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
350129459361Smrgelse
350229459361Smrg  case $PKG_CONFIG in
350329459361Smrg  [\\/]* | ?:[\\/]*)
350429459361Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
350529459361Smrg  ;;
350629459361Smrg  *)
350729459361Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
350829459361Smrgfor as_dir in $PATH
350929459361Smrgdo
351029459361Smrg  IFS=$as_save_IFS
351129459361Smrg  test -z "$as_dir" && as_dir=.
351229459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
351329459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
351429459361Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
351529459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
351629459361Smrg    break 2
351729459361Smrg  fi
351829459361Smrgdone
351929459361Smrgdone
352029459361SmrgIFS=$as_save_IFS
352129459361Smrg
352229459361Smrg  ;;
352329459361Smrgesac
352429459361Smrgfi
352529459361SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
352629459361Smrgif test -n "$PKG_CONFIG"; then
352729459361Smrg  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
352829459361Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; }
352929459361Smrgelse
353029459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
353129459361Smrgecho "${ECHO_T}no" >&6; }
353229459361Smrgfi
353329459361Smrg
353429459361Smrg
353529459361Smrgfi
353629459361Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
353729459361Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
353829459361Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
353929459361Smrgset dummy pkg-config; ac_word=$2
354029459361Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
354129459361Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
354229459361Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
354329459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
354429459361Smrgelse
354529459361Smrg  case $ac_pt_PKG_CONFIG in
354629459361Smrg  [\\/]* | ?:[\\/]*)
354729459361Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
354829459361Smrg  ;;
354929459361Smrg  *)
355029459361Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
355129459361Smrgfor as_dir in $PATH
355229459361Smrgdo
355329459361Smrg  IFS=$as_save_IFS
355429459361Smrg  test -z "$as_dir" && as_dir=.
355529459361Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
355629459361Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
355729459361Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
355829459361Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
355929459361Smrg    break 2
356029459361Smrg  fi
356129459361Smrgdone
356229459361Smrgdone
356329459361SmrgIFS=$as_save_IFS
356429459361Smrg
356529459361Smrg  ;;
356629459361Smrgesac
356729459361Smrgfi
356829459361Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
356929459361Smrgif test -n "$ac_pt_PKG_CONFIG"; then
357029459361Smrg  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
357129459361Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
357229459361Smrgelse
357329459361Smrg  { echo "$as_me:$LINENO: result: no" >&5
357429459361Smrgecho "${ECHO_T}no" >&6; }
357529459361Smrgfi
357629459361Smrg
357729459361Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
357829459361Smrg    PKG_CONFIG=""
357929459361Smrg  else
358029459361Smrg    case $cross_compiling:$ac_tool_warned in
358129459361Smrgyes:)
358229459361Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
358329459361Smrgwhose name does not start with the host triplet.  If you think this
358429459361Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
358529459361Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
358629459361Smrgwhose name does not start with the host triplet.  If you think this
358729459361Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
358829459361Smrgac_tool_warned=yes ;;
358929459361Smrgesac
359029459361Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
359129459361Smrg  fi
359229459361Smrgelse
359329459361Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
359429459361Smrgfi
359529459361Smrg
359629459361Smrgfi
359729459361Smrgif test -n "$PKG_CONFIG"; then
359829459361Smrg	_pkg_min_version=0.9.0
359929459361Smrg	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
360029459361Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
360129459361Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
360229459361Smrg		{ echo "$as_me:$LINENO: result: yes" >&5
360329459361Smrgecho "${ECHO_T}yes" >&6; }
360429459361Smrg	else
360529459361Smrg		{ echo "$as_me:$LINENO: result: no" >&5
360629459361Smrgecho "${ECHO_T}no" >&6; }
360729459361Smrg		PKG_CONFIG=""
360829459361Smrg	fi
360929459361Smrg
361029459361Smrgfi
361129459361Smrg
361229459361Smrgpkg_failed=no
361329459361Smrg{ echo "$as_me:$LINENO: checking for BDFTOPCF" >&5
361429459361Smrgecho $ECHO_N "checking for BDFTOPCF... $ECHO_C" >&6; }
361529459361Smrg
361629459361Smrgif test -n "$PKG_CONFIG"; then
361729459361Smrg        if test -n "$PKG_CONFIG" && \
361829459361Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xfont\"") >&5
361929459361Smrg  ($PKG_CONFIG --exists --print-errors "xfont") 2>&5
362029459361Smrg  ac_status=$?
362129459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
362229459361Smrg  (exit $ac_status); }; then
362329459361Smrg  pkg_cv_BDFTOPCF_CFLAGS=`$PKG_CONFIG --cflags "xfont" 2>/dev/null`
362429459361Smrgelse
362529459361Smrg  pkg_failed=yes
362629459361Smrgfi
362729459361Smrgelse
362829459361Smrg	pkg_failed=untried
362929459361Smrgfi
363029459361Smrgif test -n "$PKG_CONFIG"; then
363129459361Smrg        if test -n "$PKG_CONFIG" && \
363229459361Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xfont\"") >&5
363329459361Smrg  ($PKG_CONFIG --exists --print-errors "xfont") 2>&5
363429459361Smrg  ac_status=$?
363529459361Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
363629459361Smrg  (exit $ac_status); }; then
363729459361Smrg  pkg_cv_BDFTOPCF_LIBS=`$PKG_CONFIG --libs "xfont" 2>/dev/null`
363829459361Smrgelse
363929459361Smrg  pkg_failed=yes
364029459361Smrgfi
364129459361Smrgelse
364229459361Smrg	pkg_failed=untried
364329459361Smrgfi
364429459361Smrg
364529459361Smrgif test $pkg_failed = yes; then
364629459361Smrg	BDFTOPCF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xfont"`
364729459361Smrg	# Put the nasty error message in config.log where it belongs
364829459361Smrg	echo "$BDFTOPCF_PKG_ERRORS" 1>&5
364929459361Smrg
365029459361Smrg	{ { echo "$as_me:$LINENO: error: Package requirements (xfont) were not met.
365129459361SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
365229459361Smrginstalled software in a non-standard prefix.
365329459361Smrg
365429459361SmrgAlternatively you may set the BDFTOPCF_CFLAGS and BDFTOPCF_LIBS environment variables
365529459361Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
365629459361Smrgmore details." >&5
365729459361Smrgecho "$as_me: error: Package requirements (xfont) were not met.
365829459361SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
365929459361Smrginstalled software in a non-standard prefix.
366029459361Smrg
366129459361SmrgAlternatively you may set the BDFTOPCF_CFLAGS and BDFTOPCF_LIBS environment variables
366229459361Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
366329459361Smrgmore details." >&2;}
366429459361Smrg   { (exit 1); exit 1; }; }
366529459361Smrgelif test $pkg_failed = untried; then
366629459361Smrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
366729459361Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
366829459361Smrgpath to pkg-config.
366929459361Smrg
367029459361SmrgAlternatively you may set the BDFTOPCF_CFLAGS and BDFTOPCF_LIBS environment variables
367129459361Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
367229459361Smrgmore details.
367329459361Smrg
367429459361SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
367529459361SmrgSee \`config.log' for more details." >&5
367629459361Smrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
367729459361Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
367829459361Smrgpath to pkg-config.
367929459361Smrg
368029459361SmrgAlternatively you may set the BDFTOPCF_CFLAGS and BDFTOPCF_LIBS environment variables
368129459361Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
368229459361Smrgmore details.
368329459361Smrg
368429459361SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
368529459361SmrgSee \`config.log' for more details." >&2;}
368629459361Smrg   { (exit 1); exit 1; }; }
368729459361Smrgelse
368829459361Smrg	BDFTOPCF_CFLAGS=$pkg_cv_BDFTOPCF_CFLAGS
368929459361Smrg	BDFTOPCF_LIBS=$pkg_cv_BDFTOPCF_LIBS
369029459361Smrg        { echo "$as_me:$LINENO: result: yes" >&5
369129459361Smrgecho "${ECHO_T}yes" >&6; }
369229459361Smrg	:
369329459361Smrgfi
369429459361Smrg
369529459361Smrg
369629459361Smrg
369729459361Smrg
369829459361Smrg
369929459361Smrg# Allow checking code with lint, sparse, etc.
370029459361Smrg
370129459361Smrg# Check whether --with-lint was given.
370229459361Smrgif test "${with_lint+set}" = set; then
370329459361Smrg  withval=$with_lint; use_lint=$withval
370429459361Smrgelse
370529459361Smrg  use_lint=no
370629459361Smrgfi
370729459361Smrg
370829459361Smrgif test "x$use_lint" = "xyes" ; then
370929459361Smrg	LINT="lint"
371029459361Smrgelse
371129459361Smrg	LINT="$use_lint"
371229459361Smrgfi
371329459361Smrgif test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
371429459361Smrg    case $LINT in
371529459361Smrg	lint|*/lint)
371629459361Smrg	    case $host_os in
371729459361Smrg		solaris*)
371829459361Smrg			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
371929459361Smrg			;;
372029459361Smrg	    esac
372129459361Smrg	    ;;
372229459361Smrg    esac
372329459361Smrgfi
372429459361Smrg
372529459361Smrg
372629459361Smrg
372729459361Smrg
372829459361Smrg
372929459361Smrgif test x$LINT != xno; then
373029459361Smrg  LINT_TRUE=
373129459361Smrg  LINT_FALSE='#'
373229459361Smrgelse
373329459361Smrg  LINT_TRUE='#'
373429459361Smrg  LINT_FALSE=
373529459361Smrgfi
373629459361Smrg
373729459361Smrg
373829459361Smrg
373929459361Smrg# Make sure we can run config.sub.
374029459361Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
374129459361Smrg  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
374229459361Smrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
374329459361Smrg   { (exit 1); exit 1; }; }
374429459361Smrg
374529459361Smrg{ echo "$as_me:$LINENO: checking build system type" >&5
374629459361Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; }
374729459361Smrgif test "${ac_cv_build+set}" = set; then
374829459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
374929459361Smrgelse
375029459361Smrg  ac_build_alias=$build_alias
375129459361Smrgtest "x$ac_build_alias" = x &&
375229459361Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
375329459361Smrgtest "x$ac_build_alias" = x &&
375429459361Smrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
375529459361Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
375629459361Smrg   { (exit 1); exit 1; }; }
375729459361Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
375829459361Smrg  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
375929459361Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
376029459361Smrg   { (exit 1); exit 1; }; }
376129459361Smrg
376229459361Smrgfi
376329459361Smrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
376429459361Smrgecho "${ECHO_T}$ac_cv_build" >&6; }
376529459361Smrgcase $ac_cv_build in
376629459361Smrg*-*-*) ;;
376729459361Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
376829459361Smrgecho "$as_me: error: invalid value of canonical build" >&2;}
376929459361Smrg   { (exit 1); exit 1; }; };;
377029459361Smrgesac
377129459361Smrgbuild=$ac_cv_build
377229459361Smrgac_save_IFS=$IFS; IFS='-'
377329459361Smrgset x $ac_cv_build
377429459361Smrgshift
377529459361Smrgbuild_cpu=$1
377629459361Smrgbuild_vendor=$2
377729459361Smrgshift; shift
377829459361Smrg# Remember, the first character of IFS is used to create $*,
377929459361Smrg# except with old shells:
378029459361Smrgbuild_os=$*
378129459361SmrgIFS=$ac_save_IFS
378229459361Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
378329459361Smrg
378429459361Smrg
378529459361Smrg{ echo "$as_me:$LINENO: checking host system type" >&5
378629459361Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; }
378729459361Smrgif test "${ac_cv_host+set}" = set; then
378829459361Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
378929459361Smrgelse
379029459361Smrg  if test "x$host_alias" = x; then
379129459361Smrg  ac_cv_host=$ac_cv_build
379229459361Smrgelse
379329459361Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
379429459361Smrg    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
379529459361Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
379629459361Smrg   { (exit 1); exit 1; }; }
379729459361Smrgfi
379829459361Smrg
379929459361Smrgfi
380029459361Smrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
380129459361Smrgecho "${ECHO_T}$ac_cv_host" >&6; }
380229459361Smrgcase $ac_cv_host in
380329459361Smrg*-*-*) ;;
380429459361Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
380529459361Smrgecho "$as_me: error: invalid value of canonical host" >&2;}
380629459361Smrg   { (exit 1); exit 1; }; };;
380729459361Smrgesac
380829459361Smrghost=$ac_cv_host
380929459361Smrgac_save_IFS=$IFS; IFS='-'
381029459361Smrgset x $ac_cv_host
381129459361Smrgshift
381229459361Smrghost_cpu=$1
381329459361Smrghost_vendor=$2
381429459361Smrgshift; shift
381529459361Smrg# Remember, the first character of IFS is used to create $*,
381629459361Smrg# except with old shells:
381729459361Smrghost_os=$*
381829459361SmrgIFS=$ac_save_IFS
381929459361Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
382029459361Smrg
382129459361Smrg
382229459361Smrg
382329459361Smrg
382429459361Smrg
382529459361Smrgif test x$APP_MAN_SUFFIX = x    ; then
382629459361Smrg    APP_MAN_SUFFIX=1
382729459361Smrgfi
382829459361Smrgif test x$APP_MAN_DIR = x    ; then
382929459361Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
383029459361Smrgfi
383129459361Smrg
383229459361Smrgif test x$LIB_MAN_SUFFIX = x    ; then
383329459361Smrg    LIB_MAN_SUFFIX=3
383429459361Smrgfi
383529459361Smrgif test x$LIB_MAN_DIR = x    ; then
383629459361Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
383729459361Smrgfi
383829459361Smrg
383929459361Smrgif test x$FILE_MAN_SUFFIX = x    ; then
384029459361Smrg    case $host_os in
384129459361Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
384229459361Smrg	*)		FILE_MAN_SUFFIX=5  ;;
384329459361Smrg    esac
384429459361Smrgfi
384529459361Smrgif test x$FILE_MAN_DIR = x    ; then
384629459361Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
384729459361Smrgfi
384829459361Smrg
384929459361Smrgif test x$MISC_MAN_SUFFIX = x    ; then
385029459361Smrg    case $host_os in
385129459361Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
385229459361Smrg	*)		MISC_MAN_SUFFIX=7  ;;
385329459361Smrg    esac
385429459361Smrgfi
385529459361Smrgif test x$MISC_MAN_DIR = x    ; then
385629459361Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
385729459361Smrgfi
385829459361Smrg
385929459361Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
386029459361Smrg    case $host_os in
386129459361Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
386229459361Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
386329459361Smrg    esac
386429459361Smrgfi
386529459361Smrgif test x$DRIVER_MAN_DIR = x    ; then
386629459361Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
386729459361Smrgfi
386829459361Smrg
386929459361Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
387029459361Smrg    case $host_os in
387129459361Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
387229459361Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
387329459361Smrg    esac
387429459361Smrgfi
387529459361Smrgif test x$ADMIN_MAN_DIR = x    ; then
387629459361Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
387729459361Smrgfi
387829459361Smrg
387929459361Smrg
388029459361Smrg
388129459361Smrg
388229459361Smrg
388329459361Smrg
388429459361Smrg
388529459361Smrg
388629459361Smrg
388729459361Smrg
388829459361Smrg
388929459361Smrg
389029459361Smrg
389129459361Smrg
389229459361Smrg
389329459361Smrg
389429459361Smrg
389529459361Smrg# Check whether --with-release-version was given.
389629459361Smrgif test "${with_release_version+set}" = set; then
389729459361Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
389829459361Smrgelse
389929459361Smrg  RELEASE_VERSION=""
390029459361Smrgfi
390129459361Smrg
390229459361Smrg	if test "x$RELEASE_VERSION" != "x"; then
390329459361Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
390429459361Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
390529459361Smrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
390629459361Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
390729459361Smrg	fi
390829459361Smrg
390929459361Smrgcat >>confdefs.h <<_ACEOF
391029459361Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
391129459361Smrg_ACEOF
391229459361Smrg
391329459361Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
391429459361Smrg	if test "x$PVM" = "x"; then
391529459361Smrg		PVM="0"
391629459361Smrg	fi
391729459361Smrg
391829459361Smrgcat >>confdefs.h <<_ACEOF
391929459361Smrg#define PACKAGE_VERSION_MINOR $PVM
392029459361Smrg_ACEOF
392129459361Smrg
392229459361Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
392329459361Smrg	if test "x$PVP" = "x"; then
392429459361Smrg		PVP="0"
392529459361Smrg	fi
392629459361Smrg
392729459361Smrgcat >>confdefs.h <<_ACEOF
392829459361Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
392929459361Smrg_ACEOF
393029459361Smrg
393129459361Smrg
393229459361Smrg
393329459361Smrgac_config_files="$ac_config_files Makefile"
393429459361Smrg
393529459361Smrgcat >confcache <<\_ACEOF
393629459361Smrg# This file is a shell script that caches the results of configure
393729459361Smrg# tests run on this system so they can be shared between configure
393829459361Smrg# scripts and configure runs, see configure's option --config-cache.
393929459361Smrg# It is not useful on other systems.  If it contains results you don't
394029459361Smrg# want to keep, you may remove or edit it.
394129459361Smrg#
394229459361Smrg# config.status only pays attention to the cache file if you give it
394329459361Smrg# the --recheck option to rerun configure.
394429459361Smrg#
394529459361Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
394629459361Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
394729459361Smrg# following values.
394829459361Smrg
394929459361Smrg_ACEOF
395029459361Smrg
395129459361Smrg# The following way of writing the cache mishandles newlines in values,
395229459361Smrg# but we know of no workaround that is simple, portable, and efficient.
395329459361Smrg# So, we kill variables containing newlines.
395429459361Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
395529459361Smrg# and sets the high bit in the cache file unless we assign to the vars.
395629459361Smrg(
395729459361Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
395829459361Smrg    eval ac_val=\$$ac_var
395929459361Smrg    case $ac_val in #(
396029459361Smrg    *${as_nl}*)
396129459361Smrg      case $ac_var in #(
396229459361Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
396329459361Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
396429459361Smrg      esac
396529459361Smrg      case $ac_var in #(
396629459361Smrg      _ | IFS | as_nl) ;; #(
396729459361Smrg      *) $as_unset $ac_var ;;
396829459361Smrg      esac ;;
396929459361Smrg    esac
397029459361Smrg  done
397129459361Smrg
397229459361Smrg  (set) 2>&1 |
397329459361Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
397429459361Smrg    *${as_nl}ac_space=\ *)
397529459361Smrg      # `set' does not quote correctly, so add quotes (double-quote
397629459361Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
397729459361Smrg      sed -n \
397829459361Smrg	"s/'/'\\\\''/g;
397929459361Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
398029459361Smrg      ;; #(
398129459361Smrg    *)
398229459361Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
398329459361Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
398429459361Smrg      ;;
398529459361Smrg    esac |
398629459361Smrg    sort
398729459361Smrg) |
398829459361Smrg  sed '
398929459361Smrg     /^ac_cv_env_/b end
399029459361Smrg     t clear
399129459361Smrg     :clear
399229459361Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
399329459361Smrg     t end
399429459361Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
399529459361Smrg     :end' >>confcache
399629459361Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
399729459361Smrg  if test -w "$cache_file"; then
399829459361Smrg    test "x$cache_file" != "x/dev/null" &&
399929459361Smrg      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
400029459361Smrgecho "$as_me: updating cache $cache_file" >&6;}
400129459361Smrg    cat confcache >$cache_file
400229459361Smrg  else
400329459361Smrg    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
400429459361Smrgecho "$as_me: not updating unwritable cache $cache_file" >&6;}
400529459361Smrg  fi
400629459361Smrgfi
400729459361Smrgrm -f confcache
400829459361Smrg
400929459361Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
401029459361Smrg# Let make expand exec_prefix.
401129459361Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
401229459361Smrg
401329459361SmrgDEFS=-DHAVE_CONFIG_H
401429459361Smrg
401529459361Smrgac_libobjs=
401629459361Smrgac_ltlibobjs=
401729459361Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
401829459361Smrg  # 1. Remove the extension, and $U if already installed.
401929459361Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
402029459361Smrg  ac_i=`echo "$ac_i" | sed "$ac_script"`
402129459361Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
402229459361Smrg  #    will be set to the directory where LIBOBJS objects are built.
402329459361Smrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
402429459361Smrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
402529459361Smrgdone
402629459361SmrgLIBOBJS=$ac_libobjs
402729459361Smrg
402829459361SmrgLTLIBOBJS=$ac_ltlibobjs
402929459361Smrg
403029459361Smrg
403129459361Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
403229459361Smrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
403329459361SmrgUsually this means the macro was only invoked conditionally." >&5
403429459361Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
403529459361SmrgUsually this means the macro was only invoked conditionally." >&2;}
403629459361Smrg   { (exit 1); exit 1; }; }
403729459361Smrgfi
403829459361Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
403929459361Smrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
404029459361SmrgUsually this means the macro was only invoked conditionally." >&5
404129459361Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
404229459361SmrgUsually this means the macro was only invoked conditionally." >&2;}
404329459361Smrg   { (exit 1); exit 1; }; }
404429459361Smrgfi
404529459361Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
404629459361Smrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
404729459361SmrgUsually this means the macro was only invoked conditionally." >&5
404829459361Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
404929459361SmrgUsually this means the macro was only invoked conditionally." >&2;}
405029459361Smrg   { (exit 1); exit 1; }; }
405129459361Smrgfi
405229459361Smrgif test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
405329459361Smrg  { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
405429459361SmrgUsually this means the macro was only invoked conditionally." >&5
405529459361Smrgecho "$as_me: error: conditional \"LINT\" was never defined.
405629459361SmrgUsually this means the macro was only invoked conditionally." >&2;}
405729459361Smrg   { (exit 1); exit 1; }; }
405829459361Smrgfi
405929459361Smrg
406029459361Smrg: ${CONFIG_STATUS=./config.status}
406129459361Smrgac_clean_files_save=$ac_clean_files
406229459361Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
406329459361Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
406429459361Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
406529459361Smrgcat >$CONFIG_STATUS <<_ACEOF
406629459361Smrg#! $SHELL
406729459361Smrg# Generated by $as_me.
406829459361Smrg# Run this file to recreate the current configuration.
406929459361Smrg# Compiler output produced by configure, useful for debugging
407029459361Smrg# configure, is in config.log if it exists.
407129459361Smrg
407229459361Smrgdebug=false
407329459361Smrgac_cs_recheck=false
407429459361Smrgac_cs_silent=false
407529459361SmrgSHELL=\${CONFIG_SHELL-$SHELL}
407629459361Smrg_ACEOF
407729459361Smrg
407829459361Smrgcat >>$CONFIG_STATUS <<\_ACEOF
407929459361Smrg## --------------------- ##
408029459361Smrg## M4sh Initialization.  ##
408129459361Smrg## --------------------- ##
408229459361Smrg
408329459361Smrg# Be Bourne compatible
408429459361Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
408529459361Smrg  emulate sh
408629459361Smrg  NULLCMD=:
408729459361Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
408829459361Smrg  # is contrary to our usage.  Disable this feature.
408929459361Smrg  alias -g '${1+"$@"}'='"$@"'
409029459361Smrg  setopt NO_GLOB_SUBST
409129459361Smrgelse
409229459361Smrg  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
409329459361Smrgfi
409429459361SmrgBIN_SH=xpg4; export BIN_SH # for Tru64
409529459361SmrgDUALCASE=1; export DUALCASE # for MKS sh
409629459361Smrg
409729459361Smrg
409829459361Smrg# PATH needs CR
409929459361Smrg# Avoid depending upon Character Ranges.
410029459361Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
410129459361Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
410229459361Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
410329459361Smrgas_cr_digits='0123456789'
410429459361Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
410529459361Smrg
410629459361Smrg# The user is always right.
410729459361Smrgif test "${PATH_SEPARATOR+set}" != set; then
410829459361Smrg  echo "#! /bin/sh" >conf$$.sh
410929459361Smrg  echo  "exit 0"   >>conf$$.sh
411029459361Smrg  chmod +x conf$$.sh
411129459361Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
411229459361Smrg    PATH_SEPARATOR=';'
411329459361Smrg  else
411429459361Smrg    PATH_SEPARATOR=:
411529459361Smrg  fi
411629459361Smrg  rm -f conf$$.sh
411729459361Smrgfi
411829459361Smrg
411929459361Smrg# Support unset when possible.
412029459361Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
412129459361Smrg  as_unset=unset
412229459361Smrgelse
412329459361Smrg  as_unset=false
412429459361Smrgfi
412529459361Smrg
412629459361Smrg
412729459361Smrg# IFS
412829459361Smrg# We need space, tab and new line, in precisely that order.  Quoting is
412929459361Smrg# there to prevent editors from complaining about space-tab.
413029459361Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
413129459361Smrg# splitting by setting IFS to empty value.)
413229459361Smrgas_nl='
413329459361Smrg'
413429459361SmrgIFS=" ""	$as_nl"
413529459361Smrg
413629459361Smrg# Find who we are.  Look in the path if we contain no directory separator.
413729459361Smrgcase $0 in
413829459361Smrg  *[\\/]* ) as_myself=$0 ;;
413929459361Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
414029459361Smrgfor as_dir in $PATH
414129459361Smrgdo
414229459361Smrg  IFS=$as_save_IFS
414329459361Smrg  test -z "$as_dir" && as_dir=.
414429459361Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
414529459361Smrgdone
414629459361SmrgIFS=$as_save_IFS
414729459361Smrg
414829459361Smrg     ;;
414929459361Smrgesac
415029459361Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
415129459361Smrg# in which case we are not to be found in the path.
415229459361Smrgif test "x$as_myself" = x; then
415329459361Smrg  as_myself=$0
415429459361Smrgfi
415529459361Smrgif test ! -f "$as_myself"; then
415629459361Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
415729459361Smrg  { (exit 1); exit 1; }
415829459361Smrgfi
415929459361Smrg
416029459361Smrg# Work around bugs in pre-3.0 UWIN ksh.
416129459361Smrgfor as_var in ENV MAIL MAILPATH
416229459361Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
416329459361Smrgdone
416429459361SmrgPS1='$ '
416529459361SmrgPS2='> '
416629459361SmrgPS4='+ '
416729459361Smrg
416829459361Smrg# NLS nuisances.
416929459361Smrgfor as_var in \
417029459361Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
417129459361Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
417229459361Smrg  LC_TELEPHONE LC_TIME
417329459361Smrgdo
417429459361Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
417529459361Smrg    eval $as_var=C; export $as_var
417629459361Smrg  else
417729459361Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
417829459361Smrg  fi
417929459361Smrgdone
418029459361Smrg
418129459361Smrg# Required to use basename.
418229459361Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
418329459361Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
418429459361Smrg  as_expr=expr
418529459361Smrgelse
418629459361Smrg  as_expr=false
418729459361Smrgfi
418829459361Smrg
418929459361Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
419029459361Smrg  as_basename=basename
419129459361Smrgelse
419229459361Smrg  as_basename=false
419329459361Smrgfi
419429459361Smrg
419529459361Smrg
419629459361Smrg# Name of the executable.
419729459361Smrgas_me=`$as_basename -- "$0" ||
419829459361Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
419929459361Smrg	 X"$0" : 'X\(//\)$' \| \
420029459361Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
420129459361Smrgecho X/"$0" |
420229459361Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
420329459361Smrg	    s//\1/
420429459361Smrg	    q
420529459361Smrg	  }
420629459361Smrg	  /^X\/\(\/\/\)$/{
420729459361Smrg	    s//\1/
420829459361Smrg	    q
420929459361Smrg	  }
421029459361Smrg	  /^X\/\(\/\).*/{
421129459361Smrg	    s//\1/
421229459361Smrg	    q
421329459361Smrg	  }
421429459361Smrg	  s/.*/./; q'`
421529459361Smrg
421629459361Smrg# CDPATH.
421729459361Smrg$as_unset CDPATH
421829459361Smrg
421929459361Smrg
422029459361Smrg
422129459361Smrg  as_lineno_1=$LINENO
422229459361Smrg  as_lineno_2=$LINENO
422329459361Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
422429459361Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422529459361Smrg
422629459361Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
422729459361Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
422829459361Smrg  # line-number line after each line using $LINENO; the second 'sed'
422929459361Smrg  # does the real work.  The second script uses 'N' to pair each
423029459361Smrg  # line-number line with the line containing $LINENO, and appends
423129459361Smrg  # trailing '-' during substitution so that $LINENO is not a special
423229459361Smrg  # case at line end.
423329459361Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
423429459361Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
423529459361Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
423629459361Smrg  sed -n '
423729459361Smrg    p
423829459361Smrg    /[$]LINENO/=
423929459361Smrg  ' <$as_myself |
424029459361Smrg    sed '
424129459361Smrg      s/[$]LINENO.*/&-/
424229459361Smrg      t lineno
424329459361Smrg      b
424429459361Smrg      :lineno
424529459361Smrg      N
424629459361Smrg      :loop
424729459361Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
424829459361Smrg      t loop
424929459361Smrg      s/-\n.*//
425029459361Smrg    ' >$as_me.lineno &&
425129459361Smrg  chmod +x "$as_me.lineno" ||
425229459361Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
425329459361Smrg   { (exit 1); exit 1; }; }
425429459361Smrg
425529459361Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
425629459361Smrg  # (the dirname of $[0] is not the place where we might find the
425729459361Smrg  # original and so on.  Autoconf is especially sensitive to this).
425829459361Smrg  . "./$as_me.lineno"
425929459361Smrg  # Exit status is that of the last command.
426029459361Smrg  exit
426129459361Smrg}
426229459361Smrg
426329459361Smrg
426429459361Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
426529459361Smrg  as_dirname=dirname
426629459361Smrgelse
426729459361Smrg  as_dirname=false
426829459361Smrgfi
426929459361Smrg
427029459361SmrgECHO_C= ECHO_N= ECHO_T=
427129459361Smrgcase `echo -n x` in
427229459361Smrg-n*)
427329459361Smrg  case `echo 'x\c'` in
427429459361Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
427529459361Smrg  *)   ECHO_C='\c';;
427629459361Smrg  esac;;
427729459361Smrg*)
427829459361Smrg  ECHO_N='-n';;
427929459361Smrgesac
428029459361Smrg
428129459361Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
428229459361Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
428329459361Smrg  as_expr=expr
428429459361Smrgelse
428529459361Smrg  as_expr=false
428629459361Smrgfi
428729459361Smrg
428829459361Smrgrm -f conf$$ conf$$.exe conf$$.file
428929459361Smrgif test -d conf$$.dir; then
429029459361Smrg  rm -f conf$$.dir/conf$$.file
429129459361Smrgelse
429229459361Smrg  rm -f conf$$.dir
429329459361Smrg  mkdir conf$$.dir
429429459361Smrgfi
429529459361Smrgecho >conf$$.file
429629459361Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
429729459361Smrg  as_ln_s='ln -s'
429829459361Smrg  # ... but there are two gotchas:
429929459361Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
430029459361Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
430129459361Smrg  # In both cases, we have to default to `cp -p'.
430229459361Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
430329459361Smrg    as_ln_s='cp -p'
430429459361Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
430529459361Smrg  as_ln_s=ln
430629459361Smrgelse
430729459361Smrg  as_ln_s='cp -p'
430829459361Smrgfi
430929459361Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
431029459361Smrgrmdir conf$$.dir 2>/dev/null
431129459361Smrg
431229459361Smrgif mkdir -p . 2>/dev/null; then
431329459361Smrg  as_mkdir_p=:
431429459361Smrgelse
431529459361Smrg  test -d ./-p && rmdir ./-p
431629459361Smrg  as_mkdir_p=false
431729459361Smrgfi
431829459361Smrg
431929459361Smrg# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
432029459361Smrg# systems may use methods other than mode bits to determine executability.
432129459361Smrgcat >conf$$.file <<_ASEOF
432229459361Smrg#! /bin/sh
432329459361Smrgexit 0
432429459361Smrg_ASEOF
432529459361Smrgchmod +x conf$$.file
432629459361Smrgif test -x conf$$.file >/dev/null 2>&1; then
432729459361Smrg  as_executable_p="test -x"
432829459361Smrgelse
432929459361Smrg  as_executable_p=:
433029459361Smrgfi
433129459361Smrgrm -f conf$$.file
433229459361Smrg
433329459361Smrg# Sed expression to map a string onto a valid CPP name.
433429459361Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
433529459361Smrg
433629459361Smrg# Sed expression to map a string onto a valid variable name.
433729459361Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
433829459361Smrg
433929459361Smrg
434029459361Smrgexec 6>&1
434129459361Smrg
434229459361Smrg# Save the log message, to keep $[0] and so on meaningful, and to
434329459361Smrg# report actual input values of CONFIG_FILES etc. instead of their
434429459361Smrg# values after options handling.
434529459361Smrgac_log="
434629459361SmrgThis file was extended by bdftopcf $as_me 1.0.1, which was
434729459361Smrggenerated by GNU Autoconf 2.60.  Invocation command line was
434829459361Smrg
434929459361Smrg  CONFIG_FILES    = $CONFIG_FILES
435029459361Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
435129459361Smrg  CONFIG_LINKS    = $CONFIG_LINKS
435229459361Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
435329459361Smrg  $ $0 $@
435429459361Smrg
435529459361Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
435629459361Smrg"
435729459361Smrg
435829459361Smrg_ACEOF
435929459361Smrg
436029459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
436129459361Smrg# Files that config.status was made for.
436229459361Smrgconfig_files="$ac_config_files"
436329459361Smrgconfig_headers="$ac_config_headers"
436429459361Smrgconfig_commands="$ac_config_commands"
436529459361Smrg
436629459361Smrg_ACEOF
436729459361Smrg
436829459361Smrgcat >>$CONFIG_STATUS <<\_ACEOF
436929459361Smrgac_cs_usage="\
437029459361Smrg\`$as_me' instantiates files from templates according to the
437129459361Smrgcurrent configuration.
437229459361Smrg
437329459361SmrgUsage: $0 [OPTIONS] [FILE]...
437429459361Smrg
437529459361Smrg  -h, --help       print this help, then exit
437629459361Smrg  -V, --version    print version number, then exit
437729459361Smrg  -q, --quiet      do not print progress messages
437829459361Smrg  -d, --debug      don't remove temporary files
437929459361Smrg      --recheck    update $as_me by reconfiguring in the same conditions
438029459361Smrg  --file=FILE[:TEMPLATE]
438129459361Smrg		   instantiate the configuration file FILE
438229459361Smrg  --header=FILE[:TEMPLATE]
438329459361Smrg		   instantiate the configuration header FILE
438429459361Smrg
438529459361SmrgConfiguration files:
438629459361Smrg$config_files
438729459361Smrg
438829459361SmrgConfiguration headers:
438929459361Smrg$config_headers
439029459361Smrg
439129459361SmrgConfiguration commands:
439229459361Smrg$config_commands
439329459361Smrg
439429459361SmrgReport bugs to <bug-autoconf@gnu.org>."
439529459361Smrg
439629459361Smrg_ACEOF
439729459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
439829459361Smrgac_cs_version="\\
439929459361Smrgbdftopcf config.status 1.0.1
440029459361Smrgconfigured by $0, generated by GNU Autoconf 2.60,
440129459361Smrg  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
440229459361Smrg
440329459361SmrgCopyright (C) 2006 Free Software Foundation, Inc.
440429459361SmrgThis config.status script is free software; the Free Software Foundation
440529459361Smrggives unlimited permission to copy, distribute and modify it."
440629459361Smrg
440729459361Smrgac_pwd='$ac_pwd'
440829459361Smrgsrcdir='$srcdir'
440929459361SmrgINSTALL='$INSTALL'
441029459361Smrg_ACEOF
441129459361Smrg
441229459361Smrgcat >>$CONFIG_STATUS <<\_ACEOF
441329459361Smrg# If no file are specified by the user, then we need to provide default
441429459361Smrg# value.  By we need to know if files were specified by the user.
441529459361Smrgac_need_defaults=:
441629459361Smrgwhile test $# != 0
441729459361Smrgdo
441829459361Smrg  case $1 in
441929459361Smrg  --*=*)
442029459361Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
442129459361Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
442229459361Smrg    ac_shift=:
442329459361Smrg    ;;
442429459361Smrg  *)
442529459361Smrg    ac_option=$1
442629459361Smrg    ac_optarg=$2
442729459361Smrg    ac_shift=shift
442829459361Smrg    ;;
442929459361Smrg  esac
443029459361Smrg
443129459361Smrg  case $ac_option in
443229459361Smrg  # Handling of the options.
443329459361Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
443429459361Smrg    ac_cs_recheck=: ;;
443529459361Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
443629459361Smrg    echo "$ac_cs_version"; exit ;;
443729459361Smrg  --debug | --debu | --deb | --de | --d | -d )
443829459361Smrg    debug=: ;;
443929459361Smrg  --file | --fil | --fi | --f )
444029459361Smrg    $ac_shift
444129459361Smrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
444229459361Smrg    ac_need_defaults=false;;
444329459361Smrg  --header | --heade | --head | --hea )
444429459361Smrg    $ac_shift
444529459361Smrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
444629459361Smrg    ac_need_defaults=false;;
444729459361Smrg  --he | --h)
444829459361Smrg    # Conflict between --help and --header
444929459361Smrg    { echo "$as_me: error: ambiguous option: $1
445029459361SmrgTry \`$0 --help' for more information." >&2
445129459361Smrg   { (exit 1); exit 1; }; };;
445229459361Smrg  --help | --hel | -h )
445329459361Smrg    echo "$ac_cs_usage"; exit ;;
445429459361Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
445529459361Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
445629459361Smrg    ac_cs_silent=: ;;
445729459361Smrg
445829459361Smrg  # This is an error.
445929459361Smrg  -*) { echo "$as_me: error: unrecognized option: $1
446029459361SmrgTry \`$0 --help' for more information." >&2
446129459361Smrg   { (exit 1); exit 1; }; } ;;
446229459361Smrg
446329459361Smrg  *) ac_config_targets="$ac_config_targets $1"
446429459361Smrg     ac_need_defaults=false ;;
446529459361Smrg
446629459361Smrg  esac
446729459361Smrg  shift
446829459361Smrgdone
446929459361Smrg
447029459361Smrgac_configure_extra_args=
447129459361Smrg
447229459361Smrgif $ac_cs_silent; then
447329459361Smrg  exec 6>/dev/null
447429459361Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
447529459361Smrgfi
447629459361Smrg
447729459361Smrg_ACEOF
447829459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
447929459361Smrgif \$ac_cs_recheck; then
448029459361Smrg  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
448129459361Smrg  CONFIG_SHELL=$SHELL
448229459361Smrg  export CONFIG_SHELL
448329459361Smrg  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
448429459361Smrgfi
448529459361Smrg
448629459361Smrg_ACEOF
448729459361Smrgcat >>$CONFIG_STATUS <<\_ACEOF
448829459361Smrgexec 5>>config.log
448929459361Smrg{
449029459361Smrg  echo
449129459361Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
449229459361Smrg## Running $as_me. ##
449329459361Smrg_ASBOX
449429459361Smrg  echo "$ac_log"
449529459361Smrg} >&5
449629459361Smrg
449729459361Smrg_ACEOF
449829459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
449929459361Smrg#
450029459361Smrg# INIT-COMMANDS
450129459361Smrg#
450229459361SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
450329459361Smrg
450429459361Smrg_ACEOF
450529459361Smrg
450629459361Smrgcat >>$CONFIG_STATUS <<\_ACEOF
450729459361Smrg
450829459361Smrg# Handling of arguments.
450929459361Smrgfor ac_config_target in $ac_config_targets
451029459361Smrgdo
451129459361Smrg  case $ac_config_target in
451229459361Smrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
451329459361Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
451429459361Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
451529459361Smrg
451629459361Smrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
451729459361Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
451829459361Smrg   { (exit 1); exit 1; }; };;
451929459361Smrg  esac
452029459361Smrgdone
452129459361Smrg
452229459361Smrg
452329459361Smrg# If the user did not use the arguments to specify the items to instantiate,
452429459361Smrg# then the envvar interface is used.  Set only those that are not.
452529459361Smrg# We use the long form for the default assignment because of an extremely
452629459361Smrg# bizarre bug on SunOS 4.1.3.
452729459361Smrgif $ac_need_defaults; then
452829459361Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
452929459361Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
453029459361Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
453129459361Smrgfi
453229459361Smrg
453329459361Smrg# Have a temporary directory for convenience.  Make it in the build tree
453429459361Smrg# simply because there is no reason against having it here, and in addition,
453529459361Smrg# creating and moving files from /tmp can sometimes cause problems.
453629459361Smrg# Hook for its removal unless debugging.
453729459361Smrg# Note that there is a small window in which the directory will not be cleaned:
453829459361Smrg# after its creation but before its name has been assigned to `$tmp'.
453929459361Smrg$debug ||
454029459361Smrg{
454129459361Smrg  tmp=
454229459361Smrg  trap 'exit_status=$?
454329459361Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
454429459361Smrg' 0
454529459361Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
454629459361Smrg}
454729459361Smrg# Create a (secure) tmp directory for tmp files.
454829459361Smrg
454929459361Smrg{
455029459361Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
455129459361Smrg  test -n "$tmp" && test -d "$tmp"
455229459361Smrg}  ||
455329459361Smrg{
455429459361Smrg  tmp=./conf$$-$RANDOM
455529459361Smrg  (umask 077 && mkdir "$tmp")
455629459361Smrg} ||
455729459361Smrg{
455829459361Smrg   echo "$me: cannot create a temporary directory in ." >&2
455929459361Smrg   { (exit 1); exit 1; }
456029459361Smrg}
456129459361Smrg
456229459361Smrg#
456329459361Smrg# Set up the sed scripts for CONFIG_FILES section.
456429459361Smrg#
456529459361Smrg
456629459361Smrg# No need to generate the scripts if there are no CONFIG_FILES.
456729459361Smrg# This happens for instance when ./config.status config.h
456829459361Smrgif test -n "$CONFIG_FILES"; then
456929459361Smrg
457029459361Smrg_ACEOF
457129459361Smrg
457229459361Smrg
457329459361Smrg
457429459361Smrgac_delim='%!_!# '
457529459361Smrgfor ac_last_try in false false false false false :; do
457629459361Smrg  cat >conf$$subs.sed <<_ACEOF
457729459361SmrgSHELL!$SHELL$ac_delim
457829459361SmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
457929459361SmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim
458029459361SmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
458129459361SmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
458229459361SmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim
458329459361SmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
458429459361Smrgexec_prefix!$exec_prefix$ac_delim
458529459361Smrgprefix!$prefix$ac_delim
458629459361Smrgprogram_transform_name!$program_transform_name$ac_delim
458729459361Smrgbindir!$bindir$ac_delim
458829459361Smrgsbindir!$sbindir$ac_delim
458929459361Smrglibexecdir!$libexecdir$ac_delim
459029459361Smrgdatarootdir!$datarootdir$ac_delim
459129459361Smrgdatadir!$datadir$ac_delim
459229459361Smrgsysconfdir!$sysconfdir$ac_delim
459329459361Smrgsharedstatedir!$sharedstatedir$ac_delim
459429459361Smrglocalstatedir!$localstatedir$ac_delim
459529459361Smrgincludedir!$includedir$ac_delim
459629459361Smrgoldincludedir!$oldincludedir$ac_delim
459729459361Smrgdocdir!$docdir$ac_delim
459829459361Smrginfodir!$infodir$ac_delim
459929459361Smrghtmldir!$htmldir$ac_delim
460029459361Smrgdvidir!$dvidir$ac_delim
460129459361Smrgpdfdir!$pdfdir$ac_delim
460229459361Smrgpsdir!$psdir$ac_delim
460329459361Smrglibdir!$libdir$ac_delim
460429459361Smrglocaledir!$localedir$ac_delim
460529459361Smrgmandir!$mandir$ac_delim
460629459361SmrgDEFS!$DEFS$ac_delim
460729459361SmrgECHO_C!$ECHO_C$ac_delim
460829459361SmrgECHO_N!$ECHO_N$ac_delim
460929459361SmrgECHO_T!$ECHO_T$ac_delim
461029459361SmrgLIBS!$LIBS$ac_delim
461129459361Smrgbuild_alias!$build_alias$ac_delim
461229459361Smrghost_alias!$host_alias$ac_delim
461329459361Smrgtarget_alias!$target_alias$ac_delim
461429459361SmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
461529459361SmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
461629459361SmrgINSTALL_DATA!$INSTALL_DATA$ac_delim
461729459361SmrgCYGPATH_W!$CYGPATH_W$ac_delim
461829459361SmrgPACKAGE!$PACKAGE$ac_delim
461929459361SmrgVERSION!$VERSION$ac_delim
462029459361SmrgACLOCAL!$ACLOCAL$ac_delim
462129459361SmrgAUTOCONF!$AUTOCONF$ac_delim
462229459361SmrgAUTOMAKE!$AUTOMAKE$ac_delim
462329459361SmrgAUTOHEADER!$AUTOHEADER$ac_delim
462429459361SmrgMAKEINFO!$MAKEINFO$ac_delim
462529459361Smrginstall_sh!$install_sh$ac_delim
462629459361SmrgSTRIP!$STRIP$ac_delim
462729459361SmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
462829459361Smrgmkdir_p!$mkdir_p$ac_delim
462929459361SmrgAWK!$AWK$ac_delim
463029459361SmrgSET_MAKE!$SET_MAKE$ac_delim
463129459361Smrgam__leading_dot!$am__leading_dot$ac_delim
463229459361SmrgAMTAR!$AMTAR$ac_delim
463329459361Smrgam__tar!$am__tar$ac_delim
463429459361Smrgam__untar!$am__untar$ac_delim
463529459361SmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
463629459361SmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
463729459361SmrgMAINT!$MAINT$ac_delim
463829459361SmrgCC!$CC$ac_delim
463929459361SmrgCFLAGS!$CFLAGS$ac_delim
464029459361SmrgLDFLAGS!$LDFLAGS$ac_delim
464129459361SmrgCPPFLAGS!$CPPFLAGS$ac_delim
464229459361Smrgac_ct_CC!$ac_ct_CC$ac_delim
464329459361SmrgEXEEXT!$EXEEXT$ac_delim
464429459361SmrgOBJEXT!$OBJEXT$ac_delim
464529459361SmrgDEPDIR!$DEPDIR$ac_delim
464629459361Smrgam__include!$am__include$ac_delim
464729459361Smrgam__quote!$am__quote$ac_delim
464829459361SmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim
464929459361SmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim
465029459361SmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
465129459361SmrgCCDEPMODE!$CCDEPMODE$ac_delim
465229459361Smrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
465329459361Smrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
465429459361SmrgPKG_CONFIG!$PKG_CONFIG$ac_delim
465529459361SmrgBDFTOPCF_CFLAGS!$BDFTOPCF_CFLAGS$ac_delim
465629459361SmrgBDFTOPCF_LIBS!$BDFTOPCF_LIBS$ac_delim
465729459361SmrgLINT!$LINT$ac_delim
465829459361SmrgLINT_FLAGS!$LINT_FLAGS$ac_delim
465929459361SmrgLINT_TRUE!$LINT_TRUE$ac_delim
466029459361SmrgLINT_FALSE!$LINT_FALSE$ac_delim
466129459361Smrgbuild!$build$ac_delim
466229459361Smrgbuild_cpu!$build_cpu$ac_delim
466329459361Smrgbuild_vendor!$build_vendor$ac_delim
466429459361Smrgbuild_os!$build_os$ac_delim
466529459361Smrghost!$host$ac_delim
466629459361Smrghost_cpu!$host_cpu$ac_delim
466729459361Smrghost_vendor!$host_vendor$ac_delim
466829459361Smrghost_os!$host_os$ac_delim
466929459361SmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
467029459361SmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
467129459361SmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
467229459361SmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
467329459361SmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
467429459361Smrg_ACEOF
467529459361Smrg
467629459361Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
467729459361Smrg    break
467829459361Smrg  elif $ac_last_try; then
467929459361Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
468029459361Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
468129459361Smrg   { (exit 1); exit 1; }; }
468229459361Smrg  else
468329459361Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
468429459361Smrg  fi
468529459361Smrgdone
468629459361Smrg
468729459361Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
468829459361Smrgif test -n "$ac_eof"; then
468929459361Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
469029459361Smrg  ac_eof=`expr $ac_eof + 1`
469129459361Smrgfi
469229459361Smrg
469329459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
469429459361Smrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
469529459361Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
469629459361Smrg_ACEOF
469729459361Smrgsed '
469829459361Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
469929459361Smrgs/^/s,@/; s/!/@,|#_!!_#|/
470029459361Smrg:n
470129459361Smrgt n
470229459361Smrgs/'"$ac_delim"'$/,g/; t
470329459361Smrgs/$/\\/; p
470429459361SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
470529459361Smrg' >>$CONFIG_STATUS <conf$$subs.sed
470629459361Smrgrm -f conf$$subs.sed
470729459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
470829459361SmrgCEOF$ac_eof
470929459361Smrg_ACEOF
471029459361Smrg
471129459361Smrg
471229459361Smrgac_delim='%!_!# '
471329459361Smrgfor ac_last_try in false false false false false :; do
471429459361Smrg  cat >conf$$subs.sed <<_ACEOF
471529459361SmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
471629459361SmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim
471729459361SmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
471829459361SmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
471929459361SmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
472029459361SmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
472129459361SmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
472229459361SmrgLIBOBJS!$LIBOBJS$ac_delim
472329459361SmrgLTLIBOBJS!$LTLIBOBJS$ac_delim
472429459361Smrg_ACEOF
472529459361Smrg
472629459361Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
472729459361Smrg    break
472829459361Smrg  elif $ac_last_try; then
472929459361Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
473029459361Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
473129459361Smrg   { (exit 1); exit 1; }; }
473229459361Smrg  else
473329459361Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
473429459361Smrg  fi
473529459361Smrgdone
473629459361Smrg
473729459361Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
473829459361Smrgif test -n "$ac_eof"; then
473929459361Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
474029459361Smrg  ac_eof=`expr $ac_eof + 1`
474129459361Smrgfi
474229459361Smrg
474329459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
474429459361Smrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
474529459361Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
474629459361Smrg_ACEOF
474729459361Smrgsed '
474829459361Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
474929459361Smrgs/^/s,@/; s/!/@,|#_!!_#|/
475029459361Smrg:n
475129459361Smrgt n
475229459361Smrgs/'"$ac_delim"'$/,g/; t
475329459361Smrgs/$/\\/; p
475429459361SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
475529459361Smrg' >>$CONFIG_STATUS <conf$$subs.sed
475629459361Smrgrm -f conf$$subs.sed
475729459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
475829459361Smrg:end
475929459361Smrgs/|#_!!_#|//g
476029459361SmrgCEOF$ac_eof
476129459361Smrg_ACEOF
476229459361Smrg
476329459361Smrg
476429459361Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
476529459361Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
476629459361Smrg# trailing colons and then remove the whole line if VPATH becomes empty
476729459361Smrg# (actually we leave an empty line to preserve line numbers).
476829459361Smrgif test "x$srcdir" = x.; then
476929459361Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
477029459361Smrgs/:*\$(srcdir):*/:/
477129459361Smrgs/:*\${srcdir}:*/:/
477229459361Smrgs/:*@srcdir@:*/:/
477329459361Smrgs/^\([^=]*=[	 ]*\):*/\1/
477429459361Smrgs/:*$//
477529459361Smrgs/^[^=]*=[	 ]*$//
477629459361Smrg}'
477729459361Smrgfi
477829459361Smrg
477929459361Smrgcat >>$CONFIG_STATUS <<\_ACEOF
478029459361Smrgfi # test -n "$CONFIG_FILES"
478129459361Smrg
478229459361Smrg
478329459361Smrgfor ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
478429459361Smrgdo
478529459361Smrg  case $ac_tag in
478629459361Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
478729459361Smrg  esac
478829459361Smrg  case $ac_mode$ac_tag in
478929459361Smrg  :[FHL]*:*);;
479029459361Smrg  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
479129459361Smrgecho "$as_me: error: Invalid tag $ac_tag." >&2;}
479229459361Smrg   { (exit 1); exit 1; }; };;
479329459361Smrg  :[FH]-) ac_tag=-:-;;
479429459361Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
479529459361Smrg  esac
479629459361Smrg  ac_save_IFS=$IFS
479729459361Smrg  IFS=:
479829459361Smrg  set x $ac_tag
479929459361Smrg  IFS=$ac_save_IFS
480029459361Smrg  shift
480129459361Smrg  ac_file=$1
480229459361Smrg  shift
480329459361Smrg
480429459361Smrg  case $ac_mode in
480529459361Smrg  :L) ac_source=$1;;
480629459361Smrg  :[FH])
480729459361Smrg    ac_file_inputs=
480829459361Smrg    for ac_f
480929459361Smrg    do
481029459361Smrg      case $ac_f in
481129459361Smrg      -) ac_f="$tmp/stdin";;
481229459361Smrg      *) # Look for the file first in the build tree, then in the source tree
481329459361Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
481429459361Smrg	 # because $ac_f cannot contain `:'.
481529459361Smrg	 test -f "$ac_f" ||
481629459361Smrg	   case $ac_f in
481729459361Smrg	   [\\/$]*) false;;
481829459361Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
481929459361Smrg	   esac ||
482029459361Smrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
482129459361Smrgecho "$as_me: error: cannot find input file: $ac_f" >&2;}
482229459361Smrg   { (exit 1); exit 1; }; };;
482329459361Smrg      esac
482429459361Smrg      ac_file_inputs="$ac_file_inputs $ac_f"
482529459361Smrg    done
482629459361Smrg
482729459361Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
482829459361Smrg    # use $as_me), people would be surprised to read:
482929459361Smrg    #    /* config.h.  Generated by config.status.  */
483029459361Smrg    configure_input="Generated from "`IFS=:
483129459361Smrg	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
483229459361Smrg    if test x"$ac_file" != x-; then
483329459361Smrg      configure_input="$ac_file.  $configure_input"
483429459361Smrg      { echo "$as_me:$LINENO: creating $ac_file" >&5
483529459361Smrgecho "$as_me: creating $ac_file" >&6;}
483629459361Smrg    fi
483729459361Smrg
483829459361Smrg    case $ac_tag in
483929459361Smrg    *:-:* | *:-) cat >"$tmp/stdin";;
484029459361Smrg    esac
484129459361Smrg    ;;
484229459361Smrg  esac
484329459361Smrg
484429459361Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
484529459361Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
484629459361Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
484729459361Smrg	 X"$ac_file" : 'X\(//\)$' \| \
484829459361Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
484929459361Smrgecho X"$ac_file" |
485029459361Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
485129459361Smrg	    s//\1/
485229459361Smrg	    q
485329459361Smrg	  }
485429459361Smrg	  /^X\(\/\/\)[^/].*/{
485529459361Smrg	    s//\1/
485629459361Smrg	    q
485729459361Smrg	  }
485829459361Smrg	  /^X\(\/\/\)$/{
485929459361Smrg	    s//\1/
486029459361Smrg	    q
486129459361Smrg	  }
486229459361Smrg	  /^X\(\/\).*/{
486329459361Smrg	    s//\1/
486429459361Smrg	    q
486529459361Smrg	  }
486629459361Smrg	  s/.*/./; q'`
486729459361Smrg  { as_dir="$ac_dir"
486829459361Smrg  case $as_dir in #(
486929459361Smrg  -*) as_dir=./$as_dir;;
487029459361Smrg  esac
487129459361Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
487229459361Smrg    as_dirs=
487329459361Smrg    while :; do
487429459361Smrg      case $as_dir in #(
487529459361Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
487629459361Smrg      *) as_qdir=$as_dir;;
487729459361Smrg      esac
487829459361Smrg      as_dirs="'$as_qdir' $as_dirs"
487929459361Smrg      as_dir=`$as_dirname -- "$as_dir" ||
488029459361Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
488129459361Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
488229459361Smrg	 X"$as_dir" : 'X\(//\)$' \| \
488329459361Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
488429459361Smrgecho X"$as_dir" |
488529459361Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
488629459361Smrg	    s//\1/
488729459361Smrg	    q
488829459361Smrg	  }
488929459361Smrg	  /^X\(\/\/\)[^/].*/{
489029459361Smrg	    s//\1/
489129459361Smrg	    q
489229459361Smrg	  }
489329459361Smrg	  /^X\(\/\/\)$/{
489429459361Smrg	    s//\1/
489529459361Smrg	    q
489629459361Smrg	  }
489729459361Smrg	  /^X\(\/\).*/{
489829459361Smrg	    s//\1/
489929459361Smrg	    q
490029459361Smrg	  }
490129459361Smrg	  s/.*/./; q'`
490229459361Smrg      test -d "$as_dir" && break
490329459361Smrg    done
490429459361Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
490529459361Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
490629459361Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
490729459361Smrg   { (exit 1); exit 1; }; }; }
490829459361Smrg  ac_builddir=.
490929459361Smrg
491029459361Smrgcase "$ac_dir" in
491129459361Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
491229459361Smrg*)
491329459361Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
491429459361Smrg  # A ".." for each directory in $ac_dir_suffix.
491529459361Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
491629459361Smrg  case $ac_top_builddir_sub in
491729459361Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
491829459361Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
491929459361Smrg  esac ;;
492029459361Smrgesac
492129459361Smrgac_abs_top_builddir=$ac_pwd
492229459361Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
492329459361Smrg# for backward compatibility:
492429459361Smrgac_top_builddir=$ac_top_build_prefix
492529459361Smrg
492629459361Smrgcase $srcdir in
492729459361Smrg  .)  # We are building in place.
492829459361Smrg    ac_srcdir=.
492929459361Smrg    ac_top_srcdir=$ac_top_builddir_sub
493029459361Smrg    ac_abs_top_srcdir=$ac_pwd ;;
493129459361Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
493229459361Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
493329459361Smrg    ac_top_srcdir=$srcdir
493429459361Smrg    ac_abs_top_srcdir=$srcdir ;;
493529459361Smrg  *) # Relative name.
493629459361Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
493729459361Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
493829459361Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
493929459361Smrgesac
494029459361Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
494129459361Smrg
494229459361Smrg
494329459361Smrg  case $ac_mode in
494429459361Smrg  :F)
494529459361Smrg  #
494629459361Smrg  # CONFIG_FILE
494729459361Smrg  #
494829459361Smrg
494929459361Smrg  case $INSTALL in
495029459361Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
495129459361Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
495229459361Smrg  esac
495329459361Smrg_ACEOF
495429459361Smrg
495529459361Smrgcat >>$CONFIG_STATUS <<\_ACEOF
495629459361Smrg# If the template does not know about datarootdir, expand it.
495729459361Smrg# FIXME: This hack should be removed a few years after 2.60.
495829459361Smrgac_datarootdir_hack=; ac_datarootdir_seen=
495929459361Smrg
496029459361Smrgcase `sed -n '/datarootdir/ {
496129459361Smrg  p
496229459361Smrg  q
496329459361Smrg}
496429459361Smrg/@datadir@/p
496529459361Smrg/@docdir@/p
496629459361Smrg/@infodir@/p
496729459361Smrg/@localedir@/p
496829459361Smrg/@mandir@/p
496929459361Smrg' $ac_file_inputs` in
497029459361Smrg*datarootdir*) ac_datarootdir_seen=yes;;
497129459361Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
497229459361Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
497329459361Smrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
497429459361Smrg_ACEOF
497529459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
497629459361Smrg  ac_datarootdir_hack='
497729459361Smrg  s&@datadir@&$datadir&g
497829459361Smrg  s&@docdir@&$docdir&g
497929459361Smrg  s&@infodir@&$infodir&g
498029459361Smrg  s&@localedir@&$localedir&g
498129459361Smrg  s&@mandir@&$mandir&g
498229459361Smrg    s&\\\${datarootdir}&$datarootdir&g' ;;
498329459361Smrgesac
498429459361Smrg_ACEOF
498529459361Smrg
498629459361Smrg# Neutralize VPATH when `$srcdir' = `.'.
498729459361Smrg# Shell code in configure.ac might set extrasub.
498829459361Smrg# FIXME: do we really want to maintain this feature?
498929459361Smrgcat >>$CONFIG_STATUS <<_ACEOF
499029459361Smrg  sed "$ac_vpsub
499129459361Smrg$extrasub
499229459361Smrg_ACEOF
499329459361Smrgcat >>$CONFIG_STATUS <<\_ACEOF
499429459361Smrg:t
499529459361Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
499629459361Smrgs&@configure_input@&$configure_input&;t t
499729459361Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
499829459361Smrgs&@srcdir@&$ac_srcdir&;t t
499929459361Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
500029459361Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
500129459361Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
500229459361Smrgs&@builddir@&$ac_builddir&;t t
500329459361Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
500429459361Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
500529459361Smrgs&@INSTALL@&$ac_INSTALL&;t t
500629459361Smrg$ac_datarootdir_hack
500729459361Smrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
500829459361Smrg
500929459361Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
501029459361Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
501129459361Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
501229459361Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
501329459361Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
501429459361Smrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
501529459361Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
501629459361Smrg
501729459361Smrg  rm -f "$tmp/stdin"
501829459361Smrg  case $ac_file in
501929459361Smrg  -) cat "$tmp/out"; rm -f "$tmp/out";;
502029459361Smrg  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
502129459361Smrg  esac
502229459361Smrg ;;
502329459361Smrg  :H)
502429459361Smrg  #
502529459361Smrg  # CONFIG_HEADER
502629459361Smrg  #
502729459361Smrg_ACEOF
502829459361Smrg
502929459361Smrg# Transform confdefs.h into a sed script `conftest.defines', that
503029459361Smrg# substitutes the proper values into config.h.in to produce config.h.
503129459361Smrgrm -f conftest.defines conftest.tail
503229459361Smrg# First, append a space to every undef/define line, to ease matching.
503329459361Smrgecho 's/$/ /' >conftest.defines
503429459361Smrg# Then, protect against being on the right side of a sed subst, or in
503529459361Smrg# an unquoted here document, in config.status.  If some macros were
503629459361Smrg# called several times there might be several #defines for the same
503729459361Smrg# symbol, which is useless.  But do not sort them, since the last
503829459361Smrg# AC_DEFINE must be honored.
503929459361Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
504029459361Smrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
504129459361Smrg# NAME is the cpp macro being defined, VALUE is the value it is being given.
504229459361Smrg# PARAMS is the parameter list in the macro definition--in most cases, it's
504329459361Smrg# just an empty string.
504429459361Smrgac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
504529459361Smrgac_dB='\\)[	 (].*,\\1define\\2'
504629459361Smrgac_dC=' '
504729459361Smrgac_dD=' ,'
504829459361Smrg
504929459361Smrguniq confdefs.h |
505029459361Smrg  sed -n '
505129459361Smrg	t rset
505229459361Smrg	:rset
505329459361Smrg	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
505429459361Smrg	t ok
505529459361Smrg	d
505629459361Smrg	:ok
505729459361Smrg	s/[\\&,]/\\&/g
505829459361Smrg	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
505929459361Smrg	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
506029459361Smrg  ' >>conftest.defines
506129459361Smrg
506229459361Smrg# Remove the space that was appended to ease matching.
506329459361Smrg# Then replace #undef with comments.  This is necessary, for
506429459361Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required
506529459361Smrg# on some systems where configure will not decide to define it.
506629459361Smrg# (The regexp can be short, since the line contains either #define or #undef.)
506729459361Smrgecho 's/ $//
506829459361Smrgs,^[	 #]*u.*,/* & */,' >>conftest.defines
506929459361Smrg
507029459361Smrg# Break up conftest.defines:
507129459361Smrgac_max_sed_lines=50
507229459361Smrg
507329459361Smrg# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
507429459361Smrg# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
507529459361Smrg# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
507629459361Smrg# et cetera.
507729459361Smrgac_in='$ac_file_inputs'
507829459361Smrgac_out='"$tmp/out1"'
507929459361Smrgac_nxt='"$tmp/out2"'
508029459361Smrg
508129459361Smrgwhile :
508229459361Smrgdo
508329459361Smrg  # Write a here document:
508429459361Smrg    cat >>$CONFIG_STATUS <<_ACEOF
508529459361Smrg    # First, check the format of the line:
508629459361Smrg    cat >"\$tmp/defines.sed" <<\\CEOF
508729459361Smrg/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
508829459361Smrg/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
508929459361Smrgb
509029459361Smrg:def
509129459361Smrg_ACEOF
509229459361Smrg  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
509329459361Smrg  echo 'CEOF
509429459361Smrg    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
509529459361Smrg  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
509629459361Smrg  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
509729459361Smrg  grep . conftest.tail >/dev/null || break
509829459361Smrg  rm -f conftest.defines
509929459361Smrg  mv conftest.tail conftest.defines
510029459361Smrgdone
510129459361Smrgrm -f conftest.defines conftest.tail
510229459361Smrg
510329459361Smrgecho "ac_result=$ac_in" >>$CONFIG_STATUS
510429459361Smrgcat >>$CONFIG_STATUS <<\_ACEOF
510529459361Smrg  if test x"$ac_file" != x-; then
510629459361Smrg    echo "/* $configure_input  */" >"$tmp/config.h"
510729459361Smrg    cat "$ac_result" >>"$tmp/config.h"
510829459361Smrg    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
510929459361Smrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
511029459361Smrgecho "$as_me: $ac_file is unchanged" >&6;}
511129459361Smrg    else
511229459361Smrg      rm -f $ac_file
511329459361Smrg      mv "$tmp/config.h" $ac_file
511429459361Smrg    fi
511529459361Smrg  else
511629459361Smrg    echo "/* $configure_input  */"
511729459361Smrg    cat "$ac_result"
511829459361Smrg  fi
511929459361Smrg  rm -f "$tmp/out12"
512029459361Smrg# Compute $ac_file's index in $config_headers.
512129459361Smrg_am_stamp_count=1
512229459361Smrgfor _am_header in $config_headers :; do
512329459361Smrg  case $_am_header in
512429459361Smrg    $ac_file | $ac_file:* )
512529459361Smrg      break ;;
512629459361Smrg    * )
512729459361Smrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
512829459361Smrg  esac
512929459361Smrgdone
513029459361Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
513129459361Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
513229459361Smrg	 X$ac_file : 'X\(//\)[^/]' \| \
513329459361Smrg	 X$ac_file : 'X\(//\)$' \| \
513429459361Smrg	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
513529459361Smrgecho X$ac_file |
513629459361Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
513729459361Smrg	    s//\1/
513829459361Smrg	    q
513929459361Smrg	  }
514029459361Smrg	  /^X\(\/\/\)[^/].*/{
514129459361Smrg	    s//\1/
514229459361Smrg	    q
514329459361Smrg	  }
514429459361Smrg	  /^X\(\/\/\)$/{
514529459361Smrg	    s//\1/
514629459361Smrg	    q
514729459361Smrg	  }
514829459361Smrg	  /^X\(\/\).*/{
514929459361Smrg	    s//\1/
515029459361Smrg	    q
515129459361Smrg	  }
515229459361Smrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
515329459361Smrg ;;
515429459361Smrg
515529459361Smrg  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
515629459361Smrgecho "$as_me: executing $ac_file commands" >&6;}
515729459361Smrg ;;
515829459361Smrg  esac
515929459361Smrg
516029459361Smrg
516129459361Smrg  case $ac_file$ac_mode in
516229459361Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
516329459361Smrg  # Strip MF so we end up with the name of the file.
516429459361Smrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
516529459361Smrg  # Check whether this is an Automake generated Makefile or not.
516629459361Smrg  # We used to match only the files named `Makefile.in', but
516729459361Smrg  # some people rename them; so instead we look at the file content.
516829459361Smrg  # Grep'ing the first line is not enough: some people post-process
516929459361Smrg  # each Makefile.in and add a new line on top of each file to say so.
517029459361Smrg  # So let's grep whole file.
517129459361Smrg  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
517229459361Smrg    dirpart=`$as_dirname -- "$mf" ||
517329459361Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
517429459361Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
517529459361Smrg	 X"$mf" : 'X\(//\)$' \| \
517629459361Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
517729459361Smrgecho X"$mf" |
517829459361Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
517929459361Smrg	    s//\1/
518029459361Smrg	    q
518129459361Smrg	  }
518229459361Smrg	  /^X\(\/\/\)[^/].*/{
518329459361Smrg	    s//\1/
518429459361Smrg	    q
518529459361Smrg	  }
518629459361Smrg	  /^X\(\/\/\)$/{
518729459361Smrg	    s//\1/
518829459361Smrg	    q
518929459361Smrg	  }
519029459361Smrg	  /^X\(\/\).*/{
519129459361Smrg	    s//\1/
519229459361Smrg	    q
519329459361Smrg	  }
519429459361Smrg	  s/.*/./; q'`
519529459361Smrg  else
519629459361Smrg    continue
519729459361Smrg  fi
519829459361Smrg  # Extract the definition of DEPDIR, am__include, and am__quote
519929459361Smrg  # from the Makefile without running `make'.
520029459361Smrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
520129459361Smrg  test -z "$DEPDIR" && continue
520229459361Smrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
520329459361Smrg  test -z "am__include" && continue
520429459361Smrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
520529459361Smrg  # When using ansi2knr, U may be empty or an underscore; expand it
520629459361Smrg  U=`sed -n 's/^U = //p' < "$mf"`
520729459361Smrg  # Find all dependency output files, they are included files with
520829459361Smrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
520929459361Smrg  # simplest approach to changing $(DEPDIR) to its actual value in the
521029459361Smrg  # expansion.
521129459361Smrg  for file in `sed -n "
521229459361Smrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
521329459361Smrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
521429459361Smrg    # Make sure the directory exists.
521529459361Smrg    test -f "$dirpart/$file" && continue
521629459361Smrg    fdir=`$as_dirname -- "$file" ||
521729459361Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
521829459361Smrg	 X"$file" : 'X\(//\)[^/]' \| \
521929459361Smrg	 X"$file" : 'X\(//\)$' \| \
522029459361Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
522129459361Smrgecho X"$file" |
522229459361Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
522329459361Smrg	    s//\1/
522429459361Smrg	    q
522529459361Smrg	  }
522629459361Smrg	  /^X\(\/\/\)[^/].*/{
522729459361Smrg	    s//\1/
522829459361Smrg	    q
522929459361Smrg	  }
523029459361Smrg	  /^X\(\/\/\)$/{
523129459361Smrg	    s//\1/
523229459361Smrg	    q
523329459361Smrg	  }
523429459361Smrg	  /^X\(\/\).*/{
523529459361Smrg	    s//\1/
523629459361Smrg	    q
523729459361Smrg	  }
523829459361Smrg	  s/.*/./; q'`
523929459361Smrg    { as_dir=$dirpart/$fdir
524029459361Smrg  case $as_dir in #(
524129459361Smrg  -*) as_dir=./$as_dir;;
524229459361Smrg  esac
524329459361Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
524429459361Smrg    as_dirs=
524529459361Smrg    while :; do
524629459361Smrg      case $as_dir in #(
524729459361Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
524829459361Smrg      *) as_qdir=$as_dir;;
524929459361Smrg      esac
525029459361Smrg      as_dirs="'$as_qdir' $as_dirs"
525129459361Smrg      as_dir=`$as_dirname -- "$as_dir" ||
525229459361Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
525329459361Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
525429459361Smrg	 X"$as_dir" : 'X\(//\)$' \| \
525529459361Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
525629459361Smrgecho X"$as_dir" |
525729459361Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
525829459361Smrg	    s//\1/
525929459361Smrg	    q
526029459361Smrg	  }
526129459361Smrg	  /^X\(\/\/\)[^/].*/{
526229459361Smrg	    s//\1/
526329459361Smrg	    q
526429459361Smrg	  }
526529459361Smrg	  /^X\(\/\/\)$/{
526629459361Smrg	    s//\1/
526729459361Smrg	    q
526829459361Smrg	  }
526929459361Smrg	  /^X\(\/\).*/{
527029459361Smrg	    s//\1/
527129459361Smrg	    q
527229459361Smrg	  }
527329459361Smrg	  s/.*/./; q'`
527429459361Smrg      test -d "$as_dir" && break
527529459361Smrg    done
527629459361Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
527729459361Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
527829459361Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
527929459361Smrg   { (exit 1); exit 1; }; }; }
528029459361Smrg    # echo "creating $dirpart/$file"
528129459361Smrg    echo '# dummy' > "$dirpart/$file"
528229459361Smrg  done
528329459361Smrgdone
528429459361Smrg ;;
528529459361Smrg
528629459361Smrg  esac
528729459361Smrgdone # for ac_tag
528829459361Smrg
528929459361Smrg
529029459361Smrg{ (exit 0); exit 0; }
529129459361Smrg_ACEOF
529229459361Smrgchmod +x $CONFIG_STATUS
529329459361Smrgac_clean_files=$ac_clean_files_save
529429459361Smrg
529529459361Smrg
529629459361Smrg# configure is writing to config.log, and then calls config.status.
529729459361Smrg# config.status does its own redirection, appending to config.log.
529829459361Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
529929459361Smrg# by configure, so config.status won't be able to write to it; its
530029459361Smrg# output is simply discarded.  So we exec the FD to /dev/null,
530129459361Smrg# effectively closing config.log, so it can be properly (re)opened and
530229459361Smrg# appended to by config.status.  When coming back to configure, we
530329459361Smrg# need to make the FD available again.
530429459361Smrgif test "$no_create" != yes; then
530529459361Smrg  ac_cs_success=:
530629459361Smrg  ac_config_status_args=
530729459361Smrg  test "$silent" = yes &&
530829459361Smrg    ac_config_status_args="$ac_config_status_args --quiet"
530929459361Smrg  exec 5>/dev/null
531029459361Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
531129459361Smrg  exec 5>>config.log
531229459361Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
531329459361Smrg  # would make configure fail if this is the last instruction.
531429459361Smrg  $ac_cs_success || { (exit 1); exit 1; }
531529459361Smrgfi
531629459361Smrg
5317