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