1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for Octave-Forge video package 2.0.2.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199  if (eval "$as_required") 2>/dev/null; then :
200  as_have_required=yes
201else
202  as_have_required=no
203fi
204  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206else
207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208as_found=false
209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210do
211  IFS=$as_save_IFS
212  test -z "$as_dir" && as_dir=.
213  as_found=:
214  case $as_dir in #(
215	 /*)
216	   for as_base in sh bash ksh sh5; do
217	     # Try only shells that exist, to save several forks.
218	     as_shell=$as_dir/$as_base
219	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221  CONFIG_SHELL=$as_shell as_have_required=yes
222		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223  break 2
224fi
225fi
226	   done;;
227       esac
228  as_found=false
229done
230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232  CONFIG_SHELL=$SHELL as_have_required=yes
233fi; }
234IFS=$as_save_IFS
235
236
237      if test "x$CONFIG_SHELL" != x; then :
238  export CONFIG_SHELL
239             # We cannot yet assume a decent shell, so we have to provide a
240# neutralization value for shells without unset; and this also
241# works around shells that cannot unset nonexistent variables.
242# Preserve -v and -x to the replacement shell.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247  *v*x* | *x*v* ) as_opts=-vx ;;
248  *v* ) as_opts=-v ;;
249  *x* ) as_opts=-x ;;
250  * ) as_opts= ;;
251esac
252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253# Admittedly, this is quite paranoid, since all the known shells bail
254# out after a failed `exec'.
255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256exit 255
257fi
258
259    if test x$as_have_required = xno; then :
260  $as_echo "$0: This script requires a shell more modern than all"
261  $as_echo "$0: the shells that I found on your system."
262  if test x${ZSH_VERSION+set} = xset ; then
263    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265  else
266    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267$0: including any error possibly output before this
268$0: message. Then install a modern shell, or manually run
269$0: the script under such a shell if you do have one."
270  fi
271  exit 1
272fi
273fi
274fi
275SHELL=${CONFIG_SHELL-/bin/sh}
276export SHELL
277# Unset more variables known to interfere with behavior of common tools.
278CLICOLOR_FORCE= GREP_OPTIONS=
279unset CLICOLOR_FORCE GREP_OPTIONS
280
281## --------------------- ##
282## M4sh Shell Functions. ##
283## --------------------- ##
284# as_fn_unset VAR
285# ---------------
286# Portably unset VAR.
287as_fn_unset ()
288{
289  { eval $1=; unset $1;}
290}
291as_unset=as_fn_unset
292
293# as_fn_set_status STATUS
294# -----------------------
295# Set $? to STATUS, without forking.
296as_fn_set_status ()
297{
298  return $1
299} # as_fn_set_status
300
301# as_fn_exit STATUS
302# -----------------
303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304as_fn_exit ()
305{
306  set +e
307  as_fn_set_status $1
308  exit $1
309} # as_fn_exit
310
311# as_fn_mkdir_p
312# -------------
313# Create "$as_dir" as a directory, including parents if necessary.
314as_fn_mkdir_p ()
315{
316
317  case $as_dir in #(
318  -*) as_dir=./$as_dir;;
319  esac
320  test -d "$as_dir" || eval $as_mkdir_p || {
321    as_dirs=
322    while :; do
323      case $as_dir in #(
324      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325      *) as_qdir=$as_dir;;
326      esac
327      as_dirs="'$as_qdir' $as_dirs"
328      as_dir=`$as_dirname -- "$as_dir" ||
329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330	 X"$as_dir" : 'X\(//\)[^/]' \| \
331	 X"$as_dir" : 'X\(//\)$' \| \
332	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333$as_echo X"$as_dir" |
334    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335	    s//\1/
336	    q
337	  }
338	  /^X\(\/\/\)[^/].*/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)$/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\).*/{
347	    s//\1/
348	    q
349	  }
350	  s/.*/./; q'`
351      test -d "$as_dir" && break
352    done
353    test -z "$as_dirs" || eval "mkdir $as_dirs"
354  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357} # as_fn_mkdir_p
358
359# as_fn_executable_p FILE
360# -----------------------
361# Test if FILE is an executable regular file.
362as_fn_executable_p ()
363{
364  test -f "$1" && test -x "$1"
365} # as_fn_executable_p
366# as_fn_append VAR VALUE
367# ----------------------
368# Append the text in VALUE to the end of the definition contained in VAR. Take
369# advantage of any shell optimizations that allow amortized linear growth over
370# repeated appends, instead of the typical quadratic growth present in naive
371# implementations.
372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373  eval 'as_fn_append ()
374  {
375    eval $1+=\$2
376  }'
377else
378  as_fn_append ()
379  {
380    eval $1=\$$1\$2
381  }
382fi # as_fn_append
383
384# as_fn_arith ARG...
385# ------------------
386# Perform arithmetic evaluation on the ARGs, and store the result in the
387# global $as_val. Take advantage of shells that can avoid forks. The arguments
388# must be portable across $(()) and expr.
389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390  eval 'as_fn_arith ()
391  {
392    as_val=$(( $* ))
393  }'
394else
395  as_fn_arith ()
396  {
397    as_val=`expr "$@" || test $? -eq 1`
398  }
399fi # as_fn_arith
400
401
402# as_fn_error STATUS ERROR [LINENO LOG_FD]
403# ----------------------------------------
404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406# script with STATUS, using 1 if that was 0.
407as_fn_error ()
408{
409  as_status=$1; test $as_status -eq 0 && as_status=1
410  if test "$4"; then
411    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413  fi
414  $as_echo "$as_me: error: $2" >&2
415  as_fn_exit $as_status
416} # as_fn_error
417
418if expr a : '\(a\)' >/dev/null 2>&1 &&
419   test "X`expr 00001 : '.*\(...\)'`" = X001; then
420  as_expr=expr
421else
422  as_expr=false
423fi
424
425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426  as_basename=basename
427else
428  as_basename=false
429fi
430
431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432  as_dirname=dirname
433else
434  as_dirname=false
435fi
436
437as_me=`$as_basename -- "$0" ||
438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439	 X"$0" : 'X\(//\)$' \| \
440	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441$as_echo X/"$0" |
442    sed '/^.*\/\([^/][^/]*\)\/*$/{
443	    s//\1/
444	    q
445	  }
446	  /^X\/\(\/\/\)$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\).*/{
451	    s//\1/
452	    q
453	  }
454	  s/.*/./; q'`
455
456# Avoid depending upon Character Ranges.
457as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460as_cr_digits='0123456789'
461as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464  as_lineno_1=$LINENO as_lineno_1a=$LINENO
465  as_lineno_2=$LINENO as_lineno_2a=$LINENO
466  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
469  sed -n '
470    p
471    /[$]LINENO/=
472  ' <$as_myself |
473    sed '
474      s/[$]LINENO.*/&-/
475      t lineno
476      b
477      :lineno
478      N
479      :loop
480      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481      t loop
482      s/-\n.*//
483    ' >$as_me.lineno &&
484  chmod +x "$as_me.lineno" ||
485    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488  # already done that, so ensure we don't try to do so again and fall
489  # in an infinite loop.  This has already happened in practice.
490  _as_can_reexec=no; export _as_can_reexec
491  # Don't try to exec as it changes $[0], causing all sort of problems
492  # (the dirname of $[0] is not the place where we might find the
493  # original and so on.  Autoconf is especially sensitive to this).
494  . "./$as_me.lineno"
495  # Exit status is that of the last command.
496  exit
497}
498
499ECHO_C= ECHO_N= ECHO_T=
500case `echo -n x` in #(((((
501-n*)
502  case `echo 'xy\c'` in
503  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
504  xy)  ECHO_C='\c';;
505  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
506       ECHO_T='	';;
507  esac;;
508*)
509  ECHO_N='-n';;
510esac
511
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514  rm -f conf$$.dir/conf$$.file
515else
516  rm -f conf$$.dir
517  mkdir conf$$.dir 2>/dev/null
518fi
519if (echo >conf$$.file) 2>/dev/null; then
520  if ln -s conf$$.file conf$$ 2>/dev/null; then
521    as_ln_s='ln -s'
522    # ... but there are two gotchas:
523    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525    # In both cases, we have to default to `cp -pR'.
526    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527      as_ln_s='cp -pR'
528  elif ln conf$$.file conf$$ 2>/dev/null; then
529    as_ln_s=ln
530  else
531    as_ln_s='cp -pR'
532  fi
533else
534  as_ln_s='cp -pR'
535fi
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
538
539if mkdir -p . 2>/dev/null; then
540  as_mkdir_p='mkdir -p "$as_dir"'
541else
542  test -d ./-p && rmdir ./-p
543  as_mkdir_p=false
544fi
545
546as_test_x='test -x'
547as_executable_p=as_fn_executable_p
548
549# Sed expression to map a string onto a valid CPP name.
550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552# Sed expression to map a string onto a valid variable name.
553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556test -n "$DJDIR" || exec 7<&0 </dev/null
557exec 6>&1
558
559# Name of the host.
560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561# so uname gets run too.
562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564#
565# Initializations.
566#
567ac_default_prefix=/usr/local
568ac_clean_files=
569ac_config_libobj_dir=.
570LIBOBJS=
571cross_compiling=no
572subdirs=
573MFLAGS=
574MAKEFLAGS=
575
576# Identity of this package.
577PACKAGE_NAME='Octave-Forge video package'
578PACKAGE_TARNAME='octave-forge-video-package'
579PACKAGE_VERSION='2.0.2'
580PACKAGE_STRING='Octave-Forge video package 2.0.2'
581PACKAGE_BUGREPORT=''
582PACKAGE_URL=''
583
584ac_subst_vars='LTLIBOBJS
585LIBOBJS
586FFMPEG_LIBS
587FFMPEG_CFLAGS
588PKG_CONFIG_LIBDIR
589PKG_CONFIG_PATH
590PKG_CONFIG
591MKOCTFILE
592OBJEXT
593EXEEXT
594ac_ct_CXX
595CPPFLAGS
596LDFLAGS
597CXXFLAGS
598CXX
599target_alias
600host_alias
601build_alias
602LIBS
603ECHO_T
604ECHO_N
605ECHO_C
606DEFS
607mandir
608localedir
609libdir
610psdir
611pdfdir
612dvidir
613htmldir
614infodir
615docdir
616oldincludedir
617includedir
618runstatedir
619localstatedir
620sharedstatedir
621sysconfdir
622datadir
623datarootdir
624libexecdir
625sbindir
626bindir
627program_transform_name
628prefix
629exec_prefix
630PACKAGE_URL
631PACKAGE_BUGREPORT
632PACKAGE_STRING
633PACKAGE_VERSION
634PACKAGE_TARNAME
635PACKAGE_NAME
636PATH_SEPARATOR
637SHELL'
638ac_subst_files=''
639ac_user_opts='
640enable_option_checking
641'
642      ac_precious_vars='build_alias
643host_alias
644target_alias
645CXX
646CXXFLAGS
647LDFLAGS
648LIBS
649CPPFLAGS
650CCC
651PKG_CONFIG
652PKG_CONFIG_PATH
653PKG_CONFIG_LIBDIR
654FFMPEG_CFLAGS
655FFMPEG_LIBS'
656
657
658# Initialize some variables set by options.
659ac_init_help=
660ac_init_version=false
661ac_unrecognized_opts=
662ac_unrecognized_sep=
663# The variables have the same names as the options, with
664# dashes changed to underlines.
665cache_file=/dev/null
666exec_prefix=NONE
667no_create=
668no_recursion=
669prefix=NONE
670program_prefix=NONE
671program_suffix=NONE
672program_transform_name=s,x,x,
673silent=
674site=
675srcdir=
676verbose=
677x_includes=NONE
678x_libraries=NONE
679
680# Installation directory options.
681# These are left unexpanded so users can "make install exec_prefix=/foo"
682# and all the variables that are supposed to be based on exec_prefix
683# by default will actually change.
684# Use braces instead of parens because sh, perl, etc. also accept them.
685# (The list follows the same order as the GNU Coding Standards.)
686bindir='${exec_prefix}/bin'
687sbindir='${exec_prefix}/sbin'
688libexecdir='${exec_prefix}/libexec'
689datarootdir='${prefix}/share'
690datadir='${datarootdir}'
691sysconfdir='${prefix}/etc'
692sharedstatedir='${prefix}/com'
693localstatedir='${prefix}/var'
694runstatedir='${localstatedir}/run'
695includedir='${prefix}/include'
696oldincludedir='/usr/include'
697docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
698infodir='${datarootdir}/info'
699htmldir='${docdir}'
700dvidir='${docdir}'
701pdfdir='${docdir}'
702psdir='${docdir}'
703libdir='${exec_prefix}/lib'
704localedir='${datarootdir}/locale'
705mandir='${datarootdir}/man'
706
707ac_prev=
708ac_dashdash=
709for ac_option
710do
711  # If the previous option needs an argument, assign it.
712  if test -n "$ac_prev"; then
713    eval $ac_prev=\$ac_option
714    ac_prev=
715    continue
716  fi
717
718  case $ac_option in
719  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
720  *=)   ac_optarg= ;;
721  *)    ac_optarg=yes ;;
722  esac
723
724  # Accept the important Cygnus configure options, so we can diagnose typos.
725
726  case $ac_dashdash$ac_option in
727  --)
728    ac_dashdash=yes ;;
729
730  -bindir | --bindir | --bindi | --bind | --bin | --bi)
731    ac_prev=bindir ;;
732  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
733    bindir=$ac_optarg ;;
734
735  -build | --build | --buil | --bui | --bu)
736    ac_prev=build_alias ;;
737  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
738    build_alias=$ac_optarg ;;
739
740  -cache-file | --cache-file | --cache-fil | --cache-fi \
741  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
742    ac_prev=cache_file ;;
743  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
744  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
745    cache_file=$ac_optarg ;;
746
747  --config-cache | -C)
748    cache_file=config.cache ;;
749
750  -datadir | --datadir | --datadi | --datad)
751    ac_prev=datadir ;;
752  -datadir=* | --datadir=* | --datadi=* | --datad=*)
753    datadir=$ac_optarg ;;
754
755  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
756  | --dataroo | --dataro | --datar)
757    ac_prev=datarootdir ;;
758  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
759  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
760    datarootdir=$ac_optarg ;;
761
762  -disable-* | --disable-*)
763    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
764    # Reject names that are not valid shell variable names.
765    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
766      as_fn_error $? "invalid feature name: $ac_useropt"
767    ac_useropt_orig=$ac_useropt
768    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
769    case $ac_user_opts in
770      *"
771"enable_$ac_useropt"
772"*) ;;
773      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
774	 ac_unrecognized_sep=', ';;
775    esac
776    eval enable_$ac_useropt=no ;;
777
778  -docdir | --docdir | --docdi | --doc | --do)
779    ac_prev=docdir ;;
780  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
781    docdir=$ac_optarg ;;
782
783  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
784    ac_prev=dvidir ;;
785  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
786    dvidir=$ac_optarg ;;
787
788  -enable-* | --enable-*)
789    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
790    # Reject names that are not valid shell variable names.
791    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
792      as_fn_error $? "invalid feature name: $ac_useropt"
793    ac_useropt_orig=$ac_useropt
794    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
795    case $ac_user_opts in
796      *"
797"enable_$ac_useropt"
798"*) ;;
799      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
800	 ac_unrecognized_sep=', ';;
801    esac
802    eval enable_$ac_useropt=\$ac_optarg ;;
803
804  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
805  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
806  | --exec | --exe | --ex)
807    ac_prev=exec_prefix ;;
808  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
809  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
810  | --exec=* | --exe=* | --ex=*)
811    exec_prefix=$ac_optarg ;;
812
813  -gas | --gas | --ga | --g)
814    # Obsolete; use --with-gas.
815    with_gas=yes ;;
816
817  -help | --help | --hel | --he | -h)
818    ac_init_help=long ;;
819  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
820    ac_init_help=recursive ;;
821  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
822    ac_init_help=short ;;
823
824  -host | --host | --hos | --ho)
825    ac_prev=host_alias ;;
826  -host=* | --host=* | --hos=* | --ho=*)
827    host_alias=$ac_optarg ;;
828
829  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
830    ac_prev=htmldir ;;
831  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
832  | --ht=*)
833    htmldir=$ac_optarg ;;
834
835  -includedir | --includedir | --includedi | --included | --include \
836  | --includ | --inclu | --incl | --inc)
837    ac_prev=includedir ;;
838  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
839  | --includ=* | --inclu=* | --incl=* | --inc=*)
840    includedir=$ac_optarg ;;
841
842  -infodir | --infodir | --infodi | --infod | --info | --inf)
843    ac_prev=infodir ;;
844  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
845    infodir=$ac_optarg ;;
846
847  -libdir | --libdir | --libdi | --libd)
848    ac_prev=libdir ;;
849  -libdir=* | --libdir=* | --libdi=* | --libd=*)
850    libdir=$ac_optarg ;;
851
852  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
853  | --libexe | --libex | --libe)
854    ac_prev=libexecdir ;;
855  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
856  | --libexe=* | --libex=* | --libe=*)
857    libexecdir=$ac_optarg ;;
858
859  -localedir | --localedir | --localedi | --localed | --locale)
860    ac_prev=localedir ;;
861  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
862    localedir=$ac_optarg ;;
863
864  -localstatedir | --localstatedir | --localstatedi | --localstated \
865  | --localstate | --localstat | --localsta | --localst | --locals)
866    ac_prev=localstatedir ;;
867  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
868  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
869    localstatedir=$ac_optarg ;;
870
871  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
872    ac_prev=mandir ;;
873  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
874    mandir=$ac_optarg ;;
875
876  -nfp | --nfp | --nf)
877    # Obsolete; use --without-fp.
878    with_fp=no ;;
879
880  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
881  | --no-cr | --no-c | -n)
882    no_create=yes ;;
883
884  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
885  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
886    no_recursion=yes ;;
887
888  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
889  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
890  | --oldin | --oldi | --old | --ol | --o)
891    ac_prev=oldincludedir ;;
892  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
893  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
894  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
895    oldincludedir=$ac_optarg ;;
896
897  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
898    ac_prev=prefix ;;
899  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
900    prefix=$ac_optarg ;;
901
902  -program-prefix | --program-prefix | --program-prefi | --program-pref \
903  | --program-pre | --program-pr | --program-p)
904    ac_prev=program_prefix ;;
905  -program-prefix=* | --program-prefix=* | --program-prefi=* \
906  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
907    program_prefix=$ac_optarg ;;
908
909  -program-suffix | --program-suffix | --program-suffi | --program-suff \
910  | --program-suf | --program-su | --program-s)
911    ac_prev=program_suffix ;;
912  -program-suffix=* | --program-suffix=* | --program-suffi=* \
913  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
914    program_suffix=$ac_optarg ;;
915
916  -program-transform-name | --program-transform-name \
917  | --program-transform-nam | --program-transform-na \
918  | --program-transform-n | --program-transform- \
919  | --program-transform | --program-transfor \
920  | --program-transfo | --program-transf \
921  | --program-trans | --program-tran \
922  | --progr-tra | --program-tr | --program-t)
923    ac_prev=program_transform_name ;;
924  -program-transform-name=* | --program-transform-name=* \
925  | --program-transform-nam=* | --program-transform-na=* \
926  | --program-transform-n=* | --program-transform-=* \
927  | --program-transform=* | --program-transfor=* \
928  | --program-transfo=* | --program-transf=* \
929  | --program-trans=* | --program-tran=* \
930  | --progr-tra=* | --program-tr=* | --program-t=*)
931    program_transform_name=$ac_optarg ;;
932
933  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
934    ac_prev=pdfdir ;;
935  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
936    pdfdir=$ac_optarg ;;
937
938  -psdir | --psdir | --psdi | --psd | --ps)
939    ac_prev=psdir ;;
940  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
941    psdir=$ac_optarg ;;
942
943  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
944  | -silent | --silent | --silen | --sile | --sil)
945    silent=yes ;;
946
947  -runstatedir | --runstatedir | --runstatedi | --runstated \
948  | --runstate | --runstat | --runsta | --runst | --runs \
949  | --run | --ru | --r)
950    ac_prev=runstatedir ;;
951  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
952  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
953  | --run=* | --ru=* | --r=*)
954    runstatedir=$ac_optarg ;;
955
956  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
957    ac_prev=sbindir ;;
958  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
959  | --sbi=* | --sb=*)
960    sbindir=$ac_optarg ;;
961
962  -sharedstatedir | --sharedstatedir | --sharedstatedi \
963  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
964  | --sharedst | --shareds | --shared | --share | --shar \
965  | --sha | --sh)
966    ac_prev=sharedstatedir ;;
967  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
968  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
969  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
970  | --sha=* | --sh=*)
971    sharedstatedir=$ac_optarg ;;
972
973  -site | --site | --sit)
974    ac_prev=site ;;
975  -site=* | --site=* | --sit=*)
976    site=$ac_optarg ;;
977
978  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
979    ac_prev=srcdir ;;
980  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
981    srcdir=$ac_optarg ;;
982
983  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
984  | --syscon | --sysco | --sysc | --sys | --sy)
985    ac_prev=sysconfdir ;;
986  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
987  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
988    sysconfdir=$ac_optarg ;;
989
990  -target | --target | --targe | --targ | --tar | --ta | --t)
991    ac_prev=target_alias ;;
992  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
993    target_alias=$ac_optarg ;;
994
995  -v | -verbose | --verbose | --verbos | --verbo | --verb)
996    verbose=yes ;;
997
998  -version | --version | --versio | --versi | --vers | -V)
999    ac_init_version=: ;;
1000
1001  -with-* | --with-*)
1002    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1003    # Reject names that are not valid shell variable names.
1004    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005      as_fn_error $? "invalid package name: $ac_useropt"
1006    ac_useropt_orig=$ac_useropt
1007    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008    case $ac_user_opts in
1009      *"
1010"with_$ac_useropt"
1011"*) ;;
1012      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1013	 ac_unrecognized_sep=', ';;
1014    esac
1015    eval with_$ac_useropt=\$ac_optarg ;;
1016
1017  -without-* | --without-*)
1018    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1019    # Reject names that are not valid shell variable names.
1020    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021      as_fn_error $? "invalid package name: $ac_useropt"
1022    ac_useropt_orig=$ac_useropt
1023    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024    case $ac_user_opts in
1025      *"
1026"with_$ac_useropt"
1027"*) ;;
1028      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1029	 ac_unrecognized_sep=', ';;
1030    esac
1031    eval with_$ac_useropt=no ;;
1032
1033  --x)
1034    # Obsolete; use --with-x.
1035    with_x=yes ;;
1036
1037  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1038  | --x-incl | --x-inc | --x-in | --x-i)
1039    ac_prev=x_includes ;;
1040  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1041  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1042    x_includes=$ac_optarg ;;
1043
1044  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1045  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1046    ac_prev=x_libraries ;;
1047  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1048  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1049    x_libraries=$ac_optarg ;;
1050
1051  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1052Try \`$0 --help' for more information"
1053    ;;
1054
1055  *=*)
1056    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1057    # Reject names that are not valid shell variable names.
1058    case $ac_envvar in #(
1059      '' | [0-9]* | *[!_$as_cr_alnum]* )
1060      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1061    esac
1062    eval $ac_envvar=\$ac_optarg
1063    export $ac_envvar ;;
1064
1065  *)
1066    # FIXME: should be removed in autoconf 3.0.
1067    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1068    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1070    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1071    ;;
1072
1073  esac
1074done
1075
1076if test -n "$ac_prev"; then
1077  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1078  as_fn_error $? "missing argument to $ac_option"
1079fi
1080
1081if test -n "$ac_unrecognized_opts"; then
1082  case $enable_option_checking in
1083    no) ;;
1084    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1085    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1086  esac
1087fi
1088
1089# Check all directory arguments for consistency.
1090for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1091		datadir sysconfdir sharedstatedir localstatedir includedir \
1092		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1093		libdir localedir mandir runstatedir
1094do
1095  eval ac_val=\$$ac_var
1096  # Remove trailing slashes.
1097  case $ac_val in
1098    */ )
1099      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1100      eval $ac_var=\$ac_val;;
1101  esac
1102  # Be sure to have absolute directory names.
1103  case $ac_val in
1104    [\\/$]* | ?:[\\/]* )  continue;;
1105    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1106  esac
1107  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1108done
1109
1110# There might be people who depend on the old broken behavior: `$host'
1111# used to hold the argument of --host etc.
1112# FIXME: To remove some day.
1113build=$build_alias
1114host=$host_alias
1115target=$target_alias
1116
1117# FIXME: To remove some day.
1118if test "x$host_alias" != x; then
1119  if test "x$build_alias" = x; then
1120    cross_compiling=maybe
1121  elif test "x$build_alias" != "x$host_alias"; then
1122    cross_compiling=yes
1123  fi
1124fi
1125
1126ac_tool_prefix=
1127test -n "$host_alias" && ac_tool_prefix=$host_alias-
1128
1129test "$silent" = yes && exec 6>/dev/null
1130
1131
1132ac_pwd=`pwd` && test -n "$ac_pwd" &&
1133ac_ls_di=`ls -di .` &&
1134ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1135  as_fn_error $? "working directory cannot be determined"
1136test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1137  as_fn_error $? "pwd does not report name of working directory"
1138
1139
1140# Find the source files, if location was not specified.
1141if test -z "$srcdir"; then
1142  ac_srcdir_defaulted=yes
1143  # Try the directory containing this script, then the parent directory.
1144  ac_confdir=`$as_dirname -- "$as_myself" ||
1145$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1146	 X"$as_myself" : 'X\(//\)[^/]' \| \
1147	 X"$as_myself" : 'X\(//\)$' \| \
1148	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1149$as_echo X"$as_myself" |
1150    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1151	    s//\1/
1152	    q
1153	  }
1154	  /^X\(\/\/\)[^/].*/{
1155	    s//\1/
1156	    q
1157	  }
1158	  /^X\(\/\/\)$/{
1159	    s//\1/
1160	    q
1161	  }
1162	  /^X\(\/\).*/{
1163	    s//\1/
1164	    q
1165	  }
1166	  s/.*/./; q'`
1167  srcdir=$ac_confdir
1168  if test ! -r "$srcdir/$ac_unique_file"; then
1169    srcdir=..
1170  fi
1171else
1172  ac_srcdir_defaulted=no
1173fi
1174if test ! -r "$srcdir/$ac_unique_file"; then
1175  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1176  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1177fi
1178ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1179ac_abs_confdir=`(
1180	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1181	pwd)`
1182# When building in place, set srcdir=.
1183if test "$ac_abs_confdir" = "$ac_pwd"; then
1184  srcdir=.
1185fi
1186# Remove unnecessary trailing slashes from srcdir.
1187# Double slashes in file names in object file debugging info
1188# mess up M-x gdb in Emacs.
1189case $srcdir in
1190*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1191esac
1192for ac_var in $ac_precious_vars; do
1193  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1194  eval ac_env_${ac_var}_value=\$${ac_var}
1195  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1196  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1197done
1198
1199#
1200# Report the --help message.
1201#
1202if test "$ac_init_help" = "long"; then
1203  # Omit some internal or obsolete options to make the list less imposing.
1204  # This message is too long to be a string in the A/UX 3.1 sh.
1205  cat <<_ACEOF
1206\`configure' configures Octave-Forge video package 2.0.2 to adapt to many kinds of systems.
1207
1208Usage: $0 [OPTION]... [VAR=VALUE]...
1209
1210To assign environment variables (e.g., CC, CFLAGS...), specify them as
1211VAR=VALUE.  See below for descriptions of some of the useful variables.
1212
1213Defaults for the options are specified in brackets.
1214
1215Configuration:
1216  -h, --help              display this help and exit
1217      --help=short        display options specific to this package
1218      --help=recursive    display the short help of all the included packages
1219  -V, --version           display version information and exit
1220  -q, --quiet, --silent   do not print \`checking ...' messages
1221      --cache-file=FILE   cache test results in FILE [disabled]
1222  -C, --config-cache      alias for \`--cache-file=config.cache'
1223  -n, --no-create         do not create output files
1224      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1225
1226Installation directories:
1227  --prefix=PREFIX         install architecture-independent files in PREFIX
1228                          [$ac_default_prefix]
1229  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1230                          [PREFIX]
1231
1232By default, \`make install' will install all the files in
1233\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1234an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1235for instance \`--prefix=\$HOME'.
1236
1237For better control, use the options below.
1238
1239Fine tuning of the installation directories:
1240  --bindir=DIR            user executables [EPREFIX/bin]
1241  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1242  --libexecdir=DIR        program executables [EPREFIX/libexec]
1243  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1244  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1245  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1246  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1247  --libdir=DIR            object code libraries [EPREFIX/lib]
1248  --includedir=DIR        C header files [PREFIX/include]
1249  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1250  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1251  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1252  --infodir=DIR           info documentation [DATAROOTDIR/info]
1253  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1254  --mandir=DIR            man documentation [DATAROOTDIR/man]
1255  --docdir=DIR            documentation root
1256                          [DATAROOTDIR/doc/octave-forge-video-package]
1257  --htmldir=DIR           html documentation [DOCDIR]
1258  --dvidir=DIR            dvi documentation [DOCDIR]
1259  --pdfdir=DIR            pdf documentation [DOCDIR]
1260  --psdir=DIR             ps documentation [DOCDIR]
1261_ACEOF
1262
1263  cat <<\_ACEOF
1264_ACEOF
1265fi
1266
1267if test -n "$ac_init_help"; then
1268  case $ac_init_help in
1269     short | recursive ) echo "Configuration of Octave-Forge video package 2.0.2:";;
1270   esac
1271  cat <<\_ACEOF
1272
1273Some influential environment variables:
1274  CXX         C++ compiler command
1275  CXXFLAGS    C++ compiler flags
1276  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1277              nonstandard directory <lib dir>
1278  LIBS        libraries to pass to the linker, e.g. -l<library>
1279  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1280              you have headers in a nonstandard directory <include dir>
1281  PKG_CONFIG  path to pkg-config utility
1282  PKG_CONFIG_PATH
1283              directories to add to pkg-config's search path
1284  PKG_CONFIG_LIBDIR
1285              path overriding pkg-config's built-in search path
1286  FFMPEG_CFLAGS
1287              C compiler flags for FFMPEG, overriding pkg-config
1288  FFMPEG_LIBS linker flags for FFMPEG, overriding pkg-config
1289
1290Use these variables to override the choices made by `configure' or to help
1291it to find libraries and programs with nonstandard names/locations.
1292
1293Report bugs to the package provider.
1294_ACEOF
1295ac_status=$?
1296fi
1297
1298if test "$ac_init_help" = "recursive"; then
1299  # If there are subdirs, report their specific --help.
1300  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1301    test -d "$ac_dir" ||
1302      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1303      continue
1304    ac_builddir=.
1305
1306case "$ac_dir" in
1307.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1308*)
1309  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1310  # A ".." for each directory in $ac_dir_suffix.
1311  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1312  case $ac_top_builddir_sub in
1313  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1314  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1315  esac ;;
1316esac
1317ac_abs_top_builddir=$ac_pwd
1318ac_abs_builddir=$ac_pwd$ac_dir_suffix
1319# for backward compatibility:
1320ac_top_builddir=$ac_top_build_prefix
1321
1322case $srcdir in
1323  .)  # We are building in place.
1324    ac_srcdir=.
1325    ac_top_srcdir=$ac_top_builddir_sub
1326    ac_abs_top_srcdir=$ac_pwd ;;
1327  [\\/]* | ?:[\\/]* )  # Absolute name.
1328    ac_srcdir=$srcdir$ac_dir_suffix;
1329    ac_top_srcdir=$srcdir
1330    ac_abs_top_srcdir=$srcdir ;;
1331  *) # Relative name.
1332    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1333    ac_top_srcdir=$ac_top_build_prefix$srcdir
1334    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1335esac
1336ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1337
1338    cd "$ac_dir" || { ac_status=$?; continue; }
1339    # Check for guested configure.
1340    if test -f "$ac_srcdir/configure.gnu"; then
1341      echo &&
1342      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1343    elif test -f "$ac_srcdir/configure"; then
1344      echo &&
1345      $SHELL "$ac_srcdir/configure" --help=recursive
1346    else
1347      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1348    fi || ac_status=$?
1349    cd "$ac_pwd" || { ac_status=$?; break; }
1350  done
1351fi
1352
1353test -n "$ac_init_help" && exit $ac_status
1354if $ac_init_version; then
1355  cat <<\_ACEOF
1356Octave-Forge video package configure 2.0.2
1357generated by GNU Autoconf 2.69
1358
1359Copyright (C) 2012 Free Software Foundation, Inc.
1360This configure script is free software; the Free Software Foundation
1361gives unlimited permission to copy, distribute and modify it.
1362_ACEOF
1363  exit
1364fi
1365
1366## ------------------------ ##
1367## Autoconf initialization. ##
1368## ------------------------ ##
1369
1370# ac_fn_cxx_try_compile LINENO
1371# ----------------------------
1372# Try to compile conftest.$ac_ext, and return whether this succeeded.
1373ac_fn_cxx_try_compile ()
1374{
1375  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1376  rm -f conftest.$ac_objext
1377  if { { ac_try="$ac_compile"
1378case "(($ac_try" in
1379  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1380  *) ac_try_echo=$ac_try;;
1381esac
1382eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1383$as_echo "$ac_try_echo"; } >&5
1384  (eval "$ac_compile") 2>conftest.err
1385  ac_status=$?
1386  if test -s conftest.err; then
1387    grep -v '^ *+' conftest.err >conftest.er1
1388    cat conftest.er1 >&5
1389    mv -f conftest.er1 conftest.err
1390  fi
1391  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1392  test $ac_status = 0; } && {
1393	 test -z "$ac_cxx_werror_flag" ||
1394	 test ! -s conftest.err
1395       } && test -s conftest.$ac_objext; then :
1396  ac_retval=0
1397else
1398  $as_echo "$as_me: failed program was:" >&5
1399sed 's/^/| /' conftest.$ac_ext >&5
1400
1401	ac_retval=1
1402fi
1403  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1404  as_fn_set_status $ac_retval
1405
1406} # ac_fn_cxx_try_compile
1407cat >config.log <<_ACEOF
1408This file contains any messages produced by compilers while
1409running configure, to aid debugging if configure makes a mistake.
1410
1411It was created by Octave-Forge video package $as_me 2.0.2, which was
1412generated by GNU Autoconf 2.69.  Invocation command line was
1413
1414  $ $0 $@
1415
1416_ACEOF
1417exec 5>>config.log
1418{
1419cat <<_ASUNAME
1420## --------- ##
1421## Platform. ##
1422## --------- ##
1423
1424hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1425uname -m = `(uname -m) 2>/dev/null || echo unknown`
1426uname -r = `(uname -r) 2>/dev/null || echo unknown`
1427uname -s = `(uname -s) 2>/dev/null || echo unknown`
1428uname -v = `(uname -v) 2>/dev/null || echo unknown`
1429
1430/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1431/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1432
1433/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1434/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1435/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1436/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1437/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1438/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1439/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1440
1441_ASUNAME
1442
1443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1444for as_dir in $PATH
1445do
1446  IFS=$as_save_IFS
1447  test -z "$as_dir" && as_dir=.
1448    $as_echo "PATH: $as_dir"
1449  done
1450IFS=$as_save_IFS
1451
1452} >&5
1453
1454cat >&5 <<_ACEOF
1455
1456
1457## ----------- ##
1458## Core tests. ##
1459## ----------- ##
1460
1461_ACEOF
1462
1463
1464# Keep a trace of the command line.
1465# Strip out --no-create and --no-recursion so they do not pile up.
1466# Strip out --silent because we don't want to record it for future runs.
1467# Also quote any args containing shell meta-characters.
1468# Make two passes to allow for proper duplicate-argument suppression.
1469ac_configure_args=
1470ac_configure_args0=
1471ac_configure_args1=
1472ac_must_keep_next=false
1473for ac_pass in 1 2
1474do
1475  for ac_arg
1476  do
1477    case $ac_arg in
1478    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1479    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1480    | -silent | --silent | --silen | --sile | --sil)
1481      continue ;;
1482    *\'*)
1483      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1484    esac
1485    case $ac_pass in
1486    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1487    2)
1488      as_fn_append ac_configure_args1 " '$ac_arg'"
1489      if test $ac_must_keep_next = true; then
1490	ac_must_keep_next=false # Got value, back to normal.
1491      else
1492	case $ac_arg in
1493	  *=* | --config-cache | -C | -disable-* | --disable-* \
1494	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1495	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1496	  | -with-* | --with-* | -without-* | --without-* | --x)
1497	    case "$ac_configure_args0 " in
1498	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1499	    esac
1500	    ;;
1501	  -* ) ac_must_keep_next=true ;;
1502	esac
1503      fi
1504      as_fn_append ac_configure_args " '$ac_arg'"
1505      ;;
1506    esac
1507  done
1508done
1509{ ac_configure_args0=; unset ac_configure_args0;}
1510{ ac_configure_args1=; unset ac_configure_args1;}
1511
1512# When interrupted or exit'd, cleanup temporary files, and complete
1513# config.log.  We remove comments because anyway the quotes in there
1514# would cause problems or look ugly.
1515# WARNING: Use '\'' to represent an apostrophe within the trap.
1516# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1517trap 'exit_status=$?
1518  # Save into config.log some information that might help in debugging.
1519  {
1520    echo
1521
1522    $as_echo "## ---------------- ##
1523## Cache variables. ##
1524## ---------------- ##"
1525    echo
1526    # The following way of writing the cache mishandles newlines in values,
1527(
1528  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1529    eval ac_val=\$$ac_var
1530    case $ac_val in #(
1531    *${as_nl}*)
1532      case $ac_var in #(
1533      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1534$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1535      esac
1536      case $ac_var in #(
1537      _ | IFS | as_nl) ;; #(
1538      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1539      *) { eval $ac_var=; unset $ac_var;} ;;
1540      esac ;;
1541    esac
1542  done
1543  (set) 2>&1 |
1544    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1545    *${as_nl}ac_space=\ *)
1546      sed -n \
1547	"s/'\''/'\''\\\\'\'''\''/g;
1548	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1549      ;; #(
1550    *)
1551      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1552      ;;
1553    esac |
1554    sort
1555)
1556    echo
1557
1558    $as_echo "## ----------------- ##
1559## Output variables. ##
1560## ----------------- ##"
1561    echo
1562    for ac_var in $ac_subst_vars
1563    do
1564      eval ac_val=\$$ac_var
1565      case $ac_val in
1566      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1567      esac
1568      $as_echo "$ac_var='\''$ac_val'\''"
1569    done | sort
1570    echo
1571
1572    if test -n "$ac_subst_files"; then
1573      $as_echo "## ------------------- ##
1574## File substitutions. ##
1575## ------------------- ##"
1576      echo
1577      for ac_var in $ac_subst_files
1578      do
1579	eval ac_val=\$$ac_var
1580	case $ac_val in
1581	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1582	esac
1583	$as_echo "$ac_var='\''$ac_val'\''"
1584      done | sort
1585      echo
1586    fi
1587
1588    if test -s confdefs.h; then
1589      $as_echo "## ----------- ##
1590## confdefs.h. ##
1591## ----------- ##"
1592      echo
1593      cat confdefs.h
1594      echo
1595    fi
1596    test "$ac_signal" != 0 &&
1597      $as_echo "$as_me: caught signal $ac_signal"
1598    $as_echo "$as_me: exit $exit_status"
1599  } >&5
1600  rm -f core *.core core.conftest.* &&
1601    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1602    exit $exit_status
1603' 0
1604for ac_signal in 1 2 13 15; do
1605  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1606done
1607ac_signal=0
1608
1609# confdefs.h avoids OS command line length limits that DEFS can exceed.
1610rm -f -r conftest* confdefs.h
1611
1612$as_echo "/* confdefs.h */" > confdefs.h
1613
1614# Predefined preprocessor variables.
1615
1616cat >>confdefs.h <<_ACEOF
1617#define PACKAGE_NAME "$PACKAGE_NAME"
1618_ACEOF
1619
1620cat >>confdefs.h <<_ACEOF
1621#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1622_ACEOF
1623
1624cat >>confdefs.h <<_ACEOF
1625#define PACKAGE_VERSION "$PACKAGE_VERSION"
1626_ACEOF
1627
1628cat >>confdefs.h <<_ACEOF
1629#define PACKAGE_STRING "$PACKAGE_STRING"
1630_ACEOF
1631
1632cat >>confdefs.h <<_ACEOF
1633#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1634_ACEOF
1635
1636cat >>confdefs.h <<_ACEOF
1637#define PACKAGE_URL "$PACKAGE_URL"
1638_ACEOF
1639
1640
1641# Let the site file select an alternate cache file if it wants to.
1642# Prefer an explicitly selected file to automatically selected ones.
1643ac_site_file1=NONE
1644ac_site_file2=NONE
1645if test -n "$CONFIG_SITE"; then
1646  # We do not want a PATH search for config.site.
1647  case $CONFIG_SITE in #((
1648    -*)  ac_site_file1=./$CONFIG_SITE;;
1649    */*) ac_site_file1=$CONFIG_SITE;;
1650    *)   ac_site_file1=./$CONFIG_SITE;;
1651  esac
1652elif test "x$prefix" != xNONE; then
1653  ac_site_file1=$prefix/share/config.site
1654  ac_site_file2=$prefix/etc/config.site
1655else
1656  ac_site_file1=$ac_default_prefix/share/config.site
1657  ac_site_file2=$ac_default_prefix/etc/config.site
1658fi
1659for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1660do
1661  test "x$ac_site_file" = xNONE && continue
1662  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1663    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1664$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1665    sed 's/^/| /' "$ac_site_file" >&5
1666    . "$ac_site_file" \
1667      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1669as_fn_error $? "failed to load site script $ac_site_file
1670See \`config.log' for more details" "$LINENO" 5; }
1671  fi
1672done
1673
1674if test -r "$cache_file"; then
1675  # Some versions of bash will fail to source /dev/null (special files
1676  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1677  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1678    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1679$as_echo "$as_me: loading cache $cache_file" >&6;}
1680    case $cache_file in
1681      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1682      *)                      . "./$cache_file";;
1683    esac
1684  fi
1685else
1686  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1687$as_echo "$as_me: creating cache $cache_file" >&6;}
1688  >$cache_file
1689fi
1690
1691# Check that the precious variables saved in the cache have kept the same
1692# value.
1693ac_cache_corrupted=false
1694for ac_var in $ac_precious_vars; do
1695  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1696  eval ac_new_set=\$ac_env_${ac_var}_set
1697  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1698  eval ac_new_val=\$ac_env_${ac_var}_value
1699  case $ac_old_set,$ac_new_set in
1700    set,)
1701      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1702$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1703      ac_cache_corrupted=: ;;
1704    ,set)
1705      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1706$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1707      ac_cache_corrupted=: ;;
1708    ,);;
1709    *)
1710      if test "x$ac_old_val" != "x$ac_new_val"; then
1711	# differences in whitespace do not lead to failure.
1712	ac_old_val_w=`echo x $ac_old_val`
1713	ac_new_val_w=`echo x $ac_new_val`
1714	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1715	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1716$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1717	  ac_cache_corrupted=:
1718	else
1719	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1720$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1721	  eval $ac_var=\$ac_old_val
1722	fi
1723	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1724$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1725	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1726$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1727      fi;;
1728  esac
1729  # Pass precious variables to config.status.
1730  if test "$ac_new_set" = set; then
1731    case $ac_new_val in
1732    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1733    *) ac_arg=$ac_var=$ac_new_val ;;
1734    esac
1735    case " $ac_configure_args " in
1736      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1737      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1738    esac
1739  fi
1740done
1741if $ac_cache_corrupted; then
1742  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1743$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1744  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1745$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1746  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1747fi
1748## -------------------- ##
1749## Main body of script. ##
1750## -------------------- ##
1751
1752ac_ext=c
1753ac_cpp='$CPP $CPPFLAGS'
1754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1756ac_compiler_gnu=$ac_cv_c_compiler_gnu
1757
1758
1759#AC_CONFIG_HEADERS([config.h])
1760
1761# Checks for programs.
1762ac_ext=cpp
1763ac_cpp='$CXXCPP $CPPFLAGS'
1764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1767if test -z "$CXX"; then
1768  if test -n "$CCC"; then
1769    CXX=$CCC
1770  else
1771    if test -n "$ac_tool_prefix"; then
1772  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1773  do
1774    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1775set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1777$as_echo_n "checking for $ac_word... " >&6; }
1778if ${ac_cv_prog_CXX+:} false; then :
1779  $as_echo_n "(cached) " >&6
1780else
1781  if test -n "$CXX"; then
1782  ac_cv_prog_CXX="$CXX" # Let the user override the test.
1783else
1784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785for as_dir in $PATH
1786do
1787  IFS=$as_save_IFS
1788  test -z "$as_dir" && as_dir=.
1789    for ac_exec_ext in '' $ac_executable_extensions; do
1790  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1791    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1792    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1793    break 2
1794  fi
1795done
1796  done
1797IFS=$as_save_IFS
1798
1799fi
1800fi
1801CXX=$ac_cv_prog_CXX
1802if test -n "$CXX"; then
1803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1804$as_echo "$CXX" >&6; }
1805else
1806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1807$as_echo "no" >&6; }
1808fi
1809
1810
1811    test -n "$CXX" && break
1812  done
1813fi
1814if test -z "$CXX"; then
1815  ac_ct_CXX=$CXX
1816  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1817do
1818  # Extract the first word of "$ac_prog", so it can be a program name with args.
1819set dummy $ac_prog; ac_word=$2
1820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1821$as_echo_n "checking for $ac_word... " >&6; }
1822if ${ac_cv_prog_ac_ct_CXX+:} false; then :
1823  $as_echo_n "(cached) " >&6
1824else
1825  if test -n "$ac_ct_CXX"; then
1826  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1827else
1828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1829for as_dir in $PATH
1830do
1831  IFS=$as_save_IFS
1832  test -z "$as_dir" && as_dir=.
1833    for ac_exec_ext in '' $ac_executable_extensions; do
1834  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1835    ac_cv_prog_ac_ct_CXX="$ac_prog"
1836    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1837    break 2
1838  fi
1839done
1840  done
1841IFS=$as_save_IFS
1842
1843fi
1844fi
1845ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1846if test -n "$ac_ct_CXX"; then
1847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
1848$as_echo "$ac_ct_CXX" >&6; }
1849else
1850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1851$as_echo "no" >&6; }
1852fi
1853
1854
1855  test -n "$ac_ct_CXX" && break
1856done
1857
1858  if test "x$ac_ct_CXX" = x; then
1859    CXX="g++"
1860  else
1861    case $cross_compiling:$ac_tool_warned in
1862yes:)
1863{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1864$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1865ac_tool_warned=yes ;;
1866esac
1867    CXX=$ac_ct_CXX
1868  fi
1869fi
1870
1871  fi
1872fi
1873# Provide some information about the compiler.
1874$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1875set X $ac_compile
1876ac_compiler=$2
1877for ac_option in --version -v -V -qversion; do
1878  { { ac_try="$ac_compiler $ac_option >&5"
1879case "(($ac_try" in
1880  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1881  *) ac_try_echo=$ac_try;;
1882esac
1883eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884$as_echo "$ac_try_echo"; } >&5
1885  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1886  ac_status=$?
1887  if test -s conftest.err; then
1888    sed '10a\
1889... rest of stderr output deleted ...
1890         10q' conftest.err >conftest.er1
1891    cat conftest.er1 >&5
1892  fi
1893  rm -f conftest.er1 conftest.err
1894  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895  test $ac_status = 0; }
1896done
1897
1898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h.  */
1900
1901int
1902main ()
1903{
1904
1905  ;
1906  return 0;
1907}
1908_ACEOF
1909ac_clean_files_save=$ac_clean_files
1910ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1911# Try to create an executable without -o first, disregard a.out.
1912# It will help us diagnose broken compilers, and finding out an intuition
1913# of exeext.
1914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
1915$as_echo_n "checking whether the C++ compiler works... " >&6; }
1916ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1917
1918# The possible output files:
1919ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
1920
1921ac_rmfiles=
1922for ac_file in $ac_files
1923do
1924  case $ac_file in
1925    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1926    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
1927  esac
1928done
1929rm -f $ac_rmfiles
1930
1931if { { ac_try="$ac_link_default"
1932case "(($ac_try" in
1933  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1934  *) ac_try_echo=$ac_try;;
1935esac
1936eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937$as_echo "$ac_try_echo"; } >&5
1938  (eval "$ac_link_default") 2>&5
1939  ac_status=$?
1940  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941  test $ac_status = 0; }; then :
1942  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1943# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1944# in a Makefile.  We should not override ac_cv_exeext if it was cached,
1945# so that the user can short-circuit this test for compilers unknown to
1946# Autoconf.
1947for ac_file in $ac_files ''
1948do
1949  test -f "$ac_file" || continue
1950  case $ac_file in
1951    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1952	;;
1953    [ab].out )
1954	# We found the default executable, but exeext='' is most
1955	# certainly right.
1956	break;;
1957    *.* )
1958	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1959	then :; else
1960	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1961	fi
1962	# We set ac_cv_exeext here because the later test for it is not
1963	# safe: cross compilers may not add the suffix if given an `-o'
1964	# argument, so we may need to know it at that point already.
1965	# Even if this section looks crufty: it has the advantage of
1966	# actually working.
1967	break;;
1968    * )
1969	break;;
1970  esac
1971done
1972test "$ac_cv_exeext" = no && ac_cv_exeext=
1973
1974else
1975  ac_file=''
1976fi
1977if test -z "$ac_file"; then :
1978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1979$as_echo "no" >&6; }
1980$as_echo "$as_me: failed program was:" >&5
1981sed 's/^/| /' conftest.$ac_ext >&5
1982
1983{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1984$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1985as_fn_error 77 "C++ compiler cannot create executables
1986See \`config.log' for more details" "$LINENO" 5; }
1987else
1988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1989$as_echo "yes" >&6; }
1990fi
1991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
1992$as_echo_n "checking for C++ compiler default output file name... " >&6; }
1993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
1994$as_echo "$ac_file" >&6; }
1995ac_exeext=$ac_cv_exeext
1996
1997rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1998ac_clean_files=$ac_clean_files_save
1999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2000$as_echo_n "checking for suffix of executables... " >&6; }
2001if { { ac_try="$ac_link"
2002case "(($ac_try" in
2003  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2004  *) ac_try_echo=$ac_try;;
2005esac
2006eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2007$as_echo "$ac_try_echo"; } >&5
2008  (eval "$ac_link") 2>&5
2009  ac_status=$?
2010  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011  test $ac_status = 0; }; then :
2012  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2013# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2014# work properly (i.e., refer to `conftest.exe'), while it won't with
2015# `rm'.
2016for ac_file in conftest.exe conftest conftest.*; do
2017  test -f "$ac_file" || continue
2018  case $ac_file in
2019    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2020    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2021	  break;;
2022    * ) break;;
2023  esac
2024done
2025else
2026  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2027$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2028as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2029See \`config.log' for more details" "$LINENO" 5; }
2030fi
2031rm -f conftest conftest$ac_cv_exeext
2032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2033$as_echo "$ac_cv_exeext" >&6; }
2034
2035rm -f conftest.$ac_ext
2036EXEEXT=$ac_cv_exeext
2037ac_exeext=$EXEEXT
2038cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039/* end confdefs.h.  */
2040#include <stdio.h>
2041int
2042main ()
2043{
2044FILE *f = fopen ("conftest.out", "w");
2045 return ferror (f) || fclose (f) != 0;
2046
2047  ;
2048  return 0;
2049}
2050_ACEOF
2051ac_clean_files="$ac_clean_files conftest.out"
2052# Check that the compiler produces executables we can run.  If not, either
2053# the compiler is broken, or we cross compile.
2054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2055$as_echo_n "checking whether we are cross compiling... " >&6; }
2056if test "$cross_compiling" != yes; then
2057  { { ac_try="$ac_link"
2058case "(($ac_try" in
2059  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060  *) ac_try_echo=$ac_try;;
2061esac
2062eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063$as_echo "$ac_try_echo"; } >&5
2064  (eval "$ac_link") 2>&5
2065  ac_status=$?
2066  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067  test $ac_status = 0; }
2068  if { ac_try='./conftest$ac_cv_exeext'
2069  { { case "(($ac_try" in
2070  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2071  *) ac_try_echo=$ac_try;;
2072esac
2073eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2074$as_echo "$ac_try_echo"; } >&5
2075  (eval "$ac_try") 2>&5
2076  ac_status=$?
2077  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2078  test $ac_status = 0; }; }; then
2079    cross_compiling=no
2080  else
2081    if test "$cross_compiling" = maybe; then
2082	cross_compiling=yes
2083    else
2084	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2085$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2086as_fn_error $? "cannot run C++ compiled programs.
2087If you meant to cross compile, use \`--host'.
2088See \`config.log' for more details" "$LINENO" 5; }
2089    fi
2090  fi
2091fi
2092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2093$as_echo "$cross_compiling" >&6; }
2094
2095rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2096ac_clean_files=$ac_clean_files_save
2097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2098$as_echo_n "checking for suffix of object files... " >&6; }
2099if ${ac_cv_objext+:} false; then :
2100  $as_echo_n "(cached) " >&6
2101else
2102  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103/* end confdefs.h.  */
2104
2105int
2106main ()
2107{
2108
2109  ;
2110  return 0;
2111}
2112_ACEOF
2113rm -f conftest.o conftest.obj
2114if { { ac_try="$ac_compile"
2115case "(($ac_try" in
2116  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2117  *) ac_try_echo=$ac_try;;
2118esac
2119eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2120$as_echo "$ac_try_echo"; } >&5
2121  (eval "$ac_compile") 2>&5
2122  ac_status=$?
2123  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124  test $ac_status = 0; }; then :
2125  for ac_file in conftest.o conftest.obj conftest.*; do
2126  test -f "$ac_file" || continue;
2127  case $ac_file in
2128    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2129    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2130       break;;
2131  esac
2132done
2133else
2134  $as_echo "$as_me: failed program was:" >&5
2135sed 's/^/| /' conftest.$ac_ext >&5
2136
2137{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2138$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2139as_fn_error $? "cannot compute suffix of object files: cannot compile
2140See \`config.log' for more details" "$LINENO" 5; }
2141fi
2142rm -f conftest.$ac_cv_objext conftest.$ac_ext
2143fi
2144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2145$as_echo "$ac_cv_objext" >&6; }
2146OBJEXT=$ac_cv_objext
2147ac_objext=$OBJEXT
2148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2149$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2150if ${ac_cv_cxx_compiler_gnu+:} false; then :
2151  $as_echo_n "(cached) " >&6
2152else
2153  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154/* end confdefs.h.  */
2155
2156int
2157main ()
2158{
2159#ifndef __GNUC__
2160       choke me
2161#endif
2162
2163  ;
2164  return 0;
2165}
2166_ACEOF
2167if ac_fn_cxx_try_compile "$LINENO"; then :
2168  ac_compiler_gnu=yes
2169else
2170  ac_compiler_gnu=no
2171fi
2172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2173ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2174
2175fi
2176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2177$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2178if test $ac_compiler_gnu = yes; then
2179  GXX=yes
2180else
2181  GXX=
2182fi
2183ac_test_CXXFLAGS=${CXXFLAGS+set}
2184ac_save_CXXFLAGS=$CXXFLAGS
2185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2186$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2187if ${ac_cv_prog_cxx_g+:} false; then :
2188  $as_echo_n "(cached) " >&6
2189else
2190  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2191   ac_cxx_werror_flag=yes
2192   ac_cv_prog_cxx_g=no
2193   CXXFLAGS="-g"
2194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2195/* end confdefs.h.  */
2196
2197int
2198main ()
2199{
2200
2201  ;
2202  return 0;
2203}
2204_ACEOF
2205if ac_fn_cxx_try_compile "$LINENO"; then :
2206  ac_cv_prog_cxx_g=yes
2207else
2208  CXXFLAGS=""
2209      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210/* end confdefs.h.  */
2211
2212int
2213main ()
2214{
2215
2216  ;
2217  return 0;
2218}
2219_ACEOF
2220if ac_fn_cxx_try_compile "$LINENO"; then :
2221
2222else
2223  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2224	 CXXFLAGS="-g"
2225	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2226/* end confdefs.h.  */
2227
2228int
2229main ()
2230{
2231
2232  ;
2233  return 0;
2234}
2235_ACEOF
2236if ac_fn_cxx_try_compile "$LINENO"; then :
2237  ac_cv_prog_cxx_g=yes
2238fi
2239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2240fi
2241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242fi
2243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2245fi
2246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2247$as_echo "$ac_cv_prog_cxx_g" >&6; }
2248if test "$ac_test_CXXFLAGS" = set; then
2249  CXXFLAGS=$ac_save_CXXFLAGS
2250elif test $ac_cv_prog_cxx_g = yes; then
2251  if test "$GXX" = yes; then
2252    CXXFLAGS="-g -O2"
2253  else
2254    CXXFLAGS="-g"
2255  fi
2256else
2257  if test "$GXX" = yes; then
2258    CXXFLAGS="-O2"
2259  else
2260    CXXFLAGS=
2261  fi
2262fi
2263ac_ext=c
2264ac_cpp='$CPP $CPPFLAGS'
2265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268
2269ac_ext=cpp
2270ac_cpp='$CXXCPP $CPPFLAGS'
2271ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2274
2275
2276# Define macros needed for libav
2277#AC_DEFINE(__STDC_CONSTANT_MACROS, [], [workaround for C++ programs to use C99 macros])
2278
2279# Extract the first word of "mkoctfile", so it can be a program name with args.
2280set dummy mkoctfile; ac_word=$2
2281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2282$as_echo_n "checking for $ac_word... " >&6; }
2283if ${ac_cv_prog_MKOCTFILE+:} false; then :
2284  $as_echo_n "(cached) " >&6
2285else
2286  if test -n "$MKOCTFILE"; then
2287  ac_cv_prog_MKOCTFILE="$MKOCTFILE" # Let the user override the test.
2288else
2289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290for as_dir in $PATH
2291do
2292  IFS=$as_save_IFS
2293  test -z "$as_dir" && as_dir=.
2294    for ac_exec_ext in '' $ac_executable_extensions; do
2295  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2296    ac_cv_prog_MKOCTFILE="yes"
2297    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2298    break 2
2299  fi
2300done
2301  done
2302IFS=$as_save_IFS
2303
2304  test -z "$ac_cv_prog_MKOCTFILE" && ac_cv_prog_MKOCTFILE="no"
2305fi
2306fi
2307MKOCTFILE=$ac_cv_prog_MKOCTFILE
2308if test -n "$MKOCTFILE"; then
2309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5
2310$as_echo "$MKOCTFILE" >&6; }
2311else
2312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2313$as_echo "no" >&6; }
2314fi
2315
2316
2317if test $MKOCTFILE = "no"; then
2318  as_fn_error $? "mkoctfile required to install $PACKAGE_NAME" "$LINENO" 5
2319fi
2320
2321# Checks for libraries.
2322
2323
2324
2325
2326
2327
2328
2329
2330if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2331	if test -n "$ac_tool_prefix"; then
2332  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2333set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2335$as_echo_n "checking for $ac_word... " >&6; }
2336if ${ac_cv_path_PKG_CONFIG+:} false; then :
2337  $as_echo_n "(cached) " >&6
2338else
2339  case $PKG_CONFIG in
2340  [\\/]* | ?:[\\/]*)
2341  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2342  ;;
2343  *)
2344  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345for as_dir in $PATH
2346do
2347  IFS=$as_save_IFS
2348  test -z "$as_dir" && as_dir=.
2349    for ac_exec_ext in '' $ac_executable_extensions; do
2350  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2351    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2352    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2353    break 2
2354  fi
2355done
2356  done
2357IFS=$as_save_IFS
2358
2359  ;;
2360esac
2361fi
2362PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2363if test -n "$PKG_CONFIG"; then
2364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2365$as_echo "$PKG_CONFIG" >&6; }
2366else
2367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2368$as_echo "no" >&6; }
2369fi
2370
2371
2372fi
2373if test -z "$ac_cv_path_PKG_CONFIG"; then
2374  ac_pt_PKG_CONFIG=$PKG_CONFIG
2375  # Extract the first word of "pkg-config", so it can be a program name with args.
2376set dummy pkg-config; ac_word=$2
2377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378$as_echo_n "checking for $ac_word... " >&6; }
2379if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
2380  $as_echo_n "(cached) " >&6
2381else
2382  case $ac_pt_PKG_CONFIG in
2383  [\\/]* | ?:[\\/]*)
2384  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2385  ;;
2386  *)
2387  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388for as_dir in $PATH
2389do
2390  IFS=$as_save_IFS
2391  test -z "$as_dir" && as_dir=.
2392    for ac_exec_ext in '' $ac_executable_extensions; do
2393  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2394    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2396    break 2
2397  fi
2398done
2399  done
2400IFS=$as_save_IFS
2401
2402  ;;
2403esac
2404fi
2405ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2406if test -n "$ac_pt_PKG_CONFIG"; then
2407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2408$as_echo "$ac_pt_PKG_CONFIG" >&6; }
2409else
2410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2411$as_echo "no" >&6; }
2412fi
2413
2414  if test "x$ac_pt_PKG_CONFIG" = x; then
2415    PKG_CONFIG=""
2416  else
2417    case $cross_compiling:$ac_tool_warned in
2418yes:)
2419{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2420$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2421ac_tool_warned=yes ;;
2422esac
2423    PKG_CONFIG=$ac_pt_PKG_CONFIG
2424  fi
2425else
2426  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2427fi
2428
2429fi
2430if test -n "$PKG_CONFIG"; then
2431	_pkg_min_version=0.9.0
2432	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2433$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2434	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2435		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2436$as_echo "yes" >&6; }
2437	else
2438		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439$as_echo "no" >&6; }
2440		PKG_CONFIG=""
2441	fi
2442fi
2443
2444pkg_failed=no
2445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libswscale, libavformat, libavcodec, libavutil" >&5
2446$as_echo_n "checking for libswscale, libavformat, libavcodec, libavutil... " >&6; }
2447
2448if test -n "$FFMPEG_CFLAGS"; then
2449    pkg_cv_FFMPEG_CFLAGS="$FFMPEG_CFLAGS"
2450 elif test -n "$PKG_CONFIG"; then
2451    if test -n "$PKG_CONFIG" && \
2452    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale, libavformat, libavcodec, libavutil\""; } >&5
2453  ($PKG_CONFIG --exists --print-errors "libswscale, libavformat, libavcodec, libavutil") 2>&5
2454  ac_status=$?
2455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2456  test $ac_status = 0; }; then
2457  pkg_cv_FFMPEG_CFLAGS=`$PKG_CONFIG --cflags "libswscale, libavformat, libavcodec, libavutil" 2>/dev/null`
2458		      test "x$?" != "x0" && pkg_failed=yes
2459else
2460  pkg_failed=yes
2461fi
2462 else
2463    pkg_failed=untried
2464fi
2465if test -n "$FFMPEG_LIBS"; then
2466    pkg_cv_FFMPEG_LIBS="$FFMPEG_LIBS"
2467 elif test -n "$PKG_CONFIG"; then
2468    if test -n "$PKG_CONFIG" && \
2469    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale, libavformat, libavcodec, libavutil\""; } >&5
2470  ($PKG_CONFIG --exists --print-errors "libswscale, libavformat, libavcodec, libavutil") 2>&5
2471  ac_status=$?
2472  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473  test $ac_status = 0; }; then
2474  pkg_cv_FFMPEG_LIBS=`$PKG_CONFIG --libs "libswscale, libavformat, libavcodec, libavutil" 2>/dev/null`
2475		      test "x$?" != "x0" && pkg_failed=yes
2476else
2477  pkg_failed=yes
2478fi
2479 else
2480    pkg_failed=untried
2481fi
2482
2483
2484
2485if test $pkg_failed = yes; then
2486        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487$as_echo "no" >&6; }
2488
2489if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2490        _pkg_short_errors_supported=yes
2491else
2492        _pkg_short_errors_supported=no
2493fi
2494        if test $_pkg_short_errors_supported = yes; then
2495	        FFMPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libswscale, libavformat, libavcodec, libavutil" 2>&1`
2496        else
2497	        FFMPEG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libswscale, libavformat, libavcodec, libavutil" 2>&1`
2498        fi
2499	# Put the nasty error message in config.log where it belongs
2500	echo "$FFMPEG_PKG_ERRORS" >&5
2501
2502	as_fn_error $? "FFmpeg libswscale, libavformat, libavcodec or libavutil not found" "$LINENO" 5
2503elif test $pkg_failed = untried; then
2504        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2505$as_echo "no" >&6; }
2506	as_fn_error $? "FFmpeg libswscale, libavformat, libavcodec or libavutil not found" "$LINENO" 5
2507else
2508	FFMPEG_CFLAGS=$pkg_cv_FFMPEG_CFLAGS
2509	FFMPEG_LIBS=$pkg_cv_FFMPEG_LIBS
2510        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2511$as_echo "yes" >&6; }
2512
2513fi
2514
2515# Checks for typedefs, structures, and compiler characteristics.
2516#AC_CHECK_HEADER_STDBOOL
2517#AC_TYPE_UINT64_T
2518#AC_TYPE_UINT8_T
2519
2520
2521
2522ac_config_files="$ac_config_files Makefile"
2523
2524cat >confcache <<\_ACEOF
2525# This file is a shell script that caches the results of configure
2526# tests run on this system so they can be shared between configure
2527# scripts and configure runs, see configure's option --config-cache.
2528# It is not useful on other systems.  If it contains results you don't
2529# want to keep, you may remove or edit it.
2530#
2531# config.status only pays attention to the cache file if you give it
2532# the --recheck option to rerun configure.
2533#
2534# `ac_cv_env_foo' variables (set or unset) will be overridden when
2535# loading this file, other *unset* `ac_cv_foo' will be assigned the
2536# following values.
2537
2538_ACEOF
2539
2540# The following way of writing the cache mishandles newlines in values,
2541# but we know of no workaround that is simple, portable, and efficient.
2542# So, we kill variables containing newlines.
2543# Ultrix sh set writes to stderr and can't be redirected directly,
2544# and sets the high bit in the cache file unless we assign to the vars.
2545(
2546  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2547    eval ac_val=\$$ac_var
2548    case $ac_val in #(
2549    *${as_nl}*)
2550      case $ac_var in #(
2551      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2552$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2553      esac
2554      case $ac_var in #(
2555      _ | IFS | as_nl) ;; #(
2556      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2557      *) { eval $ac_var=; unset $ac_var;} ;;
2558      esac ;;
2559    esac
2560  done
2561
2562  (set) 2>&1 |
2563    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2564    *${as_nl}ac_space=\ *)
2565      # `set' does not quote correctly, so add quotes: double-quote
2566      # substitution turns \\\\ into \\, and sed turns \\ into \.
2567      sed -n \
2568	"s/'/'\\\\''/g;
2569	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2570      ;; #(
2571    *)
2572      # `set' quotes correctly as required by POSIX, so do not add quotes.
2573      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2574      ;;
2575    esac |
2576    sort
2577) |
2578  sed '
2579     /^ac_cv_env_/b end
2580     t clear
2581     :clear
2582     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2583     t end
2584     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2585     :end' >>confcache
2586if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2587  if test -w "$cache_file"; then
2588    if test "x$cache_file" != "x/dev/null"; then
2589      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2590$as_echo "$as_me: updating cache $cache_file" >&6;}
2591      if test ! -f "$cache_file" || test -h "$cache_file"; then
2592	cat confcache >"$cache_file"
2593      else
2594        case $cache_file in #(
2595        */* | ?:*)
2596	  mv -f confcache "$cache_file"$$ &&
2597	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2598        *)
2599	  mv -f confcache "$cache_file" ;;
2600	esac
2601      fi
2602    fi
2603  else
2604    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2605$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2606  fi
2607fi
2608rm -f confcache
2609
2610test "x$prefix" = xNONE && prefix=$ac_default_prefix
2611# Let make expand exec_prefix.
2612test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2613
2614# Transform confdefs.h into DEFS.
2615# Protect against shell expansion while executing Makefile rules.
2616# Protect against Makefile macro expansion.
2617#
2618# If the first sed substitution is executed (which looks for macros that
2619# take arguments), then branch to the quote section.  Otherwise,
2620# look for a macro that doesn't take arguments.
2621ac_script='
2622:mline
2623/\\$/{
2624 N
2625 s,\\\n,,
2626 b mline
2627}
2628t clear
2629:clear
2630s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2631t quote
2632s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2633t quote
2634b any
2635:quote
2636s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2637s/\[/\\&/g
2638s/\]/\\&/g
2639s/\$/$$/g
2640H
2641:any
2642${
2643	g
2644	s/^\n//
2645	s/\n/ /g
2646	p
2647}
2648'
2649DEFS=`sed -n "$ac_script" confdefs.h`
2650
2651
2652ac_libobjs=
2653ac_ltlibobjs=
2654U=
2655for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2656  # 1. Remove the extension, and $U if already installed.
2657  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2658  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2659  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2660  #    will be set to the directory where LIBOBJS objects are built.
2661  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2662  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2663done
2664LIBOBJS=$ac_libobjs
2665
2666LTLIBOBJS=$ac_ltlibobjs
2667
2668
2669
2670: "${CONFIG_STATUS=./config.status}"
2671ac_write_fail=0
2672ac_clean_files_save=$ac_clean_files
2673ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2675$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2676as_write_fail=0
2677cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2678#! $SHELL
2679# Generated by $as_me.
2680# Run this file to recreate the current configuration.
2681# Compiler output produced by configure, useful for debugging
2682# configure, is in config.log if it exists.
2683
2684debug=false
2685ac_cs_recheck=false
2686ac_cs_silent=false
2687
2688SHELL=\${CONFIG_SHELL-$SHELL}
2689export SHELL
2690_ASEOF
2691cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2692## -------------------- ##
2693## M4sh Initialization. ##
2694## -------------------- ##
2695
2696# Be more Bourne compatible
2697DUALCASE=1; export DUALCASE # for MKS sh
2698if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2699  emulate sh
2700  NULLCMD=:
2701  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2702  # is contrary to our usage.  Disable this feature.
2703  alias -g '${1+"$@"}'='"$@"'
2704  setopt NO_GLOB_SUBST
2705else
2706  case `(set -o) 2>/dev/null` in #(
2707  *posix*) :
2708    set -o posix ;; #(
2709  *) :
2710     ;;
2711esac
2712fi
2713
2714
2715as_nl='
2716'
2717export as_nl
2718# Printing a long string crashes Solaris 7 /usr/bin/printf.
2719as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2720as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2721as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2722# Prefer a ksh shell builtin over an external printf program on Solaris,
2723# but without wasting forks for bash or zsh.
2724if test -z "$BASH_VERSION$ZSH_VERSION" \
2725    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2726  as_echo='print -r --'
2727  as_echo_n='print -rn --'
2728elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2729  as_echo='printf %s\n'
2730  as_echo_n='printf %s'
2731else
2732  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2733    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2734    as_echo_n='/usr/ucb/echo -n'
2735  else
2736    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2737    as_echo_n_body='eval
2738      arg=$1;
2739      case $arg in #(
2740      *"$as_nl"*)
2741	expr "X$arg" : "X\\(.*\\)$as_nl";
2742	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2743      esac;
2744      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2745    '
2746    export as_echo_n_body
2747    as_echo_n='sh -c $as_echo_n_body as_echo'
2748  fi
2749  export as_echo_body
2750  as_echo='sh -c $as_echo_body as_echo'
2751fi
2752
2753# The user is always right.
2754if test "${PATH_SEPARATOR+set}" != set; then
2755  PATH_SEPARATOR=:
2756  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2757    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2758      PATH_SEPARATOR=';'
2759  }
2760fi
2761
2762
2763# IFS
2764# We need space, tab and new line, in precisely that order.  Quoting is
2765# there to prevent editors from complaining about space-tab.
2766# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2767# splitting by setting IFS to empty value.)
2768IFS=" ""	$as_nl"
2769
2770# Find who we are.  Look in the path if we contain no directory separator.
2771as_myself=
2772case $0 in #((
2773  *[\\/]* ) as_myself=$0 ;;
2774  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775for as_dir in $PATH
2776do
2777  IFS=$as_save_IFS
2778  test -z "$as_dir" && as_dir=.
2779    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2780  done
2781IFS=$as_save_IFS
2782
2783     ;;
2784esac
2785# We did not find ourselves, most probably we were run as `sh COMMAND'
2786# in which case we are not to be found in the path.
2787if test "x$as_myself" = x; then
2788  as_myself=$0
2789fi
2790if test ! -f "$as_myself"; then
2791  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2792  exit 1
2793fi
2794
2795# Unset variables that we do not need and which cause bugs (e.g. in
2796# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2797# suppresses any "Segmentation fault" message there.  '((' could
2798# trigger a bug in pdksh 5.2.14.
2799for as_var in BASH_ENV ENV MAIL MAILPATH
2800do eval test x\${$as_var+set} = xset \
2801  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2802done
2803PS1='$ '
2804PS2='> '
2805PS4='+ '
2806
2807# NLS nuisances.
2808LC_ALL=C
2809export LC_ALL
2810LANGUAGE=C
2811export LANGUAGE
2812
2813# CDPATH.
2814(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2815
2816
2817# as_fn_error STATUS ERROR [LINENO LOG_FD]
2818# ----------------------------------------
2819# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2820# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2821# script with STATUS, using 1 if that was 0.
2822as_fn_error ()
2823{
2824  as_status=$1; test $as_status -eq 0 && as_status=1
2825  if test "$4"; then
2826    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2827    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2828  fi
2829  $as_echo "$as_me: error: $2" >&2
2830  as_fn_exit $as_status
2831} # as_fn_error
2832
2833
2834# as_fn_set_status STATUS
2835# -----------------------
2836# Set $? to STATUS, without forking.
2837as_fn_set_status ()
2838{
2839  return $1
2840} # as_fn_set_status
2841
2842# as_fn_exit STATUS
2843# -----------------
2844# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2845as_fn_exit ()
2846{
2847  set +e
2848  as_fn_set_status $1
2849  exit $1
2850} # as_fn_exit
2851
2852# as_fn_unset VAR
2853# ---------------
2854# Portably unset VAR.
2855as_fn_unset ()
2856{
2857  { eval $1=; unset $1;}
2858}
2859as_unset=as_fn_unset
2860# as_fn_append VAR VALUE
2861# ----------------------
2862# Append the text in VALUE to the end of the definition contained in VAR. Take
2863# advantage of any shell optimizations that allow amortized linear growth over
2864# repeated appends, instead of the typical quadratic growth present in naive
2865# implementations.
2866if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2867  eval 'as_fn_append ()
2868  {
2869    eval $1+=\$2
2870  }'
2871else
2872  as_fn_append ()
2873  {
2874    eval $1=\$$1\$2
2875  }
2876fi # as_fn_append
2877
2878# as_fn_arith ARG...
2879# ------------------
2880# Perform arithmetic evaluation on the ARGs, and store the result in the
2881# global $as_val. Take advantage of shells that can avoid forks. The arguments
2882# must be portable across $(()) and expr.
2883if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2884  eval 'as_fn_arith ()
2885  {
2886    as_val=$(( $* ))
2887  }'
2888else
2889  as_fn_arith ()
2890  {
2891    as_val=`expr "$@" || test $? -eq 1`
2892  }
2893fi # as_fn_arith
2894
2895
2896if expr a : '\(a\)' >/dev/null 2>&1 &&
2897   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2898  as_expr=expr
2899else
2900  as_expr=false
2901fi
2902
2903if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2904  as_basename=basename
2905else
2906  as_basename=false
2907fi
2908
2909if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2910  as_dirname=dirname
2911else
2912  as_dirname=false
2913fi
2914
2915as_me=`$as_basename -- "$0" ||
2916$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2917	 X"$0" : 'X\(//\)$' \| \
2918	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2919$as_echo X/"$0" |
2920    sed '/^.*\/\([^/][^/]*\)\/*$/{
2921	    s//\1/
2922	    q
2923	  }
2924	  /^X\/\(\/\/\)$/{
2925	    s//\1/
2926	    q
2927	  }
2928	  /^X\/\(\/\).*/{
2929	    s//\1/
2930	    q
2931	  }
2932	  s/.*/./; q'`
2933
2934# Avoid depending upon Character Ranges.
2935as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2936as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2937as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2938as_cr_digits='0123456789'
2939as_cr_alnum=$as_cr_Letters$as_cr_digits
2940
2941ECHO_C= ECHO_N= ECHO_T=
2942case `echo -n x` in #(((((
2943-n*)
2944  case `echo 'xy\c'` in
2945  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2946  xy)  ECHO_C='\c';;
2947  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2948       ECHO_T='	';;
2949  esac;;
2950*)
2951  ECHO_N='-n';;
2952esac
2953
2954rm -f conf$$ conf$$.exe conf$$.file
2955if test -d conf$$.dir; then
2956  rm -f conf$$.dir/conf$$.file
2957else
2958  rm -f conf$$.dir
2959  mkdir conf$$.dir 2>/dev/null
2960fi
2961if (echo >conf$$.file) 2>/dev/null; then
2962  if ln -s conf$$.file conf$$ 2>/dev/null; then
2963    as_ln_s='ln -s'
2964    # ... but there are two gotchas:
2965    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2966    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2967    # In both cases, we have to default to `cp -pR'.
2968    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2969      as_ln_s='cp -pR'
2970  elif ln conf$$.file conf$$ 2>/dev/null; then
2971    as_ln_s=ln
2972  else
2973    as_ln_s='cp -pR'
2974  fi
2975else
2976  as_ln_s='cp -pR'
2977fi
2978rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2979rmdir conf$$.dir 2>/dev/null
2980
2981
2982# as_fn_mkdir_p
2983# -------------
2984# Create "$as_dir" as a directory, including parents if necessary.
2985as_fn_mkdir_p ()
2986{
2987
2988  case $as_dir in #(
2989  -*) as_dir=./$as_dir;;
2990  esac
2991  test -d "$as_dir" || eval $as_mkdir_p || {
2992    as_dirs=
2993    while :; do
2994      case $as_dir in #(
2995      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2996      *) as_qdir=$as_dir;;
2997      esac
2998      as_dirs="'$as_qdir' $as_dirs"
2999      as_dir=`$as_dirname -- "$as_dir" ||
3000$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3001	 X"$as_dir" : 'X\(//\)[^/]' \| \
3002	 X"$as_dir" : 'X\(//\)$' \| \
3003	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3004$as_echo X"$as_dir" |
3005    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3006	    s//\1/
3007	    q
3008	  }
3009	  /^X\(\/\/\)[^/].*/{
3010	    s//\1/
3011	    q
3012	  }
3013	  /^X\(\/\/\)$/{
3014	    s//\1/
3015	    q
3016	  }
3017	  /^X\(\/\).*/{
3018	    s//\1/
3019	    q
3020	  }
3021	  s/.*/./; q'`
3022      test -d "$as_dir" && break
3023    done
3024    test -z "$as_dirs" || eval "mkdir $as_dirs"
3025  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3026
3027
3028} # as_fn_mkdir_p
3029if mkdir -p . 2>/dev/null; then
3030  as_mkdir_p='mkdir -p "$as_dir"'
3031else
3032  test -d ./-p && rmdir ./-p
3033  as_mkdir_p=false
3034fi
3035
3036
3037# as_fn_executable_p FILE
3038# -----------------------
3039# Test if FILE is an executable regular file.
3040as_fn_executable_p ()
3041{
3042  test -f "$1" && test -x "$1"
3043} # as_fn_executable_p
3044as_test_x='test -x'
3045as_executable_p=as_fn_executable_p
3046
3047# Sed expression to map a string onto a valid CPP name.
3048as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3049
3050# Sed expression to map a string onto a valid variable name.
3051as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3052
3053
3054exec 6>&1
3055## ----------------------------------- ##
3056## Main body of $CONFIG_STATUS script. ##
3057## ----------------------------------- ##
3058_ASEOF
3059test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3060
3061cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3062# Save the log message, to keep $0 and so on meaningful, and to
3063# report actual input values of CONFIG_FILES etc. instead of their
3064# values after options handling.
3065ac_log="
3066This file was extended by Octave-Forge video package $as_me 2.0.2, which was
3067generated by GNU Autoconf 2.69.  Invocation command line was
3068
3069  CONFIG_FILES    = $CONFIG_FILES
3070  CONFIG_HEADERS  = $CONFIG_HEADERS
3071  CONFIG_LINKS    = $CONFIG_LINKS
3072  CONFIG_COMMANDS = $CONFIG_COMMANDS
3073  $ $0 $@
3074
3075on `(hostname || uname -n) 2>/dev/null | sed 1q`
3076"
3077
3078_ACEOF
3079
3080case $ac_config_files in *"
3081"*) set x $ac_config_files; shift; ac_config_files=$*;;
3082esac
3083
3084
3085
3086cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3087# Files that config.status was made for.
3088config_files="$ac_config_files"
3089
3090_ACEOF
3091
3092cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3093ac_cs_usage="\
3094\`$as_me' instantiates files and other configuration actions
3095from templates according to the current configuration.  Unless the files
3096and actions are specified as TAGs, all are instantiated by default.
3097
3098Usage: $0 [OPTION]... [TAG]...
3099
3100  -h, --help       print this help, then exit
3101  -V, --version    print version number and configuration settings, then exit
3102      --config     print configuration, then exit
3103  -q, --quiet, --silent
3104                   do not print progress messages
3105  -d, --debug      don't remove temporary files
3106      --recheck    update $as_me by reconfiguring in the same conditions
3107      --file=FILE[:TEMPLATE]
3108                   instantiate the configuration file FILE
3109
3110Configuration files:
3111$config_files
3112
3113Report bugs to the package provider."
3114
3115_ACEOF
3116cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3117ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3118ac_cs_version="\\
3119Octave-Forge video package config.status 2.0.2
3120configured by $0, generated by GNU Autoconf 2.69,
3121  with options \\"\$ac_cs_config\\"
3122
3123Copyright (C) 2012 Free Software Foundation, Inc.
3124This config.status script is free software; the Free Software Foundation
3125gives unlimited permission to copy, distribute and modify it."
3126
3127ac_pwd='$ac_pwd'
3128srcdir='$srcdir'
3129test -n "\$AWK" || AWK=awk
3130_ACEOF
3131
3132cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3133# The default lists apply if the user does not specify any file.
3134ac_need_defaults=:
3135while test $# != 0
3136do
3137  case $1 in
3138  --*=?*)
3139    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3140    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3141    ac_shift=:
3142    ;;
3143  --*=)
3144    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3145    ac_optarg=
3146    ac_shift=:
3147    ;;
3148  *)
3149    ac_option=$1
3150    ac_optarg=$2
3151    ac_shift=shift
3152    ;;
3153  esac
3154
3155  case $ac_option in
3156  # Handling of the options.
3157  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3158    ac_cs_recheck=: ;;
3159  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3160    $as_echo "$ac_cs_version"; exit ;;
3161  --config | --confi | --conf | --con | --co | --c )
3162    $as_echo "$ac_cs_config"; exit ;;
3163  --debug | --debu | --deb | --de | --d | -d )
3164    debug=: ;;
3165  --file | --fil | --fi | --f )
3166    $ac_shift
3167    case $ac_optarg in
3168    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3169    '') as_fn_error $? "missing file argument" ;;
3170    esac
3171    as_fn_append CONFIG_FILES " '$ac_optarg'"
3172    ac_need_defaults=false;;
3173  --he | --h |  --help | --hel | -h )
3174    $as_echo "$ac_cs_usage"; exit ;;
3175  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3176  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3177    ac_cs_silent=: ;;
3178
3179  # This is an error.
3180  -*) as_fn_error $? "unrecognized option: \`$1'
3181Try \`$0 --help' for more information." ;;
3182
3183  *) as_fn_append ac_config_targets " $1"
3184     ac_need_defaults=false ;;
3185
3186  esac
3187  shift
3188done
3189
3190ac_configure_extra_args=
3191
3192if $ac_cs_silent; then
3193  exec 6>/dev/null
3194  ac_configure_extra_args="$ac_configure_extra_args --silent"
3195fi
3196
3197_ACEOF
3198cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3199if \$ac_cs_recheck; then
3200  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3201  shift
3202  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3203  CONFIG_SHELL='$SHELL'
3204  export CONFIG_SHELL
3205  exec "\$@"
3206fi
3207
3208_ACEOF
3209cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3210exec 5>>config.log
3211{
3212  echo
3213  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3214## Running $as_me. ##
3215_ASBOX
3216  $as_echo "$ac_log"
3217} >&5
3218
3219_ACEOF
3220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3221_ACEOF
3222
3223cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3224
3225# Handling of arguments.
3226for ac_config_target in $ac_config_targets
3227do
3228  case $ac_config_target in
3229    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3230
3231  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3232  esac
3233done
3234
3235
3236# If the user did not use the arguments to specify the items to instantiate,
3237# then the envvar interface is used.  Set only those that are not.
3238# We use the long form for the default assignment because of an extremely
3239# bizarre bug on SunOS 4.1.3.
3240if $ac_need_defaults; then
3241  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3242fi
3243
3244# Have a temporary directory for convenience.  Make it in the build tree
3245# simply because there is no reason against having it here, and in addition,
3246# creating and moving files from /tmp can sometimes cause problems.
3247# Hook for its removal unless debugging.
3248# Note that there is a small window in which the directory will not be cleaned:
3249# after its creation but before its name has been assigned to `$tmp'.
3250$debug ||
3251{
3252  tmp= ac_tmp=
3253  trap 'exit_status=$?
3254  : "${ac_tmp:=$tmp}"
3255  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3256' 0
3257  trap 'as_fn_exit 1' 1 2 13 15
3258}
3259# Create a (secure) tmp directory for tmp files.
3260
3261{
3262  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3263  test -d "$tmp"
3264}  ||
3265{
3266  tmp=./conf$$-$RANDOM
3267  (umask 077 && mkdir "$tmp")
3268} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3269ac_tmp=$tmp
3270
3271# Set up the scripts for CONFIG_FILES section.
3272# No need to generate them if there are no CONFIG_FILES.
3273# This happens for instance with `./config.status config.h'.
3274if test -n "$CONFIG_FILES"; then
3275
3276
3277ac_cr=`echo X | tr X '\015'`
3278# On cygwin, bash can eat \r inside `` if the user requested igncr.
3279# But we know of no other shell where ac_cr would be empty at this
3280# point, so we can use a bashism as a fallback.
3281if test "x$ac_cr" = x; then
3282  eval ac_cr=\$\'\\r\'
3283fi
3284ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3285if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3286  ac_cs_awk_cr='\\r'
3287else
3288  ac_cs_awk_cr=$ac_cr
3289fi
3290
3291echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3292_ACEOF
3293
3294
3295{
3296  echo "cat >conf$$subs.awk <<_ACEOF" &&
3297  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3298  echo "_ACEOF"
3299} >conf$$subs.sh ||
3300  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3301ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3302ac_delim='%!_!# '
3303for ac_last_try in false false false false false :; do
3304  . ./conf$$subs.sh ||
3305    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3306
3307  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3308  if test $ac_delim_n = $ac_delim_num; then
3309    break
3310  elif $ac_last_try; then
3311    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3312  else
3313    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3314  fi
3315done
3316rm -f conf$$subs.sh
3317
3318cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3319cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3320_ACEOF
3321sed -n '
3322h
3323s/^/S["/; s/!.*/"]=/
3324p
3325g
3326s/^[^!]*!//
3327:repl
3328t repl
3329s/'"$ac_delim"'$//
3330t delim
3331:nl
3332h
3333s/\(.\{148\}\)..*/\1/
3334t more1
3335s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3336p
3337n
3338b repl
3339:more1
3340s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3341p
3342g
3343s/.\{148\}//
3344t nl
3345:delim
3346h
3347s/\(.\{148\}\)..*/\1/
3348t more2
3349s/["\\]/\\&/g; s/^/"/; s/$/"/
3350p
3351b
3352:more2
3353s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3354p
3355g
3356s/.\{148\}//
3357t delim
3358' <conf$$subs.awk | sed '
3359/^[^""]/{
3360  N
3361  s/\n//
3362}
3363' >>$CONFIG_STATUS || ac_write_fail=1
3364rm -f conf$$subs.awk
3365cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3366_ACAWK
3367cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3368  for (key in S) S_is_set[key] = 1
3369  FS = ""
3370
3371}
3372{
3373  line = $ 0
3374  nfields = split(line, field, "@")
3375  substed = 0
3376  len = length(field[1])
3377  for (i = 2; i < nfields; i++) {
3378    key = field[i]
3379    keylen = length(key)
3380    if (S_is_set[key]) {
3381      value = S[key]
3382      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3383      len += length(value) + length(field[++i])
3384      substed = 1
3385    } else
3386      len += 1 + keylen
3387  }
3388
3389  print line
3390}
3391
3392_ACAWK
3393_ACEOF
3394cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3395if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3396  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3397else
3398  cat
3399fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3400  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3401_ACEOF
3402
3403# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3404# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3405# trailing colons and then remove the whole line if VPATH becomes empty
3406# (actually we leave an empty line to preserve line numbers).
3407if test "x$srcdir" = x.; then
3408  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3409h
3410s///
3411s/^/:/
3412s/[	 ]*$/:/
3413s/:\$(srcdir):/:/g
3414s/:\${srcdir}:/:/g
3415s/:@srcdir@:/:/g
3416s/^:*//
3417s/:*$//
3418x
3419s/\(=[	 ]*\).*/\1/
3420G
3421s/\n//
3422s/^[^=]*=[	 ]*$//
3423}'
3424fi
3425
3426cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3427fi # test -n "$CONFIG_FILES"
3428
3429
3430eval set X "  :F $CONFIG_FILES      "
3431shift
3432for ac_tag
3433do
3434  case $ac_tag in
3435  :[FHLC]) ac_mode=$ac_tag; continue;;
3436  esac
3437  case $ac_mode$ac_tag in
3438  :[FHL]*:*);;
3439  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3440  :[FH]-) ac_tag=-:-;;
3441  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3442  esac
3443  ac_save_IFS=$IFS
3444  IFS=:
3445  set x $ac_tag
3446  IFS=$ac_save_IFS
3447  shift
3448  ac_file=$1
3449  shift
3450
3451  case $ac_mode in
3452  :L) ac_source=$1;;
3453  :[FH])
3454    ac_file_inputs=
3455    for ac_f
3456    do
3457      case $ac_f in
3458      -) ac_f="$ac_tmp/stdin";;
3459      *) # Look for the file first in the build tree, then in the source tree
3460	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3461	 # because $ac_f cannot contain `:'.
3462	 test -f "$ac_f" ||
3463	   case $ac_f in
3464	   [\\/$]*) false;;
3465	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3466	   esac ||
3467	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3468      esac
3469      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3470      as_fn_append ac_file_inputs " '$ac_f'"
3471    done
3472
3473    # Let's still pretend it is `configure' which instantiates (i.e., don't
3474    # use $as_me), people would be surprised to read:
3475    #    /* config.h.  Generated by config.status.  */
3476    configure_input='Generated from '`
3477	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3478	`' by configure.'
3479    if test x"$ac_file" != x-; then
3480      configure_input="$ac_file.  $configure_input"
3481      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3482$as_echo "$as_me: creating $ac_file" >&6;}
3483    fi
3484    # Neutralize special characters interpreted by sed in replacement strings.
3485    case $configure_input in #(
3486    *\&* | *\|* | *\\* )
3487       ac_sed_conf_input=`$as_echo "$configure_input" |
3488       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3489    *) ac_sed_conf_input=$configure_input;;
3490    esac
3491
3492    case $ac_tag in
3493    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3494      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3495    esac
3496    ;;
3497  esac
3498
3499  ac_dir=`$as_dirname -- "$ac_file" ||
3500$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3501	 X"$ac_file" : 'X\(//\)[^/]' \| \
3502	 X"$ac_file" : 'X\(//\)$' \| \
3503	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3504$as_echo X"$ac_file" |
3505    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3506	    s//\1/
3507	    q
3508	  }
3509	  /^X\(\/\/\)[^/].*/{
3510	    s//\1/
3511	    q
3512	  }
3513	  /^X\(\/\/\)$/{
3514	    s//\1/
3515	    q
3516	  }
3517	  /^X\(\/\).*/{
3518	    s//\1/
3519	    q
3520	  }
3521	  s/.*/./; q'`
3522  as_dir="$ac_dir"; as_fn_mkdir_p
3523  ac_builddir=.
3524
3525case "$ac_dir" in
3526.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3527*)
3528  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3529  # A ".." for each directory in $ac_dir_suffix.
3530  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3531  case $ac_top_builddir_sub in
3532  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3533  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3534  esac ;;
3535esac
3536ac_abs_top_builddir=$ac_pwd
3537ac_abs_builddir=$ac_pwd$ac_dir_suffix
3538# for backward compatibility:
3539ac_top_builddir=$ac_top_build_prefix
3540
3541case $srcdir in
3542  .)  # We are building in place.
3543    ac_srcdir=.
3544    ac_top_srcdir=$ac_top_builddir_sub
3545    ac_abs_top_srcdir=$ac_pwd ;;
3546  [\\/]* | ?:[\\/]* )  # Absolute name.
3547    ac_srcdir=$srcdir$ac_dir_suffix;
3548    ac_top_srcdir=$srcdir
3549    ac_abs_top_srcdir=$srcdir ;;
3550  *) # Relative name.
3551    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3552    ac_top_srcdir=$ac_top_build_prefix$srcdir
3553    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3554esac
3555ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3556
3557
3558  case $ac_mode in
3559  :F)
3560  #
3561  # CONFIG_FILE
3562  #
3563
3564_ACEOF
3565
3566cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3567# If the template does not know about datarootdir, expand it.
3568# FIXME: This hack should be removed a few years after 2.60.
3569ac_datarootdir_hack=; ac_datarootdir_seen=
3570ac_sed_dataroot='
3571/datarootdir/ {
3572  p
3573  q
3574}
3575/@datadir@/p
3576/@docdir@/p
3577/@infodir@/p
3578/@localedir@/p
3579/@mandir@/p'
3580case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3581*datarootdir*) ac_datarootdir_seen=yes;;
3582*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3583  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3584$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3585_ACEOF
3586cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3587  ac_datarootdir_hack='
3588  s&@datadir@&$datadir&g
3589  s&@docdir@&$docdir&g
3590  s&@infodir@&$infodir&g
3591  s&@localedir@&$localedir&g
3592  s&@mandir@&$mandir&g
3593  s&\\\${datarootdir}&$datarootdir&g' ;;
3594esac
3595_ACEOF
3596
3597# Neutralize VPATH when `$srcdir' = `.'.
3598# Shell code in configure.ac might set extrasub.
3599# FIXME: do we really want to maintain this feature?
3600cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3601ac_sed_extra="$ac_vpsub
3602$extrasub
3603_ACEOF
3604cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3605:t
3606/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3607s|@configure_input@|$ac_sed_conf_input|;t t
3608s&@top_builddir@&$ac_top_builddir_sub&;t t
3609s&@top_build_prefix@&$ac_top_build_prefix&;t t
3610s&@srcdir@&$ac_srcdir&;t t
3611s&@abs_srcdir@&$ac_abs_srcdir&;t t
3612s&@top_srcdir@&$ac_top_srcdir&;t t
3613s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3614s&@builddir@&$ac_builddir&;t t
3615s&@abs_builddir@&$ac_abs_builddir&;t t
3616s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3617$ac_datarootdir_hack
3618"
3619eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3620  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3621
3622test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3623  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3624  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3625      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3626  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3627which seems to be undefined.  Please make sure it is defined" >&5
3628$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3629which seems to be undefined.  Please make sure it is defined" >&2;}
3630
3631  rm -f "$ac_tmp/stdin"
3632  case $ac_file in
3633  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3634  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3635  esac \
3636  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3637 ;;
3638
3639
3640
3641  esac
3642
3643done # for ac_tag
3644
3645
3646as_fn_exit 0
3647_ACEOF
3648ac_clean_files=$ac_clean_files_save
3649
3650test $ac_write_fail = 0 ||
3651  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3652
3653
3654# configure is writing to config.log, and then calls config.status.
3655# config.status does its own redirection, appending to config.log.
3656# Unfortunately, on DOS this fails, as config.log is still kept open
3657# by configure, so config.status won't be able to write to it; its
3658# output is simply discarded.  So we exec the FD to /dev/null,
3659# effectively closing config.log, so it can be properly (re)opened and
3660# appended to by config.status.  When coming back to configure, we
3661# need to make the FD available again.
3662if test "$no_create" != yes; then
3663  ac_cs_success=:
3664  ac_config_status_args=
3665  test "$silent" = yes &&
3666    ac_config_status_args="$ac_config_status_args --quiet"
3667  exec 5>/dev/null
3668  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3669  exec 5>>config.log
3670  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3671  # would make configure fail if this is the last instruction.
3672  $ac_cs_success || as_fn_exit 1
3673fi
3674if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3675  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3676$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3677fi
3678
3679
3680{ $as_echo "$as_me:${as_lineno-$LINENO}:
3681
3682$PACKAGE_NAME is now configured with
3683
3684   FFMPEG LIBS:       $FFMPEG_LIBS
3685   FFMPEG CFLAGS:     $FFMPEG_CFLAGS
3686   DEFS:              $DEFS
3687" >&5
3688$as_echo "$as_me:
3689
3690$PACKAGE_NAME is now configured with
3691
3692   FFMPEG LIBS:       $FFMPEG_LIBS
3693   FFMPEG CFLAGS:     $FFMPEG_CFLAGS
3694   DEFS:              $DEFS
3695" >&6;}
3696