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