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