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