configure revision dd519f38
1ed029a5fSmrg#! /bin/sh
2ed029a5fSmrg# Guess values for system-dependent variables and create Makefiles.
3dd519f38Smrg# Generated by GNU Autoconf 2.63 for font-adobe-100dpi 1.0.1.
4ed029a5fSmrg#
5ed029a5fSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6ed029a5fSmrg#
7dd519f38Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8dd519f38Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9ed029a5fSmrg# This configure script is free software; the Free Software Foundation
10ed029a5fSmrg# gives unlimited permission to copy, distribute and modify it.
11ed029a5fSmrg## --------------------- ##
12ed029a5fSmrg## M4sh Initialization.  ##
13ed029a5fSmrg## --------------------- ##
14ed029a5fSmrg
15dd519f38Smrg# Be more Bourne compatible
16dd519f38SmrgDUALCASE=1; export DUALCASE # for MKS sh
17ed029a5fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18ed029a5fSmrg  emulate sh
19ed029a5fSmrg  NULLCMD=:
20dd519f38Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21ed029a5fSmrg  # is contrary to our usage.  Disable this feature.
22ed029a5fSmrg  alias -g '${1+"$@"}'='"$@"'
23dd519f38Smrg  setopt NO_GLOB_SUBST
24dd519f38Smrgelse
25dd519f38Smrg  case `(set -o) 2>/dev/null` in
26dd519f38Smrg  *posix*) set -o posix ;;
27dd519f38Smrgesac
28dd519f38Smrg
29dd519f38Smrgfi
30dd519f38Smrg
31dd519f38Smrg
32dd519f38Smrg
33dd519f38Smrg
34dd519f38Smrg# PATH needs CR
35dd519f38Smrg# Avoid depending upon Character Ranges.
36dd519f38Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
37dd519f38Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38dd519f38Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
39dd519f38Smrgas_cr_digits='0123456789'
40dd519f38Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
41dd519f38Smrg
42dd519f38Smrgas_nl='
43dd519f38Smrg'
44dd519f38Smrgexport as_nl
45dd519f38Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
46dd519f38Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47dd519f38Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48dd519f38Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49dd519f38Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50dd519f38Smrg  as_echo='printf %s\n'
51dd519f38Smrg  as_echo_n='printf %s'
52dd519f38Smrgelse
53dd519f38Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54dd519f38Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55dd519f38Smrg    as_echo_n='/usr/ucb/echo -n'
56dd519f38Smrg  else
57dd519f38Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58dd519f38Smrg    as_echo_n_body='eval
59dd519f38Smrg      arg=$1;
60dd519f38Smrg      case $arg in
61dd519f38Smrg      *"$as_nl"*)
62dd519f38Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
63dd519f38Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64dd519f38Smrg      esac;
65dd519f38Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66dd519f38Smrg    '
67dd519f38Smrg    export as_echo_n_body
68dd519f38Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
69dd519f38Smrg  fi
70dd519f38Smrg  export as_echo_body
71dd519f38Smrg  as_echo='sh -c $as_echo_body as_echo'
72dd519f38Smrgfi
73dd519f38Smrg
74dd519f38Smrg# The user is always right.
75dd519f38Smrgif test "${PATH_SEPARATOR+set}" != set; then
76dd519f38Smrg  PATH_SEPARATOR=:
77dd519f38Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78dd519f38Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79dd519f38Smrg      PATH_SEPARATOR=';'
80dd519f38Smrg  }
81ed029a5fSmrgfi
82ed029a5fSmrg
83ed029a5fSmrg# Support unset when possible.
84ed029a5fSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85ed029a5fSmrg  as_unset=unset
86ed029a5fSmrgelse
87ed029a5fSmrg  as_unset=false
88ed029a5fSmrgfi
89ed029a5fSmrg
90ed029a5fSmrg
91dd519f38Smrg# IFS
92dd519f38Smrg# We need space, tab and new line, in precisely that order.  Quoting is
93dd519f38Smrg# there to prevent editors from complaining about space-tab.
94dd519f38Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95dd519f38Smrg# splitting by setting IFS to empty value.)
96dd519f38SmrgIFS=" ""	$as_nl"
97dd519f38Smrg
98dd519f38Smrg# Find who we are.  Look in the path if we contain no directory separator.
99dd519f38Smrgcase $0 in
100dd519f38Smrg  *[\\/]* ) as_myself=$0 ;;
101dd519f38Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102dd519f38Smrgfor as_dir in $PATH
103dd519f38Smrgdo
104dd519f38Smrg  IFS=$as_save_IFS
105dd519f38Smrg  test -z "$as_dir" && as_dir=.
106dd519f38Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107dd519f38Smrgdone
108dd519f38SmrgIFS=$as_save_IFS
109dd519f38Smrg
110dd519f38Smrg     ;;
111dd519f38Smrgesac
112dd519f38Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
113dd519f38Smrg# in which case we are not to be found in the path.
114dd519f38Smrgif test "x$as_myself" = x; then
115dd519f38Smrg  as_myself=$0
116dd519f38Smrgfi
117dd519f38Smrgif test ! -f "$as_myself"; then
118dd519f38Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119dd519f38Smrg  { (exit 1); exit 1; }
120dd519f38Smrgfi
121dd519f38Smrg
122ed029a5fSmrg# Work around bugs in pre-3.0 UWIN ksh.
123dd519f38Smrgfor as_var in ENV MAIL MAILPATH
124dd519f38Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125dd519f38Smrgdone
126ed029a5fSmrgPS1='$ '
127ed029a5fSmrgPS2='> '
128ed029a5fSmrgPS4='+ '
129ed029a5fSmrg
130ed029a5fSmrg# NLS nuisances.
131dd519f38SmrgLC_ALL=C
132dd519f38Smrgexport LC_ALL
133dd519f38SmrgLANGUAGE=C
134dd519f38Smrgexport LANGUAGE
135ed029a5fSmrg
136ed029a5fSmrg# Required to use basename.
137dd519f38Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
138dd519f38Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139ed029a5fSmrg  as_expr=expr
140ed029a5fSmrgelse
141ed029a5fSmrg  as_expr=false
142ed029a5fSmrgfi
143ed029a5fSmrg
144dd519f38Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145ed029a5fSmrg  as_basename=basename
146ed029a5fSmrgelse
147ed029a5fSmrg  as_basename=false
148ed029a5fSmrgfi
149ed029a5fSmrg
150ed029a5fSmrg
151ed029a5fSmrg# Name of the executable.
152dd519f38Smrgas_me=`$as_basename -- "$0" ||
153ed029a5fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154ed029a5fSmrg	 X"$0" : 'X\(//\)$' \| \
155dd519f38Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156dd519f38Smrg$as_echo X/"$0" |
157dd519f38Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
158dd519f38Smrg	    s//\1/
159dd519f38Smrg	    q
160dd519f38Smrg	  }
161dd519f38Smrg	  /^X\/\(\/\/\)$/{
162dd519f38Smrg	    s//\1/
163dd519f38Smrg	    q
164dd519f38Smrg	  }
165dd519f38Smrg	  /^X\/\(\/\).*/{
166dd519f38Smrg	    s//\1/
167dd519f38Smrg	    q
168dd519f38Smrg	  }
169dd519f38Smrg	  s/.*/./; q'`
170ed029a5fSmrg
171dd519f38Smrg# CDPATH.
172dd519f38Smrg$as_unset CDPATH
173ed029a5fSmrg
174ed029a5fSmrg
175dd519f38Smrgif test "x$CONFIG_SHELL" = x; then
176dd519f38Smrg  if (eval ":") 2>/dev/null; then
177dd519f38Smrg  as_have_required=yes
178dd519f38Smrgelse
179dd519f38Smrg  as_have_required=no
180ed029a5fSmrgfi
181ed029a5fSmrg
182dd519f38Smrg  if test $as_have_required = yes &&	 (eval ":
183dd519f38Smrg(as_func_return () {
184dd519f38Smrg  (exit \$1)
185dd519f38Smrg}
186dd519f38Smrgas_func_success () {
187dd519f38Smrg  as_func_return 0
188dd519f38Smrg}
189dd519f38Smrgas_func_failure () {
190dd519f38Smrg  as_func_return 1
191dd519f38Smrg}
192dd519f38Smrgas_func_ret_success () {
193dd519f38Smrg  return 0
194dd519f38Smrg}
195dd519f38Smrgas_func_ret_failure () {
196dd519f38Smrg  return 1
197dd519f38Smrg}
198ed029a5fSmrg
199dd519f38Smrgexitcode=0
200dd519f38Smrgif as_func_success; then
201dd519f38Smrg  :
202dd519f38Smrgelse
203dd519f38Smrg  exitcode=1
204dd519f38Smrg  echo as_func_success failed.
205dd519f38Smrgfi
206ed029a5fSmrg
207dd519f38Smrgif as_func_failure; then
208dd519f38Smrg  exitcode=1
209dd519f38Smrg  echo as_func_failure succeeded.
210dd519f38Smrgfi
211dd519f38Smrg
212dd519f38Smrgif as_func_ret_success; then
213dd519f38Smrg  :
214dd519f38Smrgelse
215dd519f38Smrg  exitcode=1
216dd519f38Smrg  echo as_func_ret_success failed.
217dd519f38Smrgfi
218dd519f38Smrg
219dd519f38Smrgif as_func_ret_failure; then
220dd519f38Smrg  exitcode=1
221dd519f38Smrg  echo as_func_ret_failure succeeded.
222dd519f38Smrgfi
223dd519f38Smrg
224dd519f38Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225dd519f38Smrg  :
226dd519f38Smrgelse
227dd519f38Smrg  exitcode=1
228dd519f38Smrg  echo positional parameters were not saved.
229dd519f38Smrgfi
230dd519f38Smrg
231dd519f38Smrgtest \$exitcode = 0) || { (exit 1); exit 1; }
232dd519f38Smrg
233dd519f38Smrg(
234dd519f38Smrg  as_lineno_1=\$LINENO
235dd519f38Smrg  as_lineno_2=\$LINENO
236dd519f38Smrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237dd519f38Smrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238dd519f38Smrg") 2> /dev/null; then
239dd519f38Smrg  :
240dd519f38Smrgelse
241dd519f38Smrg  as_candidate_shells=
242ed029a5fSmrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243ed029a5fSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244ed029a5fSmrgdo
245ed029a5fSmrg  IFS=$as_save_IFS
246ed029a5fSmrg  test -z "$as_dir" && as_dir=.
247dd519f38Smrg  case $as_dir in
248ed029a5fSmrg	 /*)
249dd519f38Smrg	   for as_base in sh bash ksh sh5; do
250dd519f38Smrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251dd519f38Smrg	   done;;
252dd519f38Smrg       esac
253dd519f38Smrgdone
254dd519f38SmrgIFS=$as_save_IFS
255dd519f38Smrg
256dd519f38Smrg
257dd519f38Smrg      for as_shell in $as_candidate_shells $SHELL; do
258dd519f38Smrg	 # Try only shells that exist, to save several forks.
259dd519f38Smrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260dd519f38Smrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
261dd519f38Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262dd519f38Smrg  emulate sh
263dd519f38Smrg  NULLCMD=:
264dd519f38Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265dd519f38Smrg  # is contrary to our usage.  Disable this feature.
266dd519f38Smrg  alias -g '${1+"$@"}'='"$@"'
267dd519f38Smrg  setopt NO_GLOB_SUBST
268dd519f38Smrgelse
269dd519f38Smrg  case `(set -o) 2>/dev/null` in
270dd519f38Smrg  *posix*) set -o posix ;;
271dd519f38Smrgesac
272dd519f38Smrg
273dd519f38Smrgfi
274dd519f38Smrg
275dd519f38Smrg
276dd519f38Smrg:
277dd519f38Smrg_ASEOF
278dd519f38Smrg}; then
279dd519f38Smrg  CONFIG_SHELL=$as_shell
280dd519f38Smrg	       as_have_required=yes
281dd519f38Smrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
282dd519f38Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283dd519f38Smrg  emulate sh
284dd519f38Smrg  NULLCMD=:
285dd519f38Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286dd519f38Smrg  # is contrary to our usage.  Disable this feature.
287dd519f38Smrg  alias -g '${1+"$@"}'='"$@"'
288dd519f38Smrg  setopt NO_GLOB_SUBST
289dd519f38Smrgelse
290dd519f38Smrg  case `(set -o) 2>/dev/null` in
291dd519f38Smrg  *posix*) set -o posix ;;
292dd519f38Smrgesac
293dd519f38Smrg
294dd519f38Smrgfi
295dd519f38Smrg
296dd519f38Smrg
297dd519f38Smrg:
298dd519f38Smrg(as_func_return () {
299dd519f38Smrg  (exit $1)
300dd519f38Smrg}
301dd519f38Smrgas_func_success () {
302dd519f38Smrg  as_func_return 0
303dd519f38Smrg}
304dd519f38Smrgas_func_failure () {
305dd519f38Smrg  as_func_return 1
306dd519f38Smrg}
307dd519f38Smrgas_func_ret_success () {
308dd519f38Smrg  return 0
309dd519f38Smrg}
310dd519f38Smrgas_func_ret_failure () {
311dd519f38Smrg  return 1
312dd519f38Smrg}
313dd519f38Smrg
314dd519f38Smrgexitcode=0
315dd519f38Smrgif as_func_success; then
316dd519f38Smrg  :
317dd519f38Smrgelse
318dd519f38Smrg  exitcode=1
319dd519f38Smrg  echo as_func_success failed.
320dd519f38Smrgfi
321dd519f38Smrg
322dd519f38Smrgif as_func_failure; then
323dd519f38Smrg  exitcode=1
324dd519f38Smrg  echo as_func_failure succeeded.
325dd519f38Smrgfi
326dd519f38Smrg
327dd519f38Smrgif as_func_ret_success; then
328dd519f38Smrg  :
329dd519f38Smrgelse
330dd519f38Smrg  exitcode=1
331dd519f38Smrg  echo as_func_ret_success failed.
332dd519f38Smrgfi
333dd519f38Smrg
334dd519f38Smrgif as_func_ret_failure; then
335dd519f38Smrg  exitcode=1
336dd519f38Smrg  echo as_func_ret_failure succeeded.
337dd519f38Smrgfi
338dd519f38Smrg
339dd519f38Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then
340dd519f38Smrg  :
341dd519f38Smrgelse
342dd519f38Smrg  exitcode=1
343dd519f38Smrg  echo positional parameters were not saved.
344dd519f38Smrgfi
345dd519f38Smrg
346dd519f38Smrgtest $exitcode = 0) || { (exit 1); exit 1; }
347dd519f38Smrg
348dd519f38Smrg(
349ed029a5fSmrg  as_lineno_1=$LINENO
350ed029a5fSmrg  as_lineno_2=$LINENO
351ed029a5fSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
352dd519f38Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353dd519f38Smrg
354dd519f38Smrg_ASEOF
355dd519f38Smrg}; then
356dd519f38Smrg  break
357dd519f38Smrgfi
358dd519f38Smrg
359dd519f38Smrgfi
360dd519f38Smrg
361dd519f38Smrg      done
362dd519f38Smrg
363dd519f38Smrg      if test "x$CONFIG_SHELL" != x; then
364dd519f38Smrg  for as_var in BASH_ENV ENV
365dd519f38Smrg	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366dd519f38Smrg	done
367dd519f38Smrg	export CONFIG_SHELL
368dd519f38Smrg	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369dd519f38Smrgfi
370dd519f38Smrg
371dd519f38Smrg
372dd519f38Smrg    if test $as_have_required = no; then
373dd519f38Smrg  echo This script requires a shell more modern than all the
374dd519f38Smrg      echo shells that I found on your system.  Please install a
375dd519f38Smrg      echo modern shell, or manually run the script under such a
376dd519f38Smrg      echo shell if you do have one.
377dd519f38Smrg      { (exit 1); exit 1; }
378dd519f38Smrgfi
379dd519f38Smrg
380dd519f38Smrg
381dd519f38Smrgfi
382dd519f38Smrg
383dd519f38Smrgfi
384dd519f38Smrg
385dd519f38Smrg
386dd519f38Smrg
387dd519f38Smrg(eval "as_func_return () {
388dd519f38Smrg  (exit \$1)
389dd519f38Smrg}
390dd519f38Smrgas_func_success () {
391dd519f38Smrg  as_func_return 0
392dd519f38Smrg}
393dd519f38Smrgas_func_failure () {
394dd519f38Smrg  as_func_return 1
395dd519f38Smrg}
396dd519f38Smrgas_func_ret_success () {
397dd519f38Smrg  return 0
398dd519f38Smrg}
399dd519f38Smrgas_func_ret_failure () {
400dd519f38Smrg  return 1
401dd519f38Smrg}
402dd519f38Smrg
403dd519f38Smrgexitcode=0
404dd519f38Smrgif as_func_success; then
405dd519f38Smrg  :
406dd519f38Smrgelse
407dd519f38Smrg  exitcode=1
408dd519f38Smrg  echo as_func_success failed.
409dd519f38Smrgfi
410dd519f38Smrg
411dd519f38Smrgif as_func_failure; then
412dd519f38Smrg  exitcode=1
413dd519f38Smrg  echo as_func_failure succeeded.
414dd519f38Smrgfi
415dd519f38Smrg
416dd519f38Smrgif as_func_ret_success; then
417dd519f38Smrg  :
418dd519f38Smrgelse
419dd519f38Smrg  exitcode=1
420dd519f38Smrg  echo as_func_ret_success failed.
421dd519f38Smrgfi
422dd519f38Smrg
423dd519f38Smrgif as_func_ret_failure; then
424dd519f38Smrg  exitcode=1
425dd519f38Smrg  echo as_func_ret_failure succeeded.
426dd519f38Smrgfi
427dd519f38Smrg
428dd519f38Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429dd519f38Smrg  :
430dd519f38Smrgelse
431dd519f38Smrg  exitcode=1
432dd519f38Smrg  echo positional parameters were not saved.
433dd519f38Smrgfi
434dd519f38Smrg
435dd519f38Smrgtest \$exitcode = 0") || {
436dd519f38Smrg  echo No shell found that supports shell functions.
437dd519f38Smrg  echo Please tell bug-autoconf@gnu.org about your system,
438dd519f38Smrg  echo including any error possibly output before this message.
439dd519f38Smrg  echo This can help us improve future autoconf versions.
440dd519f38Smrg  echo Configuration will now proceed without shell functions.
441dd519f38Smrg}
442dd519f38Smrg
443dd519f38Smrg
444dd519f38Smrg
445dd519f38Smrg  as_lineno_1=$LINENO
446dd519f38Smrg  as_lineno_2=$LINENO
447dd519f38Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
448dd519f38Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449ed029a5fSmrg
450ed029a5fSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451ed029a5fSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
452dd519f38Smrg  # line-number line after each line using $LINENO; the second 'sed'
453dd519f38Smrg  # does the real work.  The second script uses 'N' to pair each
454dd519f38Smrg  # line-number line with the line containing $LINENO, and appends
455dd519f38Smrg  # trailing '-' during substitution so that $LINENO is not a special
456dd519f38Smrg  # case at line end.
457ed029a5fSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458dd519f38Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459dd519f38Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
460dd519f38Smrg  sed -n '
461dd519f38Smrg    p
462dd519f38Smrg    /[$]LINENO/=
463dd519f38Smrg  ' <$as_myself |
464ed029a5fSmrg    sed '
465dd519f38Smrg      s/[$]LINENO.*/&-/
466dd519f38Smrg      t lineno
467dd519f38Smrg      b
468dd519f38Smrg      :lineno
469ed029a5fSmrg      N
470dd519f38Smrg      :loop
471dd519f38Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472ed029a5fSmrg      t loop
473dd519f38Smrg      s/-\n.*//
474ed029a5fSmrg    ' >$as_me.lineno &&
475dd519f38Smrg  chmod +x "$as_me.lineno" ||
476dd519f38Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477ed029a5fSmrg   { (exit 1); exit 1; }; }
478ed029a5fSmrg
479ed029a5fSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
480ed029a5fSmrg  # (the dirname of $[0] is not the place where we might find the
481dd519f38Smrg  # original and so on.  Autoconf is especially sensitive to this).
482dd519f38Smrg  . "./$as_me.lineno"
483ed029a5fSmrg  # Exit status is that of the last command.
484ed029a5fSmrg  exit
485ed029a5fSmrg}
486ed029a5fSmrg
487ed029a5fSmrg
488dd519f38Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489dd519f38Smrg  as_dirname=dirname
490dd519f38Smrgelse
491dd519f38Smrg  as_dirname=false
492dd519f38Smrgfi
493ed029a5fSmrg
494dd519f38SmrgECHO_C= ECHO_N= ECHO_T=
495dd519f38Smrgcase `echo -n x` in
496dd519f38Smrg-n*)
497dd519f38Smrg  case `echo 'x\c'` in
498dd519f38Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
499dd519f38Smrg  *)   ECHO_C='\c';;
500dd519f38Smrg  esac;;
501dd519f38Smrg*)
502dd519f38Smrg  ECHO_N='-n';;
503dd519f38Smrgesac
504dd519f38Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
505dd519f38Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506ed029a5fSmrg  as_expr=expr
507ed029a5fSmrgelse
508ed029a5fSmrg  as_expr=false
509ed029a5fSmrgfi
510ed029a5fSmrg
511ed029a5fSmrgrm -f conf$$ conf$$.exe conf$$.file
512dd519f38Smrgif test -d conf$$.dir; then
513dd519f38Smrg  rm -f conf$$.dir/conf$$.file
514dd519f38Smrgelse
515dd519f38Smrg  rm -f conf$$.dir
516dd519f38Smrg  mkdir conf$$.dir 2>/dev/null
517dd519f38Smrgfi
518dd519f38Smrgif (echo >conf$$.file) 2>/dev/null; then
519dd519f38Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
520ed029a5fSmrg    as_ln_s='ln -s'
521dd519f38Smrg    # ... but there are two gotchas:
522dd519f38Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523dd519f38Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524dd519f38Smrg    # In both cases, we have to default to `cp -p'.
525dd519f38Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526dd519f38Smrg      as_ln_s='cp -p'
527dd519f38Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
528dd519f38Smrg    as_ln_s=ln
529dd519f38Smrg  else
530dd519f38Smrg    as_ln_s='cp -p'
531ed029a5fSmrg  fi
532ed029a5fSmrgelse
533ed029a5fSmrg  as_ln_s='cp -p'
534ed029a5fSmrgfi
535dd519f38Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536dd519f38Smrgrmdir conf$$.dir 2>/dev/null
537ed029a5fSmrg
538ed029a5fSmrgif mkdir -p . 2>/dev/null; then
539ed029a5fSmrg  as_mkdir_p=:
540ed029a5fSmrgelse
541ed029a5fSmrg  test -d ./-p && rmdir ./-p
542ed029a5fSmrg  as_mkdir_p=false
543ed029a5fSmrgfi
544ed029a5fSmrg
545dd519f38Smrgif test -x / >/dev/null 2>&1; then
546dd519f38Smrg  as_test_x='test -x'
547dd519f38Smrgelse
548dd519f38Smrg  if ls -dL / >/dev/null 2>&1; then
549dd519f38Smrg    as_ls_L_option=L
550dd519f38Smrg  else
551dd519f38Smrg    as_ls_L_option=
552dd519f38Smrg  fi
553dd519f38Smrg  as_test_x='
554dd519f38Smrg    eval sh -c '\''
555dd519f38Smrg      if test -d "$1"; then
556dd519f38Smrg	test -d "$1/.";
557dd519f38Smrg      else
558dd519f38Smrg	case $1 in
559dd519f38Smrg	-*)set "./$1";;
560dd519f38Smrg	esac;
561dd519f38Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562dd519f38Smrg	???[sx]*):;;*)false;;esac;fi
563dd519f38Smrg    '\'' sh
564dd519f38Smrg  '
565dd519f38Smrgfi
566dd519f38Smrgas_executable_p=$as_test_x
567ed029a5fSmrg
568ed029a5fSmrg# Sed expression to map a string onto a valid CPP name.
569ed029a5fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570ed029a5fSmrg
571ed029a5fSmrg# Sed expression to map a string onto a valid variable name.
572ed029a5fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573ed029a5fSmrg
574ed029a5fSmrg
575ed029a5fSmrg
576dd519f38Smrgexec 7<&0 </dev/null 6>&1
577ed029a5fSmrg
578ed029a5fSmrg# Name of the host.
579ed029a5fSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580ed029a5fSmrg# so uname gets run too.
581ed029a5fSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582ed029a5fSmrg
583ed029a5fSmrg#
584ed029a5fSmrg# Initializations.
585ed029a5fSmrg#
586ed029a5fSmrgac_default_prefix=/usr/local
587dd519f38Smrgac_clean_files=
588ed029a5fSmrgac_config_libobj_dir=.
589dd519f38SmrgLIBOBJS=
590ed029a5fSmrgcross_compiling=no
591ed029a5fSmrgsubdirs=
592ed029a5fSmrgMFLAGS=
593ed029a5fSmrgMAKEFLAGS=
594ed029a5fSmrgSHELL=${CONFIG_SHELL-/bin/sh}
595ed029a5fSmrg
596ed029a5fSmrg# Identity of this package.
597ed029a5fSmrgPACKAGE_NAME='font-adobe-100dpi'
598ed029a5fSmrgPACKAGE_TARNAME='font-adobe-100dpi'
599dd519f38SmrgPACKAGE_VERSION='1.0.1'
600dd519f38SmrgPACKAGE_STRING='font-adobe-100dpi 1.0.1'
601ed029a5fSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
602ed029a5fSmrg
603dd519f38Smrg# Factoring default headers for most tests.
604dd519f38Smrgac_includes_default="\
605dd519f38Smrg#include <stdio.h>
606dd519f38Smrg#ifdef HAVE_SYS_TYPES_H
607dd519f38Smrg# include <sys/types.h>
608dd519f38Smrg#endif
609dd519f38Smrg#ifdef HAVE_SYS_STAT_H
610dd519f38Smrg# include <sys/stat.h>
611dd519f38Smrg#endif
612dd519f38Smrg#ifdef STDC_HEADERS
613dd519f38Smrg# include <stdlib.h>
614dd519f38Smrg# include <stddef.h>
615dd519f38Smrg#else
616dd519f38Smrg# ifdef HAVE_STDLIB_H
617dd519f38Smrg#  include <stdlib.h>
618dd519f38Smrg# endif
619dd519f38Smrg#endif
620dd519f38Smrg#ifdef HAVE_STRING_H
621dd519f38Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622dd519f38Smrg#  include <memory.h>
623dd519f38Smrg# endif
624dd519f38Smrg# include <string.h>
625dd519f38Smrg#endif
626dd519f38Smrg#ifdef HAVE_STRINGS_H
627dd519f38Smrg# include <strings.h>
628dd519f38Smrg#endif
629dd519f38Smrg#ifdef HAVE_INTTYPES_H
630dd519f38Smrg# include <inttypes.h>
631dd519f38Smrg#endif
632dd519f38Smrg#ifdef HAVE_STDINT_H
633dd519f38Smrg# include <stdint.h>
634dd519f38Smrg#endif
635dd519f38Smrg#ifdef HAVE_UNISTD_H
636dd519f38Smrg# include <unistd.h>
637dd519f38Smrg#endif"
638dd519f38Smrg
639dd519f38Smrgac_subst_vars='am__EXEEXT_FALSE
640dd519f38Smrgam__EXEEXT_TRUE
641dd519f38SmrgLTLIBOBJS
642dd519f38SmrgLIBOBJS
643dd519f38SmrgISO8859_15_FALSE
644dd519f38SmrgISO8859_15_TRUE
645dd519f38SmrgISO8859_14_FALSE
646dd519f38SmrgISO8859_14_TRUE
647dd519f38SmrgISO8859_13_FALSE
648dd519f38SmrgISO8859_13_TRUE
649dd519f38SmrgISO8859_10_FALSE
650dd519f38SmrgISO8859_10_TRUE
651dd519f38SmrgISO8859_9_FALSE
652dd519f38SmrgISO8859_9_TRUE
653dd519f38SmrgISO8859_4_FALSE
654dd519f38SmrgISO8859_4_TRUE
655dd519f38SmrgISO8859_3_FALSE
656dd519f38SmrgISO8859_3_TRUE
657dd519f38SmrgISO8859_2_FALSE
658dd519f38SmrgISO8859_2_TRUE
659dd519f38SmrgISO8859_1_FALSE
660dd519f38SmrgISO8859_1_TRUE
661dd519f38SmrgMAPFILES_PATH
662dd519f38SmrgMAPS_LIBS
663dd519f38SmrgMAPS_CFLAGS
664dd519f38SmrgUCS2ANY
665dd519f38SmrgCOMPRESS_SUFFIX
666dd519f38SmrgCOMPRESS
667dd519f38SmrgBDFTOPCF
668dd519f38SmrgMKFONTDIR
669dd519f38SmrgRUN_FCCACHE
670dd519f38SmrgFCCACHE
671dd519f38SmrgFONTDIR
672dd519f38SmrgFONTROOTDIR
673dd519f38SmrgPKG_CONFIG
674dd519f38SmrgADMIN_MAN_DIR
675dd519f38SmrgDRIVER_MAN_DIR
676dd519f38SmrgMISC_MAN_DIR
677dd519f38SmrgFILE_MAN_DIR
678dd519f38SmrgLIB_MAN_DIR
679dd519f38SmrgAPP_MAN_DIR
680dd519f38SmrgADMIN_MAN_SUFFIX
681dd519f38SmrgDRIVER_MAN_SUFFIX
682dd519f38SmrgMISC_MAN_SUFFIX
683dd519f38SmrgFILE_MAN_SUFFIX
684dd519f38SmrgLIB_MAN_SUFFIX
685dd519f38SmrgAPP_MAN_SUFFIX
686dd519f38Smrghost_os
687dd519f38Smrghost_vendor
688dd519f38Smrghost_cpu
689dd519f38Smrghost
690dd519f38Smrgbuild_os
691dd519f38Smrgbuild_vendor
692dd519f38Smrgbuild_cpu
693dd519f38Smrgbuild
694dd519f38Smrgdistcleancheck_listfiles
695dd519f38SmrgCHANGELOG_CMD
696dd519f38SmrgAM_BACKSLASH
697dd519f38SmrgAM_DEFAULT_VERBOSITY
698dd519f38SmrgCWARNFLAGS
699dd519f38SmrgEGREP
700dd519f38SmrgGREP
701dd519f38SmrgCPP
702dd519f38Smrgam__fastdepCC_FALSE
703dd519f38Smrgam__fastdepCC_TRUE
704dd519f38SmrgCCDEPMODE
705dd519f38SmrgAMDEPBACKSLASH
706dd519f38SmrgAMDEP_FALSE
707dd519f38SmrgAMDEP_TRUE
708dd519f38Smrgam__quote
709dd519f38Smrgam__include
710dd519f38SmrgDEPDIR
711dd519f38SmrgOBJEXT
712dd519f38SmrgEXEEXT
713dd519f38Smrgac_ct_CC
714dd519f38SmrgCPPFLAGS
715dd519f38SmrgLDFLAGS
716dd519f38SmrgCFLAGS
717dd519f38SmrgCC
718dd519f38SmrgMAINT
719dd519f38SmrgMAINTAINER_MODE_FALSE
720dd519f38SmrgMAINTAINER_MODE_TRUE
721dd519f38Smrgam__untar
722dd519f38Smrgam__tar
723dd519f38SmrgAMTAR
724dd519f38Smrgam__leading_dot
725dd519f38SmrgSET_MAKE
726dd519f38SmrgAWK
727dd519f38Smrgmkdir_p
728dd519f38SmrgMKDIR_P
729dd519f38SmrgINSTALL_STRIP_PROGRAM
730dd519f38SmrgSTRIP
731dd519f38Smrginstall_sh
732dd519f38SmrgMAKEINFO
733dd519f38SmrgAUTOHEADER
734dd519f38SmrgAUTOMAKE
735dd519f38SmrgAUTOCONF
736dd519f38SmrgACLOCAL
737dd519f38SmrgVERSION
738dd519f38SmrgPACKAGE
739dd519f38SmrgCYGPATH_W
740dd519f38Smrgam__isrc
741dd519f38SmrgINSTALL_DATA
742dd519f38SmrgINSTALL_SCRIPT
743dd519f38SmrgINSTALL_PROGRAM
744dd519f38Smrgtarget_alias
745dd519f38Smrghost_alias
746dd519f38Smrgbuild_alias
747dd519f38SmrgLIBS
748dd519f38SmrgECHO_T
749dd519f38SmrgECHO_N
750dd519f38SmrgECHO_C
751dd519f38SmrgDEFS
752dd519f38Smrgmandir
753dd519f38Smrglocaledir
754dd519f38Smrglibdir
755dd519f38Smrgpsdir
756dd519f38Smrgpdfdir
757dd519f38Smrgdvidir
758dd519f38Smrghtmldir
759dd519f38Smrginfodir
760dd519f38Smrgdocdir
761dd519f38Smrgoldincludedir
762dd519f38Smrgincludedir
763dd519f38Smrglocalstatedir
764dd519f38Smrgsharedstatedir
765dd519f38Smrgsysconfdir
766dd519f38Smrgdatadir
767dd519f38Smrgdatarootdir
768dd519f38Smrglibexecdir
769dd519f38Smrgsbindir
770dd519f38Smrgbindir
771dd519f38Smrgprogram_transform_name
772dd519f38Smrgprefix
773dd519f38Smrgexec_prefix
774dd519f38SmrgPACKAGE_BUGREPORT
775dd519f38SmrgPACKAGE_STRING
776dd519f38SmrgPACKAGE_VERSION
777dd519f38SmrgPACKAGE_TARNAME
778dd519f38SmrgPACKAGE_NAME
779dd519f38SmrgPATH_SEPARATOR
780dd519f38SmrgSHELL'
781ed029a5fSmrgac_subst_files=''
782dd519f38Smrgac_user_opts='
783dd519f38Smrgenable_option_checking
784dd519f38Smrgenable_maintainer_mode
785dd519f38Smrgenable_dependency_tracking
786dd519f38Smrgenable_silent_rules
787dd519f38Smrgenable_strict_compilation
788dd519f38Smrgwith_release_version
789dd519f38Smrgwith_fontrootdir
790dd519f38Smrgwith_fontdir
791dd519f38Smrgwith_compression
792dd519f38Smrgenable_iso8859_1
793dd519f38Smrgenable_iso8859_2
794dd519f38Smrgenable_iso8859_3
795dd519f38Smrgenable_iso8859_4
796dd519f38Smrgenable_iso8859_9
797dd519f38Smrgenable_iso8859_10
798dd519f38Smrgenable_iso8859_13
799dd519f38Smrgenable_iso8859_14
800dd519f38Smrgenable_iso8859_15
801dd519f38Smrg'
802dd519f38Smrg      ac_precious_vars='build_alias
803dd519f38Smrghost_alias
804dd519f38Smrgtarget_alias
805dd519f38SmrgCC
806dd519f38SmrgCFLAGS
807dd519f38SmrgLDFLAGS
808dd519f38SmrgLIBS
809dd519f38SmrgCPPFLAGS
810dd519f38SmrgCPP
811dd519f38SmrgPKG_CONFIG
812dd519f38SmrgMAPS_CFLAGS
813dd519f38SmrgMAPS_LIBS'
814dd519f38Smrg
815ed029a5fSmrg
816ed029a5fSmrg# Initialize some variables set by options.
817ed029a5fSmrgac_init_help=
818ed029a5fSmrgac_init_version=false
819dd519f38Smrgac_unrecognized_opts=
820dd519f38Smrgac_unrecognized_sep=
821ed029a5fSmrg# The variables have the same names as the options, with
822ed029a5fSmrg# dashes changed to underlines.
823ed029a5fSmrgcache_file=/dev/null
824ed029a5fSmrgexec_prefix=NONE
825ed029a5fSmrgno_create=
826ed029a5fSmrgno_recursion=
827ed029a5fSmrgprefix=NONE
828ed029a5fSmrgprogram_prefix=NONE
829ed029a5fSmrgprogram_suffix=NONE
830ed029a5fSmrgprogram_transform_name=s,x,x,
831ed029a5fSmrgsilent=
832ed029a5fSmrgsite=
833ed029a5fSmrgsrcdir=
834ed029a5fSmrgverbose=
835ed029a5fSmrgx_includes=NONE
836ed029a5fSmrgx_libraries=NONE
837ed029a5fSmrg
838ed029a5fSmrg# Installation directory options.
839ed029a5fSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
840ed029a5fSmrg# and all the variables that are supposed to be based on exec_prefix
841ed029a5fSmrg# by default will actually change.
842ed029a5fSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
843dd519f38Smrg# (The list follows the same order as the GNU Coding Standards.)
844ed029a5fSmrgbindir='${exec_prefix}/bin'
845ed029a5fSmrgsbindir='${exec_prefix}/sbin'
846ed029a5fSmrglibexecdir='${exec_prefix}/libexec'
847dd519f38Smrgdatarootdir='${prefix}/share'
848dd519f38Smrgdatadir='${datarootdir}'
849ed029a5fSmrgsysconfdir='${prefix}/etc'
850ed029a5fSmrgsharedstatedir='${prefix}/com'
851ed029a5fSmrglocalstatedir='${prefix}/var'
852ed029a5fSmrgincludedir='${prefix}/include'
853ed029a5fSmrgoldincludedir='/usr/include'
854dd519f38Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
855dd519f38Smrginfodir='${datarootdir}/info'
856dd519f38Smrghtmldir='${docdir}'
857dd519f38Smrgdvidir='${docdir}'
858dd519f38Smrgpdfdir='${docdir}'
859dd519f38Smrgpsdir='${docdir}'
860dd519f38Smrglibdir='${exec_prefix}/lib'
861dd519f38Smrglocaledir='${datarootdir}/locale'
862dd519f38Smrgmandir='${datarootdir}/man'
863ed029a5fSmrg
864ed029a5fSmrgac_prev=
865dd519f38Smrgac_dashdash=
866ed029a5fSmrgfor ac_option
867ed029a5fSmrgdo
868ed029a5fSmrg  # If the previous option needs an argument, assign it.
869ed029a5fSmrg  if test -n "$ac_prev"; then
870dd519f38Smrg    eval $ac_prev=\$ac_option
871ed029a5fSmrg    ac_prev=
872ed029a5fSmrg    continue
873ed029a5fSmrg  fi
874ed029a5fSmrg
875dd519f38Smrg  case $ac_option in
876dd519f38Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
877dd519f38Smrg  *)	ac_optarg=yes ;;
878dd519f38Smrg  esac
879ed029a5fSmrg
880ed029a5fSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
881ed029a5fSmrg
882dd519f38Smrg  case $ac_dashdash$ac_option in
883dd519f38Smrg  --)
884dd519f38Smrg    ac_dashdash=yes ;;
885ed029a5fSmrg
886ed029a5fSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
887ed029a5fSmrg    ac_prev=bindir ;;
888ed029a5fSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
889ed029a5fSmrg    bindir=$ac_optarg ;;
890ed029a5fSmrg
891ed029a5fSmrg  -build | --build | --buil | --bui | --bu)
892ed029a5fSmrg    ac_prev=build_alias ;;
893ed029a5fSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
894ed029a5fSmrg    build_alias=$ac_optarg ;;
895ed029a5fSmrg
896ed029a5fSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
897ed029a5fSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
898ed029a5fSmrg    ac_prev=cache_file ;;
899ed029a5fSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
900ed029a5fSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
901ed029a5fSmrg    cache_file=$ac_optarg ;;
902ed029a5fSmrg
903ed029a5fSmrg  --config-cache | -C)
904ed029a5fSmrg    cache_file=config.cache ;;
905ed029a5fSmrg
906dd519f38Smrg  -datadir | --datadir | --datadi | --datad)
907ed029a5fSmrg    ac_prev=datadir ;;
908dd519f38Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
909ed029a5fSmrg    datadir=$ac_optarg ;;
910ed029a5fSmrg
911dd519f38Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
912dd519f38Smrg  | --dataroo | --dataro | --datar)
913dd519f38Smrg    ac_prev=datarootdir ;;
914dd519f38Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
915dd519f38Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
916dd519f38Smrg    datarootdir=$ac_optarg ;;
917dd519f38Smrg
918ed029a5fSmrg  -disable-* | --disable-*)
919dd519f38Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920ed029a5fSmrg    # Reject names that are not valid shell variable names.
921dd519f38Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
922dd519f38Smrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
923ed029a5fSmrg   { (exit 1); exit 1; }; }
924dd519f38Smrg    ac_useropt_orig=$ac_useropt
925dd519f38Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926dd519f38Smrg    case $ac_user_opts in
927dd519f38Smrg      *"
928dd519f38Smrg"enable_$ac_useropt"
929dd519f38Smrg"*) ;;
930dd519f38Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931dd519f38Smrg	 ac_unrecognized_sep=', ';;
932dd519f38Smrg    esac
933dd519f38Smrg    eval enable_$ac_useropt=no ;;
934dd519f38Smrg
935dd519f38Smrg  -docdir | --docdir | --docdi | --doc | --do)
936dd519f38Smrg    ac_prev=docdir ;;
937dd519f38Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
938dd519f38Smrg    docdir=$ac_optarg ;;
939dd519f38Smrg
940dd519f38Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
941dd519f38Smrg    ac_prev=dvidir ;;
942dd519f38Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
943dd519f38Smrg    dvidir=$ac_optarg ;;
944ed029a5fSmrg
945ed029a5fSmrg  -enable-* | --enable-*)
946dd519f38Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947ed029a5fSmrg    # Reject names that are not valid shell variable names.
948dd519f38Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949dd519f38Smrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
950ed029a5fSmrg   { (exit 1); exit 1; }; }
951dd519f38Smrg    ac_useropt_orig=$ac_useropt
952dd519f38Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953dd519f38Smrg    case $ac_user_opts in
954dd519f38Smrg      *"
955dd519f38Smrg"enable_$ac_useropt"
956dd519f38Smrg"*) ;;
957dd519f38Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
958dd519f38Smrg	 ac_unrecognized_sep=', ';;
959ed029a5fSmrg    esac
960dd519f38Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
961ed029a5fSmrg
962ed029a5fSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
963ed029a5fSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
964ed029a5fSmrg  | --exec | --exe | --ex)
965ed029a5fSmrg    ac_prev=exec_prefix ;;
966ed029a5fSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
967ed029a5fSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
968ed029a5fSmrg  | --exec=* | --exe=* | --ex=*)
969ed029a5fSmrg    exec_prefix=$ac_optarg ;;
970ed029a5fSmrg
971ed029a5fSmrg  -gas | --gas | --ga | --g)
972ed029a5fSmrg    # Obsolete; use --with-gas.
973ed029a5fSmrg    with_gas=yes ;;
974ed029a5fSmrg
975ed029a5fSmrg  -help | --help | --hel | --he | -h)
976ed029a5fSmrg    ac_init_help=long ;;
977ed029a5fSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
978ed029a5fSmrg    ac_init_help=recursive ;;
979ed029a5fSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
980ed029a5fSmrg    ac_init_help=short ;;
981ed029a5fSmrg
982ed029a5fSmrg  -host | --host | --hos | --ho)
983ed029a5fSmrg    ac_prev=host_alias ;;
984ed029a5fSmrg  -host=* | --host=* | --hos=* | --ho=*)
985ed029a5fSmrg    host_alias=$ac_optarg ;;
986ed029a5fSmrg
987dd519f38Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
988dd519f38Smrg    ac_prev=htmldir ;;
989dd519f38Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
990dd519f38Smrg  | --ht=*)
991dd519f38Smrg    htmldir=$ac_optarg ;;
992dd519f38Smrg
993ed029a5fSmrg  -includedir | --includedir | --includedi | --included | --include \
994ed029a5fSmrg  | --includ | --inclu | --incl | --inc)
995ed029a5fSmrg    ac_prev=includedir ;;
996ed029a5fSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
997ed029a5fSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
998ed029a5fSmrg    includedir=$ac_optarg ;;
999ed029a5fSmrg
1000ed029a5fSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
1001ed029a5fSmrg    ac_prev=infodir ;;
1002ed029a5fSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1003ed029a5fSmrg    infodir=$ac_optarg ;;
1004ed029a5fSmrg
1005ed029a5fSmrg  -libdir | --libdir | --libdi | --libd)
1006ed029a5fSmrg    ac_prev=libdir ;;
1007ed029a5fSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1008ed029a5fSmrg    libdir=$ac_optarg ;;
1009ed029a5fSmrg
1010ed029a5fSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1011ed029a5fSmrg  | --libexe | --libex | --libe)
1012ed029a5fSmrg    ac_prev=libexecdir ;;
1013ed029a5fSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1014ed029a5fSmrg  | --libexe=* | --libex=* | --libe=*)
1015ed029a5fSmrg    libexecdir=$ac_optarg ;;
1016ed029a5fSmrg
1017dd519f38Smrg  -localedir | --localedir | --localedi | --localed | --locale)
1018dd519f38Smrg    ac_prev=localedir ;;
1019dd519f38Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1020dd519f38Smrg    localedir=$ac_optarg ;;
1021dd519f38Smrg
1022ed029a5fSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
1023dd519f38Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
1024ed029a5fSmrg    ac_prev=localstatedir ;;
1025ed029a5fSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1026dd519f38Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1027ed029a5fSmrg    localstatedir=$ac_optarg ;;
1028ed029a5fSmrg
1029ed029a5fSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1030ed029a5fSmrg    ac_prev=mandir ;;
1031ed029a5fSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1032ed029a5fSmrg    mandir=$ac_optarg ;;
1033ed029a5fSmrg
1034ed029a5fSmrg  -nfp | --nfp | --nf)
1035ed029a5fSmrg    # Obsolete; use --without-fp.
1036ed029a5fSmrg    with_fp=no ;;
1037ed029a5fSmrg
1038ed029a5fSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1039ed029a5fSmrg  | --no-cr | --no-c | -n)
1040ed029a5fSmrg    no_create=yes ;;
1041ed029a5fSmrg
1042ed029a5fSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1043ed029a5fSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1044ed029a5fSmrg    no_recursion=yes ;;
1045ed029a5fSmrg
1046ed029a5fSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1047ed029a5fSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1048ed029a5fSmrg  | --oldin | --oldi | --old | --ol | --o)
1049ed029a5fSmrg    ac_prev=oldincludedir ;;
1050ed029a5fSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1051ed029a5fSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1052ed029a5fSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1053ed029a5fSmrg    oldincludedir=$ac_optarg ;;
1054ed029a5fSmrg
1055ed029a5fSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1056ed029a5fSmrg    ac_prev=prefix ;;
1057ed029a5fSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1058ed029a5fSmrg    prefix=$ac_optarg ;;
1059ed029a5fSmrg
1060ed029a5fSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1061ed029a5fSmrg  | --program-pre | --program-pr | --program-p)
1062ed029a5fSmrg    ac_prev=program_prefix ;;
1063ed029a5fSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1064ed029a5fSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1065ed029a5fSmrg    program_prefix=$ac_optarg ;;
1066ed029a5fSmrg
1067ed029a5fSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1068ed029a5fSmrg  | --program-suf | --program-su | --program-s)
1069ed029a5fSmrg    ac_prev=program_suffix ;;
1070ed029a5fSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1071ed029a5fSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1072ed029a5fSmrg    program_suffix=$ac_optarg ;;
1073ed029a5fSmrg
1074ed029a5fSmrg  -program-transform-name | --program-transform-name \
1075ed029a5fSmrg  | --program-transform-nam | --program-transform-na \
1076ed029a5fSmrg  | --program-transform-n | --program-transform- \
1077ed029a5fSmrg  | --program-transform | --program-transfor \
1078ed029a5fSmrg  | --program-transfo | --program-transf \
1079ed029a5fSmrg  | --program-trans | --program-tran \
1080ed029a5fSmrg  | --progr-tra | --program-tr | --program-t)
1081ed029a5fSmrg    ac_prev=program_transform_name ;;
1082ed029a5fSmrg  -program-transform-name=* | --program-transform-name=* \
1083ed029a5fSmrg  | --program-transform-nam=* | --program-transform-na=* \
1084ed029a5fSmrg  | --program-transform-n=* | --program-transform-=* \
1085ed029a5fSmrg  | --program-transform=* | --program-transfor=* \
1086ed029a5fSmrg  | --program-transfo=* | --program-transf=* \
1087ed029a5fSmrg  | --program-trans=* | --program-tran=* \
1088ed029a5fSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1089ed029a5fSmrg    program_transform_name=$ac_optarg ;;
1090ed029a5fSmrg
1091dd519f38Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1092dd519f38Smrg    ac_prev=pdfdir ;;
1093dd519f38Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1094dd519f38Smrg    pdfdir=$ac_optarg ;;
1095dd519f38Smrg
1096dd519f38Smrg  -psdir | --psdir | --psdi | --psd | --ps)
1097dd519f38Smrg    ac_prev=psdir ;;
1098dd519f38Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1099dd519f38Smrg    psdir=$ac_optarg ;;
1100dd519f38Smrg
1101ed029a5fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102ed029a5fSmrg  | -silent | --silent | --silen | --sile | --sil)
1103ed029a5fSmrg    silent=yes ;;
1104ed029a5fSmrg
1105ed029a5fSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1106ed029a5fSmrg    ac_prev=sbindir ;;
1107ed029a5fSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1108ed029a5fSmrg  | --sbi=* | --sb=*)
1109ed029a5fSmrg    sbindir=$ac_optarg ;;
1110ed029a5fSmrg
1111ed029a5fSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1112ed029a5fSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1113ed029a5fSmrg  | --sharedst | --shareds | --shared | --share | --shar \
1114ed029a5fSmrg  | --sha | --sh)
1115ed029a5fSmrg    ac_prev=sharedstatedir ;;
1116ed029a5fSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1117ed029a5fSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1118ed029a5fSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1119ed029a5fSmrg  | --sha=* | --sh=*)
1120ed029a5fSmrg    sharedstatedir=$ac_optarg ;;
1121ed029a5fSmrg
1122ed029a5fSmrg  -site | --site | --sit)
1123ed029a5fSmrg    ac_prev=site ;;
1124ed029a5fSmrg  -site=* | --site=* | --sit=*)
1125ed029a5fSmrg    site=$ac_optarg ;;
1126ed029a5fSmrg
1127ed029a5fSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1128ed029a5fSmrg    ac_prev=srcdir ;;
1129ed029a5fSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1130ed029a5fSmrg    srcdir=$ac_optarg ;;
1131ed029a5fSmrg
1132ed029a5fSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1133ed029a5fSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
1134ed029a5fSmrg    ac_prev=sysconfdir ;;
1135ed029a5fSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1136ed029a5fSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1137ed029a5fSmrg    sysconfdir=$ac_optarg ;;
1138ed029a5fSmrg
1139ed029a5fSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1140ed029a5fSmrg    ac_prev=target_alias ;;
1141ed029a5fSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1142ed029a5fSmrg    target_alias=$ac_optarg ;;
1143ed029a5fSmrg
1144ed029a5fSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1145ed029a5fSmrg    verbose=yes ;;
1146ed029a5fSmrg
1147ed029a5fSmrg  -version | --version | --versio | --versi | --vers | -V)
1148ed029a5fSmrg    ac_init_version=: ;;
1149ed029a5fSmrg
1150ed029a5fSmrg  -with-* | --with-*)
1151dd519f38Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1152ed029a5fSmrg    # Reject names that are not valid shell variable names.
1153dd519f38Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154dd519f38Smrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1155ed029a5fSmrg   { (exit 1); exit 1; }; }
1156dd519f38Smrg    ac_useropt_orig=$ac_useropt
1157dd519f38Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158dd519f38Smrg    case $ac_user_opts in
1159dd519f38Smrg      *"
1160dd519f38Smrg"with_$ac_useropt"
1161dd519f38Smrg"*) ;;
1162dd519f38Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1163dd519f38Smrg	 ac_unrecognized_sep=', ';;
1164ed029a5fSmrg    esac
1165dd519f38Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1166ed029a5fSmrg
1167ed029a5fSmrg  -without-* | --without-*)
1168dd519f38Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1169ed029a5fSmrg    # Reject names that are not valid shell variable names.
1170dd519f38Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171dd519f38Smrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1172ed029a5fSmrg   { (exit 1); exit 1; }; }
1173dd519f38Smrg    ac_useropt_orig=$ac_useropt
1174dd519f38Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175dd519f38Smrg    case $ac_user_opts in
1176dd519f38Smrg      *"
1177dd519f38Smrg"with_$ac_useropt"
1178dd519f38Smrg"*) ;;
1179dd519f38Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180dd519f38Smrg	 ac_unrecognized_sep=', ';;
1181dd519f38Smrg    esac
1182dd519f38Smrg    eval with_$ac_useropt=no ;;
1183ed029a5fSmrg
1184ed029a5fSmrg  --x)
1185ed029a5fSmrg    # Obsolete; use --with-x.
1186ed029a5fSmrg    with_x=yes ;;
1187ed029a5fSmrg
1188ed029a5fSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1189ed029a5fSmrg  | --x-incl | --x-inc | --x-in | --x-i)
1190ed029a5fSmrg    ac_prev=x_includes ;;
1191ed029a5fSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1192ed029a5fSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1193ed029a5fSmrg    x_includes=$ac_optarg ;;
1194ed029a5fSmrg
1195ed029a5fSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1196ed029a5fSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1197ed029a5fSmrg    ac_prev=x_libraries ;;
1198ed029a5fSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1199ed029a5fSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1200ed029a5fSmrg    x_libraries=$ac_optarg ;;
1201ed029a5fSmrg
1202dd519f38Smrg  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1203ed029a5fSmrgTry \`$0 --help' for more information." >&2
1204ed029a5fSmrg   { (exit 1); exit 1; }; }
1205ed029a5fSmrg    ;;
1206ed029a5fSmrg
1207ed029a5fSmrg  *=*)
1208ed029a5fSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1209ed029a5fSmrg    # Reject names that are not valid shell variable names.
1210ed029a5fSmrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1211dd519f38Smrg      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1212ed029a5fSmrg   { (exit 1); exit 1; }; }
1213dd519f38Smrg    eval $ac_envvar=\$ac_optarg
1214ed029a5fSmrg    export $ac_envvar ;;
1215ed029a5fSmrg
1216ed029a5fSmrg  *)
1217ed029a5fSmrg    # FIXME: should be removed in autoconf 3.0.
1218dd519f38Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219ed029a5fSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1220dd519f38Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221ed029a5fSmrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1222ed029a5fSmrg    ;;
1223ed029a5fSmrg
1224ed029a5fSmrg  esac
1225ed029a5fSmrgdone
1226ed029a5fSmrg
1227ed029a5fSmrgif test -n "$ac_prev"; then
1228ed029a5fSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1229dd519f38Smrg  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1230ed029a5fSmrg   { (exit 1); exit 1; }; }
1231ed029a5fSmrgfi
1232ed029a5fSmrg
1233dd519f38Smrgif test -n "$ac_unrecognized_opts"; then
1234dd519f38Smrg  case $enable_option_checking in
1235dd519f38Smrg    no) ;;
1236dd519f38Smrg    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1237dd519f38Smrg   { (exit 1); exit 1; }; } ;;
1238dd519f38Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1239ed029a5fSmrg  esac
1240dd519f38Smrgfi
1241ed029a5fSmrg
1242dd519f38Smrg# Check all directory arguments for consistency.
1243dd519f38Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1244dd519f38Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1245dd519f38Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1246dd519f38Smrg		libdir localedir mandir
1247ed029a5fSmrgdo
1248dd519f38Smrg  eval ac_val=\$$ac_var
1249dd519f38Smrg  # Remove trailing slashes.
1250ed029a5fSmrg  case $ac_val in
1251dd519f38Smrg    */ )
1252dd519f38Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1253dd519f38Smrg      eval $ac_var=\$ac_val;;
1254dd519f38Smrg  esac
1255dd519f38Smrg  # Be sure to have absolute directory names.
1256dd519f38Smrg  case $ac_val in
1257dd519f38Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1258dd519f38Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1259ed029a5fSmrg  esac
1260dd519f38Smrg  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1261dd519f38Smrg   { (exit 1); exit 1; }; }
1262ed029a5fSmrgdone
1263ed029a5fSmrg
1264ed029a5fSmrg# There might be people who depend on the old broken behavior: `$host'
1265ed029a5fSmrg# used to hold the argument of --host etc.
1266ed029a5fSmrg# FIXME: To remove some day.
1267ed029a5fSmrgbuild=$build_alias
1268ed029a5fSmrghost=$host_alias
1269ed029a5fSmrgtarget=$target_alias
1270ed029a5fSmrg
1271ed029a5fSmrg# FIXME: To remove some day.
1272ed029a5fSmrgif test "x$host_alias" != x; then
1273ed029a5fSmrg  if test "x$build_alias" = x; then
1274ed029a5fSmrg    cross_compiling=maybe
1275dd519f38Smrg    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1276ed029a5fSmrg    If a cross compiler is detected then cross compile mode will be used." >&2
1277ed029a5fSmrg  elif test "x$build_alias" != "x$host_alias"; then
1278ed029a5fSmrg    cross_compiling=yes
1279ed029a5fSmrg  fi
1280ed029a5fSmrgfi
1281ed029a5fSmrg
1282ed029a5fSmrgac_tool_prefix=
1283ed029a5fSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1284ed029a5fSmrg
1285ed029a5fSmrgtest "$silent" = yes && exec 6>/dev/null
1286ed029a5fSmrg
1287ed029a5fSmrg
1288dd519f38Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1289dd519f38Smrgac_ls_di=`ls -di .` &&
1290dd519f38Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1291dd519f38Smrg  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1292dd519f38Smrg   { (exit 1); exit 1; }; }
1293dd519f38Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1294dd519f38Smrg  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1295dd519f38Smrg   { (exit 1); exit 1; }; }
1296dd519f38Smrg
1297dd519f38Smrg
1298ed029a5fSmrg# Find the source files, if location was not specified.
1299ed029a5fSmrgif test -z "$srcdir"; then
1300ed029a5fSmrg  ac_srcdir_defaulted=yes
1301dd519f38Smrg  # Try the directory containing this script, then the parent directory.
1302dd519f38Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1303dd519f38Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1304dd519f38Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1305dd519f38Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1306dd519f38Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1307dd519f38Smrg$as_echo X"$as_myself" |
1308dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1309dd519f38Smrg	    s//\1/
1310dd519f38Smrg	    q
1311dd519f38Smrg	  }
1312dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
1313dd519f38Smrg	    s//\1/
1314dd519f38Smrg	    q
1315dd519f38Smrg	  }
1316dd519f38Smrg	  /^X\(\/\/\)$/{
1317dd519f38Smrg	    s//\1/
1318dd519f38Smrg	    q
1319dd519f38Smrg	  }
1320dd519f38Smrg	  /^X\(\/\).*/{
1321dd519f38Smrg	    s//\1/
1322dd519f38Smrg	    q
1323dd519f38Smrg	  }
1324dd519f38Smrg	  s/.*/./; q'`
1325ed029a5fSmrg  srcdir=$ac_confdir
1326dd519f38Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1327ed029a5fSmrg    srcdir=..
1328ed029a5fSmrg  fi
1329ed029a5fSmrgelse
1330ed029a5fSmrg  ac_srcdir_defaulted=no
1331ed029a5fSmrgfi
1332dd519f38Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1333dd519f38Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1334dd519f38Smrg  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1335ed029a5fSmrg   { (exit 1); exit 1; }; }
1336ed029a5fSmrgfi
1337dd519f38Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1338dd519f38Smrgac_abs_confdir=`(
1339dd519f38Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1340ed029a5fSmrg   { (exit 1); exit 1; }; }
1341dd519f38Smrg	pwd)`
1342dd519f38Smrg# When building in place, set srcdir=.
1343dd519f38Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1344dd519f38Smrg  srcdir=.
1345dd519f38Smrgfi
1346dd519f38Smrg# Remove unnecessary trailing slashes from srcdir.
1347dd519f38Smrg# Double slashes in file names in object file debugging info
1348dd519f38Smrg# mess up M-x gdb in Emacs.
1349dd519f38Smrgcase $srcdir in
1350dd519f38Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1351dd519f38Smrgesac
1352dd519f38Smrgfor ac_var in $ac_precious_vars; do
1353dd519f38Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1354dd519f38Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1355dd519f38Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1356dd519f38Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1357dd519f38Smrgdone
1358ed029a5fSmrg
1359ed029a5fSmrg#
1360ed029a5fSmrg# Report the --help message.
1361ed029a5fSmrg#
1362ed029a5fSmrgif test "$ac_init_help" = "long"; then
1363ed029a5fSmrg  # Omit some internal or obsolete options to make the list less imposing.
1364ed029a5fSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
1365ed029a5fSmrg  cat <<_ACEOF
1366dd519f38Smrg\`configure' configures font-adobe-100dpi 1.0.1 to adapt to many kinds of systems.
1367ed029a5fSmrg
1368ed029a5fSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1369ed029a5fSmrg
1370ed029a5fSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1371ed029a5fSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1372ed029a5fSmrg
1373ed029a5fSmrgDefaults for the options are specified in brackets.
1374ed029a5fSmrg
1375ed029a5fSmrgConfiguration:
1376ed029a5fSmrg  -h, --help              display this help and exit
1377ed029a5fSmrg      --help=short        display options specific to this package
1378ed029a5fSmrg      --help=recursive    display the short help of all the included packages
1379ed029a5fSmrg  -V, --version           display version information and exit
1380ed029a5fSmrg  -q, --quiet, --silent   do not print \`checking...' messages
1381ed029a5fSmrg      --cache-file=FILE   cache test results in FILE [disabled]
1382ed029a5fSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1383ed029a5fSmrg  -n, --no-create         do not create output files
1384ed029a5fSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1385ed029a5fSmrg
1386ed029a5fSmrgInstallation directories:
1387ed029a5fSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1388dd519f38Smrg                          [$ac_default_prefix]
1389ed029a5fSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1390dd519f38Smrg                          [PREFIX]
1391ed029a5fSmrg
1392ed029a5fSmrgBy default, \`make install' will install all the files in
1393ed029a5fSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1394ed029a5fSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395ed029a5fSmrgfor instance \`--prefix=\$HOME'.
1396ed029a5fSmrg
1397ed029a5fSmrgFor better control, use the options below.
1398ed029a5fSmrg
1399ed029a5fSmrgFine tuning of the installation directories:
1400dd519f38Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1401dd519f38Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1402dd519f38Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1403dd519f38Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1404dd519f38Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1405dd519f38Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1406dd519f38Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1407dd519f38Smrg  --includedir=DIR        C header files [PREFIX/include]
1408dd519f38Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1409dd519f38Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1410dd519f38Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1411dd519f38Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1412dd519f38Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1413dd519f38Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1414dd519f38Smrg  --docdir=DIR            documentation root
1415dd519f38Smrg                          [DATAROOTDIR/doc/font-adobe-100dpi]
1416dd519f38Smrg  --htmldir=DIR           html documentation [DOCDIR]
1417dd519f38Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1418dd519f38Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1419dd519f38Smrg  --psdir=DIR             ps documentation [DOCDIR]
1420ed029a5fSmrg_ACEOF
1421ed029a5fSmrg
1422ed029a5fSmrg  cat <<\_ACEOF
1423ed029a5fSmrg
1424ed029a5fSmrgProgram names:
1425ed029a5fSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1426ed029a5fSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1427ed029a5fSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1428dd519f38Smrg
1429dd519f38SmrgSystem types:
1430dd519f38Smrg  --build=BUILD     configure for building on BUILD [guessed]
1431dd519f38Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1432ed029a5fSmrg_ACEOF
1433ed029a5fSmrgfi
1434ed029a5fSmrg
1435ed029a5fSmrgif test -n "$ac_init_help"; then
1436ed029a5fSmrg  case $ac_init_help in
1437dd519f38Smrg     short | recursive ) echo "Configuration of font-adobe-100dpi 1.0.1:";;
1438ed029a5fSmrg   esac
1439ed029a5fSmrg  cat <<\_ACEOF
1440ed029a5fSmrg
1441ed029a5fSmrgOptional Features:
1442dd519f38Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1443ed029a5fSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1444ed029a5fSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1445dd519f38Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
1446dd519f38Smrg			  (and sometimes confusing) to the casual installer
1447dd519f38Smrg  --disable-dependency-tracking  speeds up one-time build
1448dd519f38Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
1449dd519f38Smrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
1450dd519f38Smrg  --disable-silent-rules         verbose build output (undo: `make V=0')
1451dd519f38Smrg  --enable-strict-compilation
1452dd519f38Smrg                          Enable all warnings from compiler and make them
1453dd519f38Smrg                          errors (default: disabled)
1454ed029a5fSmrg  --disable-iso8859-1     Build ISO8859-1 fonts (default: yes)
1455ed029a5fSmrg  --disable-iso8859-2     Build ISO8859-2 fonts (default: yes)
1456ed029a5fSmrg  --disable-iso8859-3     Build ISO8859-3 fonts (default: yes)
1457ed029a5fSmrg  --disable-iso8859-4     Build ISO8859-4 fonts (default: yes)
1458ed029a5fSmrg  --disable-iso8859-9     Build ISO8859-9 fonts (default: yes)
1459ed029a5fSmrg  --disable-iso8859-10    Build ISO8859-10 fonts (default: yes)
1460ed029a5fSmrg  --disable-iso8859-13    Build ISO8859-13 fonts (default: yes)
1461ed029a5fSmrg  --disable-iso8859-14    Build ISO8859-14 fonts (default: yes)
1462ed029a5fSmrg  --disable-iso8859-15    Build ISO8859-15 fonts (default: yes)
1463ed029a5fSmrg
1464ed029a5fSmrgOptional Packages:
1465ed029a5fSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1466ed029a5fSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1467ed029a5fSmrg  --with-release-version=STRING
1468ed029a5fSmrg                          Use release version string in package name
1469dd519f38Smrg  --with-fontrootdir=DIR  Path to root directory for font files
1470dd519f38Smrg  --with-fontdir=DIR      Path to 100dpi files [FONTROOTDIR/100dpi]
1471dd519f38Smrg  --with-compression=<no|compress|gzip|bzip2>
1472dd519f38Smrg                          compression method to use on pcf fonts
1473ed029a5fSmrg
1474ed029a5fSmrgSome influential environment variables:
1475dd519f38Smrg  CC          C compiler command
1476dd519f38Smrg  CFLAGS      C compiler flags
1477dd519f38Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1478dd519f38Smrg              nonstandard directory <lib dir>
1479dd519f38Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
1480dd519f38Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1481dd519f38Smrg              you have headers in a nonstandard directory <include dir>
1482dd519f38Smrg  CPP         C preprocessor
1483ed029a5fSmrg  PKG_CONFIG  path to pkg-config utility
1484ed029a5fSmrg  MAPS_CFLAGS C compiler flags for MAPS, overriding pkg-config
1485ed029a5fSmrg  MAPS_LIBS   linker flags for MAPS, overriding pkg-config
1486ed029a5fSmrg
1487ed029a5fSmrgUse these variables to override the choices made by `configure' or to help
1488ed029a5fSmrgit to find libraries and programs with nonstandard names/locations.
1489ed029a5fSmrg
1490ed029a5fSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1491ed029a5fSmrg_ACEOF
1492dd519f38Smrgac_status=$?
1493ed029a5fSmrgfi
1494ed029a5fSmrg
1495ed029a5fSmrgif test "$ac_init_help" = "recursive"; then
1496ed029a5fSmrg  # If there are subdirs, report their specific --help.
1497ed029a5fSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1498dd519f38Smrg    test -d "$ac_dir" ||
1499dd519f38Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1500dd519f38Smrg      continue
1501ed029a5fSmrg    ac_builddir=.
1502ed029a5fSmrg
1503dd519f38Smrgcase "$ac_dir" in
1504dd519f38Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1505dd519f38Smrg*)
1506dd519f38Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1507dd519f38Smrg  # A ".." for each directory in $ac_dir_suffix.
1508dd519f38Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1509dd519f38Smrg  case $ac_top_builddir_sub in
1510dd519f38Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511dd519f38Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1512dd519f38Smrg  esac ;;
1513dd519f38Smrgesac
1514dd519f38Smrgac_abs_top_builddir=$ac_pwd
1515dd519f38Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1516dd519f38Smrg# for backward compatibility:
1517dd519f38Smrgac_top_builddir=$ac_top_build_prefix
1518ed029a5fSmrg
1519ed029a5fSmrgcase $srcdir in
1520dd519f38Smrg  .)  # We are building in place.
1521ed029a5fSmrg    ac_srcdir=.
1522dd519f38Smrg    ac_top_srcdir=$ac_top_builddir_sub
1523dd519f38Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1524dd519f38Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1525ed029a5fSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
1526dd519f38Smrg    ac_top_srcdir=$srcdir
1527dd519f38Smrg    ac_abs_top_srcdir=$srcdir ;;
1528dd519f38Smrg  *) # Relative name.
1529dd519f38Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1530dd519f38Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1531dd519f38Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1532ed029a5fSmrgesac
1533dd519f38Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1534dd519f38Smrg
1535dd519f38Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
1536dd519f38Smrg    # Check for guested configure.
1537dd519f38Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1538dd519f38Smrg      echo &&
1539dd519f38Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1540dd519f38Smrg    elif test -f "$ac_srcdir/configure"; then
1541dd519f38Smrg      echo &&
1542dd519f38Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1543ed029a5fSmrg    else
1544dd519f38Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1545dd519f38Smrg    fi || ac_status=$?
1546dd519f38Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1547ed029a5fSmrg  done
1548ed029a5fSmrgfi
1549ed029a5fSmrg
1550dd519f38Smrgtest -n "$ac_init_help" && exit $ac_status
1551ed029a5fSmrgif $ac_init_version; then
1552ed029a5fSmrg  cat <<\_ACEOF
1553dd519f38Smrgfont-adobe-100dpi configure 1.0.1
1554dd519f38Smrggenerated by GNU Autoconf 2.63
1555ed029a5fSmrg
1556dd519f38SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1557dd519f38Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1558ed029a5fSmrgThis configure script is free software; the Free Software Foundation
1559ed029a5fSmrggives unlimited permission to copy, distribute and modify it.
1560ed029a5fSmrg_ACEOF
1561dd519f38Smrg  exit
1562ed029a5fSmrgfi
1563dd519f38Smrgcat >config.log <<_ACEOF
1564ed029a5fSmrgThis file contains any messages produced by compilers while
1565ed029a5fSmrgrunning configure, to aid debugging if configure makes a mistake.
1566ed029a5fSmrg
1567dd519f38SmrgIt was created by font-adobe-100dpi $as_me 1.0.1, which was
1568dd519f38Smrggenerated by GNU Autoconf 2.63.  Invocation command line was
1569ed029a5fSmrg
1570ed029a5fSmrg  $ $0 $@
1571ed029a5fSmrg
1572ed029a5fSmrg_ACEOF
1573dd519f38Smrgexec 5>>config.log
1574ed029a5fSmrg{
1575ed029a5fSmrgcat <<_ASUNAME
1576ed029a5fSmrg## --------- ##
1577ed029a5fSmrg## Platform. ##
1578ed029a5fSmrg## --------- ##
1579ed029a5fSmrg
1580ed029a5fSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1581ed029a5fSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1582ed029a5fSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1583ed029a5fSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1584ed029a5fSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1585ed029a5fSmrg
1586ed029a5fSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1587ed029a5fSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1588ed029a5fSmrg
1589ed029a5fSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1590ed029a5fSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1591ed029a5fSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1592dd519f38Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1593ed029a5fSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1594ed029a5fSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1595ed029a5fSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1596ed029a5fSmrg
1597ed029a5fSmrg_ASUNAME
1598ed029a5fSmrg
1599ed029a5fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1600ed029a5fSmrgfor as_dir in $PATH
1601ed029a5fSmrgdo
1602ed029a5fSmrg  IFS=$as_save_IFS
1603ed029a5fSmrg  test -z "$as_dir" && as_dir=.
1604dd519f38Smrg  $as_echo "PATH: $as_dir"
1605ed029a5fSmrgdone
1606dd519f38SmrgIFS=$as_save_IFS
1607ed029a5fSmrg
1608ed029a5fSmrg} >&5
1609ed029a5fSmrg
1610ed029a5fSmrgcat >&5 <<_ACEOF
1611ed029a5fSmrg
1612ed029a5fSmrg
1613ed029a5fSmrg## ----------- ##
1614ed029a5fSmrg## Core tests. ##
1615ed029a5fSmrg## ----------- ##
1616ed029a5fSmrg
1617ed029a5fSmrg_ACEOF
1618ed029a5fSmrg
1619ed029a5fSmrg
1620ed029a5fSmrg# Keep a trace of the command line.
1621ed029a5fSmrg# Strip out --no-create and --no-recursion so they do not pile up.
1622ed029a5fSmrg# Strip out --silent because we don't want to record it for future runs.
1623ed029a5fSmrg# Also quote any args containing shell meta-characters.
1624ed029a5fSmrg# Make two passes to allow for proper duplicate-argument suppression.
1625ed029a5fSmrgac_configure_args=
1626ed029a5fSmrgac_configure_args0=
1627ed029a5fSmrgac_configure_args1=
1628ed029a5fSmrgac_must_keep_next=false
1629ed029a5fSmrgfor ac_pass in 1 2
1630ed029a5fSmrgdo
1631ed029a5fSmrg  for ac_arg
1632ed029a5fSmrg  do
1633ed029a5fSmrg    case $ac_arg in
1634ed029a5fSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1635ed029a5fSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1636ed029a5fSmrg    | -silent | --silent | --silen | --sile | --sil)
1637ed029a5fSmrg      continue ;;
1638dd519f38Smrg    *\'*)
1639dd519f38Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1640ed029a5fSmrg    esac
1641ed029a5fSmrg    case $ac_pass in
1642ed029a5fSmrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1643ed029a5fSmrg    2)
1644ed029a5fSmrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1645ed029a5fSmrg      if test $ac_must_keep_next = true; then
1646ed029a5fSmrg	ac_must_keep_next=false # Got value, back to normal.
1647ed029a5fSmrg      else
1648ed029a5fSmrg	case $ac_arg in
1649ed029a5fSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1650ed029a5fSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1651ed029a5fSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1652ed029a5fSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1653ed029a5fSmrg	    case "$ac_configure_args0 " in
1654ed029a5fSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1655ed029a5fSmrg	    esac
1656ed029a5fSmrg	    ;;
1657ed029a5fSmrg	  -* ) ac_must_keep_next=true ;;
1658ed029a5fSmrg	esac
1659ed029a5fSmrg      fi
1660dd519f38Smrg      ac_configure_args="$ac_configure_args '$ac_arg'"
1661ed029a5fSmrg      ;;
1662ed029a5fSmrg    esac
1663ed029a5fSmrg  done
1664ed029a5fSmrgdone
1665ed029a5fSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1666ed029a5fSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1667ed029a5fSmrg
1668ed029a5fSmrg# When interrupted or exit'd, cleanup temporary files, and complete
1669ed029a5fSmrg# config.log.  We remove comments because anyway the quotes in there
1670ed029a5fSmrg# would cause problems or look ugly.
1671dd519f38Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1672dd519f38Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1673ed029a5fSmrgtrap 'exit_status=$?
1674ed029a5fSmrg  # Save into config.log some information that might help in debugging.
1675ed029a5fSmrg  {
1676ed029a5fSmrg    echo
1677ed029a5fSmrg
1678ed029a5fSmrg    cat <<\_ASBOX
1679ed029a5fSmrg## ---------------- ##
1680ed029a5fSmrg## Cache variables. ##
1681ed029a5fSmrg## ---------------- ##
1682ed029a5fSmrg_ASBOX
1683ed029a5fSmrg    echo
1684ed029a5fSmrg    # The following way of writing the cache mishandles newlines in values,
1685dd519f38Smrg(
1686dd519f38Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1687dd519f38Smrg    eval ac_val=\$$ac_var
1688dd519f38Smrg    case $ac_val in #(
1689dd519f38Smrg    *${as_nl}*)
1690dd519f38Smrg      case $ac_var in #(
1691dd519f38Smrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1692dd519f38Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1693dd519f38Smrg      esac
1694dd519f38Smrg      case $ac_var in #(
1695dd519f38Smrg      _ | IFS | as_nl) ;; #(
1696dd519f38Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1697dd519f38Smrg      *) $as_unset $ac_var ;;
1698dd519f38Smrg      esac ;;
1699dd519f38Smrg    esac
1700dd519f38Smrg  done
1701ed029a5fSmrg  (set) 2>&1 |
1702dd519f38Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1703dd519f38Smrg    *${as_nl}ac_space=\ *)
1704ed029a5fSmrg      sed -n \
1705dd519f38Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1706dd519f38Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1707dd519f38Smrg      ;; #(
1708ed029a5fSmrg    *)
1709dd519f38Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1710ed029a5fSmrg      ;;
1711dd519f38Smrg    esac |
1712dd519f38Smrg    sort
1713dd519f38Smrg)
1714ed029a5fSmrg    echo
1715ed029a5fSmrg
1716ed029a5fSmrg    cat <<\_ASBOX
1717ed029a5fSmrg## ----------------- ##
1718ed029a5fSmrg## Output variables. ##
1719ed029a5fSmrg## ----------------- ##
1720ed029a5fSmrg_ASBOX
1721ed029a5fSmrg    echo
1722ed029a5fSmrg    for ac_var in $ac_subst_vars
1723ed029a5fSmrg    do
1724dd519f38Smrg      eval ac_val=\$$ac_var
1725dd519f38Smrg      case $ac_val in
1726dd519f38Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1727dd519f38Smrg      esac
1728dd519f38Smrg      $as_echo "$ac_var='\''$ac_val'\''"
1729ed029a5fSmrg    done | sort
1730ed029a5fSmrg    echo
1731ed029a5fSmrg
1732ed029a5fSmrg    if test -n "$ac_subst_files"; then
1733ed029a5fSmrg      cat <<\_ASBOX
1734dd519f38Smrg## ------------------- ##
1735dd519f38Smrg## File substitutions. ##
1736dd519f38Smrg## ------------------- ##
1737ed029a5fSmrg_ASBOX
1738ed029a5fSmrg      echo
1739ed029a5fSmrg      for ac_var in $ac_subst_files
1740ed029a5fSmrg      do
1741dd519f38Smrg	eval ac_val=\$$ac_var
1742dd519f38Smrg	case $ac_val in
1743dd519f38Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1744dd519f38Smrg	esac
1745dd519f38Smrg	$as_echo "$ac_var='\''$ac_val'\''"
1746ed029a5fSmrg      done | sort
1747ed029a5fSmrg      echo
1748ed029a5fSmrg    fi
1749ed029a5fSmrg
1750ed029a5fSmrg    if test -s confdefs.h; then
1751ed029a5fSmrg      cat <<\_ASBOX
1752ed029a5fSmrg## ----------- ##
1753ed029a5fSmrg## confdefs.h. ##
1754ed029a5fSmrg## ----------- ##
1755ed029a5fSmrg_ASBOX
1756ed029a5fSmrg      echo
1757dd519f38Smrg      cat confdefs.h
1758ed029a5fSmrg      echo
1759ed029a5fSmrg    fi
1760ed029a5fSmrg    test "$ac_signal" != 0 &&
1761dd519f38Smrg      $as_echo "$as_me: caught signal $ac_signal"
1762dd519f38Smrg    $as_echo "$as_me: exit $exit_status"
1763ed029a5fSmrg  } >&5
1764dd519f38Smrg  rm -f core *.core core.conftest.* &&
1765dd519f38Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1766ed029a5fSmrg    exit $exit_status
1767dd519f38Smrg' 0
1768ed029a5fSmrgfor ac_signal in 1 2 13 15; do
1769ed029a5fSmrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1770ed029a5fSmrgdone
1771ed029a5fSmrgac_signal=0
1772ed029a5fSmrg
1773ed029a5fSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1774dd519f38Smrgrm -f -r conftest* confdefs.h
1775ed029a5fSmrg
1776ed029a5fSmrg# Predefined preprocessor variables.
1777ed029a5fSmrg
1778ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1779ed029a5fSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
1780ed029a5fSmrg_ACEOF
1781ed029a5fSmrg
1782ed029a5fSmrg
1783ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1784ed029a5fSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1785ed029a5fSmrg_ACEOF
1786ed029a5fSmrg
1787ed029a5fSmrg
1788ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1789ed029a5fSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1790ed029a5fSmrg_ACEOF
1791ed029a5fSmrg
1792ed029a5fSmrg
1793ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1794ed029a5fSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
1795ed029a5fSmrg_ACEOF
1796ed029a5fSmrg
1797ed029a5fSmrg
1798ed029a5fSmrgcat >>confdefs.h <<_ACEOF
1799ed029a5fSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1800ed029a5fSmrg_ACEOF
1801ed029a5fSmrg
1802ed029a5fSmrg
1803ed029a5fSmrg# Let the site file select an alternate cache file if it wants to.
1804dd519f38Smrg# Prefer an explicitly selected file to automatically selected ones.
1805dd519f38Smrgac_site_file1=NONE
1806dd519f38Smrgac_site_file2=NONE
1807dd519f38Smrgif test -n "$CONFIG_SITE"; then
1808dd519f38Smrg  ac_site_file1=$CONFIG_SITE
1809dd519f38Smrgelif test "x$prefix" != xNONE; then
1810dd519f38Smrg  ac_site_file1=$prefix/share/config.site
1811dd519f38Smrg  ac_site_file2=$prefix/etc/config.site
1812dd519f38Smrgelse
1813dd519f38Smrg  ac_site_file1=$ac_default_prefix/share/config.site
1814dd519f38Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
1815ed029a5fSmrgfi
1816dd519f38Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
1817dd519f38Smrgdo
1818dd519f38Smrg  test "x$ac_site_file" = xNONE && continue
1819ed029a5fSmrg  if test -r "$ac_site_file"; then
1820dd519f38Smrg    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1821dd519f38Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1822ed029a5fSmrg    sed 's/^/| /' "$ac_site_file" >&5
1823ed029a5fSmrg    . "$ac_site_file"
1824ed029a5fSmrg  fi
1825ed029a5fSmrgdone
1826ed029a5fSmrg
1827ed029a5fSmrgif test -r "$cache_file"; then
1828ed029a5fSmrg  # Some versions of bash will fail to source /dev/null (special
1829ed029a5fSmrg  # files actually), so we avoid doing that.
1830ed029a5fSmrg  if test -f "$cache_file"; then
1831dd519f38Smrg    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1832dd519f38Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
1833ed029a5fSmrg    case $cache_file in
1834dd519f38Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1835dd519f38Smrg      *)                      . "./$cache_file";;
1836ed029a5fSmrg    esac
1837ed029a5fSmrg  fi
1838ed029a5fSmrgelse
1839dd519f38Smrg  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1840dd519f38Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
1841ed029a5fSmrg  >$cache_file
1842ed029a5fSmrgfi
1843ed029a5fSmrg
1844ed029a5fSmrg# Check that the precious variables saved in the cache have kept the same
1845ed029a5fSmrg# value.
1846ed029a5fSmrgac_cache_corrupted=false
1847dd519f38Smrgfor ac_var in $ac_precious_vars; do
1848ed029a5fSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1849ed029a5fSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
1850dd519f38Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1851dd519f38Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1852ed029a5fSmrg  case $ac_old_set,$ac_new_set in
1853ed029a5fSmrg    set,)
1854dd519f38Smrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1855dd519f38Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1856ed029a5fSmrg      ac_cache_corrupted=: ;;
1857ed029a5fSmrg    ,set)
1858dd519f38Smrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1859dd519f38Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1860ed029a5fSmrg      ac_cache_corrupted=: ;;
1861ed029a5fSmrg    ,);;
1862ed029a5fSmrg    *)
1863ed029a5fSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1864dd519f38Smrg	# differences in whitespace do not lead to failure.
1865dd519f38Smrg	ac_old_val_w=`echo x $ac_old_val`
1866dd519f38Smrg	ac_new_val_w=`echo x $ac_new_val`
1867dd519f38Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1868dd519f38Smrg	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1869dd519f38Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1870dd519f38Smrg	  ac_cache_corrupted=:
1871dd519f38Smrg	else
1872dd519f38Smrg	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1873dd519f38Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1874dd519f38Smrg	  eval $ac_var=\$ac_old_val
1875dd519f38Smrg	fi
1876dd519f38Smrg	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1877dd519f38Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1878dd519f38Smrg	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1879dd519f38Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1880ed029a5fSmrg      fi;;
1881ed029a5fSmrg  esac
1882ed029a5fSmrg  # Pass precious variables to config.status.
1883ed029a5fSmrg  if test "$ac_new_set" = set; then
1884ed029a5fSmrg    case $ac_new_val in
1885dd519f38Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1886ed029a5fSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
1887ed029a5fSmrg    esac
1888ed029a5fSmrg    case " $ac_configure_args " in
1889ed029a5fSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1890ed029a5fSmrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1891ed029a5fSmrg    esac
1892ed029a5fSmrg  fi
1893ed029a5fSmrgdone
1894ed029a5fSmrgif $ac_cache_corrupted; then
1895dd519f38Smrg  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1896dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1897dd519f38Smrg  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1898dd519f38Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1899dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1900dd519f38Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1901ed029a5fSmrg   { (exit 1); exit 1; }; }
1902ed029a5fSmrgfi
1903ed029a5fSmrg
1904ed029a5fSmrg
1905ed029a5fSmrg
1906ed029a5fSmrg
1907ed029a5fSmrg
1908ed029a5fSmrg
1909ed029a5fSmrg
1910ed029a5fSmrg
1911ed029a5fSmrg
1912ed029a5fSmrg
1913ed029a5fSmrg
1914ed029a5fSmrg
1915ed029a5fSmrg
1916ed029a5fSmrg
1917ed029a5fSmrg
1918ed029a5fSmrg
1919ed029a5fSmrg
1920ed029a5fSmrg
1921ed029a5fSmrg
1922ed029a5fSmrg
1923ed029a5fSmrg
1924ed029a5fSmrg
1925ed029a5fSmrg
1926ed029a5fSmrg
1927ed029a5fSmrg
1928dd519f38Smrgac_ext=c
1929dd519f38Smrgac_cpp='$CPP $CPPFLAGS'
1930dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1933ed029a5fSmrg
1934ed029a5fSmrg
1935dd519f38Smrgam__api_version='1.11'
1936ed029a5fSmrg
1937ed029a5fSmrgac_aux_dir=
1938dd519f38Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1939dd519f38Smrg  if test -f "$ac_dir/install-sh"; then
1940ed029a5fSmrg    ac_aux_dir=$ac_dir
1941ed029a5fSmrg    ac_install_sh="$ac_aux_dir/install-sh -c"
1942ed029a5fSmrg    break
1943dd519f38Smrg  elif test -f "$ac_dir/install.sh"; then
1944ed029a5fSmrg    ac_aux_dir=$ac_dir
1945ed029a5fSmrg    ac_install_sh="$ac_aux_dir/install.sh -c"
1946ed029a5fSmrg    break
1947dd519f38Smrg  elif test -f "$ac_dir/shtool"; then
1948ed029a5fSmrg    ac_aux_dir=$ac_dir
1949ed029a5fSmrg    ac_install_sh="$ac_aux_dir/shtool install -c"
1950ed029a5fSmrg    break
1951ed029a5fSmrg  fi
1952ed029a5fSmrgdone
1953ed029a5fSmrgif test -z "$ac_aux_dir"; then
1954dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1955dd519f38Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1956ed029a5fSmrg   { (exit 1); exit 1; }; }
1957ed029a5fSmrgfi
1958dd519f38Smrg
1959dd519f38Smrg# These three variables are undocumented and unsupported,
1960dd519f38Smrg# and are intended to be withdrawn in a future Autoconf release.
1961dd519f38Smrg# They can cause serious problems if a builder's source tree is in a directory
1962dd519f38Smrg# whose full name contains unusual characters.
1963dd519f38Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1964dd519f38Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1965dd519f38Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1966dd519f38Smrg
1967ed029a5fSmrg
1968ed029a5fSmrg# Find a good install program.  We prefer a C program (faster),
1969ed029a5fSmrg# so one script is as good as another.  But avoid the broken or
1970ed029a5fSmrg# incompatible versions:
1971ed029a5fSmrg# SysV /etc/install, /usr/sbin/install
1972ed029a5fSmrg# SunOS /usr/etc/install
1973ed029a5fSmrg# IRIX /sbin/install
1974ed029a5fSmrg# AIX /bin/install
1975ed029a5fSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1976ed029a5fSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1977ed029a5fSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1978ed029a5fSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1979ed029a5fSmrg# OS/2's system install, which has a completely different semantic
1980ed029a5fSmrg# ./install, which can be erroneously created by make from ./install.sh.
1981dd519f38Smrg# Reject install programs that cannot install multiple files.
1982dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1983dd519f38Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
1984ed029a5fSmrgif test -z "$INSTALL"; then
1985ed029a5fSmrgif test "${ac_cv_path_install+set}" = set; then
1986dd519f38Smrg  $as_echo_n "(cached) " >&6
1987ed029a5fSmrgelse
1988ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989ed029a5fSmrgfor as_dir in $PATH
1990ed029a5fSmrgdo
1991ed029a5fSmrg  IFS=$as_save_IFS
1992ed029a5fSmrg  test -z "$as_dir" && as_dir=.
1993ed029a5fSmrg  # Account for people who put trailing slashes in PATH elements.
1994ed029a5fSmrgcase $as_dir/ in
1995ed029a5fSmrg  ./ | .// | /cC/* | \
1996ed029a5fSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1997ed029a5fSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1998ed029a5fSmrg  /usr/ucb/* ) ;;
1999ed029a5fSmrg  *)
2000ed029a5fSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
2001ed029a5fSmrg    # Don't use installbsd from OSF since it installs stuff as root
2002ed029a5fSmrg    # by default.
2003ed029a5fSmrg    for ac_prog in ginstall scoinst install; do
2004ed029a5fSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
2005dd519f38Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2006ed029a5fSmrg	  if test $ac_prog = install &&
2007ed029a5fSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2008ed029a5fSmrg	    # AIX install.  It has an incompatible calling convention.
2009ed029a5fSmrg	    :
2010ed029a5fSmrg	  elif test $ac_prog = install &&
2011ed029a5fSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2012ed029a5fSmrg	    # program-specific install script used by HP pwplus--don't use.
2013ed029a5fSmrg	    :
2014ed029a5fSmrg	  else
2015dd519f38Smrg	    rm -rf conftest.one conftest.two conftest.dir
2016dd519f38Smrg	    echo one > conftest.one
2017dd519f38Smrg	    echo two > conftest.two
2018dd519f38Smrg	    mkdir conftest.dir
2019dd519f38Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2020dd519f38Smrg	      test -s conftest.one && test -s conftest.two &&
2021dd519f38Smrg	      test -s conftest.dir/conftest.one &&
2022dd519f38Smrg	      test -s conftest.dir/conftest.two
2023dd519f38Smrg	    then
2024dd519f38Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2025dd519f38Smrg	      break 3
2026dd519f38Smrg	    fi
2027ed029a5fSmrg	  fi
2028ed029a5fSmrg	fi
2029ed029a5fSmrg      done
2030ed029a5fSmrg    done
2031ed029a5fSmrg    ;;
2032ed029a5fSmrgesac
2033dd519f38Smrg
2034ed029a5fSmrgdone
2035dd519f38SmrgIFS=$as_save_IFS
2036ed029a5fSmrg
2037dd519f38Smrgrm -rf conftest.one conftest.two conftest.dir
2038ed029a5fSmrg
2039ed029a5fSmrgfi
2040ed029a5fSmrg  if test "${ac_cv_path_install+set}" = set; then
2041ed029a5fSmrg    INSTALL=$ac_cv_path_install
2042ed029a5fSmrg  else
2043dd519f38Smrg    # As a last resort, use the slow shell script.  Don't cache a
2044dd519f38Smrg    # value for INSTALL within a source directory, because that will
2045ed029a5fSmrg    # break other packages using the cache if that directory is
2046dd519f38Smrg    # removed, or if the value is a relative name.
2047ed029a5fSmrg    INSTALL=$ac_install_sh
2048ed029a5fSmrg  fi
2049ed029a5fSmrgfi
2050dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2051dd519f38Smrg$as_echo "$INSTALL" >&6; }
2052ed029a5fSmrg
2053ed029a5fSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2054ed029a5fSmrg# It thinks the first close brace ends the variable substitution.
2055ed029a5fSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2056ed029a5fSmrg
2057ed029a5fSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2058ed029a5fSmrg
2059ed029a5fSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2060ed029a5fSmrg
2061dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2062dd519f38Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
2063ed029a5fSmrg# Just in case
2064ed029a5fSmrgsleep 1
2065ed029a5fSmrgecho timestamp > conftest.file
2066dd519f38Smrg# Reject unsafe characters in $srcdir or the absolute working directory
2067dd519f38Smrg# name.  Accept space and tab only in the latter.
2068dd519f38Smrgam_lf='
2069dd519f38Smrg'
2070dd519f38Smrgcase `pwd` in
2071dd519f38Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
2072dd519f38Smrg    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2073dd519f38Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2074dd519f38Smrg   { (exit 1); exit 1; }; };;
2075dd519f38Smrgesac
2076dd519f38Smrgcase $srcdir in
2077dd519f38Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2078dd519f38Smrg    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2079dd519f38Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2080dd519f38Smrg   { (exit 1); exit 1; }; };;
2081dd519f38Smrgesac
2082dd519f38Smrg
2083ed029a5fSmrg# Do `set' in a subshell so we don't clobber the current shell's
2084ed029a5fSmrg# arguments.  Must try -L first in case configure is actually a
2085ed029a5fSmrg# symlink; some systems play weird games with the mod time of symlinks
2086ed029a5fSmrg# (eg FreeBSD returns the mod time of the symlink's containing
2087ed029a5fSmrg# directory).
2088ed029a5fSmrgif (
2089dd519f38Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2090ed029a5fSmrg   if test "$*" = "X"; then
2091ed029a5fSmrg      # -L didn't work.
2092dd519f38Smrg      set X `ls -t "$srcdir/configure" conftest.file`
2093ed029a5fSmrg   fi
2094ed029a5fSmrg   rm -f conftest.file
2095ed029a5fSmrg   if test "$*" != "X $srcdir/configure conftest.file" \
2096ed029a5fSmrg      && test "$*" != "X conftest.file $srcdir/configure"; then
2097ed029a5fSmrg
2098ed029a5fSmrg      # If neither matched, then we have a broken ls.  This can happen
2099ed029a5fSmrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
2100ed029a5fSmrg      # broken ls alias from the environment.  This has actually
2101ed029a5fSmrg      # happened.  Such a system could not be considered "sane".
2102dd519f38Smrg      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2103ed029a5fSmrgalias in your environment" >&5
2104dd519f38Smrg$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2105ed029a5fSmrgalias in your environment" >&2;}
2106ed029a5fSmrg   { (exit 1); exit 1; }; }
2107ed029a5fSmrg   fi
2108ed029a5fSmrg
2109ed029a5fSmrg   test "$2" = conftest.file
2110ed029a5fSmrg   )
2111ed029a5fSmrgthen
2112ed029a5fSmrg   # Ok.
2113ed029a5fSmrg   :
2114ed029a5fSmrgelse
2115dd519f38Smrg   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2116ed029a5fSmrgCheck your system clock" >&5
2117dd519f38Smrg$as_echo "$as_me: error: newly created file is older than distributed files!
2118ed029a5fSmrgCheck your system clock" >&2;}
2119ed029a5fSmrg   { (exit 1); exit 1; }; }
2120ed029a5fSmrgfi
2121dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
2122dd519f38Smrg$as_echo "yes" >&6; }
2123ed029a5fSmrgtest "$program_prefix" != NONE &&
2124dd519f38Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2125ed029a5fSmrg# Use a double $ so make ignores it.
2126ed029a5fSmrgtest "$program_suffix" != NONE &&
2127dd519f38Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2128dd519f38Smrg# Double any \ or $.
2129ed029a5fSmrg# By default was `s,x,x', remove it if useless.
2130dd519f38Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2131dd519f38Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2132ed029a5fSmrg
2133ed029a5fSmrg# expand $ac_aux_dir to an absolute path
2134ed029a5fSmrgam_aux_dir=`cd $ac_aux_dir && pwd`
2135ed029a5fSmrg
2136dd519f38Smrgif test x"${MISSING+set}" != xset; then
2137dd519f38Smrg  case $am_aux_dir in
2138dd519f38Smrg  *\ * | *\	*)
2139dd519f38Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2140dd519f38Smrg  *)
2141dd519f38Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2142dd519f38Smrg  esac
2143dd519f38Smrgfi
2144ed029a5fSmrg# Use eval to expand $SHELL
2145ed029a5fSmrgif eval "$MISSING --run true"; then
2146ed029a5fSmrg  am_missing_run="$MISSING --run "
2147ed029a5fSmrgelse
2148ed029a5fSmrg  am_missing_run=
2149dd519f38Smrg  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2150dd519f38Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2151dd519f38Smrgfi
2152dd519f38Smrg
2153dd519f38Smrgif test x"${install_sh}" != xset; then
2154dd519f38Smrg  case $am_aux_dir in
2155dd519f38Smrg  *\ * | *\	*)
2156dd519f38Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2157dd519f38Smrg  *)
2158dd519f38Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2159dd519f38Smrg  esac
2160dd519f38Smrgfi
2161dd519f38Smrg
2162dd519f38Smrg# Installed binaries are usually stripped using `strip' when the user
2163dd519f38Smrg# run `make install-strip'.  However `strip' might not be the right
2164dd519f38Smrg# tool to use in cross-compilation environments, therefore Automake
2165dd519f38Smrg# will honor the `STRIP' environment variable to overrule this program.
2166dd519f38Smrgif test "$cross_compiling" != no; then
2167dd519f38Smrg  if test -n "$ac_tool_prefix"; then
2168dd519f38Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2169dd519f38Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
2170dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2171dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
2172dd519f38Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
2173dd519f38Smrg  $as_echo_n "(cached) " >&6
2174dd519f38Smrgelse
2175dd519f38Smrg  if test -n "$STRIP"; then
2176dd519f38Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2177dd519f38Smrgelse
2178dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179dd519f38Smrgfor as_dir in $PATH
2180dd519f38Smrgdo
2181dd519f38Smrg  IFS=$as_save_IFS
2182dd519f38Smrg  test -z "$as_dir" && as_dir=.
2183dd519f38Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2184dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185dd519f38Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2186dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187dd519f38Smrg    break 2
2188dd519f38Smrg  fi
2189dd519f38Smrgdone
2190dd519f38Smrgdone
2191dd519f38SmrgIFS=$as_save_IFS
2192dd519f38Smrg
2193dd519f38Smrgfi
2194dd519f38Smrgfi
2195dd519f38SmrgSTRIP=$ac_cv_prog_STRIP
2196dd519f38Smrgif test -n "$STRIP"; then
2197dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2198dd519f38Smrg$as_echo "$STRIP" >&6; }
2199dd519f38Smrgelse
2200dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2201dd519f38Smrg$as_echo "no" >&6; }
2202dd519f38Smrgfi
2203dd519f38Smrg
2204dd519f38Smrg
2205dd519f38Smrgfi
2206dd519f38Smrgif test -z "$ac_cv_prog_STRIP"; then
2207dd519f38Smrg  ac_ct_STRIP=$STRIP
2208dd519f38Smrg  # Extract the first word of "strip", so it can be a program name with args.
2209dd519f38Smrgset dummy strip; ac_word=$2
2210dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2211dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
2212dd519f38Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2213dd519f38Smrg  $as_echo_n "(cached) " >&6
2214dd519f38Smrgelse
2215dd519f38Smrg  if test -n "$ac_ct_STRIP"; then
2216dd519f38Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2217dd519f38Smrgelse
2218dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219dd519f38Smrgfor as_dir in $PATH
2220dd519f38Smrgdo
2221dd519f38Smrg  IFS=$as_save_IFS
2222dd519f38Smrg  test -z "$as_dir" && as_dir=.
2223dd519f38Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2224dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2225dd519f38Smrg    ac_cv_prog_ac_ct_STRIP="strip"
2226dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227dd519f38Smrg    break 2
2228dd519f38Smrg  fi
2229dd519f38Smrgdone
2230dd519f38Smrgdone
2231dd519f38SmrgIFS=$as_save_IFS
2232dd519f38Smrg
2233dd519f38Smrgfi
2234dd519f38Smrgfi
2235dd519f38Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2236dd519f38Smrgif test -n "$ac_ct_STRIP"; then
2237dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2238dd519f38Smrg$as_echo "$ac_ct_STRIP" >&6; }
2239dd519f38Smrgelse
2240dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2241dd519f38Smrg$as_echo "no" >&6; }
2242ed029a5fSmrgfi
2243ed029a5fSmrg
2244dd519f38Smrg  if test "x$ac_ct_STRIP" = x; then
2245dd519f38Smrg    STRIP=":"
2246dd519f38Smrg  else
2247dd519f38Smrg    case $cross_compiling:$ac_tool_warned in
2248dd519f38Smrgyes:)
2249dd519f38Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2250dd519f38Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2251dd519f38Smrgac_tool_warned=yes ;;
2252dd519f38Smrgesac
2253dd519f38Smrg    STRIP=$ac_ct_STRIP
2254dd519f38Smrg  fi
2255dd519f38Smrgelse
2256dd519f38Smrg  STRIP="$ac_cv_prog_STRIP"
2257dd519f38Smrgfi
2258dd519f38Smrg
2259dd519f38Smrgfi
2260dd519f38SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2261dd519f38Smrg
2262dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2263dd519f38Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2264dd519f38Smrgif test -z "$MKDIR_P"; then
2265dd519f38Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
2266dd519f38Smrg  $as_echo_n "(cached) " >&6
2267dd519f38Smrgelse
2268dd519f38Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269dd519f38Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2270dd519f38Smrgdo
2271dd519f38Smrg  IFS=$as_save_IFS
2272dd519f38Smrg  test -z "$as_dir" && as_dir=.
2273dd519f38Smrg  for ac_prog in mkdir gmkdir; do
2274dd519f38Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
2275dd519f38Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2276dd519f38Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2277dd519f38Smrg	     'mkdir (GNU coreutils) '* | \
2278dd519f38Smrg	     'mkdir (coreutils) '* | \
2279dd519f38Smrg	     'mkdir (fileutils) '4.1*)
2280dd519f38Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2281dd519f38Smrg	       break 3;;
2282dd519f38Smrg	   esac
2283dd519f38Smrg	 done
2284dd519f38Smrg       done
2285dd519f38Smrgdone
2286dd519f38SmrgIFS=$as_save_IFS
2287dd519f38Smrg
2288dd519f38Smrgfi
2289dd519f38Smrg
2290dd519f38Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
2291dd519f38Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
2292dd519f38Smrg  else
2293dd519f38Smrg    # As a last resort, use the slow shell script.  Don't cache a
2294dd519f38Smrg    # value for MKDIR_P within a source directory, because that will
2295dd519f38Smrg    # break other packages using the cache if that directory is
2296dd519f38Smrg    # removed, or if the value is a relative name.
2297dd519f38Smrg    test -d ./--version && rmdir ./--version
2298dd519f38Smrg    MKDIR_P="$ac_install_sh -d"
2299dd519f38Smrg  fi
2300dd519f38Smrgfi
2301dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2302dd519f38Smrg$as_echo "$MKDIR_P" >&6; }
2303dd519f38Smrg
2304dd519f38Smrgmkdir_p="$MKDIR_P"
2305dd519f38Smrgcase $mkdir_p in
2306dd519f38Smrg  [\\/$]* | ?:[\\/]*) ;;
2307dd519f38Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2308dd519f38Smrgesac
2309dd519f38Smrg
2310ed029a5fSmrgfor ac_prog in gawk mawk nawk awk
2311ed029a5fSmrgdo
2312ed029a5fSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2313ed029a5fSmrgset dummy $ac_prog; ac_word=$2
2314dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2315dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
2316ed029a5fSmrgif test "${ac_cv_prog_AWK+set}" = set; then
2317dd519f38Smrg  $as_echo_n "(cached) " >&6
2318ed029a5fSmrgelse
2319ed029a5fSmrg  if test -n "$AWK"; then
2320ed029a5fSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2321ed029a5fSmrgelse
2322ed029a5fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323ed029a5fSmrgfor as_dir in $PATH
2324ed029a5fSmrgdo
2325ed029a5fSmrg  IFS=$as_save_IFS
2326ed029a5fSmrg  test -z "$as_dir" && as_dir=.
2327ed029a5fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2328dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2329ed029a5fSmrg    ac_cv_prog_AWK="$ac_prog"
2330dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331ed029a5fSmrg    break 2
2332ed029a5fSmrg  fi
2333ed029a5fSmrgdone
2334ed029a5fSmrgdone
2335dd519f38SmrgIFS=$as_save_IFS
2336ed029a5fSmrg
2337ed029a5fSmrgfi
2338ed029a5fSmrgfi
2339ed029a5fSmrgAWK=$ac_cv_prog_AWK
2340ed029a5fSmrgif test -n "$AWK"; then
2341dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2342dd519f38Smrg$as_echo "$AWK" >&6; }
2343ed029a5fSmrgelse
2344dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2345dd519f38Smrg$as_echo "no" >&6; }
2346ed029a5fSmrgfi
2347ed029a5fSmrg
2348dd519f38Smrg
2349ed029a5fSmrg  test -n "$AWK" && break
2350ed029a5fSmrgdone
2351ed029a5fSmrg
2352dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2353dd519f38Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2354dd519f38Smrgset x ${MAKE-make}
2355dd519f38Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2356dd519f38Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2357dd519f38Smrg  $as_echo_n "(cached) " >&6
2358ed029a5fSmrgelse
2359ed029a5fSmrg  cat >conftest.make <<\_ACEOF
2360dd519f38SmrgSHELL = /bin/sh
2361ed029a5fSmrgall:
2362dd519f38Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2363ed029a5fSmrg_ACEOF
2364ed029a5fSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2365dd519f38Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2366dd519f38Smrg  *@@@%%%=?*=@@@%%%*)
2367dd519f38Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2368dd519f38Smrg  *)
2369dd519f38Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2370dd519f38Smrgesac
2371ed029a5fSmrgrm -f conftest.make
2372ed029a5fSmrgfi
2373dd519f38Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2374dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: yes" >&5
2375dd519f38Smrg$as_echo "yes" >&6; }
2376ed029a5fSmrg  SET_MAKE=
2377ed029a5fSmrgelse
2378dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2379dd519f38Smrg$as_echo "no" >&6; }
2380ed029a5fSmrg  SET_MAKE="MAKE=${MAKE-make}"
2381ed029a5fSmrgfi
2382ed029a5fSmrg
2383ed029a5fSmrgrm -rf .tst 2>/dev/null
2384ed029a5fSmrgmkdir .tst 2>/dev/null
2385ed029a5fSmrgif test -d .tst; then
2386ed029a5fSmrg  am__leading_dot=.
2387ed029a5fSmrgelse
2388ed029a5fSmrg  am__leading_dot=_
2389ed029a5fSmrgfi
2390ed029a5fSmrgrmdir .tst 2>/dev/null
2391ed029a5fSmrg
2392dd519f38Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2393dd519f38Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2394dd519f38Smrg  # is not polluted with repeated "-I."
2395dd519f38Smrg  am__isrc=' -I$(srcdir)'
2396dd519f38Smrg  # test to see if srcdir already configured
2397dd519f38Smrg  if test -f $srcdir/config.status; then
2398dd519f38Smrg    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2399dd519f38Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2400ed029a5fSmrg   { (exit 1); exit 1; }; }
2401dd519f38Smrg  fi
2402ed029a5fSmrgfi
2403ed029a5fSmrg
2404ed029a5fSmrg# test whether we have cygpath
2405ed029a5fSmrgif test -z "$CYGPATH_W"; then
2406ed029a5fSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2407ed029a5fSmrg    CYGPATH_W='cygpath -w'
2408ed029a5fSmrg  else
2409ed029a5fSmrg    CYGPATH_W=echo
2410ed029a5fSmrg  fi
2411ed029a5fSmrgfi
2412ed029a5fSmrg
2413ed029a5fSmrg
2414ed029a5fSmrg# Define the identity of the package.
2415ed029a5fSmrg PACKAGE='font-adobe-100dpi'
2416dd519f38Smrg VERSION='1.0.1'
2417ed029a5fSmrg
2418ed029a5fSmrg
2419ed029a5fSmrgcat >>confdefs.h <<_ACEOF
2420ed029a5fSmrg#define PACKAGE "$PACKAGE"
2421ed029a5fSmrg_ACEOF
2422ed029a5fSmrg
2423ed029a5fSmrg
2424ed029a5fSmrgcat >>confdefs.h <<_ACEOF
2425ed029a5fSmrg#define VERSION "$VERSION"
2426ed029a5fSmrg_ACEOF
2427ed029a5fSmrg
2428ed029a5fSmrg# Some tools Automake needs.
2429ed029a5fSmrg
2430ed029a5fSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2431ed029a5fSmrg
2432ed029a5fSmrg
2433ed029a5fSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2434ed029a5fSmrg
2435ed029a5fSmrg
2436ed029a5fSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2437ed029a5fSmrg
2438ed029a5fSmrg
2439ed029a5fSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2440ed029a5fSmrg
2441ed029a5fSmrg
2442ed029a5fSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2443ed029a5fSmrg
2444dd519f38Smrg# We need awk for the "check" target.  The system "awk" is bad on
2445dd519f38Smrg# some platforms.
2446dd519f38Smrg# Always define AMTAR for backward compatibility.
2447ed029a5fSmrg
2448ed029a5fSmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2449ed029a5fSmrg
2450dd519f38Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2451ed029a5fSmrg
2452dd519f38Smrg
2453dd519f38Smrg
2454dd519f38Smrg
2455dd519f38Smrg
2456dd519f38Smrg
2457dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2458dd519f38Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2459dd519f38Smrg    # Check whether --enable-maintainer-mode was given.
2460dd519f38Smrgif test "${enable_maintainer_mode+set}" = set; then
2461dd519f38Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2462ed029a5fSmrgelse
2463dd519f38Smrg  USE_MAINTAINER_MODE=no
2464dd519f38Smrgfi
2465dd519f38Smrg
2466dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2467dd519f38Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
2468dd519f38Smrg   if test $USE_MAINTAINER_MODE = yes; then
2469dd519f38Smrg  MAINTAINER_MODE_TRUE=
2470dd519f38Smrg  MAINTAINER_MODE_FALSE='#'
2471dd519f38Smrgelse
2472dd519f38Smrg  MAINTAINER_MODE_TRUE='#'
2473dd519f38Smrg  MAINTAINER_MODE_FALSE=
2474dd519f38Smrgfi
2475dd519f38Smrg
2476dd519f38Smrg  MAINT=$MAINTAINER_MODE_TRUE
2477dd519f38Smrg
2478dd519f38Smrg
2479dd519f38Smrg
2480dd519f38Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS
2481dd519f38Smrg
2482dd519f38Smrg
2483dd519f38Smrg
2484dd519f38Smrg
2485dd519f38Smrg
2486dd519f38Smrg
2487dd519f38Smrg
2488dd519f38Smrg
2489dd519f38Smrg
2490dd519f38Smrg
2491dd519f38Smrg
2492dd519f38SmrgDEPDIR="${am__leading_dot}deps"
2493dd519f38Smrg
2494dd519f38Smrgac_config_commands="$ac_config_commands depfiles"
2495dd519f38Smrg
2496dd519f38Smrg
2497dd519f38Smrgam_make=${MAKE-make}
2498dd519f38Smrgcat > confinc << 'END'
2499dd519f38Smrgam__doit:
2500dd519f38Smrg	@echo this is the am__doit target
2501dd519f38Smrg.PHONY: am__doit
2502dd519f38SmrgEND
2503dd519f38Smrg# If we don't find an include directive, just comment out the code.
2504dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2505dd519f38Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
2506dd519f38Smrgam__include="#"
2507dd519f38Smrgam__quote=
2508dd519f38Smrg_am_result=none
2509dd519f38Smrg# First try GNU make style include.
2510dd519f38Smrgecho "include confinc" > confmf
2511dd519f38Smrg# Ignore all kinds of additional output from `make'.
2512dd519f38Smrgcase `$am_make -s -f confmf 2> /dev/null` in #(
2513dd519f38Smrg*the\ am__doit\ target*)
2514dd519f38Smrg  am__include=include
2515dd519f38Smrg  am__quote=
2516dd519f38Smrg  _am_result=GNU
2517dd519f38Smrg  ;;
2518dd519f38Smrgesac
2519dd519f38Smrg# Now try BSD make style include.
2520dd519f38Smrgif test "$am__include" = "#"; then
2521dd519f38Smrg   echo '.include "confinc"' > confmf
2522dd519f38Smrg   case `$am_make -s -f confmf 2> /dev/null` in #(
2523dd519f38Smrg   *the\ am__doit\ target*)
2524dd519f38Smrg     am__include=.include
2525dd519f38Smrg     am__quote="\""
2526dd519f38Smrg     _am_result=BSD
2527dd519f38Smrg     ;;
2528dd519f38Smrg   esac
2529dd519f38Smrgfi
2530dd519f38Smrg
2531dd519f38Smrg
2532dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2533dd519f38Smrg$as_echo "$_am_result" >&6; }
2534dd519f38Smrgrm -f confinc confmf
2535dd519f38Smrg
2536dd519f38Smrg# Check whether --enable-dependency-tracking was given.
2537dd519f38Smrgif test "${enable_dependency_tracking+set}" = set; then
2538dd519f38Smrg  enableval=$enable_dependency_tracking;
2539dd519f38Smrgfi
2540dd519f38Smrg
2541dd519f38Smrgif test "x$enable_dependency_tracking" != xno; then
2542dd519f38Smrg  am_depcomp="$ac_aux_dir/depcomp"
2543dd519f38Smrg  AMDEPBACKSLASH='\'
2544dd519f38Smrgfi
2545dd519f38Smrg if test "x$enable_dependency_tracking" != xno; then
2546dd519f38Smrg  AMDEP_TRUE=
2547dd519f38Smrg  AMDEP_FALSE='#'
2548dd519f38Smrgelse
2549dd519f38Smrg  AMDEP_TRUE='#'
2550dd519f38Smrg  AMDEP_FALSE=
2551dd519f38Smrgfi
2552dd519f38Smrg
2553dd519f38Smrg
2554dd519f38Smrgac_ext=c
2555dd519f38Smrgac_cpp='$CPP $CPPFLAGS'
2556dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2559dd519f38Smrgif test -n "$ac_tool_prefix"; then
2560dd519f38Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2561dd519f38Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
2562dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2563dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
2564dd519f38Smrgif test "${ac_cv_prog_CC+set}" = set; then
2565dd519f38Smrg  $as_echo_n "(cached) " >&6
2566dd519f38Smrgelse
2567dd519f38Smrg  if test -n "$CC"; then
2568dd519f38Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2569ed029a5fSmrgelse
2570ed029a5fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571ed029a5fSmrgfor as_dir in $PATH
2572ed029a5fSmrgdo
2573ed029a5fSmrg  IFS=$as_save_IFS
2574ed029a5fSmrg  test -z "$as_dir" && as_dir=.
2575ed029a5fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2576dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577dd519f38Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2578dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579ed029a5fSmrg    break 2
2580ed029a5fSmrg  fi
2581ed029a5fSmrgdone
2582ed029a5fSmrgdone
2583dd519f38SmrgIFS=$as_save_IFS
2584ed029a5fSmrg
2585ed029a5fSmrgfi
2586ed029a5fSmrgfi
2587dd519f38SmrgCC=$ac_cv_prog_CC
2588dd519f38Smrgif test -n "$CC"; then
2589dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2590dd519f38Smrg$as_echo "$CC" >&6; }
2591ed029a5fSmrgelse
2592dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2593dd519f38Smrg$as_echo "no" >&6; }
2594ed029a5fSmrgfi
2595ed029a5fSmrg
2596dd519f38Smrg
2597ed029a5fSmrgfi
2598dd519f38Smrgif test -z "$ac_cv_prog_CC"; then
2599dd519f38Smrg  ac_ct_CC=$CC
2600dd519f38Smrg  # Extract the first word of "gcc", so it can be a program name with args.
2601dd519f38Smrgset dummy gcc; ac_word=$2
2602dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2603dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
2604dd519f38Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2605dd519f38Smrg  $as_echo_n "(cached) " >&6
2606ed029a5fSmrgelse
2607dd519f38Smrg  if test -n "$ac_ct_CC"; then
2608dd519f38Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2609ed029a5fSmrgelse
2610ed029a5fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611ed029a5fSmrgfor as_dir in $PATH
2612ed029a5fSmrgdo
2613ed029a5fSmrg  IFS=$as_save_IFS
2614ed029a5fSmrg  test -z "$as_dir" && as_dir=.
2615ed029a5fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2616dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617dd519f38Smrg    ac_cv_prog_ac_ct_CC="gcc"
2618dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2619ed029a5fSmrg    break 2
2620ed029a5fSmrg  fi
2621ed029a5fSmrgdone
2622ed029a5fSmrgdone
2623dd519f38SmrgIFS=$as_save_IFS
2624ed029a5fSmrg
2625ed029a5fSmrgfi
2626ed029a5fSmrgfi
2627dd519f38Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2628dd519f38Smrgif test -n "$ac_ct_CC"; then
2629dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2630dd519f38Smrg$as_echo "$ac_ct_CC" >&6; }
2631ed029a5fSmrgelse
2632dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2633dd519f38Smrg$as_echo "no" >&6; }
2634ed029a5fSmrgfi
2635ed029a5fSmrg
2636dd519f38Smrg  if test "x$ac_ct_CC" = x; then
2637dd519f38Smrg    CC=""
2638dd519f38Smrg  else
2639dd519f38Smrg    case $cross_compiling:$ac_tool_warned in
2640dd519f38Smrgyes:)
2641dd519f38Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2642dd519f38Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2643dd519f38Smrgac_tool_warned=yes ;;
2644dd519f38Smrgesac
2645dd519f38Smrg    CC=$ac_ct_CC
2646dd519f38Smrg  fi
2647ed029a5fSmrgelse
2648dd519f38Smrg  CC="$ac_cv_prog_CC"
2649ed029a5fSmrgfi
2650ed029a5fSmrg
2651dd519f38Smrgif test -z "$CC"; then
2652dd519f38Smrg          if test -n "$ac_tool_prefix"; then
2653dd519f38Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2654dd519f38Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
2655dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2656dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
2657dd519f38Smrgif test "${ac_cv_prog_CC+set}" = set; then
2658dd519f38Smrg  $as_echo_n "(cached) " >&6
2659ed029a5fSmrgelse
2660dd519f38Smrg  if test -n "$CC"; then
2661dd519f38Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2662dd519f38Smrgelse
2663dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664dd519f38Smrgfor as_dir in $PATH
2665dd519f38Smrgdo
2666dd519f38Smrg  IFS=$as_save_IFS
2667dd519f38Smrg  test -z "$as_dir" && as_dir=.
2668dd519f38Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2669dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670dd519f38Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
2671dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672dd519f38Smrg    break 2
2673dd519f38Smrg  fi
2674dd519f38Smrgdone
2675dd519f38Smrgdone
2676dd519f38SmrgIFS=$as_save_IFS
2677dd519f38Smrg
2678dd519f38Smrgfi
2679dd519f38Smrgfi
2680dd519f38SmrgCC=$ac_cv_prog_CC
2681dd519f38Smrgif test -n "$CC"; then
2682dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2683dd519f38Smrg$as_echo "$CC" >&6; }
2684dd519f38Smrgelse
2685dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2686dd519f38Smrg$as_echo "no" >&6; }
2687dd519f38Smrgfi
2688dd519f38Smrg
2689dd519f38Smrg
2690dd519f38Smrg  fi
2691dd519f38Smrgfi
2692dd519f38Smrgif test -z "$CC"; then
2693dd519f38Smrg  # Extract the first word of "cc", so it can be a program name with args.
2694dd519f38Smrgset dummy cc; ac_word=$2
2695dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2696dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
2697dd519f38Smrgif test "${ac_cv_prog_CC+set}" = set; then
2698dd519f38Smrg  $as_echo_n "(cached) " >&6
2699dd519f38Smrgelse
2700dd519f38Smrg  if test -n "$CC"; then
2701dd519f38Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2702dd519f38Smrgelse
2703dd519f38Smrg  ac_prog_rejected=no
2704dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705dd519f38Smrgfor as_dir in $PATH
2706dd519f38Smrgdo
2707dd519f38Smrg  IFS=$as_save_IFS
2708dd519f38Smrg  test -z "$as_dir" && as_dir=.
2709dd519f38Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2710dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711dd519f38Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2712dd519f38Smrg       ac_prog_rejected=yes
2713dd519f38Smrg       continue
2714dd519f38Smrg     fi
2715dd519f38Smrg    ac_cv_prog_CC="cc"
2716dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2717dd519f38Smrg    break 2
2718dd519f38Smrg  fi
2719dd519f38Smrgdone
2720dd519f38Smrgdone
2721dd519f38SmrgIFS=$as_save_IFS
2722dd519f38Smrg
2723dd519f38Smrgif test $ac_prog_rejected = yes; then
2724dd519f38Smrg  # We found a bogon in the path, so make sure we never use it.
2725dd519f38Smrg  set dummy $ac_cv_prog_CC
2726dd519f38Smrg  shift
2727dd519f38Smrg  if test $# != 0; then
2728dd519f38Smrg    # We chose a different compiler from the bogus one.
2729dd519f38Smrg    # However, it has the same basename, so the bogon will be chosen
2730dd519f38Smrg    # first if we set CC to just the basename; use the full file name.
2731dd519f38Smrg    shift
2732dd519f38Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2733dd519f38Smrg  fi
2734dd519f38Smrgfi
2735dd519f38Smrgfi
2736dd519f38Smrgfi
2737dd519f38SmrgCC=$ac_cv_prog_CC
2738dd519f38Smrgif test -n "$CC"; then
2739dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2740dd519f38Smrg$as_echo "$CC" >&6; }
2741dd519f38Smrgelse
2742dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2743dd519f38Smrg$as_echo "no" >&6; }
2744dd519f38Smrgfi
2745dd519f38Smrg
2746dd519f38Smrg
2747dd519f38Smrgfi
2748dd519f38Smrgif test -z "$CC"; then
2749dd519f38Smrg  if test -n "$ac_tool_prefix"; then
2750dd519f38Smrg  for ac_prog in cl.exe
2751dd519f38Smrg  do
2752dd519f38Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2753dd519f38Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
2754dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2755dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
2756dd519f38Smrgif test "${ac_cv_prog_CC+set}" = set; then
2757dd519f38Smrg  $as_echo_n "(cached) " >&6
2758dd519f38Smrgelse
2759dd519f38Smrg  if test -n "$CC"; then
2760dd519f38Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2761dd519f38Smrgelse
2762dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763dd519f38Smrgfor as_dir in $PATH
2764dd519f38Smrgdo
2765dd519f38Smrg  IFS=$as_save_IFS
2766dd519f38Smrg  test -z "$as_dir" && as_dir=.
2767dd519f38Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2768dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2769dd519f38Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2770dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2771dd519f38Smrg    break 2
2772dd519f38Smrg  fi
2773dd519f38Smrgdone
2774dd519f38Smrgdone
2775dd519f38SmrgIFS=$as_save_IFS
2776dd519f38Smrg
2777dd519f38Smrgfi
2778dd519f38Smrgfi
2779dd519f38SmrgCC=$ac_cv_prog_CC
2780dd519f38Smrgif test -n "$CC"; then
2781dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2782dd519f38Smrg$as_echo "$CC" >&6; }
2783dd519f38Smrgelse
2784dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2785dd519f38Smrg$as_echo "no" >&6; }
2786dd519f38Smrgfi
2787dd519f38Smrg
2788dd519f38Smrg
2789dd519f38Smrg    test -n "$CC" && break
2790dd519f38Smrg  done
2791dd519f38Smrgfi
2792dd519f38Smrgif test -z "$CC"; then
2793dd519f38Smrg  ac_ct_CC=$CC
2794dd519f38Smrg  for ac_prog in cl.exe
2795dd519f38Smrgdo
2796dd519f38Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2797dd519f38Smrgset dummy $ac_prog; ac_word=$2
2798dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2799dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
2800dd519f38Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2801dd519f38Smrg  $as_echo_n "(cached) " >&6
2802dd519f38Smrgelse
2803dd519f38Smrg  if test -n "$ac_ct_CC"; then
2804dd519f38Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2805dd519f38Smrgelse
2806dd519f38Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807dd519f38Smrgfor as_dir in $PATH
2808dd519f38Smrgdo
2809dd519f38Smrg  IFS=$as_save_IFS
2810dd519f38Smrg  test -z "$as_dir" && as_dir=.
2811dd519f38Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2812dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2813dd519f38Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
2814dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2815dd519f38Smrg    break 2
2816dd519f38Smrg  fi
2817dd519f38Smrgdone
2818dd519f38Smrgdone
2819dd519f38SmrgIFS=$as_save_IFS
2820dd519f38Smrg
2821dd519f38Smrgfi
2822dd519f38Smrgfi
2823dd519f38Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2824dd519f38Smrgif test -n "$ac_ct_CC"; then
2825dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2826dd519f38Smrg$as_echo "$ac_ct_CC" >&6; }
2827dd519f38Smrgelse
2828dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2829dd519f38Smrg$as_echo "no" >&6; }
2830dd519f38Smrgfi
2831dd519f38Smrg
2832dd519f38Smrg
2833dd519f38Smrg  test -n "$ac_ct_CC" && break
2834dd519f38Smrgdone
2835dd519f38Smrg
2836dd519f38Smrg  if test "x$ac_ct_CC" = x; then
2837dd519f38Smrg    CC=""
2838dd519f38Smrg  else
2839dd519f38Smrg    case $cross_compiling:$ac_tool_warned in
2840dd519f38Smrgyes:)
2841dd519f38Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2842dd519f38Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2843dd519f38Smrgac_tool_warned=yes ;;
2844dd519f38Smrgesac
2845dd519f38Smrg    CC=$ac_ct_CC
2846dd519f38Smrg  fi
2847dd519f38Smrgfi
2848dd519f38Smrg
2849dd519f38Smrgfi
2850dd519f38Smrg
2851dd519f38Smrg
2852dd519f38Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2853dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2854dd519f38Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2855dd519f38SmrgSee \`config.log' for more details." >&5
2856dd519f38Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2857dd519f38SmrgSee \`config.log' for more details." >&2;}
2858dd519f38Smrg   { (exit 1); exit 1; }; }; }
2859dd519f38Smrg
2860dd519f38Smrg# Provide some information about the compiler.
2861dd519f38Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2862dd519f38Smrgset X $ac_compile
2863dd519f38Smrgac_compiler=$2
2864dd519f38Smrg{ (ac_try="$ac_compiler --version >&5"
2865dd519f38Smrgcase "(($ac_try" in
2866dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867dd519f38Smrg  *) ac_try_echo=$ac_try;;
2868dd519f38Smrgesac
2869dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2870dd519f38Smrg$as_echo "$ac_try_echo") >&5
2871dd519f38Smrg  (eval "$ac_compiler --version >&5") 2>&5
2872dd519f38Smrg  ac_status=$?
2873dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874dd519f38Smrg  (exit $ac_status); }
2875dd519f38Smrg{ (ac_try="$ac_compiler -v >&5"
2876dd519f38Smrgcase "(($ac_try" in
2877dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878dd519f38Smrg  *) ac_try_echo=$ac_try;;
2879dd519f38Smrgesac
2880dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2881dd519f38Smrg$as_echo "$ac_try_echo") >&5
2882dd519f38Smrg  (eval "$ac_compiler -v >&5") 2>&5
2883dd519f38Smrg  ac_status=$?
2884dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885dd519f38Smrg  (exit $ac_status); }
2886dd519f38Smrg{ (ac_try="$ac_compiler -V >&5"
2887dd519f38Smrgcase "(($ac_try" in
2888dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889dd519f38Smrg  *) ac_try_echo=$ac_try;;
2890dd519f38Smrgesac
2891dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2892dd519f38Smrg$as_echo "$ac_try_echo") >&5
2893dd519f38Smrg  (eval "$ac_compiler -V >&5") 2>&5
2894dd519f38Smrg  ac_status=$?
2895dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896dd519f38Smrg  (exit $ac_status); }
2897dd519f38Smrg
2898dd519f38Smrgcat >conftest.$ac_ext <<_ACEOF
2899dd519f38Smrg/* confdefs.h.  */
2900dd519f38Smrg_ACEOF
2901dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
2902dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
2903dd519f38Smrg/* end confdefs.h.  */
2904dd519f38Smrg
2905dd519f38Smrgint
2906dd519f38Smrgmain ()
2907dd519f38Smrg{
2908dd519f38Smrg
2909dd519f38Smrg  ;
2910dd519f38Smrg  return 0;
2911dd519f38Smrg}
2912dd519f38Smrg_ACEOF
2913dd519f38Smrgac_clean_files_save=$ac_clean_files
2914dd519f38Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2915dd519f38Smrg# Try to create an executable without -o first, disregard a.out.
2916dd519f38Smrg# It will help us diagnose broken compilers, and finding out an intuition
2917dd519f38Smrg# of exeext.
2918dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2919dd519f38Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
2920dd519f38Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2921dd519f38Smrg
2922dd519f38Smrg# The possible output files:
2923dd519f38Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2924dd519f38Smrg
2925dd519f38Smrgac_rmfiles=
2926dd519f38Smrgfor ac_file in $ac_files
2927dd519f38Smrgdo
2928dd519f38Smrg  case $ac_file in
2929dd519f38Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2930dd519f38Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2931dd519f38Smrg  esac
2932dd519f38Smrgdone
2933dd519f38Smrgrm -f $ac_rmfiles
2934dd519f38Smrg
2935dd519f38Smrgif { (ac_try="$ac_link_default"
2936dd519f38Smrgcase "(($ac_try" in
2937dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938dd519f38Smrg  *) ac_try_echo=$ac_try;;
2939dd519f38Smrgesac
2940dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2941dd519f38Smrg$as_echo "$ac_try_echo") >&5
2942dd519f38Smrg  (eval "$ac_link_default") 2>&5
2943dd519f38Smrg  ac_status=$?
2944dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945dd519f38Smrg  (exit $ac_status); }; then
2946dd519f38Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2947dd519f38Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2948dd519f38Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2949dd519f38Smrg# so that the user can short-circuit this test for compilers unknown to
2950dd519f38Smrg# Autoconf.
2951dd519f38Smrgfor ac_file in $ac_files ''
2952dd519f38Smrgdo
2953dd519f38Smrg  test -f "$ac_file" || continue
2954dd519f38Smrg  case $ac_file in
2955dd519f38Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2956dd519f38Smrg	;;
2957dd519f38Smrg    [ab].out )
2958dd519f38Smrg	# We found the default executable, but exeext='' is most
2959dd519f38Smrg	# certainly right.
2960dd519f38Smrg	break;;
2961dd519f38Smrg    *.* )
2962dd519f38Smrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2963dd519f38Smrg	then :; else
2964dd519f38Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2965dd519f38Smrg	fi
2966dd519f38Smrg	# We set ac_cv_exeext here because the later test for it is not
2967dd519f38Smrg	# safe: cross compilers may not add the suffix if given an `-o'
2968dd519f38Smrg	# argument, so we may need to know it at that point already.
2969dd519f38Smrg	# Even if this section looks crufty: it has the advantage of
2970dd519f38Smrg	# actually working.
2971dd519f38Smrg	break;;
2972dd519f38Smrg    * )
2973dd519f38Smrg	break;;
2974dd519f38Smrg  esac
2975dd519f38Smrgdone
2976dd519f38Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
2977dd519f38Smrg
2978dd519f38Smrgelse
2979dd519f38Smrg  ac_file=''
2980dd519f38Smrgfi
2981dd519f38Smrg
2982dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2983dd519f38Smrg$as_echo "$ac_file" >&6; }
2984dd519f38Smrgif test -z "$ac_file"; then
2985dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
2986dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
2987dd519f38Smrg
2988dd519f38Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2989dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990dd519f38Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2991dd519f38SmrgSee \`config.log' for more details." >&5
2992dd519f38Smrg$as_echo "$as_me: error: C compiler cannot create executables
2993dd519f38SmrgSee \`config.log' for more details." >&2;}
2994dd519f38Smrg   { (exit 77); exit 77; }; }; }
2995dd519f38Smrgfi
2996dd519f38Smrg
2997dd519f38Smrgac_exeext=$ac_cv_exeext
2998dd519f38Smrg
2999dd519f38Smrg# Check that the compiler produces executables we can run.  If not, either
3000dd519f38Smrg# the compiler is broken, or we cross compile.
3001dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3002dd519f38Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
3003dd519f38Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3004dd519f38Smrg# If not cross compiling, check that we can run a simple program.
3005dd519f38Smrgif test "$cross_compiling" != yes; then
3006dd519f38Smrg  if { ac_try='./$ac_file'
3007dd519f38Smrg  { (case "(($ac_try" in
3008dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009dd519f38Smrg  *) ac_try_echo=$ac_try;;
3010dd519f38Smrgesac
3011dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3012dd519f38Smrg$as_echo "$ac_try_echo") >&5
3013dd519f38Smrg  (eval "$ac_try") 2>&5
3014dd519f38Smrg  ac_status=$?
3015dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016dd519f38Smrg  (exit $ac_status); }; }; then
3017dd519f38Smrg    cross_compiling=no
3018dd519f38Smrg  else
3019dd519f38Smrg    if test "$cross_compiling" = maybe; then
3020dd519f38Smrg	cross_compiling=yes
3021dd519f38Smrg    else
3022dd519f38Smrg	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3023dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024dd519f38Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3025dd519f38SmrgIf you meant to cross compile, use \`--host'.
3026dd519f38SmrgSee \`config.log' for more details." >&5
3027dd519f38Smrg$as_echo "$as_me: error: cannot run C compiled programs.
3028dd519f38SmrgIf you meant to cross compile, use \`--host'.
3029dd519f38SmrgSee \`config.log' for more details." >&2;}
3030dd519f38Smrg   { (exit 1); exit 1; }; }; }
3031dd519f38Smrg    fi
3032dd519f38Smrg  fi
3033dd519f38Smrgfi
3034dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
3035dd519f38Smrg$as_echo "yes" >&6; }
3036dd519f38Smrg
3037dd519f38Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3038dd519f38Smrgac_clean_files=$ac_clean_files_save
3039dd519f38Smrg# Check that the compiler produces executables we can run.  If not, either
3040dd519f38Smrg# the compiler is broken, or we cross compile.
3041dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3042dd519f38Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
3043dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3044dd519f38Smrg$as_echo "$cross_compiling" >&6; }
3045dd519f38Smrg
3046dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3047dd519f38Smrg$as_echo_n "checking for suffix of executables... " >&6; }
3048dd519f38Smrgif { (ac_try="$ac_link"
3049dd519f38Smrgcase "(($ac_try" in
3050dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051dd519f38Smrg  *) ac_try_echo=$ac_try;;
3052dd519f38Smrgesac
3053dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3054dd519f38Smrg$as_echo "$ac_try_echo") >&5
3055dd519f38Smrg  (eval "$ac_link") 2>&5
3056dd519f38Smrg  ac_status=$?
3057dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058dd519f38Smrg  (exit $ac_status); }; then
3059dd519f38Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3060dd519f38Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3061dd519f38Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
3062dd519f38Smrg# `rm'.
3063dd519f38Smrgfor ac_file in conftest.exe conftest conftest.*; do
3064dd519f38Smrg  test -f "$ac_file" || continue
3065dd519f38Smrg  case $ac_file in
3066dd519f38Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3067dd519f38Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3068dd519f38Smrg	  break;;
3069dd519f38Smrg    * ) break;;
3070dd519f38Smrg  esac
3071dd519f38Smrgdone
3072dd519f38Smrgelse
3073dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3074dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075dd519f38Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3076dd519f38SmrgSee \`config.log' for more details." >&5
3077dd519f38Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3078dd519f38SmrgSee \`config.log' for more details." >&2;}
3079dd519f38Smrg   { (exit 1); exit 1; }; }; }
3080dd519f38Smrgfi
3081dd519f38Smrg
3082dd519f38Smrgrm -f conftest$ac_cv_exeext
3083dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3084dd519f38Smrg$as_echo "$ac_cv_exeext" >&6; }
3085dd519f38Smrg
3086dd519f38Smrgrm -f conftest.$ac_ext
3087dd519f38SmrgEXEEXT=$ac_cv_exeext
3088dd519f38Smrgac_exeext=$EXEEXT
3089dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3090dd519f38Smrg$as_echo_n "checking for suffix of object files... " >&6; }
3091dd519f38Smrgif test "${ac_cv_objext+set}" = set; then
3092dd519f38Smrg  $as_echo_n "(cached) " >&6
3093dd519f38Smrgelse
3094dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
3095dd519f38Smrg/* confdefs.h.  */
3096dd519f38Smrg_ACEOF
3097dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3098dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3099dd519f38Smrg/* end confdefs.h.  */
3100dd519f38Smrg
3101dd519f38Smrgint
3102dd519f38Smrgmain ()
3103dd519f38Smrg{
3104dd519f38Smrg
3105dd519f38Smrg  ;
3106dd519f38Smrg  return 0;
3107dd519f38Smrg}
3108dd519f38Smrg_ACEOF
3109dd519f38Smrgrm -f conftest.o conftest.obj
3110dd519f38Smrgif { (ac_try="$ac_compile"
3111dd519f38Smrgcase "(($ac_try" in
3112dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113dd519f38Smrg  *) ac_try_echo=$ac_try;;
3114dd519f38Smrgesac
3115dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3116dd519f38Smrg$as_echo "$ac_try_echo") >&5
3117dd519f38Smrg  (eval "$ac_compile") 2>&5
3118dd519f38Smrg  ac_status=$?
3119dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120dd519f38Smrg  (exit $ac_status); }; then
3121dd519f38Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
3122dd519f38Smrg  test -f "$ac_file" || continue;
3123dd519f38Smrg  case $ac_file in
3124dd519f38Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3125dd519f38Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3126dd519f38Smrg       break;;
3127dd519f38Smrg  esac
3128dd519f38Smrgdone
3129dd519f38Smrgelse
3130dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3131dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3132dd519f38Smrg
3133dd519f38Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3134dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3135dd519f38Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3136dd519f38SmrgSee \`config.log' for more details." >&5
3137dd519f38Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3138dd519f38SmrgSee \`config.log' for more details." >&2;}
3139dd519f38Smrg   { (exit 1); exit 1; }; }; }
3140dd519f38Smrgfi
3141dd519f38Smrg
3142dd519f38Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
3143dd519f38Smrgfi
3144dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3145dd519f38Smrg$as_echo "$ac_cv_objext" >&6; }
3146dd519f38SmrgOBJEXT=$ac_cv_objext
3147dd519f38Smrgac_objext=$OBJEXT
3148dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3149dd519f38Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3150dd519f38Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
3151dd519f38Smrg  $as_echo_n "(cached) " >&6
3152dd519f38Smrgelse
3153dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
3154dd519f38Smrg/* confdefs.h.  */
3155dd519f38Smrg_ACEOF
3156dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3157dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3158dd519f38Smrg/* end confdefs.h.  */
3159dd519f38Smrg
3160dd519f38Smrgint
3161dd519f38Smrgmain ()
3162dd519f38Smrg{
3163dd519f38Smrg#ifndef __GNUC__
3164dd519f38Smrg       choke me
3165dd519f38Smrg#endif
3166dd519f38Smrg
3167dd519f38Smrg  ;
3168dd519f38Smrg  return 0;
3169dd519f38Smrg}
3170dd519f38Smrg_ACEOF
3171dd519f38Smrgrm -f conftest.$ac_objext
3172dd519f38Smrgif { (ac_try="$ac_compile"
3173dd519f38Smrgcase "(($ac_try" in
3174dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175dd519f38Smrg  *) ac_try_echo=$ac_try;;
3176dd519f38Smrgesac
3177dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3178dd519f38Smrg$as_echo "$ac_try_echo") >&5
3179dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
3180dd519f38Smrg  ac_status=$?
3181dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3182dd519f38Smrg  rm -f conftest.er1
3183dd519f38Smrg  cat conftest.err >&5
3184dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185dd519f38Smrg  (exit $ac_status); } && {
3186dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
3187dd519f38Smrg	 test ! -s conftest.err
3188dd519f38Smrg       } && test -s conftest.$ac_objext; then
3189dd519f38Smrg  ac_compiler_gnu=yes
3190dd519f38Smrgelse
3191dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3192dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3193dd519f38Smrg
3194dd519f38Smrg	ac_compiler_gnu=no
3195dd519f38Smrgfi
3196dd519f38Smrg
3197dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3198dd519f38Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
3199dd519f38Smrg
3200dd519f38Smrgfi
3201dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3202dd519f38Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3203dd519f38Smrgif test $ac_compiler_gnu = yes; then
3204dd519f38Smrg  GCC=yes
3205dd519f38Smrgelse
3206dd519f38Smrg  GCC=
3207dd519f38Smrgfi
3208dd519f38Smrgac_test_CFLAGS=${CFLAGS+set}
3209dd519f38Smrgac_save_CFLAGS=$CFLAGS
3210dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3211dd519f38Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
3212dd519f38Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
3213dd519f38Smrg  $as_echo_n "(cached) " >&6
3214dd519f38Smrgelse
3215dd519f38Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
3216dd519f38Smrg   ac_c_werror_flag=yes
3217dd519f38Smrg   ac_cv_prog_cc_g=no
3218dd519f38Smrg   CFLAGS="-g"
3219dd519f38Smrg   cat >conftest.$ac_ext <<_ACEOF
3220dd519f38Smrg/* confdefs.h.  */
3221dd519f38Smrg_ACEOF
3222dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3223dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3224dd519f38Smrg/* end confdefs.h.  */
3225dd519f38Smrg
3226dd519f38Smrgint
3227dd519f38Smrgmain ()
3228dd519f38Smrg{
3229dd519f38Smrg
3230dd519f38Smrg  ;
3231dd519f38Smrg  return 0;
3232dd519f38Smrg}
3233dd519f38Smrg_ACEOF
3234dd519f38Smrgrm -f conftest.$ac_objext
3235dd519f38Smrgif { (ac_try="$ac_compile"
3236dd519f38Smrgcase "(($ac_try" in
3237dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238dd519f38Smrg  *) ac_try_echo=$ac_try;;
3239dd519f38Smrgesac
3240dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3241dd519f38Smrg$as_echo "$ac_try_echo") >&5
3242dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
3243dd519f38Smrg  ac_status=$?
3244dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3245dd519f38Smrg  rm -f conftest.er1
3246dd519f38Smrg  cat conftest.err >&5
3247dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248dd519f38Smrg  (exit $ac_status); } && {
3249dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
3250dd519f38Smrg	 test ! -s conftest.err
3251dd519f38Smrg       } && test -s conftest.$ac_objext; then
3252dd519f38Smrg  ac_cv_prog_cc_g=yes
3253dd519f38Smrgelse
3254dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3255dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3256dd519f38Smrg
3257dd519f38Smrg	CFLAGS=""
3258dd519f38Smrg      cat >conftest.$ac_ext <<_ACEOF
3259dd519f38Smrg/* confdefs.h.  */
3260dd519f38Smrg_ACEOF
3261dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3262dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3263dd519f38Smrg/* end confdefs.h.  */
3264dd519f38Smrg
3265dd519f38Smrgint
3266dd519f38Smrgmain ()
3267dd519f38Smrg{
3268dd519f38Smrg
3269dd519f38Smrg  ;
3270dd519f38Smrg  return 0;
3271dd519f38Smrg}
3272dd519f38Smrg_ACEOF
3273dd519f38Smrgrm -f conftest.$ac_objext
3274dd519f38Smrgif { (ac_try="$ac_compile"
3275dd519f38Smrgcase "(($ac_try" in
3276dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277dd519f38Smrg  *) ac_try_echo=$ac_try;;
3278dd519f38Smrgesac
3279dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3280dd519f38Smrg$as_echo "$ac_try_echo") >&5
3281dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
3282dd519f38Smrg  ac_status=$?
3283dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3284dd519f38Smrg  rm -f conftest.er1
3285dd519f38Smrg  cat conftest.err >&5
3286dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287dd519f38Smrg  (exit $ac_status); } && {
3288dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
3289dd519f38Smrg	 test ! -s conftest.err
3290dd519f38Smrg       } && test -s conftest.$ac_objext; then
3291dd519f38Smrg  :
3292dd519f38Smrgelse
3293dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3294dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3295dd519f38Smrg
3296dd519f38Smrg	ac_c_werror_flag=$ac_save_c_werror_flag
3297dd519f38Smrg	 CFLAGS="-g"
3298dd519f38Smrg	 cat >conftest.$ac_ext <<_ACEOF
3299dd519f38Smrg/* confdefs.h.  */
3300dd519f38Smrg_ACEOF
3301dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3302dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3303dd519f38Smrg/* end confdefs.h.  */
3304dd519f38Smrg
3305dd519f38Smrgint
3306dd519f38Smrgmain ()
3307dd519f38Smrg{
3308dd519f38Smrg
3309dd519f38Smrg  ;
3310dd519f38Smrg  return 0;
3311dd519f38Smrg}
3312dd519f38Smrg_ACEOF
3313dd519f38Smrgrm -f conftest.$ac_objext
3314dd519f38Smrgif { (ac_try="$ac_compile"
3315dd519f38Smrgcase "(($ac_try" in
3316dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317dd519f38Smrg  *) ac_try_echo=$ac_try;;
3318dd519f38Smrgesac
3319dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3320dd519f38Smrg$as_echo "$ac_try_echo") >&5
3321dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
3322dd519f38Smrg  ac_status=$?
3323dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3324dd519f38Smrg  rm -f conftest.er1
3325dd519f38Smrg  cat conftest.err >&5
3326dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327dd519f38Smrg  (exit $ac_status); } && {
3328dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
3329dd519f38Smrg	 test ! -s conftest.err
3330dd519f38Smrg       } && test -s conftest.$ac_objext; then
3331dd519f38Smrg  ac_cv_prog_cc_g=yes
3332dd519f38Smrgelse
3333dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3334dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3335dd519f38Smrg
3336dd519f38Smrg
3337dd519f38Smrgfi
3338dd519f38Smrg
3339dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3340dd519f38Smrgfi
3341dd519f38Smrg
3342dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343dd519f38Smrgfi
3344dd519f38Smrg
3345dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346dd519f38Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
3347dd519f38Smrgfi
3348dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3349dd519f38Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
3350dd519f38Smrgif test "$ac_test_CFLAGS" = set; then
3351dd519f38Smrg  CFLAGS=$ac_save_CFLAGS
3352dd519f38Smrgelif test $ac_cv_prog_cc_g = yes; then
3353dd519f38Smrg  if test "$GCC" = yes; then
3354dd519f38Smrg    CFLAGS="-g -O2"
3355dd519f38Smrg  else
3356dd519f38Smrg    CFLAGS="-g"
3357dd519f38Smrg  fi
3358dd519f38Smrgelse
3359dd519f38Smrg  if test "$GCC" = yes; then
3360dd519f38Smrg    CFLAGS="-O2"
3361dd519f38Smrg  else
3362dd519f38Smrg    CFLAGS=
3363dd519f38Smrg  fi
3364dd519f38Smrgfi
3365dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3366dd519f38Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3367dd519f38Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then
3368dd519f38Smrg  $as_echo_n "(cached) " >&6
3369dd519f38Smrgelse
3370dd519f38Smrg  ac_cv_prog_cc_c89=no
3371dd519f38Smrgac_save_CC=$CC
3372dd519f38Smrgcat >conftest.$ac_ext <<_ACEOF
3373dd519f38Smrg/* confdefs.h.  */
3374dd519f38Smrg_ACEOF
3375dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3376dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3377dd519f38Smrg/* end confdefs.h.  */
3378dd519f38Smrg#include <stdarg.h>
3379dd519f38Smrg#include <stdio.h>
3380dd519f38Smrg#include <sys/types.h>
3381dd519f38Smrg#include <sys/stat.h>
3382dd519f38Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3383dd519f38Smrgstruct buf { int x; };
3384dd519f38SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
3385dd519f38Smrgstatic char *e (p, i)
3386dd519f38Smrg     char **p;
3387dd519f38Smrg     int i;
3388dd519f38Smrg{
3389dd519f38Smrg  return p[i];
3390dd519f38Smrg}
3391dd519f38Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
3392dd519f38Smrg{
3393dd519f38Smrg  char *s;
3394dd519f38Smrg  va_list v;
3395dd519f38Smrg  va_start (v,p);
3396dd519f38Smrg  s = g (p, va_arg (v,int));
3397dd519f38Smrg  va_end (v);
3398dd519f38Smrg  return s;
3399dd519f38Smrg}
3400dd519f38Smrg
3401dd519f38Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3402dd519f38Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
3403dd519f38Smrg   These don't provoke an error unfortunately, instead are silently treated
3404dd519f38Smrg   as 'x'.  The following induces an error, until -std is added to get
3405dd519f38Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3406dd519f38Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
3407dd519f38Smrg   that's true only with -std.  */
3408dd519f38Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
3409dd519f38Smrg
3410dd519f38Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3411dd519f38Smrg   inside strings and character constants.  */
3412dd519f38Smrg#define FOO(x) 'x'
3413dd519f38Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3414dd519f38Smrg
3415dd519f38Smrgint test (int i, double x);
3416dd519f38Smrgstruct s1 {int (*f) (int a);};
3417dd519f38Smrgstruct s2 {int (*f) (double a);};
3418dd519f38Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3419dd519f38Smrgint argc;
3420dd519f38Smrgchar **argv;
3421dd519f38Smrgint
3422dd519f38Smrgmain ()
3423dd519f38Smrg{
3424dd519f38Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3425dd519f38Smrg  ;
3426dd519f38Smrg  return 0;
3427dd519f38Smrg}
3428dd519f38Smrg_ACEOF
3429dd519f38Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3430dd519f38Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3431dd519f38Smrgdo
3432dd519f38Smrg  CC="$ac_save_CC $ac_arg"
3433dd519f38Smrg  rm -f conftest.$ac_objext
3434dd519f38Smrgif { (ac_try="$ac_compile"
3435dd519f38Smrgcase "(($ac_try" in
3436dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437dd519f38Smrg  *) ac_try_echo=$ac_try;;
3438dd519f38Smrgesac
3439dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3440dd519f38Smrg$as_echo "$ac_try_echo") >&5
3441dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
3442dd519f38Smrg  ac_status=$?
3443dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3444dd519f38Smrg  rm -f conftest.er1
3445dd519f38Smrg  cat conftest.err >&5
3446dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447dd519f38Smrg  (exit $ac_status); } && {
3448dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
3449dd519f38Smrg	 test ! -s conftest.err
3450dd519f38Smrg       } && test -s conftest.$ac_objext; then
3451dd519f38Smrg  ac_cv_prog_cc_c89=$ac_arg
3452dd519f38Smrgelse
3453dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3454dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3455dd519f38Smrg
3456dd519f38Smrg
3457dd519f38Smrgfi
3458dd519f38Smrg
3459dd519f38Smrgrm -f core conftest.err conftest.$ac_objext
3460dd519f38Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
3461dd519f38Smrgdone
3462dd519f38Smrgrm -f conftest.$ac_ext
3463dd519f38SmrgCC=$ac_save_CC
3464dd519f38Smrg
3465dd519f38Smrgfi
3466dd519f38Smrg# AC_CACHE_VAL
3467dd519f38Smrgcase "x$ac_cv_prog_cc_c89" in
3468dd519f38Smrg  x)
3469dd519f38Smrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3470dd519f38Smrg$as_echo "none needed" >&6; } ;;
3471dd519f38Smrg  xno)
3472dd519f38Smrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3473dd519f38Smrg$as_echo "unsupported" >&6; } ;;
3474dd519f38Smrg  *)
3475dd519f38Smrg    CC="$CC $ac_cv_prog_cc_c89"
3476dd519f38Smrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3477dd519f38Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3478dd519f38Smrgesac
3479dd519f38Smrg
3480dd519f38Smrg
3481dd519f38Smrgac_ext=c
3482dd519f38Smrgac_cpp='$CPP $CPPFLAGS'
3483dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3486dd519f38Smrg
3487dd519f38Smrgdepcc="$CC"   am_compiler_list=
3488dd519f38Smrg
3489dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3490dd519f38Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
3491dd519f38Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3492dd519f38Smrg  $as_echo_n "(cached) " >&6
3493dd519f38Smrgelse
3494dd519f38Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3495dd519f38Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
3496dd519f38Smrg  # making bogus files that we don't know about and never remove.  For
3497dd519f38Smrg  # instance it was reported that on HP-UX the gcc test will end up
3498dd519f38Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
3499dd519f38Smrg  # in D'.
3500dd519f38Smrg  mkdir conftest.dir
3501dd519f38Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
3502dd519f38Smrg  # using a relative directory.
3503dd519f38Smrg  cp "$am_depcomp" conftest.dir
3504dd519f38Smrg  cd conftest.dir
3505dd519f38Smrg  # We will build objects and dependencies in a subdirectory because
3506dd519f38Smrg  # it helps to detect inapplicable dependency modes.  For instance
3507dd519f38Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
3508dd519f38Smrg  # side effect of compilation, but ICC will put the dependencies in
3509dd519f38Smrg  # the current directory while Tru64 will put them in the object
3510dd519f38Smrg  # directory.
3511dd519f38Smrg  mkdir sub
3512dd519f38Smrg
3513dd519f38Smrg  am_cv_CC_dependencies_compiler_type=none
3514dd519f38Smrg  if test "$am_compiler_list" = ""; then
3515dd519f38Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3516dd519f38Smrg  fi
3517dd519f38Smrg  am__universal=false
3518dd519f38Smrg  case " $depcc " in #(
3519dd519f38Smrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3520dd519f38Smrg     esac
3521dd519f38Smrg
3522dd519f38Smrg  for depmode in $am_compiler_list; do
3523dd519f38Smrg    # Setup a source with many dependencies, because some compilers
3524dd519f38Smrg    # like to wrap large dependency lists on column 80 (with \), and
3525dd519f38Smrg    # we should not choose a depcomp mode which is confused by this.
3526dd519f38Smrg    #
3527dd519f38Smrg    # We need to recreate these files for each test, as the compiler may
3528dd519f38Smrg    # overwrite some of them when testing with obscure command lines.
3529dd519f38Smrg    # This happens at least with the AIX C compiler.
3530dd519f38Smrg    : > sub/conftest.c
3531dd519f38Smrg    for i in 1 2 3 4 5 6; do
3532dd519f38Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3533dd519f38Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3534dd519f38Smrg      # Solaris 8's {/usr,}/bin/sh.
3535dd519f38Smrg      touch sub/conftst$i.h
3536dd519f38Smrg    done
3537dd519f38Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3538dd519f38Smrg
3539dd519f38Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3540dd519f38Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
3541dd519f38Smrg    # handle `-M -o', and we need to detect this.  Also, some Intel
3542dd519f38Smrg    # versions had trouble with output in subdirs
3543dd519f38Smrg    am__obj=sub/conftest.${OBJEXT-o}
3544dd519f38Smrg    am__minus_obj="-o $am__obj"
3545dd519f38Smrg    case $depmode in
3546dd519f38Smrg    gcc)
3547dd519f38Smrg      # This depmode causes a compiler race in universal mode.
3548dd519f38Smrg      test "$am__universal" = false || continue
3549dd519f38Smrg      ;;
3550dd519f38Smrg    nosideeffect)
3551dd519f38Smrg      # after this tag, mechanisms are not by side-effect, so they'll
3552dd519f38Smrg      # only be used when explicitly requested
3553dd519f38Smrg      if test "x$enable_dependency_tracking" = xyes; then
3554dd519f38Smrg	continue
3555dd519f38Smrg      else
3556dd519f38Smrg	break
3557dd519f38Smrg      fi
3558dd519f38Smrg      ;;
3559dd519f38Smrg    msvisualcpp | msvcmsys)
3560dd519f38Smrg      # This compiler won't grok `-c -o', but also, the minuso test has
3561dd519f38Smrg      # not run yet.  These depmodes are late enough in the game, and
3562dd519f38Smrg      # so weak that their functioning should not be impacted.
3563dd519f38Smrg      am__obj=conftest.${OBJEXT-o}
3564dd519f38Smrg      am__minus_obj=
3565dd519f38Smrg      ;;
3566dd519f38Smrg    none) break ;;
3567dd519f38Smrg    esac
3568dd519f38Smrg    if depmode=$depmode \
3569dd519f38Smrg       source=sub/conftest.c object=$am__obj \
3570dd519f38Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3571dd519f38Smrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3572dd519f38Smrg         >/dev/null 2>conftest.err &&
3573dd519f38Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3574dd519f38Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3575dd519f38Smrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3576dd519f38Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3577dd519f38Smrg      # icc doesn't choke on unknown options, it will just issue warnings
3578dd519f38Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
3579dd519f38Smrg      # that says an option was ignored or not supported.
3580dd519f38Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
3581dd519f38Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
3582dd519f38Smrg      # The diagnosis changed in icc 8.0:
3583dd519f38Smrg      #   icc: Command line remark: option '-MP' not supported
3584dd519f38Smrg      if (grep 'ignoring option' conftest.err ||
3585dd519f38Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3586dd519f38Smrg        am_cv_CC_dependencies_compiler_type=$depmode
3587dd519f38Smrg        break
3588dd519f38Smrg      fi
3589dd519f38Smrg    fi
3590dd519f38Smrg  done
3591dd519f38Smrg
3592dd519f38Smrg  cd ..
3593dd519f38Smrg  rm -rf conftest.dir
3594dd519f38Smrgelse
3595dd519f38Smrg  am_cv_CC_dependencies_compiler_type=none
3596dd519f38Smrgfi
3597dd519f38Smrg
3598dd519f38Smrgfi
3599dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3600dd519f38Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3601dd519f38SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3602dd519f38Smrg
3603dd519f38Smrg if
3604dd519f38Smrg  test "x$enable_dependency_tracking" != xno \
3605dd519f38Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3606dd519f38Smrg  am__fastdepCC_TRUE=
3607dd519f38Smrg  am__fastdepCC_FALSE='#'
3608dd519f38Smrgelse
3609dd519f38Smrg  am__fastdepCC_TRUE='#'
3610dd519f38Smrg  am__fastdepCC_FALSE=
3611dd519f38Smrgfi
3612dd519f38Smrg
3613dd519f38Smrg
3614dd519f38Smrg
3615dd519f38Smrgac_ext=c
3616dd519f38Smrgac_cpp='$CPP $CPPFLAGS'
3617dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3618dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3619dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3620dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3621dd519f38Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
3622dd519f38Smrg# On Suns, sometimes $CPP names a directory.
3623dd519f38Smrgif test -n "$CPP" && test -d "$CPP"; then
3624dd519f38Smrg  CPP=
3625dd519f38Smrgfi
3626dd519f38Smrgif test -z "$CPP"; then
3627dd519f38Smrg  if test "${ac_cv_prog_CPP+set}" = set; then
3628dd519f38Smrg  $as_echo_n "(cached) " >&6
3629dd519f38Smrgelse
3630dd519f38Smrg      # Double quotes because CPP needs to be expanded
3631dd519f38Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3632dd519f38Smrg    do
3633dd519f38Smrg      ac_preproc_ok=false
3634dd519f38Smrgfor ac_c_preproc_warn_flag in '' yes
3635dd519f38Smrgdo
3636dd519f38Smrg  # Use a header file that comes with gcc, so configuring glibc
3637dd519f38Smrg  # with a fresh cross-compiler works.
3638dd519f38Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3639dd519f38Smrg  # <limits.h> exists even on freestanding compilers.
3640dd519f38Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3641dd519f38Smrg  # not just through cpp. "Syntax error" is here to catch this case.
3642dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
3643dd519f38Smrg/* confdefs.h.  */
3644dd519f38Smrg_ACEOF
3645dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3646dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3647dd519f38Smrg/* end confdefs.h.  */
3648dd519f38Smrg#ifdef __STDC__
3649dd519f38Smrg# include <limits.h>
3650dd519f38Smrg#else
3651dd519f38Smrg# include <assert.h>
3652dd519f38Smrg#endif
3653dd519f38Smrg		     Syntax error
3654dd519f38Smrg_ACEOF
3655dd519f38Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
3656dd519f38Smrgcase "(($ac_try" in
3657dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658dd519f38Smrg  *) ac_try_echo=$ac_try;;
3659dd519f38Smrgesac
3660dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3661dd519f38Smrg$as_echo "$ac_try_echo") >&5
3662dd519f38Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3663dd519f38Smrg  ac_status=$?
3664dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3665dd519f38Smrg  rm -f conftest.er1
3666dd519f38Smrg  cat conftest.err >&5
3667dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668dd519f38Smrg  (exit $ac_status); } >/dev/null && {
3669dd519f38Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3670dd519f38Smrg	 test ! -s conftest.err
3671dd519f38Smrg       }; then
3672dd519f38Smrg  :
3673dd519f38Smrgelse
3674dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3675dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3676dd519f38Smrg
3677dd519f38Smrg  # Broken: fails on valid input.
3678dd519f38Smrgcontinue
3679dd519f38Smrgfi
3680dd519f38Smrg
3681dd519f38Smrgrm -f conftest.err conftest.$ac_ext
3682dd519f38Smrg
3683dd519f38Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
3684dd519f38Smrg  # can be detected and how.
3685dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
3686dd519f38Smrg/* confdefs.h.  */
3687dd519f38Smrg_ACEOF
3688dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3689dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3690dd519f38Smrg/* end confdefs.h.  */
3691dd519f38Smrg#include <ac_nonexistent.h>
3692dd519f38Smrg_ACEOF
3693dd519f38Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
3694dd519f38Smrgcase "(($ac_try" in
3695dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696dd519f38Smrg  *) ac_try_echo=$ac_try;;
3697dd519f38Smrgesac
3698dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3699dd519f38Smrg$as_echo "$ac_try_echo") >&5
3700dd519f38Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3701dd519f38Smrg  ac_status=$?
3702dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3703dd519f38Smrg  rm -f conftest.er1
3704dd519f38Smrg  cat conftest.err >&5
3705dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706dd519f38Smrg  (exit $ac_status); } >/dev/null && {
3707dd519f38Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3708dd519f38Smrg	 test ! -s conftest.err
3709dd519f38Smrg       }; then
3710dd519f38Smrg  # Broken: success on invalid input.
3711dd519f38Smrgcontinue
3712dd519f38Smrgelse
3713dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3714dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3715dd519f38Smrg
3716dd519f38Smrg  # Passes both tests.
3717dd519f38Smrgac_preproc_ok=:
3718dd519f38Smrgbreak
3719dd519f38Smrgfi
3720dd519f38Smrg
3721dd519f38Smrgrm -f conftest.err conftest.$ac_ext
3722dd519f38Smrg
3723dd519f38Smrgdone
3724dd519f38Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3725dd519f38Smrgrm -f conftest.err conftest.$ac_ext
3726dd519f38Smrgif $ac_preproc_ok; then
3727dd519f38Smrg  break
3728dd519f38Smrgfi
3729dd519f38Smrg
3730dd519f38Smrg    done
3731dd519f38Smrg    ac_cv_prog_CPP=$CPP
3732dd519f38Smrg
3733dd519f38Smrgfi
3734dd519f38Smrg  CPP=$ac_cv_prog_CPP
3735dd519f38Smrgelse
3736dd519f38Smrg  ac_cv_prog_CPP=$CPP
3737dd519f38Smrgfi
3738dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3739dd519f38Smrg$as_echo "$CPP" >&6; }
3740dd519f38Smrgac_preproc_ok=false
3741dd519f38Smrgfor ac_c_preproc_warn_flag in '' yes
3742dd519f38Smrgdo
3743dd519f38Smrg  # Use a header file that comes with gcc, so configuring glibc
3744dd519f38Smrg  # with a fresh cross-compiler works.
3745dd519f38Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3746dd519f38Smrg  # <limits.h> exists even on freestanding compilers.
3747dd519f38Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3748dd519f38Smrg  # not just through cpp. "Syntax error" is here to catch this case.
3749dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
3750dd519f38Smrg/* confdefs.h.  */
3751dd519f38Smrg_ACEOF
3752dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3753dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3754dd519f38Smrg/* end confdefs.h.  */
3755dd519f38Smrg#ifdef __STDC__
3756dd519f38Smrg# include <limits.h>
3757dd519f38Smrg#else
3758dd519f38Smrg# include <assert.h>
3759dd519f38Smrg#endif
3760dd519f38Smrg		     Syntax error
3761dd519f38Smrg_ACEOF
3762dd519f38Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
3763dd519f38Smrgcase "(($ac_try" in
3764dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765dd519f38Smrg  *) ac_try_echo=$ac_try;;
3766dd519f38Smrgesac
3767dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3768dd519f38Smrg$as_echo "$ac_try_echo") >&5
3769dd519f38Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3770dd519f38Smrg  ac_status=$?
3771dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3772dd519f38Smrg  rm -f conftest.er1
3773dd519f38Smrg  cat conftest.err >&5
3774dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775dd519f38Smrg  (exit $ac_status); } >/dev/null && {
3776dd519f38Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3777dd519f38Smrg	 test ! -s conftest.err
3778dd519f38Smrg       }; then
3779dd519f38Smrg  :
3780dd519f38Smrgelse
3781dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3782dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3783dd519f38Smrg
3784dd519f38Smrg  # Broken: fails on valid input.
3785dd519f38Smrgcontinue
3786dd519f38Smrgfi
3787dd519f38Smrg
3788dd519f38Smrgrm -f conftest.err conftest.$ac_ext
3789dd519f38Smrg
3790dd519f38Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
3791dd519f38Smrg  # can be detected and how.
3792dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
3793dd519f38Smrg/* confdefs.h.  */
3794dd519f38Smrg_ACEOF
3795dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3796dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3797dd519f38Smrg/* end confdefs.h.  */
3798dd519f38Smrg#include <ac_nonexistent.h>
3799dd519f38Smrg_ACEOF
3800dd519f38Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
3801dd519f38Smrgcase "(($ac_try" in
3802dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3803dd519f38Smrg  *) ac_try_echo=$ac_try;;
3804dd519f38Smrgesac
3805dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3806dd519f38Smrg$as_echo "$ac_try_echo") >&5
3807dd519f38Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3808dd519f38Smrg  ac_status=$?
3809dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3810dd519f38Smrg  rm -f conftest.er1
3811dd519f38Smrg  cat conftest.err >&5
3812dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813dd519f38Smrg  (exit $ac_status); } >/dev/null && {
3814dd519f38Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3815dd519f38Smrg	 test ! -s conftest.err
3816dd519f38Smrg       }; then
3817dd519f38Smrg  # Broken: success on invalid input.
3818dd519f38Smrgcontinue
3819dd519f38Smrgelse
3820dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
3821dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
3822dd519f38Smrg
3823dd519f38Smrg  # Passes both tests.
3824dd519f38Smrgac_preproc_ok=:
3825dd519f38Smrgbreak
3826dd519f38Smrgfi
3827dd519f38Smrg
3828dd519f38Smrgrm -f conftest.err conftest.$ac_ext
3829dd519f38Smrg
3830dd519f38Smrgdone
3831dd519f38Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3832dd519f38Smrgrm -f conftest.err conftest.$ac_ext
3833dd519f38Smrgif $ac_preproc_ok; then
3834dd519f38Smrg  :
3835dd519f38Smrgelse
3836dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3837dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838dd519f38Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3839dd519f38SmrgSee \`config.log' for more details." >&5
3840dd519f38Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3841dd519f38SmrgSee \`config.log' for more details." >&2;}
3842dd519f38Smrg   { (exit 1); exit 1; }; }; }
3843dd519f38Smrgfi
3844dd519f38Smrg
3845dd519f38Smrgac_ext=c
3846dd519f38Smrgac_cpp='$CPP $CPPFLAGS'
3847dd519f38Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848dd519f38Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849dd519f38Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3850dd519f38Smrg
3851dd519f38Smrg
3852dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3853dd519f38Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3854dd519f38Smrgif test "${ac_cv_path_GREP+set}" = set; then
3855dd519f38Smrg  $as_echo_n "(cached) " >&6
3856dd519f38Smrgelse
3857dd519f38Smrg  if test -z "$GREP"; then
3858dd519f38Smrg  ac_path_GREP_found=false
3859dd519f38Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3860dd519f38Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861dd519f38Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3862dd519f38Smrgdo
3863dd519f38Smrg  IFS=$as_save_IFS
3864dd519f38Smrg  test -z "$as_dir" && as_dir=.
3865dd519f38Smrg  for ac_prog in grep ggrep; do
3866dd519f38Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3867dd519f38Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3868dd519f38Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3869dd519f38Smrg# Check for GNU ac_path_GREP and select it if it is found.
3870dd519f38Smrg  # Check for GNU $ac_path_GREP
3871dd519f38Smrgcase `"$ac_path_GREP" --version 2>&1` in
3872dd519f38Smrg*GNU*)
3873dd519f38Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3874dd519f38Smrg*)
3875dd519f38Smrg  ac_count=0
3876dd519f38Smrg  $as_echo_n 0123456789 >"conftest.in"
3877dd519f38Smrg  while :
3878dd519f38Smrg  do
3879dd519f38Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3880dd519f38Smrg    mv "conftest.tmp" "conftest.in"
3881dd519f38Smrg    cp "conftest.in" "conftest.nl"
3882dd519f38Smrg    $as_echo 'GREP' >> "conftest.nl"
3883dd519f38Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3884dd519f38Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3885dd519f38Smrg    ac_count=`expr $ac_count + 1`
3886dd519f38Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3887dd519f38Smrg      # Best one so far, save it but keep looking for a better one
3888dd519f38Smrg      ac_cv_path_GREP="$ac_path_GREP"
3889dd519f38Smrg      ac_path_GREP_max=$ac_count
3890dd519f38Smrg    fi
3891dd519f38Smrg    # 10*(2^10) chars as input seems more than enough
3892dd519f38Smrg    test $ac_count -gt 10 && break
3893dd519f38Smrg  done
3894dd519f38Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3895dd519f38Smrgesac
3896dd519f38Smrg
3897dd519f38Smrg      $ac_path_GREP_found && break 3
3898dd519f38Smrg    done
3899dd519f38Smrg  done
3900dd519f38Smrgdone
3901dd519f38SmrgIFS=$as_save_IFS
3902dd519f38Smrg  if test -z "$ac_cv_path_GREP"; then
3903dd519f38Smrg    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3904dd519f38Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3905dd519f38Smrg   { (exit 1); exit 1; }; }
3906dd519f38Smrg  fi
3907dd519f38Smrgelse
3908dd519f38Smrg  ac_cv_path_GREP=$GREP
3909dd519f38Smrgfi
3910dd519f38Smrg
3911dd519f38Smrgfi
3912dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3913dd519f38Smrg$as_echo "$ac_cv_path_GREP" >&6; }
3914dd519f38Smrg GREP="$ac_cv_path_GREP"
3915dd519f38Smrg
3916dd519f38Smrg
3917dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3918dd519f38Smrg$as_echo_n "checking for egrep... " >&6; }
3919dd519f38Smrgif test "${ac_cv_path_EGREP+set}" = set; then
3920dd519f38Smrg  $as_echo_n "(cached) " >&6
3921dd519f38Smrgelse
3922dd519f38Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3923dd519f38Smrg   then ac_cv_path_EGREP="$GREP -E"
3924dd519f38Smrg   else
3925dd519f38Smrg     if test -z "$EGREP"; then
3926dd519f38Smrg  ac_path_EGREP_found=false
3927dd519f38Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3928dd519f38Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929dd519f38Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3930dd519f38Smrgdo
3931dd519f38Smrg  IFS=$as_save_IFS
3932dd519f38Smrg  test -z "$as_dir" && as_dir=.
3933dd519f38Smrg  for ac_prog in egrep; do
3934dd519f38Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3935dd519f38Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3936dd519f38Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3937dd519f38Smrg# Check for GNU ac_path_EGREP and select it if it is found.
3938dd519f38Smrg  # Check for GNU $ac_path_EGREP
3939dd519f38Smrgcase `"$ac_path_EGREP" --version 2>&1` in
3940dd519f38Smrg*GNU*)
3941dd519f38Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3942dd519f38Smrg*)
3943dd519f38Smrg  ac_count=0
3944dd519f38Smrg  $as_echo_n 0123456789 >"conftest.in"
3945dd519f38Smrg  while :
3946dd519f38Smrg  do
3947dd519f38Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3948dd519f38Smrg    mv "conftest.tmp" "conftest.in"
3949dd519f38Smrg    cp "conftest.in" "conftest.nl"
3950dd519f38Smrg    $as_echo 'EGREP' >> "conftest.nl"
3951dd519f38Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3952dd519f38Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3953dd519f38Smrg    ac_count=`expr $ac_count + 1`
3954dd519f38Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3955dd519f38Smrg      # Best one so far, save it but keep looking for a better one
3956dd519f38Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
3957dd519f38Smrg      ac_path_EGREP_max=$ac_count
3958dd519f38Smrg    fi
3959dd519f38Smrg    # 10*(2^10) chars as input seems more than enough
3960dd519f38Smrg    test $ac_count -gt 10 && break
3961dd519f38Smrg  done
3962dd519f38Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3963dd519f38Smrgesac
3964dd519f38Smrg
3965dd519f38Smrg      $ac_path_EGREP_found && break 3
3966dd519f38Smrg    done
3967dd519f38Smrg  done
3968dd519f38Smrgdone
3969dd519f38SmrgIFS=$as_save_IFS
3970dd519f38Smrg  if test -z "$ac_cv_path_EGREP"; then
3971dd519f38Smrg    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3972dd519f38Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3973dd519f38Smrg   { (exit 1); exit 1; }; }
3974dd519f38Smrg  fi
3975dd519f38Smrgelse
3976dd519f38Smrg  ac_cv_path_EGREP=$EGREP
3977dd519f38Smrgfi
3978dd519f38Smrg
3979dd519f38Smrg   fi
3980dd519f38Smrgfi
3981dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3982dd519f38Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
3983dd519f38Smrg EGREP="$ac_cv_path_EGREP"
3984dd519f38Smrg
3985dd519f38Smrg
3986dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3987dd519f38Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
3988dd519f38Smrgif test "${ac_cv_header_stdc+set}" = set; then
3989dd519f38Smrg  $as_echo_n "(cached) " >&6
3990dd519f38Smrgelse
3991dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
3992dd519f38Smrg/* confdefs.h.  */
3993dd519f38Smrg_ACEOF
3994dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
3995dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
3996dd519f38Smrg/* end confdefs.h.  */
3997dd519f38Smrg#include <stdlib.h>
3998dd519f38Smrg#include <stdarg.h>
3999dd519f38Smrg#include <string.h>
4000dd519f38Smrg#include <float.h>
4001dd519f38Smrg
4002dd519f38Smrgint
4003dd519f38Smrgmain ()
4004dd519f38Smrg{
4005dd519f38Smrg
4006dd519f38Smrg  ;
4007dd519f38Smrg  return 0;
4008dd519f38Smrg}
4009dd519f38Smrg_ACEOF
4010dd519f38Smrgrm -f conftest.$ac_objext
4011dd519f38Smrgif { (ac_try="$ac_compile"
4012dd519f38Smrgcase "(($ac_try" in
4013dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014dd519f38Smrg  *) ac_try_echo=$ac_try;;
4015dd519f38Smrgesac
4016dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4017dd519f38Smrg$as_echo "$ac_try_echo") >&5
4018dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
4019dd519f38Smrg  ac_status=$?
4020dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
4021dd519f38Smrg  rm -f conftest.er1
4022dd519f38Smrg  cat conftest.err >&5
4023dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024dd519f38Smrg  (exit $ac_status); } && {
4025dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
4026dd519f38Smrg	 test ! -s conftest.err
4027dd519f38Smrg       } && test -s conftest.$ac_objext; then
4028dd519f38Smrg  ac_cv_header_stdc=yes
4029dd519f38Smrgelse
4030dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
4031dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
4032dd519f38Smrg
4033dd519f38Smrg	ac_cv_header_stdc=no
4034dd519f38Smrgfi
4035dd519f38Smrg
4036dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037dd519f38Smrg
4038dd519f38Smrgif test $ac_cv_header_stdc = yes; then
4039dd519f38Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4040dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
4041dd519f38Smrg/* confdefs.h.  */
4042dd519f38Smrg_ACEOF
4043dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
4044dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
4045dd519f38Smrg/* end confdefs.h.  */
4046dd519f38Smrg#include <string.h>
4047dd519f38Smrg
4048dd519f38Smrg_ACEOF
4049dd519f38Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4050dd519f38Smrg  $EGREP "memchr" >/dev/null 2>&1; then
4051dd519f38Smrg  :
4052dd519f38Smrgelse
4053dd519f38Smrg  ac_cv_header_stdc=no
4054dd519f38Smrgfi
4055dd519f38Smrgrm -f conftest*
4056dd519f38Smrg
4057dd519f38Smrgfi
4058dd519f38Smrg
4059dd519f38Smrgif test $ac_cv_header_stdc = yes; then
4060dd519f38Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4061dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
4062dd519f38Smrg/* confdefs.h.  */
4063dd519f38Smrg_ACEOF
4064dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
4065dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
4066dd519f38Smrg/* end confdefs.h.  */
4067dd519f38Smrg#include <stdlib.h>
4068dd519f38Smrg
4069dd519f38Smrg_ACEOF
4070dd519f38Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4071dd519f38Smrg  $EGREP "free" >/dev/null 2>&1; then
4072dd519f38Smrg  :
4073dd519f38Smrgelse
4074dd519f38Smrg  ac_cv_header_stdc=no
4075dd519f38Smrgfi
4076dd519f38Smrgrm -f conftest*
4077dd519f38Smrg
4078dd519f38Smrgfi
4079dd519f38Smrg
4080dd519f38Smrgif test $ac_cv_header_stdc = yes; then
4081dd519f38Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4082dd519f38Smrg  if test "$cross_compiling" = yes; then
4083dd519f38Smrg  :
4084dd519f38Smrgelse
4085dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
4086dd519f38Smrg/* confdefs.h.  */
4087dd519f38Smrg_ACEOF
4088dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
4089dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
4090dd519f38Smrg/* end confdefs.h.  */
4091dd519f38Smrg#include <ctype.h>
4092dd519f38Smrg#include <stdlib.h>
4093dd519f38Smrg#if ((' ' & 0x0FF) == 0x020)
4094dd519f38Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4095dd519f38Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4096dd519f38Smrg#else
4097dd519f38Smrg# define ISLOWER(c) \
4098dd519f38Smrg		   (('a' <= (c) && (c) <= 'i') \
4099dd519f38Smrg		     || ('j' <= (c) && (c) <= 'r') \
4100dd519f38Smrg		     || ('s' <= (c) && (c) <= 'z'))
4101dd519f38Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4102dd519f38Smrg#endif
4103dd519f38Smrg
4104dd519f38Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4105dd519f38Smrgint
4106dd519f38Smrgmain ()
4107dd519f38Smrg{
4108dd519f38Smrg  int i;
4109dd519f38Smrg  for (i = 0; i < 256; i++)
4110dd519f38Smrg    if (XOR (islower (i), ISLOWER (i))
4111dd519f38Smrg	|| toupper (i) != TOUPPER (i))
4112dd519f38Smrg      return 2;
4113dd519f38Smrg  return 0;
4114dd519f38Smrg}
4115dd519f38Smrg_ACEOF
4116dd519f38Smrgrm -f conftest$ac_exeext
4117dd519f38Smrgif { (ac_try="$ac_link"
4118dd519f38Smrgcase "(($ac_try" in
4119dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120dd519f38Smrg  *) ac_try_echo=$ac_try;;
4121dd519f38Smrgesac
4122dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4123dd519f38Smrg$as_echo "$ac_try_echo") >&5
4124dd519f38Smrg  (eval "$ac_link") 2>&5
4125dd519f38Smrg  ac_status=$?
4126dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127dd519f38Smrg  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4128dd519f38Smrg  { (case "(($ac_try" in
4129dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130dd519f38Smrg  *) ac_try_echo=$ac_try;;
4131dd519f38Smrgesac
4132dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4133dd519f38Smrg$as_echo "$ac_try_echo") >&5
4134dd519f38Smrg  (eval "$ac_try") 2>&5
4135dd519f38Smrg  ac_status=$?
4136dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137dd519f38Smrg  (exit $ac_status); }; }; then
4138dd519f38Smrg  :
4139dd519f38Smrgelse
4140dd519f38Smrg  $as_echo "$as_me: program exited with status $ac_status" >&5
4141dd519f38Smrg$as_echo "$as_me: failed program was:" >&5
4142dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
4143dd519f38Smrg
4144dd519f38Smrg( exit $ac_status )
4145dd519f38Smrgac_cv_header_stdc=no
4146dd519f38Smrgfi
4147dd519f38Smrgrm -rf conftest.dSYM
4148dd519f38Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4149dd519f38Smrgfi
4150dd519f38Smrg
4151dd519f38Smrg
4152dd519f38Smrgfi
4153dd519f38Smrgfi
4154dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4155dd519f38Smrg$as_echo "$ac_cv_header_stdc" >&6; }
4156dd519f38Smrgif test $ac_cv_header_stdc = yes; then
4157dd519f38Smrg
4158dd519f38Smrgcat >>confdefs.h <<\_ACEOF
4159dd519f38Smrg#define STDC_HEADERS 1
4160dd519f38Smrg_ACEOF
4161dd519f38Smrg
4162dd519f38Smrgfi
4163dd519f38Smrg
4164dd519f38Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4165dd519f38Smrg
4166dd519f38Smrg
4167dd519f38Smrg
4168dd519f38Smrg
4169dd519f38Smrg
4170dd519f38Smrg
4171dd519f38Smrg
4172dd519f38Smrg
4173dd519f38Smrg
4174dd519f38Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4175dd519f38Smrg		  inttypes.h stdint.h unistd.h
4176dd519f38Smrgdo
4177dd519f38Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4178dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4179dd519f38Smrg$as_echo_n "checking for $ac_header... " >&6; }
4180dd519f38Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4181dd519f38Smrg  $as_echo_n "(cached) " >&6
4182dd519f38Smrgelse
4183dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
4184dd519f38Smrg/* confdefs.h.  */
4185dd519f38Smrg_ACEOF
4186dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
4187dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
4188dd519f38Smrg/* end confdefs.h.  */
4189dd519f38Smrg$ac_includes_default
4190dd519f38Smrg
4191dd519f38Smrg#include <$ac_header>
4192dd519f38Smrg_ACEOF
4193dd519f38Smrgrm -f conftest.$ac_objext
4194dd519f38Smrgif { (ac_try="$ac_compile"
4195dd519f38Smrgcase "(($ac_try" in
4196dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4197dd519f38Smrg  *) ac_try_echo=$ac_try;;
4198dd519f38Smrgesac
4199dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4200dd519f38Smrg$as_echo "$ac_try_echo") >&5
4201dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
4202dd519f38Smrg  ac_status=$?
4203dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
4204dd519f38Smrg  rm -f conftest.er1
4205dd519f38Smrg  cat conftest.err >&5
4206dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207dd519f38Smrg  (exit $ac_status); } && {
4208dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
4209dd519f38Smrg	 test ! -s conftest.err
4210dd519f38Smrg       } && test -s conftest.$ac_objext; then
4211dd519f38Smrg  eval "$as_ac_Header=yes"
4212ed029a5fSmrgelse
4213dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
4214dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
4215dd519f38Smrg
4216dd519f38Smrg	eval "$as_ac_Header=no"
4217ed029a5fSmrgfi
4218ed029a5fSmrg
4219dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220dd519f38Smrgfi
4221dd519f38Smrgac_res=`eval 'as_val=${'$as_ac_Header'}
4222dd519f38Smrg		 $as_echo "$as_val"'`
4223dd519f38Smrg	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4224dd519f38Smrg$as_echo "$ac_res" >&6; }
4225dd519f38Smrgas_val=`eval 'as_val=${'$as_ac_Header'}
4226dd519f38Smrg		 $as_echo "$as_val"'`
4227dd519f38Smrg   if test "x$as_val" = x""yes; then
4228dd519f38Smrg  cat >>confdefs.h <<_ACEOF
4229dd519f38Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4230dd519f38Smrg_ACEOF
4231dd519f38Smrg
4232dd519f38Smrgfi
4233dd519f38Smrg
4234dd519f38Smrgdone
4235dd519f38Smrg
4236dd519f38Smrg
4237dd519f38Smrg   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
4238dd519f38Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4239dd519f38Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then
4240dd519f38Smrg  $as_echo_n "(cached) " >&6
4241dd519f38Smrgelse
4242dd519f38Smrg  ac_cv_prog_cc_c99=no
4243dd519f38Smrgac_save_CC=$CC
4244dd519f38Smrgcat >conftest.$ac_ext <<_ACEOF
4245dd519f38Smrg/* confdefs.h.  */
4246dd519f38Smrg_ACEOF
4247dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
4248dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
4249dd519f38Smrg/* end confdefs.h.  */
4250dd519f38Smrg#include <stdarg.h>
4251dd519f38Smrg#include <stdbool.h>
4252dd519f38Smrg#include <stdlib.h>
4253dd519f38Smrg#include <wchar.h>
4254dd519f38Smrg#include <stdio.h>
4255dd519f38Smrg
4256dd519f38Smrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
4257dd519f38Smrg#define debug(...) fprintf (stderr, __VA_ARGS__)
4258dd519f38Smrg#define showlist(...) puts (#__VA_ARGS__)
4259dd519f38Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4260dd519f38Smrgstatic void
4261dd519f38Smrgtest_varargs_macros (void)
4262dd519f38Smrg{
4263dd519f38Smrg  int x = 1234;
4264dd519f38Smrg  int y = 5678;
4265dd519f38Smrg  debug ("Flag");
4266dd519f38Smrg  debug ("X = %d\n", x);
4267dd519f38Smrg  showlist (The first, second, and third items.);
4268dd519f38Smrg  report (x>y, "x is %d but y is %d", x, y);
4269dd519f38Smrg}
4270dd519f38Smrg
4271dd519f38Smrg// Check long long types.
4272dd519f38Smrg#define BIG64 18446744073709551615ull
4273dd519f38Smrg#define BIG32 4294967295ul
4274dd519f38Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4275dd519f38Smrg#if !BIG_OK
4276dd519f38Smrg  your preprocessor is broken;
4277dd519f38Smrg#endif
4278dd519f38Smrg#if BIG_OK
4279dd519f38Smrg#else
4280dd519f38Smrg  your preprocessor is broken;
4281dd519f38Smrg#endif
4282dd519f38Smrgstatic long long int bignum = -9223372036854775807LL;
4283dd519f38Smrgstatic unsigned long long int ubignum = BIG64;
4284dd519f38Smrg
4285dd519f38Smrgstruct incomplete_array
4286dd519f38Smrg{
4287dd519f38Smrg  int datasize;
4288dd519f38Smrg  double data[];
4289dd519f38Smrg};
4290dd519f38Smrg
4291dd519f38Smrgstruct named_init {
4292dd519f38Smrg  int number;
4293dd519f38Smrg  const wchar_t *name;
4294dd519f38Smrg  double average;
4295dd519f38Smrg};
4296dd519f38Smrg
4297dd519f38Smrgtypedef const char *ccp;
4298dd519f38Smrg
4299dd519f38Smrgstatic inline int
4300dd519f38Smrgtest_restrict (ccp restrict text)
4301dd519f38Smrg{
4302dd519f38Smrg  // See if C++-style comments work.
4303dd519f38Smrg  // Iterate through items via the restricted pointer.
4304dd519f38Smrg  // Also check for declarations in for loops.
4305dd519f38Smrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4306dd519f38Smrg    continue;
4307dd519f38Smrg  return 0;
4308dd519f38Smrg}
4309dd519f38Smrg
4310dd519f38Smrg// Check varargs and va_copy.
4311dd519f38Smrgstatic void
4312dd519f38Smrgtest_varargs (const char *format, ...)
4313dd519f38Smrg{
4314dd519f38Smrg  va_list args;
4315dd519f38Smrg  va_start (args, format);
4316dd519f38Smrg  va_list args_copy;
4317dd519f38Smrg  va_copy (args_copy, args);
4318dd519f38Smrg
4319dd519f38Smrg  const char *str;
4320dd519f38Smrg  int number;
4321dd519f38Smrg  float fnumber;
4322dd519f38Smrg
4323dd519f38Smrg  while (*format)
4324dd519f38Smrg    {
4325dd519f38Smrg      switch (*format++)
4326dd519f38Smrg	{
4327dd519f38Smrg	case 's': // string
4328dd519f38Smrg	  str = va_arg (args_copy, const char *);
4329dd519f38Smrg	  break;
4330dd519f38Smrg	case 'd': // int
4331dd519f38Smrg	  number = va_arg (args_copy, int);
4332dd519f38Smrg	  break;
4333dd519f38Smrg	case 'f': // float
4334dd519f38Smrg	  fnumber = va_arg (args_copy, double);
4335dd519f38Smrg	  break;
4336dd519f38Smrg	default:
4337dd519f38Smrg	  break;
4338dd519f38Smrg	}
4339dd519f38Smrg    }
4340dd519f38Smrg  va_end (args_copy);
4341dd519f38Smrg  va_end (args);
4342dd519f38Smrg}
4343dd519f38Smrg
4344dd519f38Smrgint
4345dd519f38Smrgmain ()
4346dd519f38Smrg{
4347dd519f38Smrg
4348dd519f38Smrg  // Check bool.
4349dd519f38Smrg  _Bool success = false;
4350dd519f38Smrg
4351dd519f38Smrg  // Check restrict.
4352dd519f38Smrg  if (test_restrict ("String literal") == 0)
4353dd519f38Smrg    success = true;
4354dd519f38Smrg  char *restrict newvar = "Another string";
4355dd519f38Smrg
4356dd519f38Smrg  // Check varargs.
4357dd519f38Smrg  test_varargs ("s, d' f .", "string", 65, 34.234);
4358dd519f38Smrg  test_varargs_macros ();
4359dd519f38Smrg
4360dd519f38Smrg  // Check flexible array members.
4361dd519f38Smrg  struct incomplete_array *ia =
4362dd519f38Smrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4363dd519f38Smrg  ia->datasize = 10;
4364dd519f38Smrg  for (int i = 0; i < ia->datasize; ++i)
4365dd519f38Smrg    ia->data[i] = i * 1.234;
4366dd519f38Smrg
4367dd519f38Smrg  // Check named initializers.
4368dd519f38Smrg  struct named_init ni = {
4369dd519f38Smrg    .number = 34,
4370dd519f38Smrg    .name = L"Test wide string",
4371dd519f38Smrg    .average = 543.34343,
4372dd519f38Smrg  };
4373dd519f38Smrg
4374dd519f38Smrg  ni.number = 58;
4375dd519f38Smrg
4376dd519f38Smrg  int dynamic_array[ni.number];
4377dd519f38Smrg  dynamic_array[ni.number - 1] = 543;
4378dd519f38Smrg
4379dd519f38Smrg  // work around unused variable warnings
4380dd519f38Smrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4381dd519f38Smrg	  || dynamic_array[ni.number - 1] != 543);
4382dd519f38Smrg
4383dd519f38Smrg  ;
4384dd519f38Smrg  return 0;
4385dd519f38Smrg}
4386dd519f38Smrg_ACEOF
4387dd519f38Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4388dd519f38Smrgdo
4389dd519f38Smrg  CC="$ac_save_CC $ac_arg"
4390dd519f38Smrg  rm -f conftest.$ac_objext
4391dd519f38Smrgif { (ac_try="$ac_compile"
4392dd519f38Smrgcase "(($ac_try" in
4393dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394dd519f38Smrg  *) ac_try_echo=$ac_try;;
4395dd519f38Smrgesac
4396dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4397dd519f38Smrg$as_echo "$ac_try_echo") >&5
4398dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
4399dd519f38Smrg  ac_status=$?
4400dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
4401dd519f38Smrg  rm -f conftest.er1
4402dd519f38Smrg  cat conftest.err >&5
4403dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404dd519f38Smrg  (exit $ac_status); } && {
4405dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
4406dd519f38Smrg	 test ! -s conftest.err
4407dd519f38Smrg       } && test -s conftest.$ac_objext; then
4408dd519f38Smrg  ac_cv_prog_cc_c99=$ac_arg
4409dd519f38Smrgelse
4410dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
4411dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
4412dd519f38Smrg
4413dd519f38Smrg
4414dd519f38Smrgfi
4415dd519f38Smrg
4416dd519f38Smrgrm -f core conftest.err conftest.$ac_objext
4417dd519f38Smrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
4418dd519f38Smrgdone
4419dd519f38Smrgrm -f conftest.$ac_ext
4420dd519f38SmrgCC=$ac_save_CC
4421dd519f38Smrg
4422dd519f38Smrgfi
4423dd519f38Smrg# AC_CACHE_VAL
4424dd519f38Smrgcase "x$ac_cv_prog_cc_c99" in
4425dd519f38Smrg  x)
4426dd519f38Smrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4427dd519f38Smrg$as_echo "none needed" >&6; } ;;
4428dd519f38Smrg  xno)
4429dd519f38Smrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4430dd519f38Smrg$as_echo "unsupported" >&6; } ;;
4431dd519f38Smrg  *)
4432dd519f38Smrg    CC="$CC $ac_cv_prog_cc_c99"
4433dd519f38Smrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
4434dd519f38Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4435dd519f38Smrgesac
4436dd519f38Smrg
4437dd519f38Smrg
4438dd519f38Smrg
4439dd519f38Smrg# Make sure we can run config.sub.
4440dd519f38Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4441dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4442dd519f38Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4443dd519f38Smrg   { (exit 1); exit 1; }; }
4444dd519f38Smrg
4445dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4446dd519f38Smrg$as_echo_n "checking build system type... " >&6; }
4447dd519f38Smrgif test "${ac_cv_build+set}" = set; then
4448dd519f38Smrg  $as_echo_n "(cached) " >&6
4449dd519f38Smrgelse
4450dd519f38Smrg  ac_build_alias=$build_alias
4451dd519f38Smrgtest "x$ac_build_alias" = x &&
4452dd519f38Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4453dd519f38Smrgtest "x$ac_build_alias" = x &&
4454dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4455dd519f38Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4456dd519f38Smrg   { (exit 1); exit 1; }; }
4457dd519f38Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4458dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4459dd519f38Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4460dd519f38Smrg   { (exit 1); exit 1; }; }
4461dd519f38Smrg
4462dd519f38Smrgfi
4463dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4464dd519f38Smrg$as_echo "$ac_cv_build" >&6; }
4465dd519f38Smrgcase $ac_cv_build in
4466dd519f38Smrg*-*-*) ;;
4467dd519f38Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4468dd519f38Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4469dd519f38Smrg   { (exit 1); exit 1; }; };;
4470dd519f38Smrgesac
4471dd519f38Smrgbuild=$ac_cv_build
4472dd519f38Smrgac_save_IFS=$IFS; IFS='-'
4473dd519f38Smrgset x $ac_cv_build
4474dd519f38Smrgshift
4475dd519f38Smrgbuild_cpu=$1
4476dd519f38Smrgbuild_vendor=$2
4477dd519f38Smrgshift; shift
4478dd519f38Smrg# Remember, the first character of IFS is used to create $*,
4479dd519f38Smrg# except with old shells:
4480dd519f38Smrgbuild_os=$*
4481dd519f38SmrgIFS=$ac_save_IFS
4482dd519f38Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4483dd519f38Smrg
4484dd519f38Smrg
4485dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4486dd519f38Smrg$as_echo_n "checking host system type... " >&6; }
4487dd519f38Smrgif test "${ac_cv_host+set}" = set; then
4488dd519f38Smrg  $as_echo_n "(cached) " >&6
4489dd519f38Smrgelse
4490dd519f38Smrg  if test "x$host_alias" = x; then
4491dd519f38Smrg  ac_cv_host=$ac_cv_build
4492dd519f38Smrgelse
4493dd519f38Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4494dd519f38Smrg    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4495dd519f38Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4496dd519f38Smrg   { (exit 1); exit 1; }; }
4497dd519f38Smrgfi
4498dd519f38Smrg
4499dd519f38Smrgfi
4500dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4501dd519f38Smrg$as_echo "$ac_cv_host" >&6; }
4502dd519f38Smrgcase $ac_cv_host in
4503dd519f38Smrg*-*-*) ;;
4504dd519f38Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4505dd519f38Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4506dd519f38Smrg   { (exit 1); exit 1; }; };;
4507dd519f38Smrgesac
4508dd519f38Smrghost=$ac_cv_host
4509dd519f38Smrgac_save_IFS=$IFS; IFS='-'
4510dd519f38Smrgset x $ac_cv_host
4511dd519f38Smrgshift
4512dd519f38Smrghost_cpu=$1
4513dd519f38Smrghost_vendor=$2
4514dd519f38Smrgshift; shift
4515dd519f38Smrg# Remember, the first character of IFS is used to create $*,
4516dd519f38Smrg# except with old shells:
4517dd519f38Smrghost_os=$*
4518dd519f38SmrgIFS=$ac_save_IFS
4519dd519f38Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4520dd519f38Smrg
4521dd519f38Smrg
4522dd519f38Smrg
4523dd519f38Smrg
4524dd519f38Smrg
4525dd519f38Smrgif  test "x$GCC" = xyes ; then
4526dd519f38Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4527dd519f38Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4528dd519f38Smrg-Wbad-function-cast"
4529dd519f38Smrg    case `$CC -dumpversion` in
4530dd519f38Smrg    3.4.* | 4.*)
4531dd519f38Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4532dd519f38Smrg	;;
4533dd519f38Smrg    esac
4534dd519f38Smrgelse
4535dd519f38Smrg    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4536dd519f38Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4537dd519f38Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4538dd519f38Smrg  $as_echo_n "(cached) " >&6
4539dd519f38Smrgelse
4540dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
4541dd519f38Smrg/* confdefs.h.  */
4542dd519f38Smrg_ACEOF
4543dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
4544dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
4545dd519f38Smrg/* end confdefs.h.  */
4546dd519f38Smrg$ac_includes_default
4547dd519f38Smrgint
4548dd519f38Smrgmain ()
4549dd519f38Smrg{
4550dd519f38Smrg#ifndef __SUNPRO_C
4551dd519f38Smrg  (void) __SUNPRO_C;
4552dd519f38Smrg#endif
4553dd519f38Smrg
4554dd519f38Smrg  ;
4555dd519f38Smrg  return 0;
4556dd519f38Smrg}
4557dd519f38Smrg_ACEOF
4558dd519f38Smrgrm -f conftest.$ac_objext
4559dd519f38Smrgif { (ac_try="$ac_compile"
4560dd519f38Smrgcase "(($ac_try" in
4561dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562dd519f38Smrg  *) ac_try_echo=$ac_try;;
4563dd519f38Smrgesac
4564dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4565dd519f38Smrg$as_echo "$ac_try_echo") >&5
4566dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
4567dd519f38Smrg  ac_status=$?
4568dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
4569dd519f38Smrg  rm -f conftest.er1
4570dd519f38Smrg  cat conftest.err >&5
4571dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572dd519f38Smrg  (exit $ac_status); } && {
4573dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
4574dd519f38Smrg	 test ! -s conftest.err
4575dd519f38Smrg       } && test -s conftest.$ac_objext; then
4576dd519f38Smrg  ac_cv_have_decl___SUNPRO_C=yes
4577dd519f38Smrgelse
4578dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
4579dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
4580dd519f38Smrg
4581dd519f38Smrg	ac_cv_have_decl___SUNPRO_C=no
4582dd519f38Smrgfi
4583dd519f38Smrg
4584dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585dd519f38Smrgfi
4586dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4587dd519f38Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4588dd519f38Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4589dd519f38Smrg  SUNCC="yes"
4590dd519f38Smrgelse
4591dd519f38Smrg  SUNCC="no"
4592dd519f38Smrgfi
4593dd519f38Smrg
4594dd519f38Smrg    if test "x$SUNCC" = "xyes"; then
4595dd519f38Smrg	CWARNFLAGS="-v"
4596dd519f38Smrg    fi
4597dd519f38Smrgfi
4598dd519f38Smrg
4599dd519f38Smrg# Check whether --enable-silent-rules was given.
4600dd519f38Smrgif test "${enable_silent_rules+set}" = set; then
4601dd519f38Smrg  enableval=$enable_silent_rules;
4602dd519f38Smrgfi
4603dd519f38Smrg
4604dd519f38Smrgcase $enable_silent_rules in
4605dd519f38Smrgyes) AM_DEFAULT_VERBOSITY=0;;
4606dd519f38Smrgno)  AM_DEFAULT_VERBOSITY=1;;
4607dd519f38Smrg*)   AM_DEFAULT_VERBOSITY=0;;
4608dd519f38Smrgesac
4609dd519f38SmrgAM_BACKSLASH='\'
4610dd519f38Smrg
4611dd519f38Smrg
4612dd519f38Smrg
4613dd519f38Smrg
4614dd519f38Smrg
4615dd519f38Smrg
4616dd519f38Smrg
4617dd519f38Smrg# Check whether --enable-strict-compilation was given.
4618dd519f38Smrgif test "${enable_strict_compilation+set}" = set; then
4619dd519f38Smrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4620dd519f38Smrgelse
4621dd519f38Smrg  STRICT_COMPILE=no
4622dd519f38Smrgfi
4623dd519f38Smrg
4624dd519f38Smrgif test "x$STRICT_COMPILE" = "xyes"; then
4625dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4626dd519f38Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4627dd519f38Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4628dd519f38Smrg  $as_echo_n "(cached) " >&6
4629dd519f38Smrgelse
4630dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
4631dd519f38Smrg/* confdefs.h.  */
4632dd519f38Smrg_ACEOF
4633dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
4634dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
4635dd519f38Smrg/* end confdefs.h.  */
4636dd519f38Smrg$ac_includes_default
4637dd519f38Smrgint
4638dd519f38Smrgmain ()
4639dd519f38Smrg{
4640dd519f38Smrg#ifndef __SUNPRO_C
4641dd519f38Smrg  (void) __SUNPRO_C;
4642dd519f38Smrg#endif
4643dd519f38Smrg
4644dd519f38Smrg  ;
4645dd519f38Smrg  return 0;
4646dd519f38Smrg}
4647dd519f38Smrg_ACEOF
4648dd519f38Smrgrm -f conftest.$ac_objext
4649dd519f38Smrgif { (ac_try="$ac_compile"
4650dd519f38Smrgcase "(($ac_try" in
4651dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652dd519f38Smrg  *) ac_try_echo=$ac_try;;
4653dd519f38Smrgesac
4654dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4655dd519f38Smrg$as_echo "$ac_try_echo") >&5
4656dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
4657dd519f38Smrg  ac_status=$?
4658dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
4659dd519f38Smrg  rm -f conftest.er1
4660dd519f38Smrg  cat conftest.err >&5
4661dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662dd519f38Smrg  (exit $ac_status); } && {
4663dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
4664dd519f38Smrg	 test ! -s conftest.err
4665dd519f38Smrg       } && test -s conftest.$ac_objext; then
4666dd519f38Smrg  ac_cv_have_decl___SUNPRO_C=yes
4667dd519f38Smrgelse
4668dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
4669dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
4670dd519f38Smrg
4671dd519f38Smrg	ac_cv_have_decl___SUNPRO_C=no
4672dd519f38Smrgfi
4673dd519f38Smrg
4674dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675dd519f38Smrgfi
4676dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4677dd519f38Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4678dd519f38Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4679dd519f38Smrg  SUNCC="yes"
4680dd519f38Smrgelse
4681dd519f38Smrg  SUNCC="no"
4682dd519f38Smrgfi
4683dd519f38Smrg
4684dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
4685dd519f38Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
4686dd519f38Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
4687dd519f38Smrg  $as_echo_n "(cached) " >&6
4688dd519f38Smrgelse
4689dd519f38Smrg  cat >conftest.$ac_ext <<_ACEOF
4690dd519f38Smrg/* confdefs.h.  */
4691dd519f38Smrg_ACEOF
4692dd519f38Smrgcat confdefs.h >>conftest.$ac_ext
4693dd519f38Smrgcat >>conftest.$ac_ext <<_ACEOF
4694dd519f38Smrg/* end confdefs.h.  */
4695dd519f38Smrg$ac_includes_default
4696dd519f38Smrgint
4697dd519f38Smrgmain ()
4698dd519f38Smrg{
4699dd519f38Smrg#ifndef __INTEL_COMPILER
4700dd519f38Smrg  (void) __INTEL_COMPILER;
4701dd519f38Smrg#endif
4702dd519f38Smrg
4703dd519f38Smrg  ;
4704dd519f38Smrg  return 0;
4705dd519f38Smrg}
4706dd519f38Smrg_ACEOF
4707dd519f38Smrgrm -f conftest.$ac_objext
4708dd519f38Smrgif { (ac_try="$ac_compile"
4709dd519f38Smrgcase "(($ac_try" in
4710dd519f38Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4711dd519f38Smrg  *) ac_try_echo=$ac_try;;
4712dd519f38Smrgesac
4713dd519f38Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4714dd519f38Smrg$as_echo "$ac_try_echo") >&5
4715dd519f38Smrg  (eval "$ac_compile") 2>conftest.er1
4716dd519f38Smrg  ac_status=$?
4717dd519f38Smrg  grep -v '^ *+' conftest.er1 >conftest.err
4718dd519f38Smrg  rm -f conftest.er1
4719dd519f38Smrg  cat conftest.err >&5
4720dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721dd519f38Smrg  (exit $ac_status); } && {
4722dd519f38Smrg	 test -z "$ac_c_werror_flag" ||
4723dd519f38Smrg	 test ! -s conftest.err
4724dd519f38Smrg       } && test -s conftest.$ac_objext; then
4725dd519f38Smrg  ac_cv_have_decl___INTEL_COMPILER=yes
4726dd519f38Smrgelse
4727dd519f38Smrg  $as_echo "$as_me: failed program was:" >&5
4728dd519f38Smrgsed 's/^/| /' conftest.$ac_ext >&5
4729dd519f38Smrg
4730dd519f38Smrg	ac_cv_have_decl___INTEL_COMPILER=no
4731dd519f38Smrgfi
4732dd519f38Smrg
4733dd519f38Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4734dd519f38Smrgfi
4735dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
4736dd519f38Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
4737dd519f38Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
4738dd519f38Smrg  INTELCC="yes"
4739dd519f38Smrgelse
4740dd519f38Smrg  INTELCC="no"
4741dd519f38Smrgfi
4742dd519f38Smrg
4743dd519f38Smrg	if test "x$GCC" = xyes ; then
4744dd519f38Smrg		STRICT_CFLAGS="-pedantic -Werror"
4745dd519f38Smrg	elif test "x$SUNCC" = "xyes"; then
4746dd519f38Smrg		STRICT_CFLAGS="-errwarn"
4747dd519f38Smrg    elif test "x$INTELCC" = "xyes"; then
4748dd519f38Smrg		STRICT_CFLAGS="-Werror"
4749dd519f38Smrg	fi
4750dd519f38Smrgfi
4751dd519f38SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4752dd519f38Smrg
4753dd519f38Smrg
4754dd519f38Smrg
4755dd519f38Smrg
4756dd519f38Smrg# Check whether --with-release-version was given.
4757dd519f38Smrgif test "${with_release_version+set}" = set; then
4758dd519f38Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
4759dd519f38Smrgelse
4760dd519f38Smrg  RELEASE_VERSION=""
4761dd519f38Smrgfi
4762dd519f38Smrg
4763dd519f38Smrg	if test "x$RELEASE_VERSION" != "x"; then
4764dd519f38Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
4765dd519f38Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4766dd519f38Smrg		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4767dd519f38Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4768dd519f38Smrg	fi
4769dd519f38Smrg
4770dd519f38Smrgcat >>confdefs.h <<_ACEOF
4771dd519f38Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4772dd519f38Smrg_ACEOF
4773dd519f38Smrg
4774dd519f38Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4775dd519f38Smrg	if test "x$PVM" = "x"; then
4776dd519f38Smrg		PVM="0"
4777dd519f38Smrg	fi
4778dd519f38Smrg
4779dd519f38Smrgcat >>confdefs.h <<_ACEOF
4780dd519f38Smrg#define PACKAGE_VERSION_MINOR $PVM
4781dd519f38Smrg_ACEOF
4782dd519f38Smrg
4783dd519f38Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4784dd519f38Smrg	if test "x$PVP" = "x"; then
4785dd519f38Smrg		PVP="0"
4786dd519f38Smrg	fi
4787dd519f38Smrg
4788dd519f38Smrgcat >>confdefs.h <<_ACEOF
4789dd519f38Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
4790dd519f38Smrg_ACEOF
4791dd519f38Smrg
4792dd519f38Smrg
4793dd519f38Smrg
4794dd519f38SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
4795dd519f38Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
4796dd519f38Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
4797dd519f38Smrg
4798dd519f38Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
4799dd519f38Smrg
4800dd519f38Smrg
4801dd519f38Smrg
4802dd519f38Smrg
4803dd519f38Smrg
4804dd519f38Smrgif test x$APP_MAN_SUFFIX = x    ; then
4805dd519f38Smrg    APP_MAN_SUFFIX=1
4806dd519f38Smrgfi
4807dd519f38Smrgif test x$APP_MAN_DIR = x    ; then
4808dd519f38Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4809dd519f38Smrgfi
4810dd519f38Smrg
4811dd519f38Smrgif test x$LIB_MAN_SUFFIX = x    ; then
4812dd519f38Smrg    LIB_MAN_SUFFIX=3
4813dd519f38Smrgfi
4814dd519f38Smrgif test x$LIB_MAN_DIR = x    ; then
4815dd519f38Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4816dd519f38Smrgfi
4817dd519f38Smrg
4818dd519f38Smrgif test x$FILE_MAN_SUFFIX = x    ; then
4819dd519f38Smrg    case $host_os in
4820dd519f38Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
4821dd519f38Smrg	*)		FILE_MAN_SUFFIX=5  ;;
4822dd519f38Smrg    esac
4823dd519f38Smrgfi
4824dd519f38Smrgif test x$FILE_MAN_DIR = x    ; then
4825dd519f38Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4826dd519f38Smrgfi
4827dd519f38Smrg
4828dd519f38Smrgif test x$MISC_MAN_SUFFIX = x    ; then
4829dd519f38Smrg    case $host_os in
4830dd519f38Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
4831dd519f38Smrg	*)		MISC_MAN_SUFFIX=7  ;;
4832dd519f38Smrg    esac
4833dd519f38Smrgfi
4834dd519f38Smrgif test x$MISC_MAN_DIR = x    ; then
4835dd519f38Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4836dd519f38Smrgfi
4837dd519f38Smrg
4838dd519f38Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
4839dd519f38Smrg    case $host_os in
4840dd519f38Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4841dd519f38Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
4842dd519f38Smrg    esac
4843dd519f38Smrgfi
4844dd519f38Smrgif test x$DRIVER_MAN_DIR = x    ; then
4845dd519f38Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4846dd519f38Smrgfi
4847dd519f38Smrg
4848dd519f38Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
4849dd519f38Smrg    case $host_os in
4850dd519f38Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4851dd519f38Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
4852dd519f38Smrg    esac
4853dd519f38Smrgfi
4854dd519f38Smrgif test x$ADMIN_MAN_DIR = x    ; then
4855dd519f38Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4856dd519f38Smrgfi
4857dd519f38Smrg
4858dd519f38Smrg
4859dd519f38Smrg
4860dd519f38Smrg
4861dd519f38Smrg
4862dd519f38Smrg
4863dd519f38Smrg
4864dd519f38Smrg
4865dd519f38Smrg
4866dd519f38Smrg
4867dd519f38Smrg
4868dd519f38Smrg
4869dd519f38Smrg
4870dd519f38Smrg
4871ed029a5fSmrg
4872ed029a5fSmrg
4873ed029a5fSmrg
4874ed029a5fSmrg# Find a good install program.  We prefer a C program (faster),
4875ed029a5fSmrg# so one script is as good as another.  But avoid the broken or
4876ed029a5fSmrg# incompatible versions:
4877ed029a5fSmrg# SysV /etc/install, /usr/sbin/install
4878ed029a5fSmrg# SunOS /usr/etc/install
4879ed029a5fSmrg# IRIX /sbin/install
4880ed029a5fSmrg# AIX /bin/install
4881ed029a5fSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
4882ed029a5fSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4883ed029a5fSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4884ed029a5fSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4885ed029a5fSmrg# OS/2's system install, which has a completely different semantic
4886ed029a5fSmrg# ./install, which can be erroneously created by make from ./install.sh.
4887dd519f38Smrg# Reject install programs that cannot install multiple files.
4888dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4889dd519f38Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
4890ed029a5fSmrgif test -z "$INSTALL"; then
4891ed029a5fSmrgif test "${ac_cv_path_install+set}" = set; then
4892dd519f38Smrg  $as_echo_n "(cached) " >&6
4893ed029a5fSmrgelse
4894ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895ed029a5fSmrgfor as_dir in $PATH
4896ed029a5fSmrgdo
4897ed029a5fSmrg  IFS=$as_save_IFS
4898ed029a5fSmrg  test -z "$as_dir" && as_dir=.
4899ed029a5fSmrg  # Account for people who put trailing slashes in PATH elements.
4900ed029a5fSmrgcase $as_dir/ in
4901ed029a5fSmrg  ./ | .// | /cC/* | \
4902ed029a5fSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4903ed029a5fSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4904ed029a5fSmrg  /usr/ucb/* ) ;;
4905ed029a5fSmrg  *)
4906ed029a5fSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
4907ed029a5fSmrg    # Don't use installbsd from OSF since it installs stuff as root
4908ed029a5fSmrg    # by default.
4909ed029a5fSmrg    for ac_prog in ginstall scoinst install; do
4910ed029a5fSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
4911dd519f38Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4912ed029a5fSmrg	  if test $ac_prog = install &&
4913ed029a5fSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4914ed029a5fSmrg	    # AIX install.  It has an incompatible calling convention.
4915ed029a5fSmrg	    :
4916ed029a5fSmrg	  elif test $ac_prog = install &&
4917ed029a5fSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4918ed029a5fSmrg	    # program-specific install script used by HP pwplus--don't use.
4919ed029a5fSmrg	    :
4920ed029a5fSmrg	  else
4921dd519f38Smrg	    rm -rf conftest.one conftest.two conftest.dir
4922dd519f38Smrg	    echo one > conftest.one
4923dd519f38Smrg	    echo two > conftest.two
4924dd519f38Smrg	    mkdir conftest.dir
4925dd519f38Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4926dd519f38Smrg	      test -s conftest.one && test -s conftest.two &&
4927dd519f38Smrg	      test -s conftest.dir/conftest.one &&
4928dd519f38Smrg	      test -s conftest.dir/conftest.two
4929dd519f38Smrg	    then
4930dd519f38Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4931dd519f38Smrg	      break 3
4932dd519f38Smrg	    fi
4933ed029a5fSmrg	  fi
4934ed029a5fSmrg	fi
4935ed029a5fSmrg      done
4936ed029a5fSmrg    done
4937ed029a5fSmrg    ;;
4938ed029a5fSmrgesac
4939dd519f38Smrg
4940ed029a5fSmrgdone
4941dd519f38SmrgIFS=$as_save_IFS
4942ed029a5fSmrg
4943dd519f38Smrgrm -rf conftest.one conftest.two conftest.dir
4944ed029a5fSmrg
4945ed029a5fSmrgfi
4946ed029a5fSmrg  if test "${ac_cv_path_install+set}" = set; then
4947ed029a5fSmrg    INSTALL=$ac_cv_path_install
4948ed029a5fSmrg  else
4949dd519f38Smrg    # As a last resort, use the slow shell script.  Don't cache a
4950dd519f38Smrg    # value for INSTALL within a source directory, because that will
4951ed029a5fSmrg    # break other packages using the cache if that directory is
4952dd519f38Smrg    # removed, or if the value is a relative name.
4953ed029a5fSmrg    INSTALL=$ac_install_sh
4954ed029a5fSmrg  fi
4955ed029a5fSmrgfi
4956dd519f38Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4957dd519f38Smrg$as_echo "$INSTALL" >&6; }
4958ed029a5fSmrg
4959ed029a5fSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4960ed029a5fSmrg# It thinks the first close brace ends the variable substitution.
4961ed029a5fSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4962ed029a5fSmrg
4963ed029a5fSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4964ed029a5fSmrg
4965ed029a5fSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4966ed029a5fSmrg
4967ed029a5fSmrg
4968dd519f38Smrg# Require X.Org's font util macros 1.1 or later
4969dd519f38Smrg
4970dd519f38Smrg
4971dd519f38Smrg
4972dd519f38Smrg
4973dd519f38Smrg
4974dd519f38Smrg
4975dd519f38Smrg
4976dd519f38Smrg
4977dd519f38Smrg
4978dd519f38Smrg
4979dd519f38Smrg
4980dd519f38Smrg
4981dd519f38Smrg
4982dd519f38Smrg
4983dd519f38Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4984dd519f38Smrg	if test -n "$ac_tool_prefix"; then
4985dd519f38Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4986dd519f38Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4987dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4988dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
4989dd519f38Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4990dd519f38Smrg  $as_echo_n "(cached) " >&6
4991ed029a5fSmrgelse
4992dd519f38Smrg  case $PKG_CONFIG in
4993ed029a5fSmrg  [\\/]* | ?:[\\/]*)
4994dd519f38Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4995ed029a5fSmrg  ;;
4996ed029a5fSmrg  *)
4997ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998ed029a5fSmrgfor as_dir in $PATH
4999ed029a5fSmrgdo
5000ed029a5fSmrg  IFS=$as_save_IFS
5001ed029a5fSmrg  test -z "$as_dir" && as_dir=.
5002ed029a5fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
5003dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5004dd519f38Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5005dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5006ed029a5fSmrg    break 2
5007ed029a5fSmrg  fi
5008ed029a5fSmrgdone
5009ed029a5fSmrgdone
5010dd519f38SmrgIFS=$as_save_IFS
5011ed029a5fSmrg
5012ed029a5fSmrg  ;;
5013ed029a5fSmrgesac
5014ed029a5fSmrgfi
5015dd519f38SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
5016dd519f38Smrgif test -n "$PKG_CONFIG"; then
5017dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5018dd519f38Smrg$as_echo "$PKG_CONFIG" >&6; }
5019ed029a5fSmrgelse
5020dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
5021dd519f38Smrg$as_echo "no" >&6; }
5022ed029a5fSmrgfi
5023ed029a5fSmrg
5024dd519f38Smrg
5025dd519f38Smrgfi
5026dd519f38Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
5027dd519f38Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
5028dd519f38Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
5029dd519f38Smrgset dummy pkg-config; ac_word=$2
5030dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5031dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
5032dd519f38Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5033dd519f38Smrg  $as_echo_n "(cached) " >&6
5034ed029a5fSmrgelse
5035dd519f38Smrg  case $ac_pt_PKG_CONFIG in
5036ed029a5fSmrg  [\\/]* | ?:[\\/]*)
5037dd519f38Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5038ed029a5fSmrg  ;;
5039ed029a5fSmrg  *)
5040ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041ed029a5fSmrgfor as_dir in $PATH
5042ed029a5fSmrgdo
5043ed029a5fSmrg  IFS=$as_save_IFS
5044ed029a5fSmrg  test -z "$as_dir" && as_dir=.
5045ed029a5fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
5046dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5047dd519f38Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5048dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5049ed029a5fSmrg    break 2
5050ed029a5fSmrg  fi
5051ed029a5fSmrgdone
5052ed029a5fSmrgdone
5053dd519f38SmrgIFS=$as_save_IFS
5054ed029a5fSmrg
5055ed029a5fSmrg  ;;
5056ed029a5fSmrgesac
5057ed029a5fSmrgfi
5058dd519f38Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5059dd519f38Smrgif test -n "$ac_pt_PKG_CONFIG"; then
5060dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5061dd519f38Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5062dd519f38Smrgelse
5063dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
5064dd519f38Smrg$as_echo "no" >&6; }
5065dd519f38Smrgfi
5066ed029a5fSmrg
5067dd519f38Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
5068dd519f38Smrg    PKG_CONFIG=""
5069dd519f38Smrg  else
5070dd519f38Smrg    case $cross_compiling:$ac_tool_warned in
5071dd519f38Smrgyes:)
5072dd519f38Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5073dd519f38Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074dd519f38Smrgac_tool_warned=yes ;;
5075dd519f38Smrgesac
5076dd519f38Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
5077dd519f38Smrg  fi
5078dd519f38Smrgelse
5079dd519f38Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5080dd519f38Smrgfi
5081dd519f38Smrg
5082dd519f38Smrgfi
5083dd519f38Smrgif test -n "$PKG_CONFIG"; then
5084dd519f38Smrg	_pkg_min_version=0.9.0
5085dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5086dd519f38Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5087dd519f38Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5088dd519f38Smrg		{ $as_echo "$as_me:$LINENO: result: yes" >&5
5089dd519f38Smrg$as_echo "yes" >&6; }
5090dd519f38Smrg	else
5091dd519f38Smrg		{ $as_echo "$as_me:$LINENO: result: no" >&5
5092dd519f38Smrg$as_echo "no" >&6; }
5093dd519f38Smrg		PKG_CONFIG=""
5094dd519f38Smrg	fi
5095dd519f38Smrg
5096dd519f38Smrgfi
5097dd519f38Smrg
5098dd519f38Smrg
5099dd519f38Smrg
5100dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5
5101dd519f38Smrg$as_echo_n "checking for root directory for font files... " >&6; }
5102dd519f38Smrg
5103dd519f38Smrg# Check whether --with-fontrootdir was given.
5104dd519f38Smrgif test "${with_fontrootdir+set}" = set; then
5105dd519f38Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
5106dd519f38Smrgfi
5107dd519f38Smrg
5108dd519f38Smrg	# if --with-fontrootdir not specified...
5109dd519f38Smrg	if test "x${FONTROOTDIR}" = "x"; then
5110dd519f38Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
5111dd519f38Smrg	fi
5112dd519f38Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
5113dd519f38Smrg	if test "x${FONTROOTDIR}" = "x"; then
5114dd519f38Smrg		FONTROOTDIR="${datadir}/fonts/X11"
5115dd519f38Smrg	fi
5116dd519f38Smrg
5117dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5
5118dd519f38Smrg$as_echo "${FONTROOTDIR}" >&6; }
5119dd519f38Smrg
5120dd519f38Smrg
5121dd519f38Smrg
5122dd519f38Smrg
5123dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking for directory for 100dpi files" >&5
5124dd519f38Smrg$as_echo_n "checking for directory for 100dpi files... " >&6; }
5125dd519f38Smrg
5126dd519f38Smrg# Check whether --with-fontdir was given.
5127dd519f38Smrgif test "${with_fontdir+set}" = set; then
5128dd519f38Smrg  withval=$with_fontdir; FONTDIR="${withval}"
5129ed029a5fSmrgelse
5130dd519f38Smrg  FONTDIR='${FONTROOTDIR}/100dpi'
5131ed029a5fSmrgfi
5132ed029a5fSmrg
5133dd519f38Smrg
5134dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: ${FONTDIR}" >&5
5135dd519f38Smrg$as_echo "${FONTDIR}" >&6; }
5136dd519f38Smrg
5137dd519f38Smrg
5138dd519f38Smrg
5139dd519f38Smrg
5140dd519f38Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
5141dd519f38Smrgset dummy fc-cache; ac_word=$2
5142dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5143dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
5144dd519f38Smrgif test "${ac_cv_path_FCCACHE+set}" = set; then
5145dd519f38Smrg  $as_echo_n "(cached) " >&6
5146ed029a5fSmrgelse
5147dd519f38Smrg  case $FCCACHE in
5148ed029a5fSmrg  [\\/]* | ?:[\\/]*)
5149dd519f38Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
5150ed029a5fSmrg  ;;
5151ed029a5fSmrg  *)
5152ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153ed029a5fSmrgfor as_dir in $PATH
5154ed029a5fSmrgdo
5155ed029a5fSmrg  IFS=$as_save_IFS
5156ed029a5fSmrg  test -z "$as_dir" && as_dir=.
5157ed029a5fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
5158dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159dd519f38Smrg    ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext"
5160dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5161ed029a5fSmrg    break 2
5162ed029a5fSmrg  fi
5163ed029a5fSmrgdone
5164ed029a5fSmrgdone
5165dd519f38SmrgIFS=$as_save_IFS
5166ed029a5fSmrg
5167ed029a5fSmrg  ;;
5168ed029a5fSmrgesac
5169ed029a5fSmrgfi
5170dd519f38SmrgFCCACHE=$ac_cv_path_FCCACHE
5171dd519f38Smrgif test -n "$FCCACHE"; then
5172dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5
5173dd519f38Smrg$as_echo "$FCCACHE" >&6; }
5174ed029a5fSmrgelse
5175dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
5176dd519f38Smrg$as_echo "no" >&6; }
5177ed029a5fSmrgfi
5178ed029a5fSmrg
5179dd519f38Smrg
5180dd519f38Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
5181dd519f38Smrg	if test x"$FCCACHE" = x ; then
5182dd519f38Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
5183dd519f38Smrg	else
5184dd519f38Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
5185dd519f38Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
5186dd519f38Smrg	fi
5187dd519f38Smrg
5188dd519f38Smrg
5189dd519f38Smrg
5190dd519f38Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
5191ed029a5fSmrgset dummy mkfontdir; ac_word=$2
5192dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5193dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
5194ed029a5fSmrgif test "${ac_cv_path_MKFONTDIR+set}" = set; then
5195dd519f38Smrg  $as_echo_n "(cached) " >&6
5196ed029a5fSmrgelse
5197ed029a5fSmrg  case $MKFONTDIR in
5198ed029a5fSmrg  [\\/]* | ?:[\\/]*)
5199ed029a5fSmrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
5200ed029a5fSmrg  ;;
5201ed029a5fSmrg  *)
5202ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5203ed029a5fSmrgfor as_dir in $PATH
5204ed029a5fSmrgdo
5205ed029a5fSmrg  IFS=$as_save_IFS
5206ed029a5fSmrg  test -z "$as_dir" && as_dir=.
5207ed029a5fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
5208dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5209ed029a5fSmrg    ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext"
5210dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5211ed029a5fSmrg    break 2
5212ed029a5fSmrg  fi
5213ed029a5fSmrgdone
5214ed029a5fSmrgdone
5215dd519f38SmrgIFS=$as_save_IFS
5216ed029a5fSmrg
5217ed029a5fSmrg  ;;
5218ed029a5fSmrgesac
5219ed029a5fSmrgfi
5220ed029a5fSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
5221ed029a5fSmrgif test -n "$MKFONTDIR"; then
5222dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
5223dd519f38Smrg$as_echo "$MKFONTDIR" >&6; }
5224ed029a5fSmrgelse
5225dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
5226dd519f38Smrg$as_echo "no" >&6; }
5227ed029a5fSmrgfi
5228ed029a5fSmrg
5229ed029a5fSmrg
5230dd519f38Smrg	if test x"MKFONTDIR" = x; then
5231dd519f38Smrg		{ { $as_echo "$as_me:$LINENO: error: mkfontdir is required to build $PACKAGE_NAME." >&5
5232dd519f38Smrg$as_echo "$as_me: error: mkfontdir is required to build $PACKAGE_NAME." >&2;}
5233dd519f38Smrg   { (exit 1); exit 1; }; }
5234dd519f38Smrg	fi
5235ed029a5fSmrg
5236ed029a5fSmrg
5237ed029a5fSmrg
5238dd519f38Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
5239dd519f38Smrgset dummy bdftopcf; ac_word=$2
5240dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5241dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
5242dd519f38Smrgif test "${ac_cv_path_BDFTOPCF+set}" = set; then
5243dd519f38Smrg  $as_echo_n "(cached) " >&6
5244dd519f38Smrgelse
5245dd519f38Smrg  case $BDFTOPCF in
5246dd519f38Smrg  [\\/]* | ?:[\\/]*)
5247dd519f38Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
5248dd519f38Smrg  ;;
5249dd519f38Smrg  *)
5250dd519f38Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251dd519f38Smrgfor as_dir in $PATH
5252dd519f38Smrgdo
5253dd519f38Smrg  IFS=$as_save_IFS
5254dd519f38Smrg  test -z "$as_dir" && as_dir=.
5255dd519f38Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
5256dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257dd519f38Smrg    ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext"
5258dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259dd519f38Smrg    break 2
5260dd519f38Smrg  fi
5261dd519f38Smrgdone
5262dd519f38Smrgdone
5263dd519f38SmrgIFS=$as_save_IFS
5264dd519f38Smrg
5265dd519f38Smrg  ;;
5266dd519f38Smrgesac
5267dd519f38Smrgfi
5268dd519f38SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
5269dd519f38Smrgif test -n "$BDFTOPCF"; then
5270dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $BDFTOPCF" >&5
5271dd519f38Smrg$as_echo "$BDFTOPCF" >&6; }
5272ed029a5fSmrgelse
5273dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
5274dd519f38Smrg$as_echo "no" >&6; }
5275dd519f38Smrgfi
5276ed029a5fSmrg
5277ed029a5fSmrg
5278dd519f38Smrg	if test x"BDFTOPCF" = x; then
5279dd519f38Smrg		{ { $as_echo "$as_me:$LINENO: error: bdftopcf is required to build $PACKAGE_NAME." >&5
5280dd519f38Smrg$as_echo "$as_me: error: bdftopcf is required to build $PACKAGE_NAME." >&2;}
5281dd519f38Smrg   { (exit 1); exit 1; }; }
5282dd519f38Smrg	fi
5283ed029a5fSmrg
5284ed029a5fSmrg
5285dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking font compression method" >&5
5286dd519f38Smrg$as_echo_n "checking font compression method... " >&6; }
5287dd519f38Smrg
5288dd519f38Smrg# Check whether --with-compression was given.
5289dd519f38Smrgif test "${with_compression+set}" = set; then
5290dd519f38Smrg  withval=$with_compression; compression="$withval"
5291ed029a5fSmrgelse
5292dd519f38Smrg  compression="yes"
5293dd519f38Smrgfi
5294dd519f38Smrg
5295dd519f38Smrg	if test x"$compression" = "xyes" ; then
5296dd519f38Smrg		compression="gzip"
5297dd519f38Smrg	fi
5298dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: ${compression}" >&5
5299dd519f38Smrg$as_echo "${compression}" >&6; }
5300dd519f38Smrg	case ${compression} in
5301dd519f38Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
5302dd519f38Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;;
5303dd519f38Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
5304dd519f38Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
5305dd519f38Smrg	 *) { { $as_echo "$as_me:$LINENO: error: ${compression} is not a supported compression method" >&5
5306dd519f38Smrg$as_echo "$as_me: error: ${compression} is not a supported compression method" >&2;}
5307dd519f38Smrg   { (exit 1); exit 1; }; } ;;
5308dd519f38Smrg	esac
5309dd519f38Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
5310dd519f38Smrg
5311dd519f38Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
5312dd519f38Smrgset dummy ${compression}; ac_word=$2
5313dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5314dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
5315dd519f38Smrgif test "${ac_cv_path_COMPRESS+set}" = set; then
5316dd519f38Smrg  $as_echo_n "(cached) " >&6
5317dd519f38Smrgelse
5318dd519f38Smrg  case $COMPRESS in
5319ed029a5fSmrg  [\\/]* | ?:[\\/]*)
5320dd519f38Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
5321ed029a5fSmrg  ;;
5322ed029a5fSmrg  *)
5323ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324ed029a5fSmrgfor as_dir in $PATH
5325ed029a5fSmrgdo
5326ed029a5fSmrg  IFS=$as_save_IFS
5327ed029a5fSmrg  test -z "$as_dir" && as_dir=.
5328ed029a5fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
5329dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330dd519f38Smrg    ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext"
5331dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5332ed029a5fSmrg    break 2
5333ed029a5fSmrg  fi
5334ed029a5fSmrgdone
5335ed029a5fSmrgdone
5336dd519f38SmrgIFS=$as_save_IFS
5337ed029a5fSmrg
5338ed029a5fSmrg  ;;
5339ed029a5fSmrgesac
5340ed029a5fSmrgfi
5341dd519f38SmrgCOMPRESS=$ac_cv_path_COMPRESS
5342dd519f38Smrgif test -n "$COMPRESS"; then
5343dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $COMPRESS" >&5
5344dd519f38Smrg$as_echo "$COMPRESS" >&6; }
5345ed029a5fSmrgelse
5346dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
5347dd519f38Smrg$as_echo "no" >&6; }
5348ed029a5fSmrgfi
5349ed029a5fSmrg
5350dd519f38Smrg
5351dd519f38Smrg	if test x"COMPRESS" = x; then
5352dd519f38Smrg		{ { $as_echo "$as_me:$LINENO: error: ${compression} is required to build $PACKAGE_NAME." >&5
5353dd519f38Smrg$as_echo "$as_me: error: ${compression} is required to build $PACKAGE_NAME." >&2;}
5354dd519f38Smrg   { (exit 1); exit 1; }; }
5355dd519f38Smrg	fi
5356dd519f38Smrg
5357dd519f38Smrg	fi
5358dd519f38Smrg
5359dd519f38Smrg
5360dd519f38Smrg
5361dd519f38Smrg
5362dd519f38Smrg
5363dd519f38Smrg	# Extract the first word of "ucs2any", so it can be a program name with args.
5364dd519f38Smrgset dummy ucs2any; ac_word=$2
5365dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5366dd519f38Smrg$as_echo_n "checking for $ac_word... " >&6; }
5367dd519f38Smrgif test "${ac_cv_path_UCS2ANY+set}" = set; then
5368dd519f38Smrg  $as_echo_n "(cached) " >&6
5369ed029a5fSmrgelse
5370dd519f38Smrg  case $UCS2ANY in
5371ed029a5fSmrg  [\\/]* | ?:[\\/]*)
5372dd519f38Smrg  ac_cv_path_UCS2ANY="$UCS2ANY" # Let the user override the test with a path.
5373ed029a5fSmrg  ;;
5374ed029a5fSmrg  *)
5375ed029a5fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376ed029a5fSmrgfor as_dir in $PATH
5377ed029a5fSmrgdo
5378ed029a5fSmrg  IFS=$as_save_IFS
5379ed029a5fSmrg  test -z "$as_dir" && as_dir=.
5380ed029a5fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
5381dd519f38Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382dd519f38Smrg    ac_cv_path_UCS2ANY="$as_dir/$ac_word$ac_exec_ext"
5383dd519f38Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5384ed029a5fSmrg    break 2
5385ed029a5fSmrg  fi
5386ed029a5fSmrgdone
5387ed029a5fSmrgdone
5388dd519f38SmrgIFS=$as_save_IFS
5389ed029a5fSmrg
5390ed029a5fSmrg  ;;
5391ed029a5fSmrgesac
5392ed029a5fSmrgfi
5393dd519f38SmrgUCS2ANY=$ac_cv_path_UCS2ANY
5394dd519f38Smrgif test -n "$UCS2ANY"; then
5395dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: $UCS2ANY" >&5
5396dd519f38Smrg$as_echo "$UCS2ANY" >&6; }
5397ed029a5fSmrgelse
5398dd519f38Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
5399dd519f38Smrg$as_echo "no" >&6; }
5400ed029a5fSmrgfi
5401ed029a5fSmrg
5402ed029a5fSmrg
5403dd519f38Smrg	if test x"UCS2ANY" = x; then
5404dd519f38Smrg		{ { $as_echo "$as_me:$LINENO: error: ucs2any is required to build $PACKAGE_NAME." >&5
5405dd519f38Smrg$as_echo "$as_me: error: ucs2any is required to build $PACKAGE_NAME." >&2;}
5406dd519f38Smrg   { (exit 1); exit 1; }; }
5407ed029a5fSmrg	fi
5408ed029a5fSmrg
5409ed029a5fSmrg
5410ed029a5fSmrgpkg_failed=no
5411dd519f38Smrg{ $as_echo "$as_me:$LINENO: checking for MAPS" >&5
5412dd519f38Smrg$as_echo_n "checking for MAPS... " >&6; }
5413dd519f38Smrg
5414dd519f38Smrgif test -n "$MAPS_CFLAGS"; then
5415dd519f38Smrg    pkg_cv_MAPS_CFLAGS="$MAPS_CFLAGS"
5416dd519f38Smrg elif test -n "$PKG_CONFIG"; then
5417dd519f38Smrg    if test -n "$PKG_CONFIG" && \
5418dd519f38Smrg    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontutil\"") >&5
5419ed029a5fSmrg  ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
5420ed029a5fSmrg  ac_status=$?
5421dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422ed029a5fSmrg  (exit $ac_status); }; then
5423ed029a5fSmrg  pkg_cv_MAPS_CFLAGS=`$PKG_CONFIG --cflags "fontutil" 2>/dev/null`
5424ed029a5fSmrgelse
5425ed029a5fSmrg  pkg_failed=yes
5426ed029a5fSmrgfi
5427dd519f38Smrg else
5428dd519f38Smrg    pkg_failed=untried
5429ed029a5fSmrgfi
5430dd519f38Smrgif test -n "$MAPS_LIBS"; then
5431dd519f38Smrg    pkg_cv_MAPS_LIBS="$MAPS_LIBS"
5432dd519f38Smrg elif test -n "$PKG_CONFIG"; then
5433dd519f38Smrg    if test -n "$PKG_CONFIG" && \
5434dd519f38Smrg    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontutil\"") >&5
5435ed029a5fSmrg  ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5
5436ed029a5fSmrg  ac_status=$?
5437dd519f38Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438ed029a5fSmrg  (exit $ac_status); }; then
5439ed029a5fSmrg  pkg_cv_MAPS_LIBS=`$PKG_CONFIG --libs "fontutil" 2>/dev/null`
5440ed029a5fSmrgelse
5441ed029a5fSmrg  pkg_failed=yes
5442ed029a5fSmrgfi
5443dd519f38Smrg else
5444dd519f38Smrg    pkg_failed=untried
5445ed029a5fSmrgfi
5446ed029a5fSmrg
5447ed029a5fSmrg
5448ed029a5fSmrg
5449ed029a5fSmrgif test $pkg_failed = yes; then
5450ed029a5fSmrg
5451ed029a5fSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5452ed029a5fSmrg        _pkg_short_errors_supported=yes
5453ed029a5fSmrgelse
5454ed029a5fSmrg        _pkg_short_errors_supported=no
5455ed029a5fSmrgfi
5456ed029a5fSmrg        if test $_pkg_short_errors_supported = yes; then
5457dd519f38Smrg	        MAPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontutil" 2>&1`
5458ed029a5fSmrg        else
5459dd519f38Smrg	        MAPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontutil" 2>&1`
5460ed029a5fSmrg        fi
5461ed029a5fSmrg	# Put the nasty error message in config.log where it belongs
5462ed029a5fSmrg	echo "$MAPS_PKG_ERRORS" >&5
5463ed029a5fSmrg
5464dd519f38Smrg	{ { $as_echo "$as_me:$LINENO: error: Package requirements (fontutil) were not met:
5465ed029a5fSmrg
5466ed029a5fSmrg$MAPS_PKG_ERRORS
5467ed029a5fSmrg
5468ed029a5fSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
5469ed029a5fSmrginstalled software in a non-standard prefix.
5470ed029a5fSmrg
5471ed029a5fSmrgAlternatively, you may set the environment variables MAPS_CFLAGS
5472ed029a5fSmrgand MAPS_LIBS to avoid the need to call pkg-config.
5473ed029a5fSmrgSee the pkg-config man page for more details.
5474ed029a5fSmrg" >&5
5475dd519f38Smrg$as_echo "$as_me: error: Package requirements (fontutil) were not met:
5476ed029a5fSmrg
5477ed029a5fSmrg$MAPS_PKG_ERRORS
5478ed029a5fSmrg
5479ed029a5fSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
5480ed029a5fSmrginstalled software in a non-standard prefix.
5481ed029a5fSmrg
5482ed029a5fSmrgAlternatively, you may set the environment variables MAPS_CFLAGS
5483ed029a5fSmrgand MAPS_LIBS to avoid the need to call pkg-config.
5484ed029a5fSmrgSee the pkg-config man page for more details.
5485ed029a5fSmrg" >&2;}
5486ed029a5fSmrg   { (exit 1); exit 1; }; }
5487ed029a5fSmrgelif test $pkg_failed = untried; then
5488dd519f38Smrg	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5489dd519f38Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5490dd519f38Smrg{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5491ed029a5fSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
5492ed029a5fSmrgpath to pkg-config.
5493ed029a5fSmrg
5494ed029a5fSmrgAlternatively, you may set the environment variables MAPS_CFLAGS
5495ed029a5fSmrgand MAPS_LIBS to avoid the need to call pkg-config.
5496ed029a5fSmrgSee the pkg-config man page for more details.
5497ed029a5fSmrg
5498dd519f38SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>.
5499ed029a5fSmrgSee \`config.log' for more details." >&5
5500dd519f38Smrg$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5501ed029a5fSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
5502ed029a5fSmrgpath to pkg-config.
5503ed029a5fSmrg
5504ed029a5fSmrgAlternatively, you may set the environment variables MAPS_CFLAGS
5505ed029a5fSmrgand MAPS_LIBS to avoid the need to call pkg-config.
5506ed029a5fSmrgSee the pkg-config man page for more details.
5507ed029a5fSmrg
5508dd519f38SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>.
5509ed029a5fSmrgSee \`config.log' for more details." >&2;}
5510dd519f38Smrg   { (exit 1); exit 1; }; }; }
5511ed029a5fSmrgelse
5512ed029a5fSmrg	MAPS_CFLAGS=$pkg_cv_MAPS_CFLAGS
5513ed029a5fSmrg	MAPS_LIBS=$pkg_cv_MAPS_LIBS
5514dd519f38Smrg        { $as_echo "$as_me:$LINENO: result: yes" >&5
5515dd519f38Smrg$as_echo "yes" >&6; }
5516ed029a5fSmrg	:
5517ed029a5fSmrgfi
5518dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking for ucs2any encoding data files" >&5
5519dd519f38Smrg$as_echo_n "checking for ucs2any encoding data files... " >&6; }
5520dd519f38Smrg	MAPFILES_PATH=`pkg-config --variable=mapdir fontutil`
5521ed029a5fSmrg
5522dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: ${MAPFILES_PATH}" >&5
5523dd519f38Smrg$as_echo "${MAPFILES_PATH}" >&6; }
5524ed029a5fSmrg
5525ed029a5fSmrg
5526dd519f38Smrg
5527dd519f38Smrg	# Check whether --enable-iso8859-1 was given.
5528ed029a5fSmrgif test "${enable_iso8859_1+set}" = set; then
5529dd519f38Smrg  enableval=$enable_iso8859_1; ISO8859_1=$enableval
5530ed029a5fSmrgelse
5531ed029a5fSmrg  ISO8859_1=yes
5532dd519f38Smrgfi
5533ed029a5fSmrg
5534dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether to build ISO8859-1 fonts" >&5
5535dd519f38Smrg$as_echo_n "checking whether to build ISO8859-1 fonts... " >&6; }
5536dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: $ISO8859_1" >&5
5537dd519f38Smrg$as_echo "$ISO8859_1" >&6; }
5538dd519f38Smrg	 if test "x$ISO8859_1" = xyes; then
5539ed029a5fSmrg  ISO8859_1_TRUE=
5540ed029a5fSmrg  ISO8859_1_FALSE='#'
5541ed029a5fSmrgelse
5542ed029a5fSmrg  ISO8859_1_TRUE='#'
5543ed029a5fSmrg  ISO8859_1_FALSE=
5544ed029a5fSmrgfi
5545ed029a5fSmrg
5546ed029a5fSmrg
5547dd519f38Smrg	# Check whether --enable-iso8859-2 was given.
5548ed029a5fSmrgif test "${enable_iso8859_2+set}" = set; then
5549dd519f38Smrg  enableval=$enable_iso8859_2; ISO8859_2=$enableval
5550ed029a5fSmrgelse
5551ed029a5fSmrg  ISO8859_2=yes
5552dd519f38Smrgfi
5553ed029a5fSmrg
5554dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether to build ISO8859-2 fonts" >&5
5555dd519f38Smrg$as_echo_n "checking whether to build ISO8859-2 fonts... " >&6; }
5556dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: $ISO8859_2" >&5
5557dd519f38Smrg$as_echo "$ISO8859_2" >&6; }
5558dd519f38Smrg	 if test "x$ISO8859_2" = xyes; then
5559ed029a5fSmrg  ISO8859_2_TRUE=
5560ed029a5fSmrg  ISO8859_2_FALSE='#'
5561ed029a5fSmrgelse
5562ed029a5fSmrg  ISO8859_2_TRUE='#'
5563ed029a5fSmrg  ISO8859_2_FALSE=
5564ed029a5fSmrgfi
5565ed029a5fSmrg
5566ed029a5fSmrg
5567dd519f38Smrg	# Check whether --enable-iso8859-3 was given.
5568ed029a5fSmrgif test "${enable_iso8859_3+set}" = set; then
5569dd519f38Smrg  enableval=$enable_iso8859_3; ISO8859_3=$enableval
5570ed029a5fSmrgelse
5571ed029a5fSmrg  ISO8859_3=yes
5572dd519f38Smrgfi
5573ed029a5fSmrg
5574dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether to build ISO8859-3 fonts" >&5
5575dd519f38Smrg$as_echo_n "checking whether to build ISO8859-3 fonts... " >&6; }
5576dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: $ISO8859_3" >&5
5577dd519f38Smrg$as_echo "$ISO8859_3" >&6; }
5578dd519f38Smrg	 if test "x$ISO8859_3" = xyes; then
5579ed029a5fSmrg  ISO8859_3_TRUE=
5580ed029a5fSmrg  ISO8859_3_FALSE='#'
5581ed029a5fSmrgelse
5582ed029a5fSmrg  ISO8859_3_TRUE='#'
5583ed029a5fSmrg  ISO8859_3_FALSE=
5584ed029a5fSmrgfi
5585ed029a5fSmrg
5586ed029a5fSmrg
5587dd519f38Smrg	# Check whether --enable-iso8859-4 was given.
5588ed029a5fSmrgif test "${enable_iso8859_4+set}" = set; then
5589dd519f38Smrg  enableval=$enable_iso8859_4; ISO8859_4=$enableval
5590ed029a5fSmrgelse
5591ed029a5fSmrg  ISO8859_4=yes
5592dd519f38Smrgfi
5593ed029a5fSmrg
5594dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether to build ISO8859-4 fonts" >&5
5595dd519f38Smrg$as_echo_n "checking whether to build ISO8859-4 fonts... " >&6; }
5596dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: $ISO8859_4" >&5
5597dd519f38Smrg$as_echo "$ISO8859_4" >&6; }
5598dd519f38Smrg	 if test "x$ISO8859_4" = xyes; then
5599ed029a5fSmrg  ISO8859_4_TRUE=
5600ed029a5fSmrg  ISO8859_4_FALSE='#'
5601ed029a5fSmrgelse
5602ed029a5fSmrg  ISO8859_4_TRUE='#'
5603ed029a5fSmrg  ISO8859_4_FALSE=
5604ed029a5fSmrgfi
5605ed029a5fSmrg
5606ed029a5fSmrg
5607dd519f38Smrg	# Check whether --enable-iso8859-9 was given.
5608ed029a5fSmrgif test "${enable_iso8859_9+set}" = set; then
5609dd519f38Smrg  enableval=$enable_iso8859_9; ISO8859_9=$enableval
5610ed029a5fSmrgelse
5611ed029a5fSmrg  ISO8859_9=yes
5612dd519f38Smrgfi
5613ed029a5fSmrg
5614dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether to build ISO8859-9 fonts" >&5
5615dd519f38Smrg$as_echo_n "checking whether to build ISO8859-9 fonts... " >&6; }
5616dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: $ISO8859_9" >&5
5617dd519f38Smrg$as_echo "$ISO8859_9" >&6; }
5618dd519f38Smrg	 if test "x$ISO8859_9" = xyes; then
5619ed029a5fSmrg  ISO8859_9_TRUE=
5620ed029a5fSmrg  ISO8859_9_FALSE='#'
5621ed029a5fSmrgelse
5622ed029a5fSmrg  ISO8859_9_TRUE='#'
5623ed029a5fSmrg  ISO8859_9_FALSE=
5624ed029a5fSmrgfi
5625ed029a5fSmrg
5626ed029a5fSmrg
5627dd519f38Smrg	# Check whether --enable-iso8859-10 was given.
5628ed029a5fSmrgif test "${enable_iso8859_10+set}" = set; then
5629dd519f38Smrg  enableval=$enable_iso8859_10; ISO8859_10=$enableval
5630ed029a5fSmrgelse
5631ed029a5fSmrg  ISO8859_10=yes
5632dd519f38Smrgfi
5633ed029a5fSmrg
5634dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether to build ISO8859-10 fonts" >&5
5635dd519f38Smrg$as_echo_n "checking whether to build ISO8859-10 fonts... " >&6; }
5636dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: $ISO8859_10" >&5
5637dd519f38Smrg$as_echo "$ISO8859_10" >&6; }
5638dd519f38Smrg	 if test "x$ISO8859_10" = xyes; then
5639ed029a5fSmrg  ISO8859_10_TRUE=
5640ed029a5fSmrg  ISO8859_10_FALSE='#'
5641ed029a5fSmrgelse
5642ed029a5fSmrg  ISO8859_10_TRUE='#'
5643ed029a5fSmrg  ISO8859_10_FALSE=
5644ed029a5fSmrgfi
5645ed029a5fSmrg
5646ed029a5fSmrg
5647dd519f38Smrg	# Check whether --enable-iso8859-13 was given.
5648ed029a5fSmrgif test "${enable_iso8859_13+set}" = set; then
5649dd519f38Smrg  enableval=$enable_iso8859_13; ISO8859_13=$enableval
5650ed029a5fSmrgelse
5651ed029a5fSmrg  ISO8859_13=yes
5652dd519f38Smrgfi
5653ed029a5fSmrg
5654dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether to build ISO8859-13 fonts" >&5
5655dd519f38Smrg$as_echo_n "checking whether to build ISO8859-13 fonts... " >&6; }
5656dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: $ISO8859_13" >&5
5657dd519f38Smrg$as_echo "$ISO8859_13" >&6; }
5658dd519f38Smrg	 if test "x$ISO8859_13" = xyes; then
5659ed029a5fSmrg  ISO8859_13_TRUE=
5660ed029a5fSmrg  ISO8859_13_FALSE='#'
5661ed029a5fSmrgelse
5662ed029a5fSmrg  ISO8859_13_TRUE='#'
5663ed029a5fSmrg  ISO8859_13_FALSE=
5664ed029a5fSmrgfi
5665ed029a5fSmrg
5666ed029a5fSmrg
5667dd519f38Smrg	# Check whether --enable-iso8859-14 was given.
5668ed029a5fSmrgif test "${enable_iso8859_14+set}" = set; then
5669dd519f38Smrg  enableval=$enable_iso8859_14; ISO8859_14=$enableval
5670ed029a5fSmrgelse
5671ed029a5fSmrg  ISO8859_14=yes
5672dd519f38Smrgfi
5673ed029a5fSmrg
5674dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether to build ISO8859-14 fonts" >&5
5675dd519f38Smrg$as_echo_n "checking whether to build ISO8859-14 fonts... " >&6; }
5676dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: $ISO8859_14" >&5
5677dd519f38Smrg$as_echo "$ISO8859_14" >&6; }
5678dd519f38Smrg	 if test "x$ISO8859_14" = xyes; then
5679ed029a5fSmrg  ISO8859_14_TRUE=
5680ed029a5fSmrg  ISO8859_14_FALSE='#'
5681ed029a5fSmrgelse
5682ed029a5fSmrg  ISO8859_14_TRUE='#'
5683ed029a5fSmrg  ISO8859_14_FALSE=
5684ed029a5fSmrgfi
5685ed029a5fSmrg
5686ed029a5fSmrg
5687dd519f38Smrg	# Check whether --enable-iso8859-15 was given.
5688ed029a5fSmrgif test "${enable_iso8859_15+set}" = set; then
5689dd519f38Smrg  enableval=$enable_iso8859_15; ISO8859_15=$enableval
5690ed029a5fSmrgelse
5691ed029a5fSmrg  ISO8859_15=yes
5692dd519f38Smrgfi
5693ed029a5fSmrg
5694dd519f38Smrg	{ $as_echo "$as_me:$LINENO: checking whether to build ISO8859-15 fonts" >&5
5695dd519f38Smrg$as_echo_n "checking whether to build ISO8859-15 fonts... " >&6; }
5696dd519f38Smrg	{ $as_echo "$as_me:$LINENO: result: $ISO8859_15" >&5
5697dd519f38Smrg$as_echo "$ISO8859_15" >&6; }
5698dd519f38Smrg	 if test "x$ISO8859_15" = xyes; then
5699ed029a5fSmrg  ISO8859_15_TRUE=
5700ed029a5fSmrg  ISO8859_15_FALSE='#'
5701ed029a5fSmrgelse
5702ed029a5fSmrg  ISO8859_15_TRUE='#'
5703ed029a5fSmrg  ISO8859_15_FALSE=
5704ed029a5fSmrgfi
5705ed029a5fSmrg
5706ed029a5fSmrg
5707ed029a5fSmrg
5708ed029a5fSmrg
5709dd519f38Smrgac_config_files="$ac_config_files Makefile"
5710ed029a5fSmrg
5711ed029a5fSmrgcat >confcache <<\_ACEOF
5712ed029a5fSmrg# This file is a shell script that caches the results of configure
5713ed029a5fSmrg# tests run on this system so they can be shared between configure
5714ed029a5fSmrg# scripts and configure runs, see configure's option --config-cache.
5715ed029a5fSmrg# It is not useful on other systems.  If it contains results you don't
5716ed029a5fSmrg# want to keep, you may remove or edit it.
5717ed029a5fSmrg#
5718ed029a5fSmrg# config.status only pays attention to the cache file if you give it
5719ed029a5fSmrg# the --recheck option to rerun configure.
5720ed029a5fSmrg#
5721ed029a5fSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
5722ed029a5fSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
5723ed029a5fSmrg# following values.
5724ed029a5fSmrg
5725ed029a5fSmrg_ACEOF
5726ed029a5fSmrg
5727ed029a5fSmrg# The following way of writing the cache mishandles newlines in values,
5728ed029a5fSmrg# but we know of no workaround that is simple, portable, and efficient.
5729dd519f38Smrg# So, we kill variables containing newlines.
5730ed029a5fSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
5731ed029a5fSmrg# and sets the high bit in the cache file unless we assign to the vars.
5732dd519f38Smrg(
5733dd519f38Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5734dd519f38Smrg    eval ac_val=\$$ac_var
5735dd519f38Smrg    case $ac_val in #(
5736dd519f38Smrg    *${as_nl}*)
5737dd519f38Smrg      case $ac_var in #(
5738dd519f38Smrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5739dd519f38Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5740dd519f38Smrg      esac
5741dd519f38Smrg      case $ac_var in #(
5742dd519f38Smrg      _ | IFS | as_nl) ;; #(
5743dd519f38Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5744dd519f38Smrg      *) $as_unset $ac_var ;;
5745dd519f38Smrg      esac ;;
5746dd519f38Smrg    esac
5747dd519f38Smrg  done
5748dd519f38Smrg
5749ed029a5fSmrg  (set) 2>&1 |
5750dd519f38Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5751dd519f38Smrg    *${as_nl}ac_space=\ *)
5752ed029a5fSmrg      # `set' does not quote correctly, so add quotes (double-quote
5753ed029a5fSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
5754ed029a5fSmrg      sed -n \
5755ed029a5fSmrg	"s/'/'\\\\''/g;
5756ed029a5fSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5757dd519f38Smrg      ;; #(
5758ed029a5fSmrg    *)
5759ed029a5fSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
5760dd519f38Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5761ed029a5fSmrg      ;;
5762dd519f38Smrg    esac |
5763dd519f38Smrg    sort
5764dd519f38Smrg) |
5765ed029a5fSmrg  sed '
5766dd519f38Smrg     /^ac_cv_env_/b end
5767ed029a5fSmrg     t clear
5768dd519f38Smrg     :clear
5769ed029a5fSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5770ed029a5fSmrg     t end
5771dd519f38Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5772dd519f38Smrg     :end' >>confcache
5773dd519f38Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5774dd519f38Smrg  if test -w "$cache_file"; then
5775dd519f38Smrg    test "x$cache_file" != "x/dev/null" &&
5776dd519f38Smrg      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5777dd519f38Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
5778ed029a5fSmrg    cat confcache >$cache_file
5779ed029a5fSmrg  else
5780dd519f38Smrg    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5781dd519f38Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5782ed029a5fSmrg  fi
5783ed029a5fSmrgfi
5784ed029a5fSmrgrm -f confcache
5785ed029a5fSmrg
5786ed029a5fSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
5787ed029a5fSmrg# Let make expand exec_prefix.
5788ed029a5fSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5789ed029a5fSmrg
5790ed029a5fSmrg# Transform confdefs.h into DEFS.
5791ed029a5fSmrg# Protect against shell expansion while executing Makefile rules.
5792ed029a5fSmrg# Protect against Makefile macro expansion.
5793ed029a5fSmrg#
5794ed029a5fSmrg# If the first sed substitution is executed (which looks for macros that
5795dd519f38Smrg# take arguments), then branch to the quote section.  Otherwise,
5796ed029a5fSmrg# look for a macro that doesn't take arguments.
5797dd519f38Smrgac_script='
5798dd519f38Smrg:mline
5799dd519f38Smrg/\\$/{
5800dd519f38Smrg N
5801dd519f38Smrg s,\\\n,,
5802dd519f38Smrg b mline
5803dd519f38Smrg}
5804ed029a5fSmrgt clear
5805dd519f38Smrg:clear
5806dd519f38Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
5807ed029a5fSmrgt quote
5808dd519f38Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
5809ed029a5fSmrgt quote
5810dd519f38Smrgb any
5811dd519f38Smrg:quote
5812dd519f38Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5813dd519f38Smrgs/\[/\\&/g
5814dd519f38Smrgs/\]/\\&/g
5815dd519f38Smrgs/\$/$$/g
5816dd519f38SmrgH
5817dd519f38Smrg:any
5818dd519f38Smrg${
5819dd519f38Smrg	g
5820dd519f38Smrg	s/^\n//
5821dd519f38Smrg	s/\n/ /g
5822dd519f38Smrg	p
5823dd519f38Smrg}
5824dd519f38Smrg'
5825dd519f38SmrgDEFS=`sed -n "$ac_script" confdefs.h`
5826ed029a5fSmrg
5827ed029a5fSmrg
5828ed029a5fSmrgac_libobjs=
5829ed029a5fSmrgac_ltlibobjs=
5830ed029a5fSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5831ed029a5fSmrg  # 1. Remove the extension, and $U if already installed.
5832dd519f38Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5833dd519f38Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5834dd519f38Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5835dd519f38Smrg  #    will be set to the directory where LIBOBJS objects are built.
5836dd519f38Smrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5837dd519f38Smrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5838ed029a5fSmrgdone
5839ed029a5fSmrgLIBOBJS=$ac_libobjs
5840ed029a5fSmrg
5841ed029a5fSmrgLTLIBOBJS=$ac_ltlibobjs
5842ed029a5fSmrg
5843ed029a5fSmrg
5844dd519f38Smrg if test -n "$EXEEXT"; then
5845dd519f38Smrg  am__EXEEXT_TRUE=
5846dd519f38Smrg  am__EXEEXT_FALSE='#'
5847dd519f38Smrgelse
5848dd519f38Smrg  am__EXEEXT_TRUE='#'
5849dd519f38Smrg  am__EXEEXT_FALSE=
5850dd519f38Smrgfi
5851dd519f38Smrg
5852ed029a5fSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5853dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5854dd519f38SmrgUsually this means the macro was only invoked conditionally." >&5
5855dd519f38Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5856dd519f38SmrgUsually this means the macro was only invoked conditionally." >&2;}
5857dd519f38Smrg   { (exit 1); exit 1; }; }
5858dd519f38Smrgfi
5859dd519f38Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5860dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5861dd519f38SmrgUsually this means the macro was only invoked conditionally." >&5
5862dd519f38Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5863dd519f38SmrgUsually this means the macro was only invoked conditionally." >&2;}
5864dd519f38Smrg   { (exit 1); exit 1; }; }
5865dd519f38Smrgfi
5866dd519f38Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5867dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5868ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5869dd519f38Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5870ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5871ed029a5fSmrg   { (exit 1); exit 1; }; }
5872ed029a5fSmrgfi
5873ed029a5fSmrgif test -z "${ISO8859_1_TRUE}" && test -z "${ISO8859_1_FALSE}"; then
5874dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_1\" was never defined.
5875ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5876dd519f38Smrg$as_echo "$as_me: error: conditional \"ISO8859_1\" was never defined.
5877ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5878ed029a5fSmrg   { (exit 1); exit 1; }; }
5879ed029a5fSmrgfi
5880ed029a5fSmrgif test -z "${ISO8859_2_TRUE}" && test -z "${ISO8859_2_FALSE}"; then
5881dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_2\" was never defined.
5882ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5883dd519f38Smrg$as_echo "$as_me: error: conditional \"ISO8859_2\" was never defined.
5884ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5885ed029a5fSmrg   { (exit 1); exit 1; }; }
5886ed029a5fSmrgfi
5887ed029a5fSmrgif test -z "${ISO8859_3_TRUE}" && test -z "${ISO8859_3_FALSE}"; then
5888dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_3\" was never defined.
5889ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5890dd519f38Smrg$as_echo "$as_me: error: conditional \"ISO8859_3\" was never defined.
5891ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5892ed029a5fSmrg   { (exit 1); exit 1; }; }
5893ed029a5fSmrgfi
5894ed029a5fSmrgif test -z "${ISO8859_4_TRUE}" && test -z "${ISO8859_4_FALSE}"; then
5895dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_4\" was never defined.
5896ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5897dd519f38Smrg$as_echo "$as_me: error: conditional \"ISO8859_4\" was never defined.
5898ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5899ed029a5fSmrg   { (exit 1); exit 1; }; }
5900ed029a5fSmrgfi
5901ed029a5fSmrgif test -z "${ISO8859_9_TRUE}" && test -z "${ISO8859_9_FALSE}"; then
5902dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_9\" was never defined.
5903ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5904dd519f38Smrg$as_echo "$as_me: error: conditional \"ISO8859_9\" was never defined.
5905ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5906ed029a5fSmrg   { (exit 1); exit 1; }; }
5907ed029a5fSmrgfi
5908ed029a5fSmrgif test -z "${ISO8859_10_TRUE}" && test -z "${ISO8859_10_FALSE}"; then
5909dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_10\" was never defined.
5910ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5911dd519f38Smrg$as_echo "$as_me: error: conditional \"ISO8859_10\" was never defined.
5912ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5913ed029a5fSmrg   { (exit 1); exit 1; }; }
5914ed029a5fSmrgfi
5915ed029a5fSmrgif test -z "${ISO8859_13_TRUE}" && test -z "${ISO8859_13_FALSE}"; then
5916dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_13\" was never defined.
5917ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5918dd519f38Smrg$as_echo "$as_me: error: conditional \"ISO8859_13\" was never defined.
5919ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5920ed029a5fSmrg   { (exit 1); exit 1; }; }
5921ed029a5fSmrgfi
5922ed029a5fSmrgif test -z "${ISO8859_14_TRUE}" && test -z "${ISO8859_14_FALSE}"; then
5923dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_14\" was never defined.
5924ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5925dd519f38Smrg$as_echo "$as_me: error: conditional \"ISO8859_14\" was never defined.
5926ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5927ed029a5fSmrg   { (exit 1); exit 1; }; }
5928ed029a5fSmrgfi
5929ed029a5fSmrgif test -z "${ISO8859_15_TRUE}" && test -z "${ISO8859_15_FALSE}"; then
5930dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"ISO8859_15\" was never defined.
5931ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&5
5932dd519f38Smrg$as_echo "$as_me: error: conditional \"ISO8859_15\" was never defined.
5933ed029a5fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5934ed029a5fSmrg   { (exit 1); exit 1; }; }
5935ed029a5fSmrgfi
5936ed029a5fSmrg
5937ed029a5fSmrg: ${CONFIG_STATUS=./config.status}
5938dd519f38Smrgac_write_fail=0
5939ed029a5fSmrgac_clean_files_save=$ac_clean_files
5940ed029a5fSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
5941dd519f38Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5942dd519f38Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5943dd519f38Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5944ed029a5fSmrg#! $SHELL
5945ed029a5fSmrg# Generated by $as_me.
5946ed029a5fSmrg# Run this file to recreate the current configuration.
5947ed029a5fSmrg# Compiler output produced by configure, useful for debugging
5948ed029a5fSmrg# configure, is in config.log if it exists.
5949ed029a5fSmrg
5950ed029a5fSmrgdebug=false
5951ed029a5fSmrgac_cs_recheck=false
5952ed029a5fSmrgac_cs_silent=false
5953ed029a5fSmrgSHELL=\${CONFIG_SHELL-$SHELL}
5954ed029a5fSmrg_ACEOF
5955ed029a5fSmrg
5956dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5957ed029a5fSmrg## --------------------- ##
5958ed029a5fSmrg## M4sh Initialization.  ##
5959ed029a5fSmrg## --------------------- ##
5960ed029a5fSmrg
5961dd519f38Smrg# Be more Bourne compatible
5962dd519f38SmrgDUALCASE=1; export DUALCASE # for MKS sh
5963ed029a5fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5964ed029a5fSmrg  emulate sh
5965ed029a5fSmrg  NULLCMD=:
5966dd519f38Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5967ed029a5fSmrg  # is contrary to our usage.  Disable this feature.
5968ed029a5fSmrg  alias -g '${1+"$@"}'='"$@"'
5969dd519f38Smrg  setopt NO_GLOB_SUBST
5970dd519f38Smrgelse
5971dd519f38Smrg  case `(set -o) 2>/dev/null` in
5972dd519f38Smrg  *posix*) set -o posix ;;
5973dd519f38Smrgesac
5974dd519f38Smrg
5975dd519f38Smrgfi
5976dd519f38Smrg
5977dd519f38Smrg
5978dd519f38Smrg
5979dd519f38Smrg
5980dd519f38Smrg# PATH needs CR
5981dd519f38Smrg# Avoid depending upon Character Ranges.
5982dd519f38Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
5983dd519f38Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5984dd519f38Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
5985dd519f38Smrgas_cr_digits='0123456789'
5986dd519f38Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
5987dd519f38Smrg
5988dd519f38Smrgas_nl='
5989dd519f38Smrg'
5990dd519f38Smrgexport as_nl
5991dd519f38Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
5992dd519f38Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5993dd519f38Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5994dd519f38Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5995dd519f38Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5996dd519f38Smrg  as_echo='printf %s\n'
5997dd519f38Smrg  as_echo_n='printf %s'
5998dd519f38Smrgelse
5999dd519f38Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6000dd519f38Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6001dd519f38Smrg    as_echo_n='/usr/ucb/echo -n'
6002dd519f38Smrg  else
6003dd519f38Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6004dd519f38Smrg    as_echo_n_body='eval
6005dd519f38Smrg      arg=$1;
6006dd519f38Smrg      case $arg in
6007dd519f38Smrg      *"$as_nl"*)
6008dd519f38Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
6009dd519f38Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6010dd519f38Smrg      esac;
6011dd519f38Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6012dd519f38Smrg    '
6013dd519f38Smrg    export as_echo_n_body
6014dd519f38Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
6015dd519f38Smrg  fi
6016dd519f38Smrg  export as_echo_body
6017dd519f38Smrg  as_echo='sh -c $as_echo_body as_echo'
6018dd519f38Smrgfi
6019dd519f38Smrg
6020dd519f38Smrg# The user is always right.
6021dd519f38Smrgif test "${PATH_SEPARATOR+set}" != set; then
6022dd519f38Smrg  PATH_SEPARATOR=:
6023dd519f38Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6024dd519f38Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6025dd519f38Smrg      PATH_SEPARATOR=';'
6026dd519f38Smrg  }
6027ed029a5fSmrgfi
6028ed029a5fSmrg
6029ed029a5fSmrg# Support unset when possible.
6030ed029a5fSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6031ed029a5fSmrg  as_unset=unset
6032ed029a5fSmrgelse
6033ed029a5fSmrg  as_unset=false
6034ed029a5fSmrgfi
6035ed029a5fSmrg
6036ed029a5fSmrg
6037dd519f38Smrg# IFS
6038dd519f38Smrg# We need space, tab and new line, in precisely that order.  Quoting is
6039dd519f38Smrg# there to prevent editors from complaining about space-tab.
6040dd519f38Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6041dd519f38Smrg# splitting by setting IFS to empty value.)
6042dd519f38SmrgIFS=" ""	$as_nl"
6043dd519f38Smrg
6044dd519f38Smrg# Find who we are.  Look in the path if we contain no directory separator.
6045dd519f38Smrgcase $0 in
6046dd519f38Smrg  *[\\/]* ) as_myself=$0 ;;
6047dd519f38Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048dd519f38Smrgfor as_dir in $PATH
6049dd519f38Smrgdo
6050dd519f38Smrg  IFS=$as_save_IFS
6051dd519f38Smrg  test -z "$as_dir" && as_dir=.
6052dd519f38Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6053dd519f38Smrgdone
6054dd519f38SmrgIFS=$as_save_IFS
6055dd519f38Smrg
6056dd519f38Smrg     ;;
6057dd519f38Smrgesac
6058dd519f38Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
6059dd519f38Smrg# in which case we are not to be found in the path.
6060dd519f38Smrgif test "x$as_myself" = x; then
6061dd519f38Smrg  as_myself=$0
6062dd519f38Smrgfi
6063dd519f38Smrgif test ! -f "$as_myself"; then
6064dd519f38Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6065dd519f38Smrg  { (exit 1); exit 1; }
6066dd519f38Smrgfi
6067dd519f38Smrg
6068ed029a5fSmrg# Work around bugs in pre-3.0 UWIN ksh.
6069dd519f38Smrgfor as_var in ENV MAIL MAILPATH
6070dd519f38Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6071dd519f38Smrgdone
6072ed029a5fSmrgPS1='$ '
6073ed029a5fSmrgPS2='> '
6074ed029a5fSmrgPS4='+ '
6075ed029a5fSmrg
6076ed029a5fSmrg# NLS nuisances.
6077dd519f38SmrgLC_ALL=C
6078dd519f38Smrgexport LC_ALL
6079dd519f38SmrgLANGUAGE=C
6080dd519f38Smrgexport LANGUAGE
6081ed029a5fSmrg
6082ed029a5fSmrg# Required to use basename.
6083dd519f38Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
6084dd519f38Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6085ed029a5fSmrg  as_expr=expr
6086ed029a5fSmrgelse
6087ed029a5fSmrg  as_expr=false
6088ed029a5fSmrgfi
6089ed029a5fSmrg
6090dd519f38Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6091ed029a5fSmrg  as_basename=basename
6092ed029a5fSmrgelse
6093ed029a5fSmrg  as_basename=false
6094ed029a5fSmrgfi
6095ed029a5fSmrg
6096ed029a5fSmrg
6097ed029a5fSmrg# Name of the executable.
6098dd519f38Smrgas_me=`$as_basename -- "$0" ||
6099ed029a5fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6100ed029a5fSmrg	 X"$0" : 'X\(//\)$' \| \
6101dd519f38Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6102dd519f38Smrg$as_echo X/"$0" |
6103dd519f38Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
6104dd519f38Smrg	    s//\1/
6105dd519f38Smrg	    q
6106dd519f38Smrg	  }
6107dd519f38Smrg	  /^X\/\(\/\/\)$/{
6108dd519f38Smrg	    s//\1/
6109dd519f38Smrg	    q
6110dd519f38Smrg	  }
6111dd519f38Smrg	  /^X\/\(\/\).*/{
6112dd519f38Smrg	    s//\1/
6113dd519f38Smrg	    q
6114dd519f38Smrg	  }
6115dd519f38Smrg	  s/.*/./; q'`
6116ed029a5fSmrg
6117dd519f38Smrg# CDPATH.
6118dd519f38Smrg$as_unset CDPATH
6119ed029a5fSmrg
6120ed029a5fSmrg
6121ed029a5fSmrg
6122ed029a5fSmrg  as_lineno_1=$LINENO
6123ed029a5fSmrg  as_lineno_2=$LINENO
6124ed029a5fSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
6125dd519f38Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6126ed029a5fSmrg
6127ed029a5fSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6128ed029a5fSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
6129dd519f38Smrg  # line-number line after each line using $LINENO; the second 'sed'
6130dd519f38Smrg  # does the real work.  The second script uses 'N' to pair each
6131dd519f38Smrg  # line-number line with the line containing $LINENO, and appends
6132dd519f38Smrg  # trailing '-' during substitution so that $LINENO is not a special
6133dd519f38Smrg  # case at line end.
6134ed029a5fSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6135dd519f38Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
6136dd519f38Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
6137dd519f38Smrg  sed -n '
6138dd519f38Smrg    p
6139dd519f38Smrg    /[$]LINENO/=
6140dd519f38Smrg  ' <$as_myself |
6141ed029a5fSmrg    sed '
6142dd519f38Smrg      s/[$]LINENO.*/&-/
6143dd519f38Smrg      t lineno
6144dd519f38Smrg      b
6145dd519f38Smrg      :lineno
6146ed029a5fSmrg      N
6147dd519f38Smrg      :loop
6148dd519f38Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6149ed029a5fSmrg      t loop
6150dd519f38Smrg      s/-\n.*//
6151ed029a5fSmrg    ' >$as_me.lineno &&
6152dd519f38Smrg  chmod +x "$as_me.lineno" ||
6153dd519f38Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6154ed029a5fSmrg   { (exit 1); exit 1; }; }
6155ed029a5fSmrg
6156ed029a5fSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
6157ed029a5fSmrg  # (the dirname of $[0] is not the place where we might find the
6158dd519f38Smrg  # original and so on.  Autoconf is especially sensitive to this).
6159dd519f38Smrg  . "./$as_me.lineno"
6160ed029a5fSmrg  # Exit status is that of the last command.
6161ed029a5fSmrg  exit
6162ed029a5fSmrg}
6163ed029a5fSmrg
6164ed029a5fSmrg
6165dd519f38Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6166dd519f38Smrg  as_dirname=dirname
6167dd519f38Smrgelse
6168dd519f38Smrg  as_dirname=false
6169dd519f38Smrgfi
6170ed029a5fSmrg
6171dd519f38SmrgECHO_C= ECHO_N= ECHO_T=
6172dd519f38Smrgcase `echo -n x` in
6173dd519f38Smrg-n*)
6174dd519f38Smrg  case `echo 'x\c'` in
6175dd519f38Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6176dd519f38Smrg  *)   ECHO_C='\c';;
6177dd519f38Smrg  esac;;
6178dd519f38Smrg*)
6179dd519f38Smrg  ECHO_N='-n';;
6180dd519f38Smrgesac
6181dd519f38Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
6182dd519f38Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6183ed029a5fSmrg  as_expr=expr
6184ed029a5fSmrgelse
6185ed029a5fSmrg  as_expr=false
6186ed029a5fSmrgfi
6187ed029a5fSmrg
6188ed029a5fSmrgrm -f conf$$ conf$$.exe conf$$.file
6189dd519f38Smrgif test -d conf$$.dir; then
6190dd519f38Smrg  rm -f conf$$.dir/conf$$.file
6191dd519f38Smrgelse
6192dd519f38Smrg  rm -f conf$$.dir
6193dd519f38Smrg  mkdir conf$$.dir 2>/dev/null
6194dd519f38Smrgfi
6195dd519f38Smrgif (echo >conf$$.file) 2>/dev/null; then
6196dd519f38Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
6197ed029a5fSmrg    as_ln_s='ln -s'
6198dd519f38Smrg    # ... but there are two gotchas:
6199dd519f38Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6200dd519f38Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6201dd519f38Smrg    # In both cases, we have to default to `cp -p'.
6202dd519f38Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6203dd519f38Smrg      as_ln_s='cp -p'
6204dd519f38Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
6205dd519f38Smrg    as_ln_s=ln
6206dd519f38Smrg  else
6207dd519f38Smrg    as_ln_s='cp -p'
6208ed029a5fSmrg  fi
6209ed029a5fSmrgelse
6210ed029a5fSmrg  as_ln_s='cp -p'
6211ed029a5fSmrgfi
6212dd519f38Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6213dd519f38Smrgrmdir conf$$.dir 2>/dev/null
6214ed029a5fSmrg
6215ed029a5fSmrgif mkdir -p . 2>/dev/null; then
6216ed029a5fSmrg  as_mkdir_p=:
6217ed029a5fSmrgelse
6218ed029a5fSmrg  test -d ./-p && rmdir ./-p
6219ed029a5fSmrg  as_mkdir_p=false
6220ed029a5fSmrgfi
6221ed029a5fSmrg
6222dd519f38Smrgif test -x / >/dev/null 2>&1; then
6223dd519f38Smrg  as_test_x='test -x'
6224dd519f38Smrgelse
6225dd519f38Smrg  if ls -dL / >/dev/null 2>&1; then
6226dd519f38Smrg    as_ls_L_option=L
6227dd519f38Smrg  else
6228dd519f38Smrg    as_ls_L_option=
6229dd519f38Smrg  fi
6230dd519f38Smrg  as_test_x='
6231dd519f38Smrg    eval sh -c '\''
6232dd519f38Smrg      if test -d "$1"; then
6233dd519f38Smrg	test -d "$1/.";
6234dd519f38Smrg      else
6235dd519f38Smrg	case $1 in
6236dd519f38Smrg	-*)set "./$1";;
6237dd519f38Smrg	esac;
6238dd519f38Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6239dd519f38Smrg	???[sx]*):;;*)false;;esac;fi
6240dd519f38Smrg    '\'' sh
6241dd519f38Smrg  '
6242dd519f38Smrgfi
6243dd519f38Smrgas_executable_p=$as_test_x
6244ed029a5fSmrg
6245ed029a5fSmrg# Sed expression to map a string onto a valid CPP name.
6246ed029a5fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6247ed029a5fSmrg
6248ed029a5fSmrg# Sed expression to map a string onto a valid variable name.
6249ed029a5fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6250ed029a5fSmrg
6251ed029a5fSmrg
6252ed029a5fSmrgexec 6>&1
6253ed029a5fSmrg
6254dd519f38Smrg# Save the log message, to keep $[0] and so on meaningful, and to
6255ed029a5fSmrg# report actual input values of CONFIG_FILES etc. instead of their
6256dd519f38Smrg# values after options handling.
6257dd519f38Smrgac_log="
6258dd519f38SmrgThis file was extended by font-adobe-100dpi $as_me 1.0.1, which was
6259dd519f38Smrggenerated by GNU Autoconf 2.63.  Invocation command line was
6260ed029a5fSmrg
6261ed029a5fSmrg  CONFIG_FILES    = $CONFIG_FILES
6262ed029a5fSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
6263ed029a5fSmrg  CONFIG_LINKS    = $CONFIG_LINKS
6264ed029a5fSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
6265ed029a5fSmrg  $ $0 $@
6266ed029a5fSmrg
6267dd519f38Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
6268dd519f38Smrg"
6269dd519f38Smrg
6270ed029a5fSmrg_ACEOF
6271ed029a5fSmrg
6272dd519f38Smrgcase $ac_config_files in *"
6273dd519f38Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
6274dd519f38Smrgesac
6275ed029a5fSmrg
6276ed029a5fSmrg
6277ed029a5fSmrg
6278dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6279dd519f38Smrg# Files that config.status was made for.
6280dd519f38Smrgconfig_files="$ac_config_files"
6281dd519f38Smrgconfig_commands="$ac_config_commands"
6282ed029a5fSmrg
6283dd519f38Smrg_ACEOF
6284ed029a5fSmrg
6285dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6286ed029a5fSmrgac_cs_usage="\
6287ed029a5fSmrg\`$as_me' instantiates files from templates according to the
6288ed029a5fSmrgcurrent configuration.
6289ed029a5fSmrg
6290dd519f38SmrgUsage: $0 [OPTION]... [FILE]...
6291ed029a5fSmrg
6292ed029a5fSmrg  -h, --help       print this help, then exit
6293dd519f38Smrg  -V, --version    print version number and configuration settings, then exit
6294dd519f38Smrg  -q, --quiet, --silent
6295dd519f38Smrg                   do not print progress messages
6296ed029a5fSmrg  -d, --debug      don't remove temporary files
6297ed029a5fSmrg      --recheck    update $as_me by reconfiguring in the same conditions
6298dd519f38Smrg      --file=FILE[:TEMPLATE]
6299dd519f38Smrg                   instantiate the configuration file FILE
6300ed029a5fSmrg
6301ed029a5fSmrgConfiguration files:
6302ed029a5fSmrg$config_files
6303ed029a5fSmrg
6304dd519f38SmrgConfiguration commands:
6305dd519f38Smrg$config_commands
6306dd519f38Smrg
6307ed029a5fSmrgReport bugs to <bug-autoconf@gnu.org>."
6308ed029a5fSmrg
6309dd519f38Smrg_ACEOF
6310dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6311ed029a5fSmrgac_cs_version="\\
6312dd519f38Smrgfont-adobe-100dpi config.status 1.0.1
6313dd519f38Smrgconfigured by $0, generated by GNU Autoconf 2.63,
6314dd519f38Smrg  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6315ed029a5fSmrg
6316dd519f38SmrgCopyright (C) 2008 Free Software Foundation, Inc.
6317ed029a5fSmrgThis config.status script is free software; the Free Software Foundation
6318ed029a5fSmrggives unlimited permission to copy, distribute and modify it."
6319dd519f38Smrg
6320dd519f38Smrgac_pwd='$ac_pwd'
6321dd519f38Smrgsrcdir='$srcdir'
6322dd519f38SmrgINSTALL='$INSTALL'
6323dd519f38SmrgMKDIR_P='$MKDIR_P'
6324dd519f38SmrgAWK='$AWK'
6325dd519f38Smrgtest -n "\$AWK" || AWK=awk
6326ed029a5fSmrg_ACEOF
6327ed029a5fSmrg
6328dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6329dd519f38Smrg# The default lists apply if the user does not specify any file.
6330ed029a5fSmrgac_need_defaults=:
6331ed029a5fSmrgwhile test $# != 0
6332ed029a5fSmrgdo
6333ed029a5fSmrg  case $1 in
6334ed029a5fSmrg  --*=*)
6335dd519f38Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6336dd519f38Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6337ed029a5fSmrg    ac_shift=:
6338ed029a5fSmrg    ;;
6339dd519f38Smrg  *)
6340ed029a5fSmrg    ac_option=$1
6341ed029a5fSmrg    ac_optarg=$2
6342ed029a5fSmrg    ac_shift=shift
6343ed029a5fSmrg    ;;
6344ed029a5fSmrg  esac
6345ed029a5fSmrg
6346ed029a5fSmrg  case $ac_option in
6347ed029a5fSmrg  # Handling of the options.
6348ed029a5fSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6349ed029a5fSmrg    ac_cs_recheck=: ;;
6350dd519f38Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6351dd519f38Smrg    $as_echo "$ac_cs_version"; exit ;;
6352dd519f38Smrg  --debug | --debu | --deb | --de | --d | -d )
6353ed029a5fSmrg    debug=: ;;
6354ed029a5fSmrg  --file | --fil | --fi | --f )
6355ed029a5fSmrg    $ac_shift
6356dd519f38Smrg    case $ac_optarg in
6357dd519f38Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6358dd519f38Smrg    esac
6359dd519f38Smrg    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6360ed029a5fSmrg    ac_need_defaults=false;;
6361dd519f38Smrg  --he | --h |  --help | --hel | -h )
6362dd519f38Smrg    $as_echo "$ac_cs_usage"; exit ;;
6363ed029a5fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6364ed029a5fSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6365ed029a5fSmrg    ac_cs_silent=: ;;
6366ed029a5fSmrg
6367ed029a5fSmrg  # This is an error.
6368dd519f38Smrg  -*) { $as_echo "$as_me: error: unrecognized option: $1
6369dd519f38SmrgTry \`$0 --help' for more information." >&2
6370ed029a5fSmrg   { (exit 1); exit 1; }; } ;;
6371ed029a5fSmrg
6372dd519f38Smrg  *) ac_config_targets="$ac_config_targets $1"
6373dd519f38Smrg     ac_need_defaults=false ;;
6374ed029a5fSmrg
6375ed029a5fSmrg  esac
6376ed029a5fSmrg  shift
6377ed029a5fSmrgdone
6378ed029a5fSmrg
6379ed029a5fSmrgac_configure_extra_args=
6380ed029a5fSmrg
6381ed029a5fSmrgif $ac_cs_silent; then
6382ed029a5fSmrg  exec 6>/dev/null
6383ed029a5fSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
6384ed029a5fSmrgfi
6385ed029a5fSmrg
6386ed029a5fSmrg_ACEOF
6387dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6388ed029a5fSmrgif \$ac_cs_recheck; then
6389dd519f38Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6390dd519f38Smrg  shift
6391dd519f38Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6392dd519f38Smrg  CONFIG_SHELL='$SHELL'
6393dd519f38Smrg  export CONFIG_SHELL
6394dd519f38Smrg  exec "\$@"
6395ed029a5fSmrgfi
6396ed029a5fSmrg
6397ed029a5fSmrg_ACEOF
6398dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6399dd519f38Smrgexec 5>>config.log
6400dd519f38Smrg{
6401dd519f38Smrg  echo
6402dd519f38Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6403dd519f38Smrg## Running $as_me. ##
6404dd519f38Smrg_ASBOX
6405dd519f38Smrg  $as_echo "$ac_log"
6406dd519f38Smrg} >&5
6407ed029a5fSmrg
6408dd519f38Smrg_ACEOF
6409dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6410dd519f38Smrg#
6411dd519f38Smrg# INIT-COMMANDS
6412dd519f38Smrg#
6413dd519f38SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6414ed029a5fSmrg
6415dd519f38Smrg_ACEOF
6416ed029a5fSmrg
6417dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6418ed029a5fSmrg
6419dd519f38Smrg# Handling of arguments.
6420ed029a5fSmrgfor ac_config_target in $ac_config_targets
6421ed029a5fSmrgdo
6422dd519f38Smrg  case $ac_config_target in
6423dd519f38Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6424dd519f38Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6425dd519f38Smrg
6426dd519f38Smrg  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6427dd519f38Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6428ed029a5fSmrg   { (exit 1); exit 1; }; };;
6429ed029a5fSmrg  esac
6430ed029a5fSmrgdone
6431ed029a5fSmrg
6432dd519f38Smrg
6433ed029a5fSmrg# If the user did not use the arguments to specify the items to instantiate,
6434ed029a5fSmrg# then the envvar interface is used.  Set only those that are not.
6435ed029a5fSmrg# We use the long form for the default assignment because of an extremely
6436ed029a5fSmrg# bizarre bug on SunOS 4.1.3.
6437ed029a5fSmrgif $ac_need_defaults; then
6438ed029a5fSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6439dd519f38Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6440ed029a5fSmrgfi
6441ed029a5fSmrg
6442ed029a5fSmrg# Have a temporary directory for convenience.  Make it in the build tree
6443dd519f38Smrg# simply because there is no reason against having it here, and in addition,
6444ed029a5fSmrg# creating and moving files from /tmp can sometimes cause problems.
6445dd519f38Smrg# Hook for its removal unless debugging.
6446dd519f38Smrg# Note that there is a small window in which the directory will not be cleaned:
6447dd519f38Smrg# after its creation but before its name has been assigned to `$tmp'.
6448ed029a5fSmrg$debug ||
6449ed029a5fSmrg{
6450dd519f38Smrg  tmp=
6451dd519f38Smrg  trap 'exit_status=$?
6452dd519f38Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6453dd519f38Smrg' 0
6454ed029a5fSmrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
6455ed029a5fSmrg}
6456ed029a5fSmrg# Create a (secure) tmp directory for tmp files.
6457ed029a5fSmrg
6458ed029a5fSmrg{
6459dd519f38Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6460ed029a5fSmrg  test -n "$tmp" && test -d "$tmp"
6461ed029a5fSmrg}  ||
6462ed029a5fSmrg{
6463dd519f38Smrg  tmp=./conf$$-$RANDOM
6464dd519f38Smrg  (umask 077 && mkdir "$tmp")
6465ed029a5fSmrg} ||
6466ed029a5fSmrg{
6467dd519f38Smrg   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6468ed029a5fSmrg   { (exit 1); exit 1; }
6469ed029a5fSmrg}
6470ed029a5fSmrg
6471dd519f38Smrg# Set up the scripts for CONFIG_FILES section.
6472dd519f38Smrg# No need to generate them if there are no CONFIG_FILES.
6473dd519f38Smrg# This happens for instance with `./config.status config.h'.
6474dd519f38Smrgif test -n "$CONFIG_FILES"; then
6475dd519f38Smrg
6476dd519f38Smrg
6477dd519f38Smrgac_cr='
6478dd519f38Smrg'
6479dd519f38Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6480dd519f38Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6481dd519f38Smrg  ac_cs_awk_cr='\\r'
6482dd519f38Smrgelse
6483dd519f38Smrg  ac_cs_awk_cr=$ac_cr
6484dd519f38Smrgfi
6485dd519f38Smrg
6486ed029a5fSmrgecho 'BEGIN {' >"$tmp/subs1.awk" &&
6487ed029a5fSmrg_ACEOF
6488ed029a5fSmrg
6489dd519f38Smrg
6490dd519f38Smrg{
6491dd519f38Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
6492dd519f38Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6493dd519f38Smrg  echo "_ACEOF"
6494dd519f38Smrg} >conf$$subs.sh ||
6495dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6496dd519f38Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6497dd519f38Smrg   { (exit 1); exit 1; }; }
6498dd519f38Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6499dd519f38Smrgac_delim='%!_!# '
6500dd519f38Smrgfor ac_last_try in false false false false false :; do
6501dd519f38Smrg  . ./conf$$subs.sh ||
6502dd519f38Smrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6503dd519f38Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6504ed029a5fSmrg   { (exit 1); exit 1; }; }
6505dd519f38Smrg
6506dd519f38Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6507dd519f38Smrg  if test $ac_delim_n = $ac_delim_num; then
6508dd519f38Smrg    break
6509dd519f38Smrg  elif $ac_last_try; then
6510dd519f38Smrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6511dd519f38Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6512dd519f38Smrg   { (exit 1); exit 1; }; }
6513dd519f38Smrg  else
6514ed029a5fSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6515dd519f38Smrg  fi
6516dd519f38Smrgdone
6517ed029a5fSmrgrm -f conf$$subs.sh
6518dd519f38Smrg
6519dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6520ed029a5fSmrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6521dd519f38Smrg_ACEOF
6522dd519f38Smrgsed -n '
6523dd519f38Smrgh
6524dd519f38Smrgs/^/S["/; s/!.*/"]=/
6525dd519f38Smrgp
6526dd519f38Smrgg
6527dd519f38Smrgs/^[^!]*!//
6528dd519f38Smrg:repl
6529dd519f38Smrgt repl
6530dd519f38Smrgs/'"$ac_delim"'$//
6531dd519f38Smrgt delim
6532dd519f38Smrg:nl
6533dd519f38Smrgh
6534dd519f38Smrgs/\(.\{148\}\).*/\1/
6535dd519f38Smrgt more1
6536dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6537dd519f38Smrgp
6538dd519f38Smrgn
6539dd519f38Smrgb repl
6540dd519f38Smrg:more1
6541dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
6542dd519f38Smrgp
6543dd519f38Smrgg
6544dd519f38Smrgs/.\{148\}//
6545dd519f38Smrgt nl
6546dd519f38Smrg:delim
6547dd519f38Smrgh
6548dd519f38Smrgs/\(.\{148\}\).*/\1/
6549dd519f38Smrgt more2
6550dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
6551dd519f38Smrgp
6552dd519f38Smrgb
6553dd519f38Smrg:more2
6554dd519f38Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
6555dd519f38Smrgp
6556dd519f38Smrgg
6557dd519f38Smrgs/.\{148\}//
6558dd519f38Smrgt delim
6559dd519f38Smrg' <conf$$subs.awk | sed '
6560dd519f38Smrg/^[^""]/{
6561dd519f38Smrg  N
6562dd519f38Smrg  s/\n//
6563dd519f38Smrg}
6564dd519f38Smrg' >>$CONFIG_STATUS || ac_write_fail=1
6565dd519f38Smrgrm -f conf$$subs.awk
6566dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6567dd519f38Smrg_ACAWK
6568dd519f38Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK &&
6569dd519f38Smrg  for (key in S) S_is_set[key] = 1
6570dd519f38Smrg  FS = ""
6571dd519f38Smrg
6572dd519f38Smrg}
6573dd519f38Smrg{
6574dd519f38Smrg  line = $ 0
6575dd519f38Smrg  nfields = split(line, field, "@")
6576dd519f38Smrg  substed = 0
6577dd519f38Smrg  len = length(field[1])
6578dd519f38Smrg  for (i = 2; i < nfields; i++) {
6579dd519f38Smrg    key = field[i]
6580dd519f38Smrg    keylen = length(key)
6581dd519f38Smrg    if (S_is_set[key]) {
6582dd519f38Smrg      value = S[key]
6583dd519f38Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6584dd519f38Smrg      len += length(value) + length(field[++i])
6585dd519f38Smrg      substed = 1
6586dd519f38Smrg    } else
6587dd519f38Smrg      len += 1 + keylen
6588dd519f38Smrg  }
6589dd519f38Smrg
6590dd519f38Smrg  print line
6591dd519f38Smrg}
6592dd519f38Smrg
6593dd519f38Smrg_ACAWK
6594dd519f38Smrg_ACEOF
6595dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6596dd519f38Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6597dd519f38Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6598dd519f38Smrgelse
6599dd519f38Smrg  cat
6600dd519f38Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6601dd519f38Smrg  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6602dd519f38Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;}
6603dd519f38Smrg   { (exit 1); exit 1; }; }
6604dd519f38Smrg_ACEOF
6605dd519f38Smrg
6606dd519f38Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
6607dd519f38Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6608dd519f38Smrg# trailing colons and then remove the whole line if VPATH becomes empty
6609dd519f38Smrg# (actually we leave an empty line to preserve line numbers).
6610dd519f38Smrgif test "x$srcdir" = x.; then
6611dd519f38Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
6612dd519f38Smrgs/:*\$(srcdir):*/:/
6613dd519f38Smrgs/:*\${srcdir}:*/:/
6614dd519f38Smrgs/:*@srcdir@:*/:/
6615dd519f38Smrgs/^\([^=]*=[	 ]*\):*/\1/
6616dd519f38Smrgs/:*$//
6617dd519f38Smrgs/^[^=]*=[	 ]*$//
6618dd519f38Smrg}'
6619dd519f38Smrgfi
6620dd519f38Smrg
6621dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6622dd519f38Smrgfi # test -n "$CONFIG_FILES"
6623dd519f38Smrg
6624dd519f38Smrg
6625dd519f38Smrgeval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
6626dd519f38Smrgshift
6627dd519f38Smrgfor ac_tag
6628dd519f38Smrgdo
6629dd519f38Smrg  case $ac_tag in
6630dd519f38Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
6631dd519f38Smrg  esac
6632dd519f38Smrg  case $ac_mode$ac_tag in
6633dd519f38Smrg  :[FHL]*:*);;
6634dd519f38Smrg  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6635dd519f38Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6636dd519f38Smrg   { (exit 1); exit 1; }; };;
6637dd519f38Smrg  :[FH]-) ac_tag=-:-;;
6638dd519f38Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6639dd519f38Smrg  esac
6640dd519f38Smrg  ac_save_IFS=$IFS
6641dd519f38Smrg  IFS=:
6642dd519f38Smrg  set x $ac_tag
6643dd519f38Smrg  IFS=$ac_save_IFS
6644dd519f38Smrg  shift
6645dd519f38Smrg  ac_file=$1
6646dd519f38Smrg  shift
6647dd519f38Smrg
6648dd519f38Smrg  case $ac_mode in
6649dd519f38Smrg  :L) ac_source=$1;;
6650dd519f38Smrg  :[FH])
6651dd519f38Smrg    ac_file_inputs=
6652dd519f38Smrg    for ac_f
6653dd519f38Smrg    do
6654dd519f38Smrg      case $ac_f in
6655dd519f38Smrg      -) ac_f="$tmp/stdin";;
6656dd519f38Smrg      *) # Look for the file first in the build tree, then in the source tree
6657dd519f38Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6658dd519f38Smrg	 # because $ac_f cannot contain `:'.
6659dd519f38Smrg	 test -f "$ac_f" ||
6660dd519f38Smrg	   case $ac_f in
6661dd519f38Smrg	   [\\/$]*) false;;
6662dd519f38Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6663dd519f38Smrg	   esac ||
6664dd519f38Smrg	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6665dd519f38Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6666dd519f38Smrg   { (exit 1); exit 1; }; };;
6667dd519f38Smrg      esac
6668dd519f38Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6669dd519f38Smrg      ac_file_inputs="$ac_file_inputs '$ac_f'"
6670dd519f38Smrg    done
6671dd519f38Smrg
6672dd519f38Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
6673dd519f38Smrg    # use $as_me), people would be surprised to read:
6674dd519f38Smrg    #    /* config.h.  Generated by config.status.  */
6675dd519f38Smrg    configure_input='Generated from '`
6676dd519f38Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6677dd519f38Smrg	`' by configure.'
6678dd519f38Smrg    if test x"$ac_file" != x-; then
6679dd519f38Smrg      configure_input="$ac_file.  $configure_input"
6680dd519f38Smrg      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6681dd519f38Smrg$as_echo "$as_me: creating $ac_file" >&6;}
6682dd519f38Smrg    fi
6683dd519f38Smrg    # Neutralize special characters interpreted by sed in replacement strings.
6684dd519f38Smrg    case $configure_input in #(
6685dd519f38Smrg    *\&* | *\|* | *\\* )
6686dd519f38Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
6687dd519f38Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6688dd519f38Smrg    *) ac_sed_conf_input=$configure_input;;
6689dd519f38Smrg    esac
6690dd519f38Smrg
6691dd519f38Smrg    case $ac_tag in
6692dd519f38Smrg    *:-:* | *:-) cat >"$tmp/stdin" \
6693dd519f38Smrg      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6694dd519f38Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6695dd519f38Smrg   { (exit 1); exit 1; }; } ;;
6696dd519f38Smrg    esac
6697ed029a5fSmrg    ;;
6698ed029a5fSmrg  esac
6699dd519f38Smrg
6700ed029a5fSmrg  ac_dir=`$as_dirname -- "$ac_file" ||
6701ed029a5fSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6702ed029a5fSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
6703dd519f38Smrg	 X"$ac_file" : 'X\(//\)$' \| \
6704dd519f38Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6705dd519f38Smrg$as_echo X"$ac_file" |
6706dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6707dd519f38Smrg	    s//\1/
6708dd519f38Smrg	    q
6709dd519f38Smrg	  }
6710dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
6711dd519f38Smrg	    s//\1/
6712dd519f38Smrg	    q
6713dd519f38Smrg	  }
6714dd519f38Smrg	  /^X\(\/\/\)$/{
6715dd519f38Smrg	    s//\1/
6716dd519f38Smrg	    q
6717dd519f38Smrg	  }
6718dd519f38Smrg	  /^X\(\/\).*/{
6719dd519f38Smrg	    s//\1/
6720dd519f38Smrg	    q
6721dd519f38Smrg	  }
6722dd519f38Smrg	  s/.*/./; q'`
6723dd519f38Smrg  { as_dir="$ac_dir"
6724dd519f38Smrg  case $as_dir in #(
6725dd519f38Smrg  -*) as_dir=./$as_dir;;
6726dd519f38Smrg  esac
6727ed029a5fSmrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6728dd519f38Smrg    as_dirs=
6729dd519f38Smrg    while :; do
6730dd519f38Smrg      case $as_dir in #(
6731dd519f38Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6732dd519f38Smrg      *) as_qdir=$as_dir;;
6733dd519f38Smrg      esac
6734dd519f38Smrg      as_dirs="'$as_qdir' $as_dirs"
6735ed029a5fSmrg      as_dir=`$as_dirname -- "$as_dir" ||
6736ed029a5fSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6737ed029a5fSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
6738dd519f38Smrg	 X"$as_dir" : 'X\(//\)$' \| \
6739dd519f38Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6740dd519f38Smrg$as_echo X"$as_dir" |
6741dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6742dd519f38Smrg	    s//\1/
6743dd519f38Smrg	    q
6744dd519f38Smrg	  }
6745dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
6746dd519f38Smrg	    s//\1/
6747dd519f38Smrg	    q
6748dd519f38Smrg	  }
6749dd519f38Smrg	  /^X\(\/\/\)$/{
6750dd519f38Smrg	    s//\1/
6751dd519f38Smrg	    q
6752dd519f38Smrg	  }
6753dd519f38Smrg	  /^X\(\/\).*/{
6754dd519f38Smrg	    s//\1/
6755dd519f38Smrg	    q
6756dd519f38Smrg	  }
6757dd519f38Smrg	  s/.*/./; q'`
6758ed029a5fSmrg      test -d "$as_dir" && break
6759dd519f38Smrg    done
6760dd519f38Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
6761dd519f38Smrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6762ed029a5fSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6763ed029a5fSmrg   { (exit 1); exit 1; }; }; }
6764ed029a5fSmrg  ac_builddir=.
6765dd519f38Smrg
6766dd519f38Smrgcase "$ac_dir" in
6767dd519f38Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6768dd519f38Smrg*)
6769dd519f38Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6770dd519f38Smrg  # A ".." for each directory in $ac_dir_suffix.
6771dd519f38Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6772dd519f38Smrg  case $ac_top_builddir_sub in
6773dd519f38Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6774dd519f38Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6775dd519f38Smrg  esac ;;
6776dd519f38Smrgesac
6777dd519f38Smrgac_abs_top_builddir=$ac_pwd
6778dd519f38Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
6779dd519f38Smrg# for backward compatibility:
6780ed029a5fSmrgac_top_builddir=$ac_top_build_prefix
6781ed029a5fSmrg
6782dd519f38Smrgcase $srcdir in
6783ed029a5fSmrg  .)  # We are building in place.
6784dd519f38Smrg    ac_srcdir=.
6785dd519f38Smrg    ac_top_srcdir=$ac_top_builddir_sub
6786dd519f38Smrg    ac_abs_top_srcdir=$ac_pwd ;;
6787ed029a5fSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
6788dd519f38Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
6789dd519f38Smrg    ac_top_srcdir=$srcdir
6790dd519f38Smrg    ac_abs_top_srcdir=$srcdir ;;
6791dd519f38Smrg  *) # Relative name.
6792dd519f38Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6793dd519f38Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
6794ed029a5fSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6795dd519f38Smrgesac
6796ed029a5fSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6797ed029a5fSmrg
6798dd519f38Smrg
6799dd519f38Smrg  case $ac_mode in
6800dd519f38Smrg  :F)
6801dd519f38Smrg  #
6802dd519f38Smrg  # CONFIG_FILE
6803ed029a5fSmrg  #
6804ed029a5fSmrg
6805ed029a5fSmrg  case $INSTALL in
6806dd519f38Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6807ed029a5fSmrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6808dd519f38Smrg  esac
6809dd519f38Smrg  ac_MKDIR_P=$MKDIR_P
6810dd519f38Smrg  case $MKDIR_P in
6811dd519f38Smrg  [\\/$]* | ?:[\\/]* ) ;;
6812dd519f38Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6813dd519f38Smrg  esac
6814ed029a5fSmrg_ACEOF
6815dd519f38Smrg
6816dd519f38Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6817dd519f38Smrg# If the template does not know about datarootdir, expand it.
6818dd519f38Smrg# FIXME: This hack should be removed a few years after 2.60.
6819dd519f38Smrgac_datarootdir_hack=; ac_datarootdir_seen=
6820dd519f38Smrg
6821dd519f38Smrgac_sed_dataroot='
6822dd519f38Smrg/datarootdir/ {
6823dd519f38Smrg  p
6824dd519f38Smrg  q
6825dd519f38Smrg}
6826dd519f38Smrg/@datadir@/p
6827dd519f38Smrg/@docdir@/p
6828dd519f38Smrg/@infodir@/p
6829dd519f38Smrg/@localedir@/p
6830dd519f38Smrg/@mandir@/p
6831dd519f38Smrg'
6832dd519f38Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6833dd519f38Smrg*datarootdir*) ac_datarootdir_seen=yes;;
6834dd519f38Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6835dd519f38Smrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6836dd519f38Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6837dd519f38Smrg_ACEOF
6838dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6839dd519f38Smrg  ac_datarootdir_hack='
6840dd519f38Smrg  s&@datadir@&$datadir&g
6841dd519f38Smrg  s&@docdir@&$docdir&g
6842dd519f38Smrg  s&@infodir@&$infodir&g
6843dd519f38Smrg  s&@localedir@&$localedir&g
6844dd519f38Smrg  s&@mandir@&$mandir&g
6845dd519f38Smrg    s&\\\${datarootdir}&$datarootdir&g' ;;
6846ed029a5fSmrgesac
6847dd519f38Smrg_ACEOF
6848dd519f38Smrg
6849dd519f38Smrg# Neutralize VPATH when `$srcdir' = `.'.
6850dd519f38Smrg# Shell code in configure.ac might set extrasub.
6851dd519f38Smrg# FIXME: do we really want to maintain this feature?
6852dd519f38Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6853ed029a5fSmrgac_sed_extra="$ac_vpsub
6854ed029a5fSmrg$extrasub
6855dd519f38Smrg_ACEOF
6856ed029a5fSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6857ed029a5fSmrg:t
6858dd519f38Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6859dd519f38Smrgs|@configure_input@|$ac_sed_conf_input|;t t
6860dd519f38Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
6861dd519f38Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
6862dd519f38Smrgs&@srcdir@&$ac_srcdir&;t t
6863dd519f38Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
6864dd519f38Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
6865dd519f38Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6866dd519f38Smrgs&@builddir@&$ac_builddir&;t t
6867dd519f38Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
6868dd519f38Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6869dd519f38Smrgs&@INSTALL@&$ac_INSTALL&;t t
6870dd519f38Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
6871dd519f38Smrg$ac_datarootdir_hack
6872dd519f38Smrg"
6873dd519f38Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6874dd519f38Smrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6875dd519f38Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6876ed029a5fSmrg   { (exit 1); exit 1; }; }
6877dd519f38Smrg
6878dd519f38Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6879dd519f38Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6880dd519f38Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6881dd519f38Smrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6882dd519f38Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
6883dd519f38Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6884dd519f38Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
6885dd519f38Smrg
6886dd519f38Smrg  rm -f "$tmp/stdin"
6887dd519f38Smrg  case $ac_file in
6888dd519f38Smrg  -) cat "$tmp/out" && rm -f "$tmp/out";;
6889dd519f38Smrg  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6890dd519f38Smrg  esac \
6891dd519f38Smrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6892dd519f38Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6893dd519f38Smrg   { (exit 1); exit 1; }; }
6894dd519f38Smrg ;;
6895dd519f38Smrg
6896dd519f38Smrg
6897dd519f38Smrg  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6898dd519f38Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
6899dd519f38Smrg ;;
6900dd519f38Smrg  esac
6901dd519f38Smrg
6902dd519f38Smrg
6903dd519f38Smrg  case $ac_file$ac_mode in
6904dd519f38Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6905dd519f38Smrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6906dd519f38Smrg  # are listed without --file.  Let's play safe and only enable the eval
6907dd519f38Smrg  # if we detect the quoting.
6908dd519f38Smrg  case $CONFIG_FILES in
6909dd519f38Smrg  *\'*) eval set x "$CONFIG_FILES" ;;
6910dd519f38Smrg  *)   set x $CONFIG_FILES ;;
6911dd519f38Smrg  esac
6912dd519f38Smrg  shift
6913dd519f38Smrg  for mf
6914dd519f38Smrg  do
6915dd519f38Smrg    # Strip MF so we end up with the name of the file.
6916dd519f38Smrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
6917dd519f38Smrg    # Check whether this is an Automake generated Makefile or not.
6918dd519f38Smrg    # We used to match only the files named `Makefile.in', but
6919dd519f38Smrg    # some people rename them; so instead we look at the file content.
6920dd519f38Smrg    # Grep'ing the first line is not enough: some people post-process
6921dd519f38Smrg    # each Makefile.in and add a new line on top of each file to say so.
6922dd519f38Smrg    # Grep'ing the whole file is not good either: AIX grep has a line
6923dd519f38Smrg    # limit of 2048, but all sed's we know have understand at least 4000.
6924dd519f38Smrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6925dd519f38Smrg      dirpart=`$as_dirname -- "$mf" ||
6926dd519f38Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6927dd519f38Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
6928dd519f38Smrg	 X"$mf" : 'X\(//\)$' \| \
6929dd519f38Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6930dd519f38Smrg$as_echo X"$mf" |
6931dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6932dd519f38Smrg	    s//\1/
6933dd519f38Smrg	    q
6934dd519f38Smrg	  }
6935dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
6936dd519f38Smrg	    s//\1/
6937dd519f38Smrg	    q
6938dd519f38Smrg	  }
6939dd519f38Smrg	  /^X\(\/\/\)$/{
6940dd519f38Smrg	    s//\1/
6941dd519f38Smrg	    q
6942dd519f38Smrg	  }
6943dd519f38Smrg	  /^X\(\/\).*/{
6944dd519f38Smrg	    s//\1/
6945dd519f38Smrg	    q
6946dd519f38Smrg	  }
6947dd519f38Smrg	  s/.*/./; q'`
6948dd519f38Smrg    else
6949dd519f38Smrg      continue
6950dd519f38Smrg    fi
6951dd519f38Smrg    # Extract the definition of DEPDIR, am__include, and am__quote
6952dd519f38Smrg    # from the Makefile without running `make'.
6953dd519f38Smrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6954dd519f38Smrg    test -z "$DEPDIR" && continue
6955dd519f38Smrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6956dd519f38Smrg    test -z "am__include" && continue
6957dd519f38Smrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6958dd519f38Smrg    # When using ansi2knr, U may be empty or an underscore; expand it
6959dd519f38Smrg    U=`sed -n 's/^U = //p' < "$mf"`
6960dd519f38Smrg    # Find all dependency output files, they are included files with
6961dd519f38Smrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6962dd519f38Smrg    # simplest approach to changing $(DEPDIR) to its actual value in the
6963dd519f38Smrg    # expansion.
6964dd519f38Smrg    for file in `sed -n "
6965dd519f38Smrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6966dd519f38Smrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6967dd519f38Smrg      # Make sure the directory exists.
6968dd519f38Smrg      test -f "$dirpart/$file" && continue
6969dd519f38Smrg      fdir=`$as_dirname -- "$file" ||
6970dd519f38Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6971dd519f38Smrg	 X"$file" : 'X\(//\)[^/]' \| \
6972dd519f38Smrg	 X"$file" : 'X\(//\)$' \| \
6973dd519f38Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6974dd519f38Smrg$as_echo X"$file" |
6975dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6976dd519f38Smrg	    s//\1/
6977dd519f38Smrg	    q
6978dd519f38Smrg	  }
6979dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
6980dd519f38Smrg	    s//\1/
6981dd519f38Smrg	    q
6982dd519f38Smrg	  }
6983dd519f38Smrg	  /^X\(\/\/\)$/{
6984dd519f38Smrg	    s//\1/
6985dd519f38Smrg	    q
6986dd519f38Smrg	  }
6987dd519f38Smrg	  /^X\(\/\).*/{
6988dd519f38Smrg	    s//\1/
6989dd519f38Smrg	    q
6990dd519f38Smrg	  }
6991dd519f38Smrg	  s/.*/./; q'`
6992dd519f38Smrg      { as_dir=$dirpart/$fdir
6993dd519f38Smrg  case $as_dir in #(
6994dd519f38Smrg  -*) as_dir=./$as_dir;;
6995dd519f38Smrg  esac
6996dd519f38Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6997dd519f38Smrg    as_dirs=
6998dd519f38Smrg    while :; do
6999dd519f38Smrg      case $as_dir in #(
7000dd519f38Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7001dd519f38Smrg      *) as_qdir=$as_dir;;
7002dd519f38Smrg      esac
7003dd519f38Smrg      as_dirs="'$as_qdir' $as_dirs"
7004dd519f38Smrg      as_dir=`$as_dirname -- "$as_dir" ||
7005dd519f38Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7006dd519f38Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
7007dd519f38Smrg	 X"$as_dir" : 'X\(//\)$' \| \
7008dd519f38Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7009dd519f38Smrg$as_echo X"$as_dir" |
7010dd519f38Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7011dd519f38Smrg	    s//\1/
7012dd519f38Smrg	    q
7013dd519f38Smrg	  }
7014dd519f38Smrg	  /^X\(\/\/\)[^/].*/{
7015dd519f38Smrg	    s//\1/
7016dd519f38Smrg	    q
7017dd519f38Smrg	  }
7018dd519f38Smrg	  /^X\(\/\/\)$/{
7019dd519f38Smrg	    s//\1/
7020dd519f38Smrg	    q
7021dd519f38Smrg	  }
7022dd519f38Smrg	  /^X\(\/\).*/{
7023dd519f38Smrg	    s//\1/
7024dd519f38Smrg	    q
7025dd519f38Smrg	  }
7026dd519f38Smrg	  s/.*/./; q'`
7027dd519f38Smrg      test -d "$as_dir" && break
7028dd519f38Smrg    done
7029dd519f38Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
7030dd519f38Smrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7031dd519f38Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7032dd519f38Smrg   { (exit 1); exit 1; }; }; }
7033dd519f38Smrg      # echo "creating $dirpart/$file"
7034dd519f38Smrg      echo '# dummy' > "$dirpart/$file"
7035dd519f38Smrg    done
7036dd519f38Smrg  done
7037dd519f38Smrg}
7038dd519f38Smrg ;;
7039dd519f38Smrg
7040dd519f38Smrg  esac
7041ed029a5fSmrgdone # for ac_tag
7042ed029a5fSmrg
7043ed029a5fSmrg
7044ed029a5fSmrg{ (exit 0); exit 0; }
7045ed029a5fSmrg_ACEOF
7046ed029a5fSmrgchmod +x $CONFIG_STATUS
7047ed029a5fSmrgac_clean_files=$ac_clean_files_save
7048dd519f38Smrg
7049dd519f38Smrgtest $ac_write_fail = 0 ||
7050dd519f38Smrg  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7051dd519f38Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7052dd519f38Smrg   { (exit 1); exit 1; }; }
7053ed029a5fSmrg
7054ed029a5fSmrg
7055ed029a5fSmrg# configure is writing to config.log, and then calls config.status.
7056ed029a5fSmrg# config.status does its own redirection, appending to config.log.
7057ed029a5fSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
7058ed029a5fSmrg# by configure, so config.status won't be able to write to it; its
7059ed029a5fSmrg# output is simply discarded.  So we exec the FD to /dev/null,
7060ed029a5fSmrg# effectively closing config.log, so it can be properly (re)opened and
7061ed029a5fSmrg# appended to by config.status.  When coming back to configure, we
7062ed029a5fSmrg# need to make the FD available again.
7063ed029a5fSmrgif test "$no_create" != yes; then
7064ed029a5fSmrg  ac_cs_success=:
7065ed029a5fSmrg  ac_config_status_args=
7066ed029a5fSmrg  test "$silent" = yes &&
7067ed029a5fSmrg    ac_config_status_args="$ac_config_status_args --quiet"
7068ed029a5fSmrg  exec 5>/dev/null
7069ed029a5fSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7070ed029a5fSmrg  exec 5>>config.log
7071ed029a5fSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7072ed029a5fSmrg  # would make configure fail if this is the last instruction.
7073ed029a5fSmrg  $ac_cs_success || { (exit 1); exit 1; }
7074dd519f38Smrgfi
7075dd519f38Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7076dd519f38Smrg  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7077dd519f38Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7078ed029a5fSmrgfi
7079
7080