Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for libva 1.4.1.
  4. #
  5. # Report bugs to <waldo.bastian@intel.com>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9. #
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16.  
  17. # Be more Bourne compatible
  18. DUALCASE=1; export DUALCASE # for MKS sh
  19. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  20.   emulate sh
  21.   NULLCMD=:
  22.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  23.   # is contrary to our usage.  Disable this feature.
  24.   alias -g '${1+"$@"}'='"$@"'
  25.   setopt NO_GLOB_SUBST
  26. else
  27.   case `(set -o) 2>/dev/null` in #(
  28.   *posix*) :
  29.     set -o posix ;; #(
  30.   *) :
  31.      ;;
  32. esac
  33. fi
  34.  
  35.  
  36. as_nl='
  37. '
  38. export as_nl
  39. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  40. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  41. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  42. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  43. # Prefer a ksh shell builtin over an external printf program on Solaris,
  44. # but without wasting forks for bash or zsh.
  45. if test -z "$BASH_VERSION$ZSH_VERSION" \
  46.     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  47.   as_echo='print -r --'
  48.   as_echo_n='print -rn --'
  49. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  50.   as_echo='printf %s\n'
  51.   as_echo_n='printf %s'
  52. else
  53.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  54.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  55.     as_echo_n='/usr/ucb/echo -n'
  56.   else
  57.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  58.     as_echo_n_body='eval
  59.       arg=$1;
  60.       case $arg in #(
  61.       *"$as_nl"*)
  62.         expr "X$arg" : "X\\(.*\\)$as_nl";
  63.         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  64.       esac;
  65.       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  66.     '
  67.     export as_echo_n_body
  68.     as_echo_n='sh -c $as_echo_n_body as_echo'
  69.   fi
  70.   export as_echo_body
  71.   as_echo='sh -c $as_echo_body as_echo'
  72. fi
  73.  
  74. # The user is always right.
  75. if test "${PATH_SEPARATOR+set}" != set; then
  76.   PATH_SEPARATOR=:
  77.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  78.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  79.       PATH_SEPARATOR=';'
  80.   }
  81. fi
  82.  
  83.  
  84. # IFS
  85. # We need space, tab and new line, in precisely that order.  Quoting is
  86. # there to prevent editors from complaining about space-tab.
  87. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  88. # splitting by setting IFS to empty value.)
  89. IFS=" ""        $as_nl"
  90.  
  91. # Find who we are.  Look in the path if we contain no directory separator.
  92. as_myself=
  93. case $0 in #((
  94.   *[\\/]* ) as_myself=$0 ;;
  95.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  96. for as_dir in $PATH
  97. do
  98.   IFS=$as_save_IFS
  99.   test -z "$as_dir" && as_dir=.
  100.     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101.   done
  102. IFS=$as_save_IFS
  103.  
  104.      ;;
  105. esac
  106. # We did not find ourselves, most probably we were run as `sh COMMAND'
  107. # in which case we are not to be found in the path.
  108. if test "x$as_myself" = x; then
  109.   as_myself=$0
  110. fi
  111. if test ! -f "$as_myself"; then
  112.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113.   exit 1
  114. fi
  115.  
  116. # Unset variables that we do not need and which cause bugs (e.g. in
  117. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118. # suppresses any "Segmentation fault" message there.  '((' could
  119. # trigger a bug in pdksh 5.2.14.
  120. for as_var in BASH_ENV ENV MAIL MAILPATH
  121. do eval test x\${$as_var+set} = xset \
  122.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123. done
  124. PS1='$ '
  125. PS2='> '
  126. PS4='+ '
  127.  
  128. # NLS nuisances.
  129. LC_ALL=C
  130. export LC_ALL
  131. LANGUAGE=C
  132. export LANGUAGE
  133.  
  134. # CDPATH.
  135. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136.  
  137. # Use a proper internal environment variable to ensure we don't fall
  138.   # into an infinite loop, continuously re-executing ourselves.
  139.   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  140.     _as_can_reexec=no; export _as_can_reexec;
  141.     # We cannot yet assume a decent shell, so we have to provide a
  142. # neutralization value for shells without unset; and this also
  143. # works around shells that cannot unset nonexistent variables.
  144. # Preserve -v and -x to the replacement shell.
  145. BASH_ENV=/dev/null
  146. ENV=/dev/null
  147. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  148. case $- in # ((((
  149.   *v*x* | *x*v* ) as_opts=-vx ;;
  150.   *v* ) as_opts=-v ;;
  151.   *x* ) as_opts=-x ;;
  152.   * ) as_opts= ;;
  153. esac
  154. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  155. # Admittedly, this is quite paranoid, since all the known shells bail
  156. # out after a failed `exec'.
  157. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  158. as_fn_exit 255
  159.   fi
  160.   # We don't want this to propagate to other subprocesses.
  161.           { _as_can_reexec=; unset _as_can_reexec;}
  162. if test "x$CONFIG_SHELL" = x; then
  163.   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  164.   emulate sh
  165.   NULLCMD=:
  166.   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  167.   # is contrary to our usage.  Disable this feature.
  168.   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  169.   setopt NO_GLOB_SUBST
  170. else
  171.   case \`(set -o) 2>/dev/null\` in #(
  172.   *posix*) :
  173.     set -o posix ;; #(
  174.   *) :
  175.      ;;
  176. esac
  177. fi
  178. "
  179.   as_required="as_fn_return () { (exit \$1); }
  180. as_fn_success () { as_fn_return 0; }
  181. as_fn_failure () { as_fn_return 1; }
  182. as_fn_ret_success () { return 0; }
  183. as_fn_ret_failure () { return 1; }
  184.  
  185. exitcode=0
  186. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  187. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  188. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  189. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  190. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  191.  
  192. else
  193.   exitcode=1; echo positional parameters were not saved.
  194. fi
  195. test x\$exitcode = x0 || exit 1
  196. test -x / || exit 1"
  197.   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  198.   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  199.   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  200.   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  201.  
  202.   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  203.     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  204.     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  205.     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  206.     PATH=/empty FPATH=/empty; export PATH FPATH
  207.     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  208.       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  209. test \$(( 1 + 1 )) = 2 || exit 1"
  210.   if (eval "$as_required") 2>/dev/null; then :
  211.   as_have_required=yes
  212. else
  213.   as_have_required=no
  214. fi
  215.   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  216.  
  217. else
  218.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  219. as_found=false
  220. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  221. do
  222.   IFS=$as_save_IFS
  223.   test -z "$as_dir" && as_dir=.
  224.   as_found=:
  225.   case $as_dir in #(
  226.          /*)
  227.            for as_base in sh bash ksh sh5; do
  228.              # Try only shells that exist, to save several forks.
  229.              as_shell=$as_dir/$as_base
  230.              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  231.                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  232.   CONFIG_SHELL=$as_shell as_have_required=yes
  233.                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  234.   break 2
  235. fi
  236. fi
  237.            done;;
  238.        esac
  239.   as_found=false
  240. done
  241. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  242.               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  243.   CONFIG_SHELL=$SHELL as_have_required=yes
  244. fi; }
  245. IFS=$as_save_IFS
  246.  
  247.  
  248.       if test "x$CONFIG_SHELL" != x; then :
  249.   export CONFIG_SHELL
  250.              # We cannot yet assume a decent shell, so we have to provide a
  251. # neutralization value for shells without unset; and this also
  252. # works around shells that cannot unset nonexistent variables.
  253. # Preserve -v and -x to the replacement shell.
  254. BASH_ENV=/dev/null
  255. ENV=/dev/null
  256. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  257. case $- in # ((((
  258.   *v*x* | *x*v* ) as_opts=-vx ;;
  259.   *v* ) as_opts=-v ;;
  260.   *x* ) as_opts=-x ;;
  261.   * ) as_opts= ;;
  262. esac
  263. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  264. # Admittedly, this is quite paranoid, since all the known shells bail
  265. # out after a failed `exec'.
  266. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  267. exit 255
  268. fi
  269.  
  270.     if test x$as_have_required = xno; then :
  271.   $as_echo "$0: This script requires a shell more modern than all"
  272.   $as_echo "$0: the shells that I found on your system."
  273.   if test x${ZSH_VERSION+set} = xset ; then
  274.     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  275.     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  276.   else
  277.     $as_echo "$0: Please tell bug-autoconf@gnu.org and
  278. $0: waldo.bastian@intel.com about your system, including
  279. $0: any error possibly output before this message. Then
  280. $0: install a modern shell, or manually run the script
  281. $0: under such a shell if you do have one."
  282.   fi
  283.   exit 1
  284. fi
  285. fi
  286. fi
  287. SHELL=${CONFIG_SHELL-/bin/sh}
  288. export SHELL
  289. # Unset more variables known to interfere with behavior of common tools.
  290. CLICOLOR_FORCE= GREP_OPTIONS=
  291. unset CLICOLOR_FORCE GREP_OPTIONS
  292.  
  293. ## --------------------- ##
  294. ## M4sh Shell Functions. ##
  295. ## --------------------- ##
  296. # as_fn_unset VAR
  297. # ---------------
  298. # Portably unset VAR.
  299. as_fn_unset ()
  300. {
  301.   { eval $1=; unset $1;}
  302. }
  303. as_unset=as_fn_unset
  304.  
  305. # as_fn_set_status STATUS
  306. # -----------------------
  307. # Set $? to STATUS, without forking.
  308. as_fn_set_status ()
  309. {
  310.   return $1
  311. } # as_fn_set_status
  312.  
  313. # as_fn_exit STATUS
  314. # -----------------
  315. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  316. as_fn_exit ()
  317. {
  318.   set +e
  319.   as_fn_set_status $1
  320.   exit $1
  321. } # as_fn_exit
  322.  
  323. # as_fn_mkdir_p
  324. # -------------
  325. # Create "$as_dir" as a directory, including parents if necessary.
  326. as_fn_mkdir_p ()
  327. {
  328.  
  329.   case $as_dir in #(
  330.   -*) as_dir=./$as_dir;;
  331.   esac
  332.   test -d "$as_dir" || eval $as_mkdir_p || {
  333.     as_dirs=
  334.     while :; do
  335.       case $as_dir in #(
  336.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  337.       *) as_qdir=$as_dir;;
  338.       esac
  339.       as_dirs="'$as_qdir' $as_dirs"
  340.       as_dir=`$as_dirname -- "$as_dir" ||
  341. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  342.          X"$as_dir" : 'X\(//\)[^/]' \| \
  343.          X"$as_dir" : 'X\(//\)$' \| \
  344.          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  345. $as_echo X"$as_dir" |
  346.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  347.             s//\1/
  348.             q
  349.           }
  350.           /^X\(\/\/\)[^/].*/{
  351.             s//\1/
  352.             q
  353.           }
  354.           /^X\(\/\/\)$/{
  355.             s//\1/
  356.             q
  357.           }
  358.           /^X\(\/\).*/{
  359.             s//\1/
  360.             q
  361.           }
  362.           s/.*/./; q'`
  363.       test -d "$as_dir" && break
  364.     done
  365.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  366.   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  367.  
  368.  
  369. } # as_fn_mkdir_p
  370.  
  371. # as_fn_executable_p FILE
  372. # -----------------------
  373. # Test if FILE is an executable regular file.
  374. as_fn_executable_p ()
  375. {
  376.   test -f "$1" && test -x "$1"
  377. } # as_fn_executable_p
  378. # as_fn_append VAR VALUE
  379. # ----------------------
  380. # Append the text in VALUE to the end of the definition contained in VAR. Take
  381. # advantage of any shell optimizations that allow amortized linear growth over
  382. # repeated appends, instead of the typical quadratic growth present in naive
  383. # implementations.
  384. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  385.   eval 'as_fn_append ()
  386.   {
  387.     eval $1+=\$2
  388.   }'
  389. else
  390.   as_fn_append ()
  391.   {
  392.     eval $1=\$$1\$2
  393.   }
  394. fi # as_fn_append
  395.  
  396. # as_fn_arith ARG...
  397. # ------------------
  398. # Perform arithmetic evaluation on the ARGs, and store the result in the
  399. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  400. # must be portable across $(()) and expr.
  401. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  402.   eval 'as_fn_arith ()
  403.   {
  404.     as_val=$(( $* ))
  405.   }'
  406. else
  407.   as_fn_arith ()
  408.   {
  409.     as_val=`expr "$@" || test $? -eq 1`
  410.   }
  411. fi # as_fn_arith
  412.  
  413.  
  414. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  415. # ----------------------------------------
  416. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  417. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  418. # script with STATUS, using 1 if that was 0.
  419. as_fn_error ()
  420. {
  421.   as_status=$1; test $as_status -eq 0 && as_status=1
  422.   if test "$4"; then
  423.     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  424.     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  425.   fi
  426.   $as_echo "$as_me: error: $2" >&2
  427.   as_fn_exit $as_status
  428. } # as_fn_error
  429.  
  430. if expr a : '\(a\)' >/dev/null 2>&1 &&
  431.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  432.   as_expr=expr
  433. else
  434.   as_expr=false
  435. fi
  436.  
  437. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  438.   as_basename=basename
  439. else
  440.   as_basename=false
  441. fi
  442.  
  443. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  444.   as_dirname=dirname
  445. else
  446.   as_dirname=false
  447. fi
  448.  
  449. as_me=`$as_basename -- "$0" ||
  450. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  451.          X"$0" : 'X\(//\)$' \| \
  452.          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  453. $as_echo X/"$0" |
  454.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  455.             s//\1/
  456.             q
  457.           }
  458.           /^X\/\(\/\/\)$/{
  459.             s//\1/
  460.             q
  461.           }
  462.           /^X\/\(\/\).*/{
  463.             s//\1/
  464.             q
  465.           }
  466.           s/.*/./; q'`
  467.  
  468. # Avoid depending upon Character Ranges.
  469. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  470. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  471. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  472. as_cr_digits='0123456789'
  473. as_cr_alnum=$as_cr_Letters$as_cr_digits
  474.  
  475.  
  476.   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  477.   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  478.   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  479.   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  480.   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  481.   sed -n '
  482.     p
  483.     /[$]LINENO/=
  484.   ' <$as_myself |
  485.     sed '
  486.       s/[$]LINENO.*/&-/
  487.       t lineno
  488.       b
  489.       :lineno
  490.       N
  491.       :loop
  492.       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  493.       t loop
  494.       s/-\n.*//
  495.     ' >$as_me.lineno &&
  496.   chmod +x "$as_me.lineno" ||
  497.     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  498.  
  499.   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  500.   # already done that, so ensure we don't try to do so again and fall
  501.   # in an infinite loop.  This has already happened in practice.
  502.   _as_can_reexec=no; export _as_can_reexec
  503.   # Don't try to exec as it changes $[0], causing all sort of problems
  504.   # (the dirname of $[0] is not the place where we might find the
  505.   # original and so on.  Autoconf is especially sensitive to this).
  506.   . "./$as_me.lineno"
  507.   # Exit status is that of the last command.
  508.   exit
  509. }
  510.  
  511. ECHO_C= ECHO_N= ECHO_T=
  512. case `echo -n x` in #(((((
  513. -n*)
  514.   case `echo 'xy\c'` in
  515.   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
  516.   xy)  ECHO_C='\c';;
  517.   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  518.        ECHO_T=' ';;
  519.   esac;;
  520. *)
  521.   ECHO_N='-n';;
  522. esac
  523.  
  524. rm -f conf$$ conf$$.exe conf$$.file
  525. if test -d conf$$.dir; then
  526.   rm -f conf$$.dir/conf$$.file
  527. else
  528.   rm -f conf$$.dir
  529.   mkdir conf$$.dir 2>/dev/null
  530. fi
  531. if (echo >conf$$.file) 2>/dev/null; then
  532.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  533.     as_ln_s='ln -s'
  534.     # ... but there are two gotchas:
  535.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  536.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  537.     # In both cases, we have to default to `cp -pR'.
  538.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  539.       as_ln_s='cp -pR'
  540.   elif ln conf$$.file conf$$ 2>/dev/null; then
  541.     as_ln_s=ln
  542.   else
  543.     as_ln_s='cp -pR'
  544.   fi
  545. else
  546.   as_ln_s='cp -pR'
  547. fi
  548. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  549. rmdir conf$$.dir 2>/dev/null
  550.  
  551. if mkdir -p . 2>/dev/null; then
  552.   as_mkdir_p='mkdir -p "$as_dir"'
  553. else
  554.   test -d ./-p && rmdir ./-p
  555.   as_mkdir_p=false
  556. fi
  557.  
  558. as_test_x='test -x'
  559. as_executable_p=as_fn_executable_p
  560.  
  561. # Sed expression to map a string onto a valid CPP name.
  562. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  563.  
  564. # Sed expression to map a string onto a valid variable name.
  565. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  566.  
  567. SHELL=${CONFIG_SHELL-/bin/sh}
  568.  
  569.  
  570. test -n "$DJDIR" || exec 7<&0 </dev/null
  571. exec 6>&1
  572.  
  573. # Name of the host.
  574. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  575. # so uname gets run too.
  576. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  577.  
  578. #
  579. # Initializations.
  580. #
  581. ac_default_prefix=/usr/local
  582. ac_clean_files=
  583. ac_config_libobj_dir=.
  584. LIBOBJS=
  585. cross_compiling=no
  586. subdirs=
  587. MFLAGS=
  588. MAKEFLAGS=
  589.  
  590. # Identity of this package.
  591. PACKAGE_NAME='libva'
  592. PACKAGE_TARNAME='libva'
  593. PACKAGE_VERSION='1.4.1'
  594. PACKAGE_STRING='libva 1.4.1'
  595. PACKAGE_BUGREPORT='waldo.bastian@intel.com'
  596. PACKAGE_URL=''
  597.  
  598. ac_unique_file="Makefile.am"
  599. # Factoring default headers for most tests.
  600. ac_includes_default="\
  601. #include <stdio.h>
  602. #ifdef HAVE_SYS_TYPES_H
  603. # include <sys/types.h>
  604. #endif
  605. #ifdef HAVE_SYS_STAT_H
  606. # include <sys/stat.h>
  607. #endif
  608. #ifdef STDC_HEADERS
  609. # include <stdlib.h>
  610. # include <stddef.h>
  611. #else
  612. # ifdef HAVE_STDLIB_H
  613. #  include <stdlib.h>
  614. # endif
  615. #endif
  616. #ifdef HAVE_STRING_H
  617. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  618. #  include <memory.h>
  619. # endif
  620. # include <string.h>
  621. #endif
  622. #ifdef HAVE_STRINGS_H
  623. # include <strings.h>
  624. #endif
  625. #ifdef HAVE_INTTYPES_H
  626. # include <inttypes.h>
  627. #endif
  628. #ifdef HAVE_STDINT_H
  629. # include <stdint.h>
  630. #endif
  631. #ifdef HAVE_UNISTD_H
  632. # include <unistd.h>
  633. #endif"
  634.  
  635. ac_subst_vars='am__EXEEXT_FALSE
  636. am__EXEEXT_TRUE
  637. LTLIBOBJS
  638. LIBOBJS
  639. pkgconfigdir
  640. wayland_protocoldir
  641. wayland_scanner
  642. WAYLAND_SCANNER_LIBS
  643. WAYLAND_SCANNER_CFLAGS
  644. USE_WAYLAND_FALSE
  645. USE_WAYLAND_TRUE
  646. WAYLAND_LIBS
  647. WAYLAND_CFLAGS
  648. WAYLAND_API_VERSION
  649. USE_EGL_FALSE
  650. USE_EGL_TRUE
  651. EGL_LIBS
  652. EGL_CFLAGS
  653. USE_GLX_FALSE
  654. USE_GLX_TRUE
  655. GLX_LIBS
  656. GLX_CFLAGS
  657. USE_X11_FALSE
  658. USE_X11_TRUE
  659. XFIXES_LIBS
  660. XFIXES_CFLAGS
  661. XEXT_LIBS
  662. XEXT_CFLAGS
  663. X11_LIBS
  664. X11_CFLAGS
  665. USE_DRM_FALSE
  666. USE_DRM_TRUE
  667. LIBDRM_VERSION
  668. DRM_LIBS
  669. DRM_CFLAGS
  670. ENABLE_DOCS_FALSE
  671. ENABLE_DOCS_TRUE
  672. DOXYGEN
  673. PKG_CONFIG_LIBDIR
  674. PKG_CONFIG_PATH
  675. PKG_CONFIG
  676. CXXCPP
  677. am__fastdepCXX_FALSE
  678. am__fastdepCXX_TRUE
  679. CXXDEPMODE
  680. ac_ct_CXX
  681. CXXFLAGS
  682. CXX
  683. CPP
  684. OTOOL64
  685. OTOOL
  686. LIPO
  687. NMEDIT
  688. DSYMUTIL
  689. MANIFEST_TOOL
  690. RANLIB
  691. ac_ct_AR
  692. AR
  693. DLLTOOL
  694. OBJDUMP
  695. LN_S
  696. NM
  697. ac_ct_DUMPBIN
  698. DUMPBIN
  699. LD
  700. FGREP
  701. EGREP
  702. GREP
  703. SED
  704. am__fastdepCC_FALSE
  705. am__fastdepCC_TRUE
  706. CCDEPMODE
  707. am__nodep
  708. AMDEPBACKSLASH
  709. AMDEP_FALSE
  710. AMDEP_TRUE
  711. am__quote
  712. am__include
  713. DEPDIR
  714. OBJEXT
  715. EXEEXT
  716. ac_ct_CC
  717. CPPFLAGS
  718. LDFLAGS
  719. CFLAGS
  720. CC
  721. host_os
  722. host_vendor
  723. host_cpu
  724. host
  725. build_os
  726. build_vendor
  727. build_cpu
  728. build
  729. LIBTOOL
  730. LIBVA_DRIVERS_PATH
  731. BUILD_DUMMY_DRIVER_FALSE
  732. BUILD_DUMMY_DRIVER_TRUE
  733. LIBVA_LT_LDFLAGS
  734. LIBVA_LT_VERSION
  735. LIBVA_VERSION
  736. LIBVA_MICRO_VERSION
  737. LIBVA_MINOR_VERSION
  738. LIBVA_MAJOR_VERSION
  739. VA_API_VERSION
  740. VA_API_MICRO_VERSION
  741. VA_API_MINOR_VERSION
  742. VA_API_MAJOR_VERSION
  743. TODAY
  744. AM_BACKSLASH
  745. AM_DEFAULT_VERBOSITY
  746. AM_DEFAULT_V
  747. AM_V
  748. am__untar
  749. am__tar
  750. AMTAR
  751. am__leading_dot
  752. SET_MAKE
  753. AWK
  754. mkdir_p
  755. MKDIR_P
  756. INSTALL_STRIP_PROGRAM
  757. STRIP
  758. install_sh
  759. MAKEINFO
  760. AUTOHEADER
  761. AUTOMAKE
  762. AUTOCONF
  763. ACLOCAL
  764. VERSION
  765. PACKAGE
  766. CYGPATH_W
  767. am__isrc
  768. INSTALL_DATA
  769. INSTALL_SCRIPT
  770. INSTALL_PROGRAM
  771. target_alias
  772. host_alias
  773. build_alias
  774. LIBS
  775. ECHO_T
  776. ECHO_N
  777. ECHO_C
  778. DEFS
  779. mandir
  780. localedir
  781. libdir
  782. psdir
  783. pdfdir
  784. dvidir
  785. htmldir
  786. infodir
  787. docdir
  788. oldincludedir
  789. includedir
  790. localstatedir
  791. sharedstatedir
  792. sysconfdir
  793. datadir
  794. datarootdir
  795. libexecdir
  796. sbindir
  797. bindir
  798. program_transform_name
  799. prefix
  800. exec_prefix
  801. PACKAGE_URL
  802. PACKAGE_BUGREPORT
  803. PACKAGE_STRING
  804. PACKAGE_VERSION
  805. PACKAGE_TARNAME
  806. PACKAGE_NAME
  807. PATH_SEPARATOR
  808. SHELL'
  809. ac_subst_files='wayland_scanner_rules'
  810. ac_user_opts='
  811. enable_option_checking
  812. enable_silent_rules
  813. enable_docs
  814. enable_drm
  815. enable_x11
  816. enable_glx
  817. enable_egl
  818. enable_wayland
  819. enable_dummy_driver
  820. with_drivers_path
  821. enable_static
  822. enable_shared
  823. with_pic
  824. enable_fast_install
  825. enable_dependency_tracking
  826. with_gnu_ld
  827. with_sysroot
  828. enable_libtool_lock
  829. enable_largefile
  830. '
  831.       ac_precious_vars='build_alias
  832. host_alias
  833. target_alias
  834. CC
  835. CFLAGS
  836. LDFLAGS
  837. LIBS
  838. CPPFLAGS
  839. CPP
  840. CXX
  841. CXXFLAGS
  842. CCC
  843. CXXCPP
  844. PKG_CONFIG
  845. PKG_CONFIG_PATH
  846. PKG_CONFIG_LIBDIR
  847. DRM_CFLAGS
  848. DRM_LIBS
  849. X11_CFLAGS
  850. X11_LIBS
  851. XEXT_CFLAGS
  852. XEXT_LIBS
  853. XFIXES_CFLAGS
  854. XFIXES_LIBS
  855. GLX_CFLAGS
  856. GLX_LIBS
  857. EGL_CFLAGS
  858. EGL_LIBS
  859. WAYLAND_CFLAGS
  860. WAYLAND_LIBS
  861. WAYLAND_SCANNER_CFLAGS
  862. WAYLAND_SCANNER_LIBS'
  863.  
  864.  
  865. # Initialize some variables set by options.
  866. ac_init_help=
  867. ac_init_version=false
  868. ac_unrecognized_opts=
  869. ac_unrecognized_sep=
  870. # The variables have the same names as the options, with
  871. # dashes changed to underlines.
  872. cache_file=/dev/null
  873. exec_prefix=NONE
  874. no_create=
  875. no_recursion=
  876. prefix=NONE
  877. program_prefix=NONE
  878. program_suffix=NONE
  879. program_transform_name=s,x,x,
  880. silent=
  881. site=
  882. srcdir=
  883. verbose=
  884. x_includes=NONE
  885. x_libraries=NONE
  886.  
  887. # Installation directory options.
  888. # These are left unexpanded so users can "make install exec_prefix=/foo"
  889. # and all the variables that are supposed to be based on exec_prefix
  890. # by default will actually change.
  891. # Use braces instead of parens because sh, perl, etc. also accept them.
  892. # (The list follows the same order as the GNU Coding Standards.)
  893. bindir='${exec_prefix}/bin'
  894. sbindir='${exec_prefix}/sbin'
  895. libexecdir='${exec_prefix}/libexec'
  896. datarootdir='${prefix}/share'
  897. datadir='${datarootdir}'
  898. sysconfdir='${prefix}/etc'
  899. sharedstatedir='${prefix}/com'
  900. localstatedir='${prefix}/var'
  901. includedir='${prefix}/include'
  902. oldincludedir='/usr/include'
  903. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  904. infodir='${datarootdir}/info'
  905. htmldir='${docdir}'
  906. dvidir='${docdir}'
  907. pdfdir='${docdir}'
  908. psdir='${docdir}'
  909. libdir='${exec_prefix}/lib'
  910. localedir='${datarootdir}/locale'
  911. mandir='${datarootdir}/man'
  912.  
  913. ac_prev=
  914. ac_dashdash=
  915. for ac_option
  916. do
  917.   # If the previous option needs an argument, assign it.
  918.   if test -n "$ac_prev"; then
  919.     eval $ac_prev=\$ac_option
  920.     ac_prev=
  921.     continue
  922.   fi
  923.  
  924.   case $ac_option in
  925.   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  926.   *=)   ac_optarg= ;;
  927.   *)    ac_optarg=yes ;;
  928.   esac
  929.  
  930.   # Accept the important Cygnus configure options, so we can diagnose typos.
  931.  
  932.   case $ac_dashdash$ac_option in
  933.   --)
  934.     ac_dashdash=yes ;;
  935.  
  936.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  937.     ac_prev=bindir ;;
  938.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  939.     bindir=$ac_optarg ;;
  940.  
  941.   -build | --build | --buil | --bui | --bu)
  942.     ac_prev=build_alias ;;
  943.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  944.     build_alias=$ac_optarg ;;
  945.  
  946.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  947.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  948.     ac_prev=cache_file ;;
  949.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  950.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  951.     cache_file=$ac_optarg ;;
  952.  
  953.   --config-cache | -C)
  954.     cache_file=config.cache ;;
  955.  
  956.   -datadir | --datadir | --datadi | --datad)
  957.     ac_prev=datadir ;;
  958.   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  959.     datadir=$ac_optarg ;;
  960.  
  961.   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  962.   | --dataroo | --dataro | --datar)
  963.     ac_prev=datarootdir ;;
  964.   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  965.   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  966.     datarootdir=$ac_optarg ;;
  967.  
  968.   -disable-* | --disable-*)
  969.     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  970.     # Reject names that are not valid shell variable names.
  971.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  972.       as_fn_error $? "invalid feature name: $ac_useropt"
  973.     ac_useropt_orig=$ac_useropt
  974.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  975.     case $ac_user_opts in
  976.       *"
  977. "enable_$ac_useropt"
  978. "*) ;;
  979.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  980.          ac_unrecognized_sep=', ';;
  981.     esac
  982.     eval enable_$ac_useropt=no ;;
  983.  
  984.   -docdir | --docdir | --docdi | --doc | --do)
  985.     ac_prev=docdir ;;
  986.   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  987.     docdir=$ac_optarg ;;
  988.  
  989.   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  990.     ac_prev=dvidir ;;
  991.   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  992.     dvidir=$ac_optarg ;;
  993.  
  994.   -enable-* | --enable-*)
  995.     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  996.     # Reject names that are not valid shell variable names.
  997.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  998.       as_fn_error $? "invalid feature name: $ac_useropt"
  999.     ac_useropt_orig=$ac_useropt
  1000.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1001.     case $ac_user_opts in
  1002.       *"
  1003. "enable_$ac_useropt"
  1004. "*) ;;
  1005.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1006.          ac_unrecognized_sep=', ';;
  1007.     esac
  1008.     eval enable_$ac_useropt=\$ac_optarg ;;
  1009.  
  1010.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1011.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1012.   | --exec | --exe | --ex)
  1013.     ac_prev=exec_prefix ;;
  1014.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1015.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1016.   | --exec=* | --exe=* | --ex=*)
  1017.     exec_prefix=$ac_optarg ;;
  1018.  
  1019.   -gas | --gas | --ga | --g)
  1020.     # Obsolete; use --with-gas.
  1021.     with_gas=yes ;;
  1022.  
  1023.   -help | --help | --hel | --he | -h)
  1024.     ac_init_help=long ;;
  1025.   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1026.     ac_init_help=recursive ;;
  1027.   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1028.     ac_init_help=short ;;
  1029.  
  1030.   -host | --host | --hos | --ho)
  1031.     ac_prev=host_alias ;;
  1032.   -host=* | --host=* | --hos=* | --ho=*)
  1033.     host_alias=$ac_optarg ;;
  1034.  
  1035.   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1036.     ac_prev=htmldir ;;
  1037.   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1038.   | --ht=*)
  1039.     htmldir=$ac_optarg ;;
  1040.  
  1041.   -includedir | --includedir | --includedi | --included | --include \
  1042.   | --includ | --inclu | --incl | --inc)
  1043.     ac_prev=includedir ;;
  1044.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1045.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1046.     includedir=$ac_optarg ;;
  1047.  
  1048.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1049.     ac_prev=infodir ;;
  1050.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1051.     infodir=$ac_optarg ;;
  1052.  
  1053.   -libdir | --libdir | --libdi | --libd)
  1054.     ac_prev=libdir ;;
  1055.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1056.     libdir=$ac_optarg ;;
  1057.  
  1058.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1059.   | --libexe | --libex | --libe)
  1060.     ac_prev=libexecdir ;;
  1061.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1062.   | --libexe=* | --libex=* | --libe=*)
  1063.     libexecdir=$ac_optarg ;;
  1064.  
  1065.   -localedir | --localedir | --localedi | --localed | --locale)
  1066.     ac_prev=localedir ;;
  1067.   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1068.     localedir=$ac_optarg ;;
  1069.  
  1070.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1071.   | --localstate | --localstat | --localsta | --localst | --locals)
  1072.     ac_prev=localstatedir ;;
  1073.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1074.   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1075.     localstatedir=$ac_optarg ;;
  1076.  
  1077.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1078.     ac_prev=mandir ;;
  1079.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1080.     mandir=$ac_optarg ;;
  1081.  
  1082.   -nfp | --nfp | --nf)
  1083.     # Obsolete; use --without-fp.
  1084.     with_fp=no ;;
  1085.  
  1086.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1087.   | --no-cr | --no-c | -n)
  1088.     no_create=yes ;;
  1089.  
  1090.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1091.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1092.     no_recursion=yes ;;
  1093.  
  1094.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1095.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1096.   | --oldin | --oldi | --old | --ol | --o)
  1097.     ac_prev=oldincludedir ;;
  1098.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1099.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1100.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1101.     oldincludedir=$ac_optarg ;;
  1102.  
  1103.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1104.     ac_prev=prefix ;;
  1105.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1106.     prefix=$ac_optarg ;;
  1107.  
  1108.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1109.   | --program-pre | --program-pr | --program-p)
  1110.     ac_prev=program_prefix ;;
  1111.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1112.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1113.     program_prefix=$ac_optarg ;;
  1114.  
  1115.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1116.   | --program-suf | --program-su | --program-s)
  1117.     ac_prev=program_suffix ;;
  1118.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1119.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1120.     program_suffix=$ac_optarg ;;
  1121.  
  1122.   -program-transform-name | --program-transform-name \
  1123.   | --program-transform-nam | --program-transform-na \
  1124.   | --program-transform-n | --program-transform- \
  1125.   | --program-transform | --program-transfor \
  1126.   | --program-transfo | --program-transf \
  1127.   | --program-trans | --program-tran \
  1128.   | --progr-tra | --program-tr | --program-t)
  1129.     ac_prev=program_transform_name ;;
  1130.   -program-transform-name=* | --program-transform-name=* \
  1131.   | --program-transform-nam=* | --program-transform-na=* \
  1132.   | --program-transform-n=* | --program-transform-=* \
  1133.   | --program-transform=* | --program-transfor=* \
  1134.   | --program-transfo=* | --program-transf=* \
  1135.   | --program-trans=* | --program-tran=* \
  1136.   | --progr-tra=* | --program-tr=* | --program-t=*)
  1137.     program_transform_name=$ac_optarg ;;
  1138.  
  1139.   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1140.     ac_prev=pdfdir ;;
  1141.   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1142.     pdfdir=$ac_optarg ;;
  1143.  
  1144.   -psdir | --psdir | --psdi | --psd | --ps)
  1145.     ac_prev=psdir ;;
  1146.   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1147.     psdir=$ac_optarg ;;
  1148.  
  1149.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1150.   | -silent | --silent | --silen | --sile | --sil)
  1151.     silent=yes ;;
  1152.  
  1153.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1154.     ac_prev=sbindir ;;
  1155.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1156.   | --sbi=* | --sb=*)
  1157.     sbindir=$ac_optarg ;;
  1158.  
  1159.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1160.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1161.   | --sharedst | --shareds | --shared | --share | --shar \
  1162.   | --sha | --sh)
  1163.     ac_prev=sharedstatedir ;;
  1164.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1165.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1166.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1167.   | --sha=* | --sh=*)
  1168.     sharedstatedir=$ac_optarg ;;
  1169.  
  1170.   -site | --site | --sit)
  1171.     ac_prev=site ;;
  1172.   -site=* | --site=* | --sit=*)
  1173.     site=$ac_optarg ;;
  1174.  
  1175.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1176.     ac_prev=srcdir ;;
  1177.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1178.     srcdir=$ac_optarg ;;
  1179.  
  1180.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1181.   | --syscon | --sysco | --sysc | --sys | --sy)
  1182.     ac_prev=sysconfdir ;;
  1183.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1184.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1185.     sysconfdir=$ac_optarg ;;
  1186.  
  1187.   -target | --target | --targe | --targ | --tar | --ta | --t)
  1188.     ac_prev=target_alias ;;
  1189.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1190.     target_alias=$ac_optarg ;;
  1191.  
  1192.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1193.     verbose=yes ;;
  1194.  
  1195.   -version | --version | --versio | --versi | --vers | -V)
  1196.     ac_init_version=: ;;
  1197.  
  1198.   -with-* | --with-*)
  1199.     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1200.     # Reject names that are not valid shell variable names.
  1201.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1202.       as_fn_error $? "invalid package name: $ac_useropt"
  1203.     ac_useropt_orig=$ac_useropt
  1204.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1205.     case $ac_user_opts in
  1206.       *"
  1207. "with_$ac_useropt"
  1208. "*) ;;
  1209.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1210.          ac_unrecognized_sep=', ';;
  1211.     esac
  1212.     eval with_$ac_useropt=\$ac_optarg ;;
  1213.  
  1214.   -without-* | --without-*)
  1215.     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1216.     # Reject names that are not valid shell variable names.
  1217.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1218.       as_fn_error $? "invalid package name: $ac_useropt"
  1219.     ac_useropt_orig=$ac_useropt
  1220.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1221.     case $ac_user_opts in
  1222.       *"
  1223. "with_$ac_useropt"
  1224. "*) ;;
  1225.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1226.          ac_unrecognized_sep=', ';;
  1227.     esac
  1228.     eval with_$ac_useropt=no ;;
  1229.  
  1230.   --x)
  1231.     # Obsolete; use --with-x.
  1232.     with_x=yes ;;
  1233.  
  1234.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1235.   | --x-incl | --x-inc | --x-in | --x-i)
  1236.     ac_prev=x_includes ;;
  1237.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1238.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1239.     x_includes=$ac_optarg ;;
  1240.  
  1241.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1242.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1243.     ac_prev=x_libraries ;;
  1244.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1245.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1246.     x_libraries=$ac_optarg ;;
  1247.  
  1248.   -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1249. Try \`$0 --help' for more information"
  1250.     ;;
  1251.  
  1252.   *=*)
  1253.     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1254.     # Reject names that are not valid shell variable names.
  1255.     case $ac_envvar in #(
  1256.       '' | [0-9]* | *[!_$as_cr_alnum]* )
  1257.       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1258.     esac
  1259.     eval $ac_envvar=\$ac_optarg
  1260.     export $ac_envvar ;;
  1261.  
  1262.   *)
  1263.     # FIXME: should be removed in autoconf 3.0.
  1264.     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1265.     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1266.       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1267.     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1268.     ;;
  1269.  
  1270.   esac
  1271. done
  1272.  
  1273. if test -n "$ac_prev"; then
  1274.   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1275.   as_fn_error $? "missing argument to $ac_option"
  1276. fi
  1277.  
  1278. if test -n "$ac_unrecognized_opts"; then
  1279.   case $enable_option_checking in
  1280.     no) ;;
  1281.     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1282.     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1283.   esac
  1284. fi
  1285.  
  1286. # Check all directory arguments for consistency.
  1287. for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1288.                 datadir sysconfdir sharedstatedir localstatedir includedir \
  1289.                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1290.                 libdir localedir mandir
  1291. do
  1292.   eval ac_val=\$$ac_var
  1293.   # Remove trailing slashes.
  1294.   case $ac_val in
  1295.     */ )
  1296.       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1297.       eval $ac_var=\$ac_val;;
  1298.   esac
  1299.   # Be sure to have absolute directory names.
  1300.   case $ac_val in
  1301.     [\\/$]* | ?:[\\/]* )  continue;;
  1302.     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1303.   esac
  1304.   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1305. done
  1306.  
  1307. # There might be people who depend on the old broken behavior: `$host'
  1308. # used to hold the argument of --host etc.
  1309. # FIXME: To remove some day.
  1310. build=$build_alias
  1311. host=$host_alias
  1312. target=$target_alias
  1313.  
  1314. # FIXME: To remove some day.
  1315. if test "x$host_alias" != x; then
  1316.   if test "x$build_alias" = x; then
  1317.     cross_compiling=maybe
  1318.   elif test "x$build_alias" != "x$host_alias"; then
  1319.     cross_compiling=yes
  1320.   fi
  1321. fi
  1322.  
  1323. ac_tool_prefix=
  1324. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1325.  
  1326. test "$silent" = yes && exec 6>/dev/null
  1327.  
  1328.  
  1329. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1330. ac_ls_di=`ls -di .` &&
  1331. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1332.   as_fn_error $? "working directory cannot be determined"
  1333. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1334.   as_fn_error $? "pwd does not report name of working directory"
  1335.  
  1336.  
  1337. # Find the source files, if location was not specified.
  1338. if test -z "$srcdir"; then
  1339.   ac_srcdir_defaulted=yes
  1340.   # Try the directory containing this script, then the parent directory.
  1341.   ac_confdir=`$as_dirname -- "$as_myself" ||
  1342. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1343.          X"$as_myself" : 'X\(//\)[^/]' \| \
  1344.          X"$as_myself" : 'X\(//\)$' \| \
  1345.          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1346. $as_echo X"$as_myself" |
  1347.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1348.             s//\1/
  1349.             q
  1350.           }
  1351.           /^X\(\/\/\)[^/].*/{
  1352.             s//\1/
  1353.             q
  1354.           }
  1355.           /^X\(\/\/\)$/{
  1356.             s//\1/
  1357.             q
  1358.           }
  1359.           /^X\(\/\).*/{
  1360.             s//\1/
  1361.             q
  1362.           }
  1363.           s/.*/./; q'`
  1364.   srcdir=$ac_confdir
  1365.   if test ! -r "$srcdir/$ac_unique_file"; then
  1366.     srcdir=..
  1367.   fi
  1368. else
  1369.   ac_srcdir_defaulted=no
  1370. fi
  1371. if test ! -r "$srcdir/$ac_unique_file"; then
  1372.   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1373.   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1374. fi
  1375. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1376. ac_abs_confdir=`(
  1377.         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1378.         pwd)`
  1379. # When building in place, set srcdir=.
  1380. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1381.   srcdir=.
  1382. fi
  1383. # Remove unnecessary trailing slashes from srcdir.
  1384. # Double slashes in file names in object file debugging info
  1385. # mess up M-x gdb in Emacs.
  1386. case $srcdir in
  1387. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1388. esac
  1389. for ac_var in $ac_precious_vars; do
  1390.   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1391.   eval ac_env_${ac_var}_value=\$${ac_var}
  1392.   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1393.   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1394. done
  1395.  
  1396. #
  1397. # Report the --help message.
  1398. #
  1399. if test "$ac_init_help" = "long"; then
  1400.   # Omit some internal or obsolete options to make the list less imposing.
  1401.   # This message is too long to be a string in the A/UX 3.1 sh.
  1402.   cat <<_ACEOF
  1403. \`configure' configures libva 1.4.1 to adapt to many kinds of systems.
  1404.  
  1405. Usage: $0 [OPTION]... [VAR=VALUE]...
  1406.  
  1407. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1408. VAR=VALUE.  See below for descriptions of some of the useful variables.
  1409.  
  1410. Defaults for the options are specified in brackets.
  1411.  
  1412. Configuration:
  1413.   -h, --help              display this help and exit
  1414.       --help=short        display options specific to this package
  1415.       --help=recursive    display the short help of all the included packages
  1416.   -V, --version           display version information and exit
  1417.   -q, --quiet, --silent   do not print \`checking ...' messages
  1418.       --cache-file=FILE   cache test results in FILE [disabled]
  1419.   -C, --config-cache      alias for \`--cache-file=config.cache'
  1420.   -n, --no-create         do not create output files
  1421.       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1422.  
  1423. Installation directories:
  1424.   --prefix=PREFIX         install architecture-independent files in PREFIX
  1425.                           [$ac_default_prefix]
  1426.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1427.                           [PREFIX]
  1428.  
  1429. By default, \`make install' will install all the files in
  1430. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1431. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1432. for instance \`--prefix=\$HOME'.
  1433.  
  1434. For better control, use the options below.
  1435.  
  1436. Fine tuning of the installation directories:
  1437.   --bindir=DIR            user executables [EPREFIX/bin]
  1438.   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1439.   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1440.   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1441.   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1442.   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1443.   --libdir=DIR            object code libraries [EPREFIX/lib]
  1444.   --includedir=DIR        C header files [PREFIX/include]
  1445.   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1446.   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1447.   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1448.   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1449.   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1450.   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1451.   --docdir=DIR            documentation root [DATAROOTDIR/doc/libva]
  1452.   --htmldir=DIR           html documentation [DOCDIR]
  1453.   --dvidir=DIR            dvi documentation [DOCDIR]
  1454.   --pdfdir=DIR            pdf documentation [DOCDIR]
  1455.   --psdir=DIR             ps documentation [DOCDIR]
  1456. _ACEOF
  1457.  
  1458.   cat <<\_ACEOF
  1459.  
  1460. Program names:
  1461.   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1462.   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1463.   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1464.  
  1465. System types:
  1466.   --build=BUILD     configure for building on BUILD [guessed]
  1467.   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1468. _ACEOF
  1469. fi
  1470.  
  1471. if test -n "$ac_init_help"; then
  1472.   case $ac_init_help in
  1473.      short | recursive ) echo "Configuration of libva 1.4.1:";;
  1474.    esac
  1475.   cat <<\_ACEOF
  1476.  
  1477. Optional Features:
  1478.   --disable-option-checking  ignore unrecognized --enable/--with options
  1479.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1480.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1481.   --enable-silent-rules   less verbose build output (undo: "make V=1")
  1482.   --disable-silent-rules  verbose build output (undo: "make V=0")
  1483.   --enable-docs           build Doxygen documentation [default=no]
  1484.   --enable-drm            build with VA/DRM API support [default=yes]
  1485.   --enable-x11            build with VA/X11 API support [default=yes]
  1486.   --enable-glx            build with VA/GLX API support [default=yes]
  1487.   --enable-egl            build with VA/EGL API support [default=yes]
  1488.   --enable-wayland        build with VA/Wayland API support [default=yes]
  1489.   --enable-dummy-driver   build dummy video driver [default=yes]
  1490.   --enable-static[=PKGS]  build static libraries [default=no]
  1491.   --enable-shared[=PKGS]  build shared libraries [default=yes]
  1492.   --enable-fast-install[=PKGS]
  1493.                           optimize for fast installation [default=yes]
  1494.   --enable-dependency-tracking
  1495.                           do not reject slow dependency extractors
  1496.   --disable-dependency-tracking
  1497.                           speeds up one-time build
  1498.   --disable-libtool-lock  avoid locking (might break parallel builds)
  1499.   --disable-largefile     omit support for large files
  1500.  
  1501. Optional Packages:
  1502.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1503.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1504.   --with-drivers-path=[path]
  1505.                           drivers path
  1506.   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
  1507.                           both]
  1508.   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1509.   --with-sysroot=DIR Search for dependent libraries within DIR
  1510.                         (or the compiler's sysroot if not specified).
  1511.  
  1512. Some influential environment variables:
  1513.   CC          C compiler command
  1514.   CFLAGS      C compiler flags
  1515.   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1516.               nonstandard directory <lib dir>
  1517.   LIBS        libraries to pass to the linker, e.g. -l<library>
  1518.   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1519.               you have headers in a nonstandard directory <include dir>
  1520.   CPP         C preprocessor
  1521.   CXX         C++ compiler command
  1522.   CXXFLAGS    C++ compiler flags
  1523.   CXXCPP      C++ preprocessor
  1524.   PKG_CONFIG  path to pkg-config utility
  1525.   PKG_CONFIG_PATH
  1526.               directories to add to pkg-config's search path
  1527.   PKG_CONFIG_LIBDIR
  1528.               path overriding pkg-config's built-in search path
  1529.   DRM_CFLAGS  C compiler flags for DRM, overriding pkg-config
  1530.   DRM_LIBS    linker flags for DRM, overriding pkg-config
  1531.   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
  1532.   X11_LIBS    linker flags for X11, overriding pkg-config
  1533.   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
  1534.   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
  1535.   XFIXES_CFLAGS
  1536.               C compiler flags for XFIXES, overriding pkg-config
  1537.   XFIXES_LIBS linker flags for XFIXES, overriding pkg-config
  1538.   GLX_CFLAGS  C compiler flags for GLX, overriding pkg-config
  1539.   GLX_LIBS    linker flags for GLX, overriding pkg-config
  1540.   EGL_CFLAGS  C compiler flags for EGL, overriding pkg-config
  1541.   EGL_LIBS    linker flags for EGL, overriding pkg-config
  1542.   WAYLAND_CFLAGS
  1543.               C compiler flags for WAYLAND, overriding pkg-config
  1544.   WAYLAND_LIBS
  1545.               linker flags for WAYLAND, overriding pkg-config
  1546.   WAYLAND_SCANNER_CFLAGS
  1547.               C compiler flags for WAYLAND_SCANNER, overriding pkg-config
  1548.   WAYLAND_SCANNER_LIBS
  1549.               linker flags for WAYLAND_SCANNER, overriding pkg-config
  1550.  
  1551. Use these variables to override the choices made by `configure' or to help
  1552. it to find libraries and programs with nonstandard names/locations.
  1553.  
  1554. Report bugs to <waldo.bastian@intel.com>.
  1555. _ACEOF
  1556. ac_status=$?
  1557. fi
  1558.  
  1559. if test "$ac_init_help" = "recursive"; then
  1560.   # If there are subdirs, report their specific --help.
  1561.   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1562.     test -d "$ac_dir" ||
  1563.       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1564.       continue
  1565.     ac_builddir=.
  1566.  
  1567. case "$ac_dir" in
  1568. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1569. *)
  1570.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1571.   # A ".." for each directory in $ac_dir_suffix.
  1572.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1573.   case $ac_top_builddir_sub in
  1574.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1575.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1576.   esac ;;
  1577. esac
  1578. ac_abs_top_builddir=$ac_pwd
  1579. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1580. # for backward compatibility:
  1581. ac_top_builddir=$ac_top_build_prefix
  1582.  
  1583. case $srcdir in
  1584.   .)  # We are building in place.
  1585.     ac_srcdir=.
  1586.     ac_top_srcdir=$ac_top_builddir_sub
  1587.     ac_abs_top_srcdir=$ac_pwd ;;
  1588.   [\\/]* | ?:[\\/]* )  # Absolute name.
  1589.     ac_srcdir=$srcdir$ac_dir_suffix;
  1590.     ac_top_srcdir=$srcdir
  1591.     ac_abs_top_srcdir=$srcdir ;;
  1592.   *) # Relative name.
  1593.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1594.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1595.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1596. esac
  1597. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1598.  
  1599.     cd "$ac_dir" || { ac_status=$?; continue; }
  1600.     # Check for guested configure.
  1601.     if test -f "$ac_srcdir/configure.gnu"; then
  1602.       echo &&
  1603.       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1604.     elif test -f "$ac_srcdir/configure"; then
  1605.       echo &&
  1606.       $SHELL "$ac_srcdir/configure" --help=recursive
  1607.     else
  1608.       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1609.     fi || ac_status=$?
  1610.     cd "$ac_pwd" || { ac_status=$?; break; }
  1611.   done
  1612. fi
  1613.  
  1614. test -n "$ac_init_help" && exit $ac_status
  1615. if $ac_init_version; then
  1616.   cat <<\_ACEOF
  1617. libva configure 1.4.1
  1618. generated by GNU Autoconf 2.69
  1619.  
  1620. Copyright (C) 2012 Free Software Foundation, Inc.
  1621. This configure script is free software; the Free Software Foundation
  1622. gives unlimited permission to copy, distribute and modify it.
  1623. _ACEOF
  1624.   exit
  1625. fi
  1626.  
  1627. ## ------------------------ ##
  1628. ## Autoconf initialization. ##
  1629. ## ------------------------ ##
  1630.  
  1631. # ac_fn_c_try_compile LINENO
  1632. # --------------------------
  1633. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1634. ac_fn_c_try_compile ()
  1635. {
  1636.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1637.   rm -f conftest.$ac_objext
  1638.   if { { ac_try="$ac_compile"
  1639. case "(($ac_try" in
  1640.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1641.   *) ac_try_echo=$ac_try;;
  1642. esac
  1643. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1644. $as_echo "$ac_try_echo"; } >&5
  1645.   (eval "$ac_compile") 2>conftest.err
  1646.   ac_status=$?
  1647.   if test -s conftest.err; then
  1648.     grep -v '^ *+' conftest.err >conftest.er1
  1649.     cat conftest.er1 >&5
  1650.     mv -f conftest.er1 conftest.err
  1651.   fi
  1652.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1653.   test $ac_status = 0; } && {
  1654.          test -z "$ac_c_werror_flag" ||
  1655.          test ! -s conftest.err
  1656.        } && test -s conftest.$ac_objext; then :
  1657.   ac_retval=0
  1658. else
  1659.   $as_echo "$as_me: failed program was:" >&5
  1660. sed 's/^/| /' conftest.$ac_ext >&5
  1661.  
  1662.         ac_retval=1
  1663. fi
  1664.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1665.   as_fn_set_status $ac_retval
  1666.  
  1667. } # ac_fn_c_try_compile
  1668.  
  1669. # ac_fn_c_try_link LINENO
  1670. # -----------------------
  1671. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1672. ac_fn_c_try_link ()
  1673. {
  1674.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1675.   rm -f conftest.$ac_objext conftest$ac_exeext
  1676.   if { { ac_try="$ac_link"
  1677. case "(($ac_try" in
  1678.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1679.   *) ac_try_echo=$ac_try;;
  1680. esac
  1681. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1682. $as_echo "$ac_try_echo"; } >&5
  1683.   (eval "$ac_link") 2>conftest.err
  1684.   ac_status=$?
  1685.   if test -s conftest.err; then
  1686.     grep -v '^ *+' conftest.err >conftest.er1
  1687.     cat conftest.er1 >&5
  1688.     mv -f conftest.er1 conftest.err
  1689.   fi
  1690.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1691.   test $ac_status = 0; } && {
  1692.          test -z "$ac_c_werror_flag" ||
  1693.          test ! -s conftest.err
  1694.        } && test -s conftest$ac_exeext && {
  1695.          test "$cross_compiling" = yes ||
  1696.          test -x conftest$ac_exeext
  1697.        }; then :
  1698.   ac_retval=0
  1699. else
  1700.   $as_echo "$as_me: failed program was:" >&5
  1701. sed 's/^/| /' conftest.$ac_ext >&5
  1702.  
  1703.         ac_retval=1
  1704. fi
  1705.   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1706.   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1707.   # interfere with the next link command; also delete a directory that is
  1708.   # left behind by Apple's compiler.  We do this before executing the actions.
  1709.   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1710.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1711.   as_fn_set_status $ac_retval
  1712.  
  1713. } # ac_fn_c_try_link
  1714.  
  1715. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1716. # -------------------------------------------------------
  1717. # Tests whether HEADER exists and can be compiled using the include files in
  1718. # INCLUDES, setting the cache variable VAR accordingly.
  1719. ac_fn_c_check_header_compile ()
  1720. {
  1721.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1722.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1723. $as_echo_n "checking for $2... " >&6; }
  1724. if eval \${$3+:} false; then :
  1725.   $as_echo_n "(cached) " >&6
  1726. else
  1727.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1728. /* end confdefs.h.  */
  1729. $4
  1730. #include <$2>
  1731. _ACEOF
  1732. if ac_fn_c_try_compile "$LINENO"; then :
  1733.   eval "$3=yes"
  1734. else
  1735.   eval "$3=no"
  1736. fi
  1737. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1738. fi
  1739. eval ac_res=\$$3
  1740.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1741. $as_echo "$ac_res" >&6; }
  1742.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1743.  
  1744. } # ac_fn_c_check_header_compile
  1745.  
  1746. # ac_fn_c_try_cpp LINENO
  1747. # ----------------------
  1748. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1749. ac_fn_c_try_cpp ()
  1750. {
  1751.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1752.   if { { ac_try="$ac_cpp conftest.$ac_ext"
  1753. case "(($ac_try" in
  1754.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1755.   *) ac_try_echo=$ac_try;;
  1756. esac
  1757. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1758. $as_echo "$ac_try_echo"; } >&5
  1759.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1760.   ac_status=$?
  1761.   if test -s conftest.err; then
  1762.     grep -v '^ *+' conftest.err >conftest.er1
  1763.     cat conftest.er1 >&5
  1764.     mv -f conftest.er1 conftest.err
  1765.   fi
  1766.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1767.   test $ac_status = 0; } > conftest.i && {
  1768.          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1769.          test ! -s conftest.err
  1770.        }; then :
  1771.   ac_retval=0
  1772. else
  1773.   $as_echo "$as_me: failed program was:" >&5
  1774. sed 's/^/| /' conftest.$ac_ext >&5
  1775.  
  1776.     ac_retval=1
  1777. fi
  1778.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1779.   as_fn_set_status $ac_retval
  1780.  
  1781. } # ac_fn_c_try_cpp
  1782.  
  1783. # ac_fn_c_try_run LINENO
  1784. # ----------------------
  1785. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1786. # that executables *can* be run.
  1787. ac_fn_c_try_run ()
  1788. {
  1789.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1790.   if { { ac_try="$ac_link"
  1791. case "(($ac_try" in
  1792.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1793.   *) ac_try_echo=$ac_try;;
  1794. esac
  1795. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1796. $as_echo "$ac_try_echo"; } >&5
  1797.   (eval "$ac_link") 2>&5
  1798.   ac_status=$?
  1799.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1800.   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1801.   { { case "(($ac_try" in
  1802.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1803.   *) ac_try_echo=$ac_try;;
  1804. esac
  1805. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1806. $as_echo "$ac_try_echo"; } >&5
  1807.   (eval "$ac_try") 2>&5
  1808.   ac_status=$?
  1809.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1810.   test $ac_status = 0; }; }; then :
  1811.   ac_retval=0
  1812. else
  1813.   $as_echo "$as_me: program exited with status $ac_status" >&5
  1814.        $as_echo "$as_me: failed program was:" >&5
  1815. sed 's/^/| /' conftest.$ac_ext >&5
  1816.  
  1817.        ac_retval=$ac_status
  1818. fi
  1819.   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1820.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1821.   as_fn_set_status $ac_retval
  1822.  
  1823. } # ac_fn_c_try_run
  1824.  
  1825. # ac_fn_c_check_func LINENO FUNC VAR
  1826. # ----------------------------------
  1827. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1828. ac_fn_c_check_func ()
  1829. {
  1830.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1831.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1832. $as_echo_n "checking for $2... " >&6; }
  1833. if eval \${$3+:} false; then :
  1834.   $as_echo_n "(cached) " >&6
  1835. else
  1836.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1837. /* end confdefs.h.  */
  1838. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1839.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1840. #define $2 innocuous_$2
  1841.  
  1842. /* System header to define __stub macros and hopefully few prototypes,
  1843.     which can conflict with char $2 (); below.
  1844.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1845.     <limits.h> exists even on freestanding compilers.  */
  1846.  
  1847. #ifdef __STDC__
  1848. # include <limits.h>
  1849. #else
  1850. # include <assert.h>
  1851. #endif
  1852.  
  1853. #undef $2
  1854.  
  1855. /* Override any GCC internal prototype to avoid an error.
  1856.    Use char because int might match the return type of a GCC
  1857.    builtin and then its argument prototype would still apply.  */
  1858. #ifdef __cplusplus
  1859. extern "C"
  1860. #endif
  1861. char $2 ();
  1862. /* The GNU C library defines this for functions which it implements
  1863.     to always fail with ENOSYS.  Some functions are actually named
  1864.     something starting with __ and the normal name is an alias.  */
  1865. #if defined __stub_$2 || defined __stub___$2
  1866. choke me
  1867. #endif
  1868.  
  1869. int
  1870. main ()
  1871. {
  1872. return $2 ();
  1873.   ;
  1874.   return 0;
  1875. }
  1876. _ACEOF
  1877. if ac_fn_c_try_link "$LINENO"; then :
  1878.   eval "$3=yes"
  1879. else
  1880.   eval "$3=no"
  1881. fi
  1882. rm -f core conftest.err conftest.$ac_objext \
  1883.     conftest$ac_exeext conftest.$ac_ext
  1884. fi
  1885. eval ac_res=\$$3
  1886.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1887. $as_echo "$ac_res" >&6; }
  1888.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1889.  
  1890. } # ac_fn_c_check_func
  1891.  
  1892. # ac_fn_cxx_try_compile LINENO
  1893. # ----------------------------
  1894. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1895. ac_fn_cxx_try_compile ()
  1896. {
  1897.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1898.   rm -f conftest.$ac_objext
  1899.   if { { ac_try="$ac_compile"
  1900. case "(($ac_try" in
  1901.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1902.   *) ac_try_echo=$ac_try;;
  1903. esac
  1904. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1905. $as_echo "$ac_try_echo"; } >&5
  1906.   (eval "$ac_compile") 2>conftest.err
  1907.   ac_status=$?
  1908.   if test -s conftest.err; then
  1909.     grep -v '^ *+' conftest.err >conftest.er1
  1910.     cat conftest.er1 >&5
  1911.     mv -f conftest.er1 conftest.err
  1912.   fi
  1913.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1914.   test $ac_status = 0; } && {
  1915.          test -z "$ac_cxx_werror_flag" ||
  1916.          test ! -s conftest.err
  1917.        } && test -s conftest.$ac_objext; then :
  1918.   ac_retval=0
  1919. else
  1920.   $as_echo "$as_me: failed program was:" >&5
  1921. sed 's/^/| /' conftest.$ac_ext >&5
  1922.  
  1923.         ac_retval=1
  1924. fi
  1925.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1926.   as_fn_set_status $ac_retval
  1927.  
  1928. } # ac_fn_cxx_try_compile
  1929.  
  1930. # ac_fn_cxx_try_cpp LINENO
  1931. # ------------------------
  1932. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1933. ac_fn_cxx_try_cpp ()
  1934. {
  1935.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1936.   if { { ac_try="$ac_cpp conftest.$ac_ext"
  1937. case "(($ac_try" in
  1938.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1939.   *) ac_try_echo=$ac_try;;
  1940. esac
  1941. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1942. $as_echo "$ac_try_echo"; } >&5
  1943.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1944.   ac_status=$?
  1945.   if test -s conftest.err; then
  1946.     grep -v '^ *+' conftest.err >conftest.er1
  1947.     cat conftest.er1 >&5
  1948.     mv -f conftest.er1 conftest.err
  1949.   fi
  1950.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1951.   test $ac_status = 0; } > conftest.i && {
  1952.          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  1953.          test ! -s conftest.err
  1954.        }; then :
  1955.   ac_retval=0
  1956. else
  1957.   $as_echo "$as_me: failed program was:" >&5
  1958. sed 's/^/| /' conftest.$ac_ext >&5
  1959.  
  1960.     ac_retval=1
  1961. fi
  1962.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1963.   as_fn_set_status $ac_retval
  1964.  
  1965. } # ac_fn_cxx_try_cpp
  1966.  
  1967. # ac_fn_cxx_try_link LINENO
  1968. # -------------------------
  1969. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1970. ac_fn_cxx_try_link ()
  1971. {
  1972.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1973.   rm -f conftest.$ac_objext conftest$ac_exeext
  1974.   if { { ac_try="$ac_link"
  1975. case "(($ac_try" in
  1976.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1977.   *) ac_try_echo=$ac_try;;
  1978. esac
  1979. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1980. $as_echo "$ac_try_echo"; } >&5
  1981.   (eval "$ac_link") 2>conftest.err
  1982.   ac_status=$?
  1983.   if test -s conftest.err; then
  1984.     grep -v '^ *+' conftest.err >conftest.er1
  1985.     cat conftest.er1 >&5
  1986.     mv -f conftest.er1 conftest.err
  1987.   fi
  1988.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1989.   test $ac_status = 0; } && {
  1990.          test -z "$ac_cxx_werror_flag" ||
  1991.          test ! -s conftest.err
  1992.        } && test -s conftest$ac_exeext && {
  1993.          test "$cross_compiling" = yes ||
  1994.          test -x conftest$ac_exeext
  1995.        }; then :
  1996.   ac_retval=0
  1997. else
  1998.   $as_echo "$as_me: failed program was:" >&5
  1999. sed 's/^/| /' conftest.$ac_ext >&5
  2000.  
  2001.         ac_retval=1
  2002. fi
  2003.   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2004.   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2005.   # interfere with the next link command; also delete a directory that is
  2006.   # left behind by Apple's compiler.  We do this before executing the actions.
  2007.   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2008.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2009.   as_fn_set_status $ac_retval
  2010.  
  2011. } # ac_fn_cxx_try_link
  2012.  
  2013. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2014. # -------------------------------------------------------
  2015. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2016. # the include files in INCLUDES and setting the cache variable VAR
  2017. # accordingly.
  2018. ac_fn_c_check_header_mongrel ()
  2019. {
  2020.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2021.   if eval \${$3+:} false; then :
  2022.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2023. $as_echo_n "checking for $2... " >&6; }
  2024. if eval \${$3+:} false; then :
  2025.   $as_echo_n "(cached) " >&6
  2026. fi
  2027. eval ac_res=\$$3
  2028.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2029. $as_echo "$ac_res" >&6; }
  2030. else
  2031.   # Is the header compilable?
  2032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2033. $as_echo_n "checking $2 usability... " >&6; }
  2034. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2035. /* end confdefs.h.  */
  2036. $4
  2037. #include <$2>
  2038. _ACEOF
  2039. if ac_fn_c_try_compile "$LINENO"; then :
  2040.   ac_header_compiler=yes
  2041. else
  2042.   ac_header_compiler=no
  2043. fi
  2044. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2045. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2046. $as_echo "$ac_header_compiler" >&6; }
  2047.  
  2048. # Is the header present?
  2049. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2050. $as_echo_n "checking $2 presence... " >&6; }
  2051. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2052. /* end confdefs.h.  */
  2053. #include <$2>
  2054. _ACEOF
  2055. if ac_fn_c_try_cpp "$LINENO"; then :
  2056.   ac_header_preproc=yes
  2057. else
  2058.   ac_header_preproc=no
  2059. fi
  2060. rm -f conftest.err conftest.i conftest.$ac_ext
  2061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2062. $as_echo "$ac_header_preproc" >&6; }
  2063.  
  2064. # So?  What about this header?
  2065. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2066.   yes:no: )
  2067.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2068. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2069.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2070. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2071.     ;;
  2072.   no:yes:* )
  2073.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2074. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2075.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  2076. $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  2077.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2078. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2079.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  2080. $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  2081.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2082. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2083. ( $as_echo "## -------------------------------------- ##
  2084. ## Report this to waldo.bastian@intel.com ##
  2085. ## -------------------------------------- ##"
  2086.      ) | sed "s/^/$as_me: WARNING:     /" >&2
  2087.     ;;
  2088. esac
  2089.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2090. $as_echo_n "checking for $2... " >&6; }
  2091. if eval \${$3+:} false; then :
  2092.   $as_echo_n "(cached) " >&6
  2093. else
  2094.   eval "$3=\$ac_header_compiler"
  2095. fi
  2096. eval ac_res=\$$3
  2097.                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2098. $as_echo "$ac_res" >&6; }
  2099. fi
  2100.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2101.  
  2102. } # ac_fn_c_check_header_mongrel
  2103. cat >config.log <<_ACEOF
  2104. This file contains any messages produced by compilers while
  2105. running configure, to aid debugging if configure makes a mistake.
  2106.  
  2107. It was created by libva $as_me 1.4.1, which was
  2108. generated by GNU Autoconf 2.69.  Invocation command line was
  2109.  
  2110.   $ $0 $@
  2111.  
  2112. _ACEOF
  2113. exec 5>>config.log
  2114. {
  2115. cat <<_ASUNAME
  2116. ## --------- ##
  2117. ## Platform. ##
  2118. ## --------- ##
  2119.  
  2120. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2121. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2122. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2123. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2124. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2125.  
  2126. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2127. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  2128.  
  2129. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  2130. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  2131. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2132. /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  2133. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  2134. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  2135. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  2136.  
  2137. _ASUNAME
  2138.  
  2139. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2140. for as_dir in $PATH
  2141. do
  2142.   IFS=$as_save_IFS
  2143.   test -z "$as_dir" && as_dir=.
  2144.     $as_echo "PATH: $as_dir"
  2145.   done
  2146. IFS=$as_save_IFS
  2147.  
  2148. } >&5
  2149.  
  2150. cat >&5 <<_ACEOF
  2151.  
  2152.  
  2153. ## ----------- ##
  2154. ## Core tests. ##
  2155. ## ----------- ##
  2156.  
  2157. _ACEOF
  2158.  
  2159.  
  2160. # Keep a trace of the command line.
  2161. # Strip out --no-create and --no-recursion so they do not pile up.
  2162. # Strip out --silent because we don't want to record it for future runs.
  2163. # Also quote any args containing shell meta-characters.
  2164. # Make two passes to allow for proper duplicate-argument suppression.
  2165. ac_configure_args=
  2166. ac_configure_args0=
  2167. ac_configure_args1=
  2168. ac_must_keep_next=false
  2169. for ac_pass in 1 2
  2170. do
  2171.   for ac_arg
  2172.   do
  2173.     case $ac_arg in
  2174.     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2175.     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2176.     | -silent | --silent | --silen | --sile | --sil)
  2177.       continue ;;
  2178.     *\'*)
  2179.       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2180.     esac
  2181.     case $ac_pass in
  2182.     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2183.     2)
  2184.       as_fn_append ac_configure_args1 " '$ac_arg'"
  2185.       if test $ac_must_keep_next = true; then
  2186.         ac_must_keep_next=false # Got value, back to normal.
  2187.       else
  2188.         case $ac_arg in
  2189.           *=* | --config-cache | -C | -disable-* | --disable-* \
  2190.           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2191.           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2192.           | -with-* | --with-* | -without-* | --without-* | --x)
  2193.             case "$ac_configure_args0 " in
  2194.               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2195.             esac
  2196.             ;;
  2197.           -* ) ac_must_keep_next=true ;;
  2198.         esac
  2199.       fi
  2200.       as_fn_append ac_configure_args " '$ac_arg'"
  2201.       ;;
  2202.     esac
  2203.   done
  2204. done
  2205. { ac_configure_args0=; unset ac_configure_args0;}
  2206. { ac_configure_args1=; unset ac_configure_args1;}
  2207.  
  2208. # When interrupted or exit'd, cleanup temporary files, and complete
  2209. # config.log.  We remove comments because anyway the quotes in there
  2210. # would cause problems or look ugly.
  2211. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2212. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2213. trap 'exit_status=$?
  2214.   # Save into config.log some information that might help in debugging.
  2215.   {
  2216.     echo
  2217.  
  2218.     $as_echo "## ---------------- ##
  2219. ## Cache variables. ##
  2220. ## ---------------- ##"
  2221.     echo
  2222.     # The following way of writing the cache mishandles newlines in values,
  2223. (
  2224.   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2225.     eval ac_val=\$$ac_var
  2226.     case $ac_val in #(
  2227.     *${as_nl}*)
  2228.       case $ac_var in #(
  2229.       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2230. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2231.       esac
  2232.       case $ac_var in #(
  2233.       _ | IFS | as_nl) ;; #(
  2234.       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2235.       *) { eval $ac_var=; unset $ac_var;} ;;
  2236.       esac ;;
  2237.     esac
  2238.   done
  2239.   (set) 2>&1 |
  2240.     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2241.     *${as_nl}ac_space=\ *)
  2242.       sed -n \
  2243.         "s/'\''/'\''\\\\'\'''\''/g;
  2244.           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2245.       ;; #(
  2246.     *)
  2247.       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2248.       ;;
  2249.     esac |
  2250.     sort
  2251. )
  2252.     echo
  2253.  
  2254.     $as_echo "## ----------------- ##
  2255. ## Output variables. ##
  2256. ## ----------------- ##"
  2257.     echo
  2258.     for ac_var in $ac_subst_vars
  2259.     do
  2260.       eval ac_val=\$$ac_var
  2261.       case $ac_val in
  2262.       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2263.       esac
  2264.       $as_echo "$ac_var='\''$ac_val'\''"
  2265.     done | sort
  2266.     echo
  2267.  
  2268.     if test -n "$ac_subst_files"; then
  2269.       $as_echo "## ------------------- ##
  2270. ## File substitutions. ##
  2271. ## ------------------- ##"
  2272.       echo
  2273.       for ac_var in $ac_subst_files
  2274.       do
  2275.         eval ac_val=\$$ac_var
  2276.         case $ac_val in
  2277.         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2278.         esac
  2279.         $as_echo "$ac_var='\''$ac_val'\''"
  2280.       done | sort
  2281.       echo
  2282.     fi
  2283.  
  2284.     if test -s confdefs.h; then
  2285.       $as_echo "## ----------- ##
  2286. ## confdefs.h. ##
  2287. ## ----------- ##"
  2288.       echo
  2289.       cat confdefs.h
  2290.       echo
  2291.     fi
  2292.     test "$ac_signal" != 0 &&
  2293.       $as_echo "$as_me: caught signal $ac_signal"
  2294.     $as_echo "$as_me: exit $exit_status"
  2295.   } >&5
  2296.   rm -f core *.core core.conftest.* &&
  2297.     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2298.     exit $exit_status
  2299. ' 0
  2300. for ac_signal in 1 2 13 15; do
  2301.   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2302. done
  2303. ac_signal=0
  2304.  
  2305. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2306. rm -f -r conftest* confdefs.h
  2307.  
  2308. $as_echo "/* confdefs.h */" > confdefs.h
  2309.  
  2310. # Predefined preprocessor variables.
  2311.  
  2312. cat >>confdefs.h <<_ACEOF
  2313. #define PACKAGE_NAME "$PACKAGE_NAME"
  2314. _ACEOF
  2315.  
  2316. cat >>confdefs.h <<_ACEOF
  2317. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2318. _ACEOF
  2319.  
  2320. cat >>confdefs.h <<_ACEOF
  2321. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2322. _ACEOF
  2323.  
  2324. cat >>confdefs.h <<_ACEOF
  2325. #define PACKAGE_STRING "$PACKAGE_STRING"
  2326. _ACEOF
  2327.  
  2328. cat >>confdefs.h <<_ACEOF
  2329. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2330. _ACEOF
  2331.  
  2332. cat >>confdefs.h <<_ACEOF
  2333. #define PACKAGE_URL "$PACKAGE_URL"
  2334. _ACEOF
  2335.  
  2336.  
  2337. # Let the site file select an alternate cache file if it wants to.
  2338. # Prefer an explicitly selected file to automatically selected ones.
  2339. ac_site_file1=NONE
  2340. ac_site_file2=NONE
  2341. if test -n "$CONFIG_SITE"; then
  2342.   # We do not want a PATH search for config.site.
  2343.   case $CONFIG_SITE in #((
  2344.     -*)  ac_site_file1=./$CONFIG_SITE;;
  2345.     */*) ac_site_file1=$CONFIG_SITE;;
  2346.     *)   ac_site_file1=./$CONFIG_SITE;;
  2347.   esac
  2348. elif test "x$prefix" != xNONE; then
  2349.   ac_site_file1=$prefix/share/config.site
  2350.   ac_site_file2=$prefix/etc/config.site
  2351. else
  2352.   ac_site_file1=$ac_default_prefix/share/config.site
  2353.   ac_site_file2=$ac_default_prefix/etc/config.site
  2354. fi
  2355. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2356. do
  2357.   test "x$ac_site_file" = xNONE && continue
  2358.   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2359.     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2360. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2361.     sed 's/^/| /' "$ac_site_file" >&5
  2362.     . "$ac_site_file" \
  2363.       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2364. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2365. as_fn_error $? "failed to load site script $ac_site_file
  2366. See \`config.log' for more details" "$LINENO" 5; }
  2367.   fi
  2368. done
  2369.  
  2370. if test -r "$cache_file"; then
  2371.   # Some versions of bash will fail to source /dev/null (special files
  2372.   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  2373.   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2374.     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2375. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2376.     case $cache_file in
  2377.       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2378.       *)                      . "./$cache_file";;
  2379.     esac
  2380.   fi
  2381. else
  2382.   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2383. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2384.   >$cache_file
  2385. fi
  2386.  
  2387. # Check that the precious variables saved in the cache have kept the same
  2388. # value.
  2389. ac_cache_corrupted=false
  2390. for ac_var in $ac_precious_vars; do
  2391.   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2392.   eval ac_new_set=\$ac_env_${ac_var}_set
  2393.   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2394.   eval ac_new_val=\$ac_env_${ac_var}_value
  2395.   case $ac_old_set,$ac_new_set in
  2396.     set,)
  2397.       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2398. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2399.       ac_cache_corrupted=: ;;
  2400.     ,set)
  2401.       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2402. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2403.       ac_cache_corrupted=: ;;
  2404.     ,);;
  2405.     *)
  2406.       if test "x$ac_old_val" != "x$ac_new_val"; then
  2407.         # differences in whitespace do not lead to failure.
  2408.         ac_old_val_w=`echo x $ac_old_val`
  2409.         ac_new_val_w=`echo x $ac_new_val`
  2410.         if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2411.           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2412. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2413.           ac_cache_corrupted=:
  2414.         else
  2415.           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2416. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2417.           eval $ac_var=\$ac_old_val
  2418.         fi
  2419.         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  2420. $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2421.         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  2422. $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2423.       fi;;
  2424.   esac
  2425.   # Pass precious variables to config.status.
  2426.   if test "$ac_new_set" = set; then
  2427.     case $ac_new_val in
  2428.     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2429.     *) ac_arg=$ac_var=$ac_new_val ;;
  2430.     esac
  2431.     case " $ac_configure_args " in
  2432.       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2433.       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2434.     esac
  2435.   fi
  2436. done
  2437. if $ac_cache_corrupted; then
  2438.   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2439. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2440.   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2441. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2442.   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2443. fi
  2444. ## -------------------- ##
  2445. ## Main body of script. ##
  2446. ## -------------------- ##
  2447.  
  2448. ac_ext=c
  2449. ac_cpp='$CPP $CPPFLAGS'
  2450. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2451. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2452. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2453.  
  2454.  
  2455.  
  2456.  
  2457. am__api_version='1.14'
  2458.  
  2459. ac_aux_dir=
  2460. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2461.   if test -f "$ac_dir/install-sh"; then
  2462.     ac_aux_dir=$ac_dir
  2463.     ac_install_sh="$ac_aux_dir/install-sh -c"
  2464.     break
  2465.   elif test -f "$ac_dir/install.sh"; then
  2466.     ac_aux_dir=$ac_dir
  2467.     ac_install_sh="$ac_aux_dir/install.sh -c"
  2468.     break
  2469.   elif test -f "$ac_dir/shtool"; then
  2470.     ac_aux_dir=$ac_dir
  2471.     ac_install_sh="$ac_aux_dir/shtool install -c"
  2472.     break
  2473.   fi
  2474. done
  2475. if test -z "$ac_aux_dir"; then
  2476.   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2477. fi
  2478.  
  2479. # These three variables are undocumented and unsupported,
  2480. # and are intended to be withdrawn in a future Autoconf release.
  2481. # They can cause serious problems if a builder's source tree is in a directory
  2482. # whose full name contains unusual characters.
  2483. ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2484. ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2485. ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2486.  
  2487.  
  2488. # Find a good install program.  We prefer a C program (faster),
  2489. # so one script is as good as another.  But avoid the broken or
  2490. # incompatible versions:
  2491. # SysV /etc/install, /usr/sbin/install
  2492. # SunOS /usr/etc/install
  2493. # IRIX /sbin/install
  2494. # AIX /bin/install
  2495. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2496. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2497. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2498. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2499. # OS/2's system install, which has a completely different semantic
  2500. # ./install, which can be erroneously created by make from ./install.sh.
  2501. # Reject install programs that cannot install multiple files.
  2502. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2503. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2504. if test -z "$INSTALL"; then
  2505. if ${ac_cv_path_install+:} false; then :
  2506.   $as_echo_n "(cached) " >&6
  2507. else
  2508.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2509. for as_dir in $PATH
  2510. do
  2511.   IFS=$as_save_IFS
  2512.   test -z "$as_dir" && as_dir=.
  2513.     # Account for people who put trailing slashes in PATH elements.
  2514. case $as_dir/ in #((
  2515.   ./ | .// | /[cC]/* | \
  2516.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2517.   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2518.   /usr/ucb/* ) ;;
  2519.   *)
  2520.     # OSF1 and SCO ODT 3.0 have their own names for install.
  2521.     # Don't use installbsd from OSF since it installs stuff as root
  2522.     # by default.
  2523.     for ac_prog in ginstall scoinst install; do
  2524.       for ac_exec_ext in '' $ac_executable_extensions; do
  2525.         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2526.           if test $ac_prog = install &&
  2527.             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2528.             # AIX install.  It has an incompatible calling convention.
  2529.             :
  2530.           elif test $ac_prog = install &&
  2531.             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2532.             # program-specific install script used by HP pwplus--don't use.
  2533.             :
  2534.           else
  2535.             rm -rf conftest.one conftest.two conftest.dir
  2536.             echo one > conftest.one
  2537.             echo two > conftest.two
  2538.             mkdir conftest.dir
  2539.             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2540.               test -s conftest.one && test -s conftest.two &&
  2541.               test -s conftest.dir/conftest.one &&
  2542.               test -s conftest.dir/conftest.two
  2543.             then
  2544.               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2545.               break 3
  2546.             fi
  2547.           fi
  2548.         fi
  2549.       done
  2550.     done
  2551.     ;;
  2552. esac
  2553.  
  2554.   done
  2555. IFS=$as_save_IFS
  2556.  
  2557. rm -rf conftest.one conftest.two conftest.dir
  2558.  
  2559. fi
  2560.   if test "${ac_cv_path_install+set}" = set; then
  2561.     INSTALL=$ac_cv_path_install
  2562.   else
  2563.     # As a last resort, use the slow shell script.  Don't cache a
  2564.     # value for INSTALL within a source directory, because that will
  2565.     # break other packages using the cache if that directory is
  2566.     # removed, or if the value is a relative name.
  2567.     INSTALL=$ac_install_sh
  2568.   fi
  2569. fi
  2570. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2571. $as_echo "$INSTALL" >&6; }
  2572.  
  2573. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2574. # It thinks the first close brace ends the variable substitution.
  2575. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2576.  
  2577. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2578.  
  2579. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2580.  
  2581. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2582. $as_echo_n "checking whether build environment is sane... " >&6; }
  2583. # Reject unsafe characters in $srcdir or the absolute working directory
  2584. # name.  Accept space and tab only in the latter.
  2585. am_lf='
  2586. '
  2587. case `pwd` in
  2588.   *[\\\"\#\$\&\'\`$am_lf]*)
  2589.     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2590. esac
  2591. case $srcdir in
  2592.   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
  2593.     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2594. esac
  2595.  
  2596. # Do 'set' in a subshell so we don't clobber the current shell's
  2597. # arguments.  Must try -L first in case configure is actually a
  2598. # symlink; some systems play weird games with the mod time of symlinks
  2599. # (eg FreeBSD returns the mod time of the symlink's containing
  2600. # directory).
  2601. if (
  2602.    am_has_slept=no
  2603.    for am_try in 1 2; do
  2604.      echo "timestamp, slept: $am_has_slept" > conftest.file
  2605.      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2606.      if test "$*" = "X"; then
  2607.         # -L didn't work.
  2608.         set X `ls -t "$srcdir/configure" conftest.file`
  2609.      fi
  2610.      if test "$*" != "X $srcdir/configure conftest.file" \
  2611.         && test "$*" != "X conftest.file $srcdir/configure"; then
  2612.  
  2613.         # If neither matched, then we have a broken ls.  This can happen
  2614.         # if, for instance, CONFIG_SHELL is bash and it inherits a
  2615.         # broken ls alias from the environment.  This has actually
  2616.         # happened.  Such a system could not be considered "sane".
  2617.         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
  2618.   alias in your environment" "$LINENO" 5
  2619.      fi
  2620.      if test "$2" = conftest.file || test $am_try -eq 2; then
  2621.        break
  2622.      fi
  2623.      # Just in case.
  2624.      sleep 1
  2625.      am_has_slept=yes
  2626.    done
  2627.    test "$2" = conftest.file
  2628.    )
  2629. then
  2630.    # Ok.
  2631.    :
  2632. else
  2633.    as_fn_error $? "newly created file is older than distributed files!
  2634. Check your system clock" "$LINENO" 5
  2635. fi
  2636. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2637. $as_echo "yes" >&6; }
  2638. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2639. # generated files are strictly newer.
  2640. am_sleep_pid=
  2641. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2642.   ( sleep 1 ) &
  2643.   am_sleep_pid=$!
  2644. fi
  2645.  
  2646. rm -f conftest.file
  2647.  
  2648. test "$program_prefix" != NONE &&
  2649.   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2650. # Use a double $ so make ignores it.
  2651. test "$program_suffix" != NONE &&
  2652.   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2653. # Double any \ or $.
  2654. # By default was `s,x,x', remove it if useless.
  2655. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2656. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2657.  
  2658. # expand $ac_aux_dir to an absolute path
  2659. am_aux_dir=`cd $ac_aux_dir && pwd`
  2660.  
  2661. if test x"${MISSING+set}" != xset; then
  2662.   case $am_aux_dir in
  2663.   *\ * | *\     *)
  2664.     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2665.   *)
  2666.     MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2667.   esac
  2668. fi
  2669. # Use eval to expand $SHELL
  2670. if eval "$MISSING --is-lightweight"; then
  2671.   am_missing_run="$MISSING "
  2672. else
  2673.   am_missing_run=
  2674.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2675. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2676. fi
  2677.  
  2678. if test x"${install_sh}" != xset; then
  2679.   case $am_aux_dir in
  2680.   *\ * | *\     *)
  2681.     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2682.   *)
  2683.     install_sh="\${SHELL} $am_aux_dir/install-sh"
  2684.   esac
  2685. fi
  2686.  
  2687. # Installed binaries are usually stripped using 'strip' when the user
  2688. # run "make install-strip".  However 'strip' might not be the right
  2689. # tool to use in cross-compilation environments, therefore Automake
  2690. # will honor the 'STRIP' environment variable to overrule this program.
  2691. if test "$cross_compiling" != no; then
  2692.   if test -n "$ac_tool_prefix"; then
  2693.   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2694. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2695. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2696. $as_echo_n "checking for $ac_word... " >&6; }
  2697. if ${ac_cv_prog_STRIP+:} false; then :
  2698.   $as_echo_n "(cached) " >&6
  2699. else
  2700.   if test -n "$STRIP"; then
  2701.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2702. else
  2703. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2704. for as_dir in $PATH
  2705. do
  2706.   IFS=$as_save_IFS
  2707.   test -z "$as_dir" && as_dir=.
  2708.     for ac_exec_ext in '' $ac_executable_extensions; do
  2709.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2710.     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2711.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2712.     break 2
  2713.   fi
  2714. done
  2715.   done
  2716. IFS=$as_save_IFS
  2717.  
  2718. fi
  2719. fi
  2720. STRIP=$ac_cv_prog_STRIP
  2721. if test -n "$STRIP"; then
  2722.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2723. $as_echo "$STRIP" >&6; }
  2724. else
  2725.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2726. $as_echo "no" >&6; }
  2727. fi
  2728.  
  2729.  
  2730. fi
  2731. if test -z "$ac_cv_prog_STRIP"; then
  2732.   ac_ct_STRIP=$STRIP
  2733.   # Extract the first word of "strip", so it can be a program name with args.
  2734. set dummy strip; ac_word=$2
  2735. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2736. $as_echo_n "checking for $ac_word... " >&6; }
  2737. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2738.   $as_echo_n "(cached) " >&6
  2739. else
  2740.   if test -n "$ac_ct_STRIP"; then
  2741.   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2742. else
  2743. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2744. for as_dir in $PATH
  2745. do
  2746.   IFS=$as_save_IFS
  2747.   test -z "$as_dir" && as_dir=.
  2748.     for ac_exec_ext in '' $ac_executable_extensions; do
  2749.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2750.     ac_cv_prog_ac_ct_STRIP="strip"
  2751.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2752.     break 2
  2753.   fi
  2754. done
  2755.   done
  2756. IFS=$as_save_IFS
  2757.  
  2758. fi
  2759. fi
  2760. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2761. if test -n "$ac_ct_STRIP"; then
  2762.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2763. $as_echo "$ac_ct_STRIP" >&6; }
  2764. else
  2765.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2766. $as_echo "no" >&6; }
  2767. fi
  2768.  
  2769.   if test "x$ac_ct_STRIP" = x; then
  2770.     STRIP=":"
  2771.   else
  2772.     case $cross_compiling:$ac_tool_warned in
  2773. yes:)
  2774. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2775. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2776. ac_tool_warned=yes ;;
  2777. esac
  2778.     STRIP=$ac_ct_STRIP
  2779.   fi
  2780. else
  2781.   STRIP="$ac_cv_prog_STRIP"
  2782. fi
  2783.  
  2784. fi
  2785. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2786.  
  2787. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2788. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2789. if test -z "$MKDIR_P"; then
  2790.   if ${ac_cv_path_mkdir+:} false; then :
  2791.   $as_echo_n "(cached) " >&6
  2792. else
  2793.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2794. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2795. do
  2796.   IFS=$as_save_IFS
  2797.   test -z "$as_dir" && as_dir=.
  2798.     for ac_prog in mkdir gmkdir; do
  2799.          for ac_exec_ext in '' $ac_executable_extensions; do
  2800.            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2801.            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2802.              'mkdir (GNU coreutils) '* | \
  2803.              'mkdir (coreutils) '* | \
  2804.              'mkdir (fileutils) '4.1*)
  2805.                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2806.                break 3;;
  2807.            esac
  2808.          done
  2809.        done
  2810.   done
  2811. IFS=$as_save_IFS
  2812.  
  2813. fi
  2814.  
  2815.   test -d ./--version && rmdir ./--version
  2816.   if test "${ac_cv_path_mkdir+set}" = set; then
  2817.     MKDIR_P="$ac_cv_path_mkdir -p"
  2818.   else
  2819.     # As a last resort, use the slow shell script.  Don't cache a
  2820.     # value for MKDIR_P within a source directory, because that will
  2821.     # break other packages using the cache if that directory is
  2822.     # removed, or if the value is a relative name.
  2823.     MKDIR_P="$ac_install_sh -d"
  2824.   fi
  2825. fi
  2826. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2827. $as_echo "$MKDIR_P" >&6; }
  2828.  
  2829. for ac_prog in gawk mawk nawk awk
  2830. do
  2831.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2832. set dummy $ac_prog; ac_word=$2
  2833. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2834. $as_echo_n "checking for $ac_word... " >&6; }
  2835. if ${ac_cv_prog_AWK+:} false; then :
  2836.   $as_echo_n "(cached) " >&6
  2837. else
  2838.   if test -n "$AWK"; then
  2839.   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2840. else
  2841. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2842. for as_dir in $PATH
  2843. do
  2844.   IFS=$as_save_IFS
  2845.   test -z "$as_dir" && as_dir=.
  2846.     for ac_exec_ext in '' $ac_executable_extensions; do
  2847.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2848.     ac_cv_prog_AWK="$ac_prog"
  2849.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2850.     break 2
  2851.   fi
  2852. done
  2853.   done
  2854. IFS=$as_save_IFS
  2855.  
  2856. fi
  2857. fi
  2858. AWK=$ac_cv_prog_AWK
  2859. if test -n "$AWK"; then
  2860.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2861. $as_echo "$AWK" >&6; }
  2862. else
  2863.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2864. $as_echo "no" >&6; }
  2865. fi
  2866.  
  2867.  
  2868.   test -n "$AWK" && break
  2869. done
  2870.  
  2871. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2872. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2873. set x ${MAKE-make}
  2874. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2875. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2876.   $as_echo_n "(cached) " >&6
  2877. else
  2878.   cat >conftest.make <<\_ACEOF
  2879. SHELL = /bin/sh
  2880. all:
  2881.         @echo '@@@%%%=$(MAKE)=@@@%%%'
  2882. _ACEOF
  2883. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2884. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2885.   *@@@%%%=?*=@@@%%%*)
  2886.     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2887.   *)
  2888.     eval ac_cv_prog_make_${ac_make}_set=no;;
  2889. esac
  2890. rm -f conftest.make
  2891. fi
  2892. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2893.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2894. $as_echo "yes" >&6; }
  2895.   SET_MAKE=
  2896. else
  2897.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2898. $as_echo "no" >&6; }
  2899.   SET_MAKE="MAKE=${MAKE-make}"
  2900. fi
  2901.  
  2902. rm -rf .tst 2>/dev/null
  2903. mkdir .tst 2>/dev/null
  2904. if test -d .tst; then
  2905.   am__leading_dot=.
  2906. else
  2907.   am__leading_dot=_
  2908. fi
  2909. rmdir .tst 2>/dev/null
  2910.  
  2911. # Check whether --enable-silent-rules was given.
  2912. if test "${enable_silent_rules+set}" = set; then :
  2913.   enableval=$enable_silent_rules;
  2914. fi
  2915.  
  2916. case $enable_silent_rules in # (((
  2917.   yes) AM_DEFAULT_VERBOSITY=0;;
  2918.    no) AM_DEFAULT_VERBOSITY=1;;
  2919.     *) AM_DEFAULT_VERBOSITY=1;;
  2920. esac
  2921. am_make=${MAKE-make}
  2922. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2923. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2924. if ${am_cv_make_support_nested_variables+:} false; then :
  2925.   $as_echo_n "(cached) " >&6
  2926. else
  2927.   if $as_echo 'TRUE=$(BAR$(V))
  2928. BAR0=false
  2929. BAR1=true
  2930. V=1
  2931. am__doit:
  2932.         @$(TRUE)
  2933. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2934.   am_cv_make_support_nested_variables=yes
  2935. else
  2936.   am_cv_make_support_nested_variables=no
  2937. fi
  2938. fi
  2939. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2940. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2941. if test $am_cv_make_support_nested_variables = yes; then
  2942.     AM_V='$(V)'
  2943.   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2944. else
  2945.   AM_V=$AM_DEFAULT_VERBOSITY
  2946.   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2947. fi
  2948. AM_BACKSLASH='\'
  2949.  
  2950. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2951.   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2952.   # is not polluted with repeated "-I."
  2953.   am__isrc=' -I$(srcdir)'
  2954.   # test to see if srcdir already configured
  2955.   if test -f $srcdir/config.status; then
  2956.     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2957.   fi
  2958. fi
  2959.  
  2960. # test whether we have cygpath
  2961. if test -z "$CYGPATH_W"; then
  2962.   if (cygpath --version) >/dev/null 2>/dev/null; then
  2963.     CYGPATH_W='cygpath -w'
  2964.   else
  2965.     CYGPATH_W=echo
  2966.   fi
  2967. fi
  2968.  
  2969.  
  2970. # Define the identity of the package.
  2971.  PACKAGE='libva'
  2972.  VERSION='1.4.1'
  2973.  
  2974.  
  2975. cat >>confdefs.h <<_ACEOF
  2976. #define PACKAGE "$PACKAGE"
  2977. _ACEOF
  2978.  
  2979.  
  2980. cat >>confdefs.h <<_ACEOF
  2981. #define VERSION "$VERSION"
  2982. _ACEOF
  2983.  
  2984. # Some tools Automake needs.
  2985.  
  2986. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2987.  
  2988.  
  2989. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2990.  
  2991.  
  2992. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2993.  
  2994.  
  2995. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2996.  
  2997.  
  2998. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2999.  
  3000. # For better backward compatibility.  To be removed once Automake 1.9.x
  3001. # dies out for good.  For more background, see:
  3002. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  3003. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  3004. mkdir_p='$(MKDIR_P)'
  3005.  
  3006. # We need awk for the "check" target.  The system "awk" is bad on
  3007. # some platforms.
  3008. # Always define AMTAR for backward compatibility.  Yes, it's still used
  3009. # in the wild :-(  We should find a proper way to deprecate it ...
  3010. AMTAR='$${TAR-tar}'
  3011.  
  3012.  
  3013. # We'll loop over all known methods to create a tar archive until one works.
  3014. _am_tools='gnutar  pax cpio none'
  3015.  
  3016. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023. # POSIX will say in a future version that running "rm -f" with no argument
  3024. # is OK; and we want to be able to make that assumption in our Makefile
  3025. # recipes.  So use an aggressive probe to check that the usage we want is
  3026. # actually supported "in the wild" to an acceptable degree.
  3027. # See automake bug#10828.
  3028. # To make any issue more visible, cause the running configure to be aborted
  3029. # by default if the 'rm' program in use doesn't match our expectations; the
  3030. # user can still override this though.
  3031. if rm -f && rm -fr && rm -rf; then : OK; else
  3032.   cat >&2 <<'END'
  3033. Oops!
  3034.  
  3035. Your 'rm' program seems unable to run without file operands specified
  3036. on the command line, even when the '-f' option is present.  This is contrary
  3037. to the behaviour of most rm programs out there, and not conforming with
  3038. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  3039.  
  3040. Please tell bug-automake@gnu.org about your system, including the value
  3041. of your $PATH and any error possibly output before this message.  This
  3042. can help us improve future automake versions.
  3043.  
  3044. END
  3045.   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  3046.     echo 'Configuration will proceed anyway, since you have set the' >&2
  3047.     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  3048.     echo >&2
  3049.   else
  3050.     cat >&2 <<'END'
  3051. Aborting the configuration process, to ensure you take notice of the issue.
  3052.  
  3053. You can download and install GNU coreutils to get an 'rm' implementation
  3054. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  3055.  
  3056. If you want to complete the configuration process using your problematic
  3057. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  3058. to "yes", and re-run configure.
  3059.  
  3060. END
  3061.     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  3062.   fi
  3063. fi
  3064.  
  3065. ac_config_headers="$ac_config_headers config.h"
  3066.  
  3067. # Check whether --enable-silent-rules was given.
  3068. if test "${enable_silent_rules+set}" = set; then :
  3069.   enableval=$enable_silent_rules;
  3070. fi
  3071.  
  3072. case $enable_silent_rules in # (((
  3073.   yes) AM_DEFAULT_VERBOSITY=0;;
  3074.    no) AM_DEFAULT_VERBOSITY=1;;
  3075.     *) AM_DEFAULT_VERBOSITY=0;;
  3076. esac
  3077. am_make=${MAKE-make}
  3078. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  3079. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  3080. if ${am_cv_make_support_nested_variables+:} false; then :
  3081.   $as_echo_n "(cached) " >&6
  3082. else
  3083.   if $as_echo 'TRUE=$(BAR$(V))
  3084. BAR0=false
  3085. BAR1=true
  3086. V=1
  3087. am__doit:
  3088.         @$(TRUE)
  3089. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  3090.   am_cv_make_support_nested_variables=yes
  3091. else
  3092.   am_cv_make_support_nested_variables=no
  3093. fi
  3094. fi
  3095. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  3096. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  3097. if test $am_cv_make_support_nested_variables = yes; then
  3098.     AM_V='$(V)'
  3099.   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  3100. else
  3101.   AM_V=$AM_DEFAULT_VERBOSITY
  3102.   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  3103. fi
  3104. AM_BACKSLASH='\'
  3105.  
  3106.  
  3107. TODAY="`LC_ALL=C date +'%a, %d %b %Y %X %z'`"
  3108.  
  3109.  
  3110. VA_API_MAJOR_VERSION=0
  3111. VA_API_MINOR_VERSION=36
  3112. VA_API_MICRO_VERSION=0
  3113. VA_API_VERSION=0.36.0
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119. LIBVA_MAJOR_VERSION=1
  3120. LIBVA_MINOR_VERSION=4
  3121. LIBVA_MICRO_VERSION=1
  3122. LIBVA_VERSION=1.4.1
  3123.  
  3124.  
  3125.  
  3126.  
  3127.  
  3128. LIBVA_LT_CURRENT=3601
  3129. LIBVA_LT_REV=0
  3130. LIBVA_LT_AGE=3600
  3131. LIBVA_LT_VERSION="$LIBVA_LT_CURRENT:$LIBVA_LT_REV:$LIBVA_LT_AGE"
  3132. LIBVA_LT_LDFLAGS="-version-info $LIBVA_LT_VERSION"
  3133.  
  3134.  
  3135.  
  3136. # Check whether --enable-docs was given.
  3137. if test "${enable_docs+set}" = set; then :
  3138.   enableval=$enable_docs;
  3139. else
  3140.   enable_docs="no"
  3141. fi
  3142.  
  3143.  
  3144. # Check whether --enable-drm was given.
  3145. if test "${enable_drm+set}" = set; then :
  3146.   enableval=$enable_drm;
  3147. else
  3148.   enable_drm="yes"
  3149. fi
  3150.  
  3151.  
  3152. # Check whether --enable-x11 was given.
  3153. if test "${enable_x11+set}" = set; then :
  3154.   enableval=$enable_x11;
  3155. else
  3156.   enable_x11="yes"
  3157. fi
  3158.  
  3159.  
  3160. # Check whether --enable-glx was given.
  3161. if test "${enable_glx+set}" = set; then :
  3162.   enableval=$enable_glx;
  3163. else
  3164.   enable_glx="yes"
  3165. fi
  3166.  
  3167.  
  3168. # Check whether --enable-egl was given.
  3169. if test "${enable_egl+set}" = set; then :
  3170.   enableval=$enable_egl;
  3171. else
  3172.   enable_egl="yes"
  3173. fi
  3174.  
  3175.  
  3176. # Check whether --enable-wayland was given.
  3177. if test "${enable_wayland+set}" = set; then :
  3178.   enableval=$enable_wayland;
  3179. else
  3180.   enable_wayland="yes"
  3181. fi
  3182.  
  3183.  
  3184. # Check whether --enable-dummy-driver was given.
  3185. if test "${enable_dummy_driver+set}" = set; then :
  3186.   enableval=$enable_dummy_driver;
  3187. else
  3188.   enable_dummy_driver="yes"
  3189. fi
  3190.  
  3191.  if test x$enable_dummy_driver = xyes; then
  3192.   BUILD_DUMMY_DRIVER_TRUE=
  3193.   BUILD_DUMMY_DRIVER_FALSE='#'
  3194. else
  3195.   BUILD_DUMMY_DRIVER_TRUE='#'
  3196.   BUILD_DUMMY_DRIVER_FALSE=
  3197. fi
  3198.  
  3199.  
  3200.  
  3201. # Check whether --with-drivers-path was given.
  3202. if test "${with_drivers_path+set}" = set; then :
  3203.   withval=$with_drivers_path;
  3204. else
  3205.   with_drivers_path="$libdir/dri"
  3206. fi
  3207.  
  3208.  
  3209. LIBVA_DRIVERS_PATH="$with_drivers_path"
  3210.  
  3211.  
  3212. # Check whether --enable-static was given.
  3213. if test "${enable_static+set}" = set; then :
  3214.   enableval=$enable_static; p=${PACKAGE-default}
  3215.     case $enableval in
  3216.     yes) enable_static=yes ;;
  3217.     no) enable_static=no ;;
  3218.     *)
  3219.      enable_static=no
  3220.       # Look at the argument we got.  We use all the common list separators.
  3221.       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  3222.       for pkg in $enableval; do
  3223.         IFS="$lt_save_ifs"
  3224.         if test "X$pkg" = "X$p"; then
  3225.           enable_static=yes
  3226.         fi
  3227.       done
  3228.       IFS="$lt_save_ifs"
  3229.       ;;
  3230.     esac
  3231. else
  3232.   enable_static=no
  3233. fi
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243. case `pwd` in
  3244.   *\ * | *\     *)
  3245.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  3246. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  3247. esac
  3248.  
  3249.  
  3250.  
  3251. macro_version='2.4.2'
  3252. macro_revision='1.3337'
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266. ltmain="$ac_aux_dir/ltmain.sh"
  3267.  
  3268. # Make sure we can run config.sub.
  3269. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3270.   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3271.  
  3272. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3273. $as_echo_n "checking build system type... " >&6; }
  3274. if ${ac_cv_build+:} false; then :
  3275.   $as_echo_n "(cached) " >&6
  3276. else
  3277.   ac_build_alias=$build_alias
  3278. test "x$ac_build_alias" = x &&
  3279.   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3280. test "x$ac_build_alias" = x &&
  3281.   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  3282. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3283.   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3284.  
  3285. fi
  3286. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3287. $as_echo "$ac_cv_build" >&6; }
  3288. case $ac_cv_build in
  3289. *-*-*) ;;
  3290. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  3291. esac
  3292. build=$ac_cv_build
  3293. ac_save_IFS=$IFS; IFS='-'
  3294. set x $ac_cv_build
  3295. shift
  3296. build_cpu=$1
  3297. build_vendor=$2
  3298. shift; shift
  3299. # Remember, the first character of IFS is used to create $*,
  3300. # except with old shells:
  3301. build_os=$*
  3302. IFS=$ac_save_IFS
  3303. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3304.  
  3305.  
  3306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3307. $as_echo_n "checking host system type... " >&6; }
  3308. if ${ac_cv_host+:} false; then :
  3309.   $as_echo_n "(cached) " >&6
  3310. else
  3311.   if test "x$host_alias" = x; then
  3312.   ac_cv_host=$ac_cv_build
  3313. else
  3314.   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3315.     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3316. fi
  3317.  
  3318. fi
  3319. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3320. $as_echo "$ac_cv_host" >&6; }
  3321. case $ac_cv_host in
  3322. *-*-*) ;;
  3323. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  3324. esac
  3325. host=$ac_cv_host
  3326. ac_save_IFS=$IFS; IFS='-'
  3327. set x $ac_cv_host
  3328. shift
  3329. host_cpu=$1
  3330. host_vendor=$2
  3331. shift; shift
  3332. # Remember, the first character of IFS is used to create $*,
  3333. # except with old shells:
  3334. host_os=$*
  3335. IFS=$ac_save_IFS
  3336. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3337.  
  3338.  
  3339. # Backslashify metacharacters that are still active within
  3340. # double-quoted strings.
  3341. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  3342.  
  3343. # Same as above, but do not quote variable references.
  3344. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  3345.  
  3346. # Sed substitution to delay expansion of an escaped shell variable in a
  3347. # double_quote_subst'ed string.
  3348. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  3349.  
  3350. # Sed substitution to delay expansion of an escaped single quote.
  3351. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  3352.  
  3353. # Sed substitution to avoid accidental globbing in evaled expressions
  3354. no_glob_subst='s/\*/\\\*/g'
  3355.  
  3356. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  3357. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  3358. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  3359.  
  3360. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  3361. $as_echo_n "checking how to print strings... " >&6; }
  3362. # Test print first, because it will be a builtin if present.
  3363. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  3364.    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  3365.   ECHO='print -r --'
  3366. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  3367.   ECHO='printf %s\n'
  3368. else
  3369.   # Use this function as a fallback that always works.
  3370.   func_fallback_echo ()
  3371.   {
  3372.     eval 'cat <<_LTECHO_EOF
  3373. $1
  3374. _LTECHO_EOF'
  3375.   }
  3376.   ECHO='func_fallback_echo'
  3377. fi
  3378.  
  3379. # func_echo_all arg...
  3380. # Invoke $ECHO with all args, space-separated.
  3381. func_echo_all ()
  3382. {
  3383.     $ECHO ""
  3384. }
  3385.  
  3386. case "$ECHO" in
  3387.   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  3388. $as_echo "printf" >&6; } ;;
  3389.   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  3390. $as_echo "print -r" >&6; } ;;
  3391.   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  3392. $as_echo "cat" >&6; } ;;
  3393. esac
  3394.  
  3395.  
  3396.  
  3397.  
  3398.  
  3399.  
  3400.  
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408. DEPDIR="${am__leading_dot}deps"
  3409.  
  3410. ac_config_commands="$ac_config_commands depfiles"
  3411.  
  3412.  
  3413. am_make=${MAKE-make}
  3414. cat > confinc << 'END'
  3415. am__doit:
  3416.         @echo this is the am__doit target
  3417. .PHONY: am__doit
  3418. END
  3419. # If we don't find an include directive, just comment out the code.
  3420. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3421. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3422. am__include="#"
  3423. am__quote=
  3424. _am_result=none
  3425. # First try GNU make style include.
  3426. echo "include confinc" > confmf
  3427. # Ignore all kinds of additional output from 'make'.
  3428. case `$am_make -s -f confmf 2> /dev/null` in #(
  3429. *the\ am__doit\ target*)
  3430.   am__include=include
  3431.   am__quote=
  3432.   _am_result=GNU
  3433.   ;;
  3434. esac
  3435. # Now try BSD make style include.
  3436. if test "$am__include" = "#"; then
  3437.    echo '.include "confinc"' > confmf
  3438.    case `$am_make -s -f confmf 2> /dev/null` in #(
  3439.    *the\ am__doit\ target*)
  3440.      am__include=.include
  3441.      am__quote="\""
  3442.      _am_result=BSD
  3443.      ;;
  3444.    esac
  3445. fi
  3446.  
  3447.  
  3448. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3449. $as_echo "$_am_result" >&6; }
  3450. rm -f confinc confmf
  3451.  
  3452. # Check whether --enable-dependency-tracking was given.
  3453. if test "${enable_dependency_tracking+set}" = set; then :
  3454.   enableval=$enable_dependency_tracking;
  3455. fi
  3456.  
  3457. if test "x$enable_dependency_tracking" != xno; then
  3458.   am_depcomp="$ac_aux_dir/depcomp"
  3459.   AMDEPBACKSLASH='\'
  3460.   am__nodep='_no'
  3461. fi
  3462.  if test "x$enable_dependency_tracking" != xno; then
  3463.   AMDEP_TRUE=
  3464.   AMDEP_FALSE='#'
  3465. else
  3466.   AMDEP_TRUE='#'
  3467.   AMDEP_FALSE=
  3468. fi
  3469.  
  3470.  
  3471. ac_ext=c
  3472. ac_cpp='$CPP $CPPFLAGS'
  3473. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3474. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3475. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3476. if test -n "$ac_tool_prefix"; then
  3477.   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3478. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3479. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3480. $as_echo_n "checking for $ac_word... " >&6; }
  3481. if ${ac_cv_prog_CC+:} false; then :
  3482.   $as_echo_n "(cached) " >&6
  3483. else
  3484.   if test -n "$CC"; then
  3485.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3486. else
  3487. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3488. for as_dir in $PATH
  3489. do
  3490.   IFS=$as_save_IFS
  3491.   test -z "$as_dir" && as_dir=.
  3492.     for ac_exec_ext in '' $ac_executable_extensions; do
  3493.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3494.     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3495.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3496.     break 2
  3497.   fi
  3498. done
  3499.   done
  3500. IFS=$as_save_IFS
  3501.  
  3502. fi
  3503. fi
  3504. CC=$ac_cv_prog_CC
  3505. if test -n "$CC"; then
  3506.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3507. $as_echo "$CC" >&6; }
  3508. else
  3509.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3510. $as_echo "no" >&6; }
  3511. fi
  3512.  
  3513.  
  3514. fi
  3515. if test -z "$ac_cv_prog_CC"; then
  3516.   ac_ct_CC=$CC
  3517.   # Extract the first word of "gcc", so it can be a program name with args.
  3518. set dummy gcc; ac_word=$2
  3519. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3520. $as_echo_n "checking for $ac_word... " >&6; }
  3521. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3522.   $as_echo_n "(cached) " >&6
  3523. else
  3524.   if test -n "$ac_ct_CC"; then
  3525.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3526. else
  3527. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3528. for as_dir in $PATH
  3529. do
  3530.   IFS=$as_save_IFS
  3531.   test -z "$as_dir" && as_dir=.
  3532.     for ac_exec_ext in '' $ac_executable_extensions; do
  3533.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3534.     ac_cv_prog_ac_ct_CC="gcc"
  3535.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3536.     break 2
  3537.   fi
  3538. done
  3539.   done
  3540. IFS=$as_save_IFS
  3541.  
  3542. fi
  3543. fi
  3544. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3545. if test -n "$ac_ct_CC"; then
  3546.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3547. $as_echo "$ac_ct_CC" >&6; }
  3548. else
  3549.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3550. $as_echo "no" >&6; }
  3551. fi
  3552.  
  3553.   if test "x$ac_ct_CC" = x; then
  3554.     CC=""
  3555.   else
  3556.     case $cross_compiling:$ac_tool_warned in
  3557. yes:)
  3558. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3559. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3560. ac_tool_warned=yes ;;
  3561. esac
  3562.     CC=$ac_ct_CC
  3563.   fi
  3564. else
  3565.   CC="$ac_cv_prog_CC"
  3566. fi
  3567.  
  3568. if test -z "$CC"; then
  3569.           if test -n "$ac_tool_prefix"; then
  3570.     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3571. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3572. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3573. $as_echo_n "checking for $ac_word... " >&6; }
  3574. if ${ac_cv_prog_CC+:} false; then :
  3575.   $as_echo_n "(cached) " >&6
  3576. else
  3577.   if test -n "$CC"; then
  3578.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3579. else
  3580. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3581. for as_dir in $PATH
  3582. do
  3583.   IFS=$as_save_IFS
  3584.   test -z "$as_dir" && as_dir=.
  3585.     for ac_exec_ext in '' $ac_executable_extensions; do
  3586.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3587.     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3588.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3589.     break 2
  3590.   fi
  3591. done
  3592.   done
  3593. IFS=$as_save_IFS
  3594.  
  3595. fi
  3596. fi
  3597. CC=$ac_cv_prog_CC
  3598. if test -n "$CC"; then
  3599.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3600. $as_echo "$CC" >&6; }
  3601. else
  3602.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3603. $as_echo "no" >&6; }
  3604. fi
  3605.  
  3606.  
  3607.   fi
  3608. fi
  3609. if test -z "$CC"; then
  3610.   # Extract the first word of "cc", so it can be a program name with args.
  3611. set dummy cc; ac_word=$2
  3612. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3613. $as_echo_n "checking for $ac_word... " >&6; }
  3614. if ${ac_cv_prog_CC+:} false; then :
  3615.   $as_echo_n "(cached) " >&6
  3616. else
  3617.   if test -n "$CC"; then
  3618.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3619. else
  3620.   ac_prog_rejected=no
  3621. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3622. for as_dir in $PATH
  3623. do
  3624.   IFS=$as_save_IFS
  3625.   test -z "$as_dir" && as_dir=.
  3626.     for ac_exec_ext in '' $ac_executable_extensions; do
  3627.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3628.     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3629.        ac_prog_rejected=yes
  3630.        continue
  3631.      fi
  3632.     ac_cv_prog_CC="cc"
  3633.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3634.     break 2
  3635.   fi
  3636. done
  3637.   done
  3638. IFS=$as_save_IFS
  3639.  
  3640. if test $ac_prog_rejected = yes; then
  3641.   # We found a bogon in the path, so make sure we never use it.
  3642.   set dummy $ac_cv_prog_CC
  3643.   shift
  3644.   if test $# != 0; then
  3645.     # We chose a different compiler from the bogus one.
  3646.     # However, it has the same basename, so the bogon will be chosen
  3647.     # first if we set CC to just the basename; use the full file name.
  3648.     shift
  3649.     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3650.   fi
  3651. fi
  3652. fi
  3653. fi
  3654. CC=$ac_cv_prog_CC
  3655. if test -n "$CC"; then
  3656.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3657. $as_echo "$CC" >&6; }
  3658. else
  3659.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3660. $as_echo "no" >&6; }
  3661. fi
  3662.  
  3663.  
  3664. fi
  3665. if test -z "$CC"; then
  3666.   if test -n "$ac_tool_prefix"; then
  3667.   for ac_prog in cl.exe
  3668.   do
  3669.     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3670. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3672. $as_echo_n "checking for $ac_word... " >&6; }
  3673. if ${ac_cv_prog_CC+:} false; then :
  3674.   $as_echo_n "(cached) " >&6
  3675. else
  3676.   if test -n "$CC"; then
  3677.   ac_cv_prog_CC="$CC" # Let the user override the test.
  3678. else
  3679. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3680. for as_dir in $PATH
  3681. do
  3682.   IFS=$as_save_IFS
  3683.   test -z "$as_dir" && as_dir=.
  3684.     for ac_exec_ext in '' $ac_executable_extensions; do
  3685.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3686.     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3687.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3688.     break 2
  3689.   fi
  3690. done
  3691.   done
  3692. IFS=$as_save_IFS
  3693.  
  3694. fi
  3695. fi
  3696. CC=$ac_cv_prog_CC
  3697. if test -n "$CC"; then
  3698.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3699. $as_echo "$CC" >&6; }
  3700. else
  3701.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3702. $as_echo "no" >&6; }
  3703. fi
  3704.  
  3705.  
  3706.     test -n "$CC" && break
  3707.   done
  3708. fi
  3709. if test -z "$CC"; then
  3710.   ac_ct_CC=$CC
  3711.   for ac_prog in cl.exe
  3712. do
  3713.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3714. set dummy $ac_prog; ac_word=$2
  3715. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3716. $as_echo_n "checking for $ac_word... " >&6; }
  3717. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3718.   $as_echo_n "(cached) " >&6
  3719. else
  3720.   if test -n "$ac_ct_CC"; then
  3721.   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3722. else
  3723. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3724. for as_dir in $PATH
  3725. do
  3726.   IFS=$as_save_IFS
  3727.   test -z "$as_dir" && as_dir=.
  3728.     for ac_exec_ext in '' $ac_executable_extensions; do
  3729.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3730.     ac_cv_prog_ac_ct_CC="$ac_prog"
  3731.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3732.     break 2
  3733.   fi
  3734. done
  3735.   done
  3736. IFS=$as_save_IFS
  3737.  
  3738. fi
  3739. fi
  3740. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3741. if test -n "$ac_ct_CC"; then
  3742.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3743. $as_echo "$ac_ct_CC" >&6; }
  3744. else
  3745.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3746. $as_echo "no" >&6; }
  3747. fi
  3748.  
  3749.  
  3750.   test -n "$ac_ct_CC" && break
  3751. done
  3752.  
  3753.   if test "x$ac_ct_CC" = x; then
  3754.     CC=""
  3755.   else
  3756.     case $cross_compiling:$ac_tool_warned in
  3757. yes:)
  3758. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3759. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3760. ac_tool_warned=yes ;;
  3761. esac
  3762.     CC=$ac_ct_CC
  3763.   fi
  3764. fi
  3765.  
  3766. fi
  3767.  
  3768.  
  3769. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3770. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3771. as_fn_error $? "no acceptable C compiler found in \$PATH
  3772. See \`config.log' for more details" "$LINENO" 5; }
  3773.  
  3774. # Provide some information about the compiler.
  3775. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3776. set X $ac_compile
  3777. ac_compiler=$2
  3778. for ac_option in --version -v -V -qversion; do
  3779.   { { ac_try="$ac_compiler $ac_option >&5"
  3780. case "(($ac_try" in
  3781.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3782.   *) ac_try_echo=$ac_try;;
  3783. esac
  3784. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3785. $as_echo "$ac_try_echo"; } >&5
  3786.   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3787.   ac_status=$?
  3788.   if test -s conftest.err; then
  3789.     sed '10a\
  3790. ... rest of stderr output deleted ...
  3791.          10q' conftest.err >conftest.er1
  3792.     cat conftest.er1 >&5
  3793.   fi
  3794.   rm -f conftest.er1 conftest.err
  3795.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3796.   test $ac_status = 0; }
  3797. done
  3798.  
  3799. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3800. /* end confdefs.h.  */
  3801.  
  3802. int
  3803. main ()
  3804. {
  3805.  
  3806.   ;
  3807.   return 0;
  3808. }
  3809. _ACEOF
  3810. ac_clean_files_save=$ac_clean_files
  3811. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3812. # Try to create an executable without -o first, disregard a.out.
  3813. # It will help us diagnose broken compilers, and finding out an intuition
  3814. # of exeext.
  3815. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3816. $as_echo_n "checking whether the C compiler works... " >&6; }
  3817. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3818.  
  3819. # The possible output files:
  3820. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3821.  
  3822. ac_rmfiles=
  3823. for ac_file in $ac_files
  3824. do
  3825.   case $ac_file in
  3826.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3827.     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3828.   esac
  3829. done
  3830. rm -f $ac_rmfiles
  3831.  
  3832. if { { ac_try="$ac_link_default"
  3833. case "(($ac_try" in
  3834.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3835.   *) ac_try_echo=$ac_try;;
  3836. esac
  3837. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3838. $as_echo "$ac_try_echo"; } >&5
  3839.   (eval "$ac_link_default") 2>&5
  3840.   ac_status=$?
  3841.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3842.   test $ac_status = 0; }; then :
  3843.   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3844. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3845. # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3846. # so that the user can short-circuit this test for compilers unknown to
  3847. # Autoconf.
  3848. for ac_file in $ac_files ''
  3849. do
  3850.   test -f "$ac_file" || continue
  3851.   case $ac_file in
  3852.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3853.         ;;
  3854.     [ab].out )
  3855.         # We found the default executable, but exeext='' is most
  3856.         # certainly right.
  3857.         break;;
  3858.     *.* )
  3859.         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3860.         then :; else
  3861.            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3862.         fi
  3863.         # We set ac_cv_exeext here because the later test for it is not
  3864.         # safe: cross compilers may not add the suffix if given an `-o'
  3865.         # argument, so we may need to know it at that point already.
  3866.         # Even if this section looks crufty: it has the advantage of
  3867.         # actually working.
  3868.         break;;
  3869.     * )
  3870.         break;;
  3871.   esac
  3872. done
  3873. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3874.  
  3875. else
  3876.   ac_file=''
  3877. fi
  3878. if test -z "$ac_file"; then :
  3879.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3880. $as_echo "no" >&6; }
  3881. $as_echo "$as_me: failed program was:" >&5
  3882. sed 's/^/| /' conftest.$ac_ext >&5
  3883.  
  3884. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3885. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3886. as_fn_error 77 "C compiler cannot create executables
  3887. See \`config.log' for more details" "$LINENO" 5; }
  3888. else
  3889.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3890. $as_echo "yes" >&6; }
  3891. fi
  3892. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3893. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3894. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3895. $as_echo "$ac_file" >&6; }
  3896. ac_exeext=$ac_cv_exeext
  3897.  
  3898. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3899. ac_clean_files=$ac_clean_files_save
  3900. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3901. $as_echo_n "checking for suffix of executables... " >&6; }
  3902. if { { ac_try="$ac_link"
  3903. case "(($ac_try" in
  3904.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3905.   *) ac_try_echo=$ac_try;;
  3906. esac
  3907. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3908. $as_echo "$ac_try_echo"; } >&5
  3909.   (eval "$ac_link") 2>&5
  3910.   ac_status=$?
  3911.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3912.   test $ac_status = 0; }; then :
  3913.   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3914. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3915. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3916. # `rm'.
  3917. for ac_file in conftest.exe conftest conftest.*; do
  3918.   test -f "$ac_file" || continue
  3919.   case $ac_file in
  3920.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3921.     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3922.           break;;
  3923.     * ) break;;
  3924.   esac
  3925. done
  3926. else
  3927.   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3928. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3929. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3930. See \`config.log' for more details" "$LINENO" 5; }
  3931. fi
  3932. rm -f conftest conftest$ac_cv_exeext
  3933. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3934. $as_echo "$ac_cv_exeext" >&6; }
  3935.  
  3936. rm -f conftest.$ac_ext
  3937. EXEEXT=$ac_cv_exeext
  3938. ac_exeext=$EXEEXT
  3939. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3940. /* end confdefs.h.  */
  3941. #include <stdio.h>
  3942. int
  3943. main ()
  3944. {
  3945. FILE *f = fopen ("conftest.out", "w");
  3946.  return ferror (f) || fclose (f) != 0;
  3947.  
  3948.   ;
  3949.   return 0;
  3950. }
  3951. _ACEOF
  3952. ac_clean_files="$ac_clean_files conftest.out"
  3953. # Check that the compiler produces executables we can run.  If not, either
  3954. # the compiler is broken, or we cross compile.
  3955. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3956. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3957. if test "$cross_compiling" != yes; then
  3958.   { { ac_try="$ac_link"
  3959. case "(($ac_try" in
  3960.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3961.   *) ac_try_echo=$ac_try;;
  3962. esac
  3963. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3964. $as_echo "$ac_try_echo"; } >&5
  3965.   (eval "$ac_link") 2>&5
  3966.   ac_status=$?
  3967.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3968.   test $ac_status = 0; }
  3969.   if { ac_try='./conftest$ac_cv_exeext'
  3970.   { { case "(($ac_try" in
  3971.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3972.   *) ac_try_echo=$ac_try;;
  3973. esac
  3974. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3975. $as_echo "$ac_try_echo"; } >&5
  3976.   (eval "$ac_try") 2>&5
  3977.   ac_status=$?
  3978.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3979.   test $ac_status = 0; }; }; then
  3980.     cross_compiling=no
  3981.   else
  3982.     if test "$cross_compiling" = maybe; then
  3983.         cross_compiling=yes
  3984.     else
  3985.         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3986. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3987. as_fn_error $? "cannot run C compiled programs.
  3988. If you meant to cross compile, use \`--host'.
  3989. See \`config.log' for more details" "$LINENO" 5; }
  3990.     fi
  3991.   fi
  3992. fi
  3993. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3994. $as_echo "$cross_compiling" >&6; }
  3995.  
  3996. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3997. ac_clean_files=$ac_clean_files_save
  3998. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3999. $as_echo_n "checking for suffix of object files... " >&6; }
  4000. if ${ac_cv_objext+:} false; then :
  4001.   $as_echo_n "(cached) " >&6
  4002. else
  4003.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4004. /* end confdefs.h.  */
  4005.  
  4006. int
  4007. main ()
  4008. {
  4009.  
  4010.   ;
  4011.   return 0;
  4012. }
  4013. _ACEOF
  4014. rm -f conftest.o conftest.obj
  4015. if { { ac_try="$ac_compile"
  4016. case "(($ac_try" in
  4017.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4018.   *) ac_try_echo=$ac_try;;
  4019. esac
  4020. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4021. $as_echo "$ac_try_echo"; } >&5
  4022.   (eval "$ac_compile") 2>&5
  4023.   ac_status=$?
  4024.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4025.   test $ac_status = 0; }; then :
  4026.   for ac_file in conftest.o conftest.obj conftest.*; do
  4027.   test -f "$ac_file" || continue;
  4028.   case $ac_file in
  4029.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  4030.     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  4031.        break;;
  4032.   esac
  4033. done
  4034. else
  4035.   $as_echo "$as_me: failed program was:" >&5
  4036. sed 's/^/| /' conftest.$ac_ext >&5
  4037.  
  4038. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4039. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4040. as_fn_error $? "cannot compute suffix of object files: cannot compile
  4041. See \`config.log' for more details" "$LINENO" 5; }
  4042. fi
  4043. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  4044. fi
  4045. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  4046. $as_echo "$ac_cv_objext" >&6; }
  4047. OBJEXT=$ac_cv_objext
  4048. ac_objext=$OBJEXT
  4049. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4050. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4051. if ${ac_cv_c_compiler_gnu+:} false; then :
  4052.   $as_echo_n "(cached) " >&6
  4053. else
  4054.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4055. /* end confdefs.h.  */
  4056.  
  4057. int
  4058. main ()
  4059. {
  4060. #ifndef __GNUC__
  4061.        choke me
  4062. #endif
  4063.  
  4064.   ;
  4065.   return 0;
  4066. }
  4067. _ACEOF
  4068. if ac_fn_c_try_compile "$LINENO"; then :
  4069.   ac_compiler_gnu=yes
  4070. else
  4071.   ac_compiler_gnu=no
  4072. fi
  4073. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4074. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4075.  
  4076. fi
  4077. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4078. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4079. if test $ac_compiler_gnu = yes; then
  4080.   GCC=yes
  4081. else
  4082.   GCC=
  4083. fi
  4084. ac_test_CFLAGS=${CFLAGS+set}
  4085. ac_save_CFLAGS=$CFLAGS
  4086. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4087. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4088. if ${ac_cv_prog_cc_g+:} false; then :
  4089.   $as_echo_n "(cached) " >&6
  4090. else
  4091.   ac_save_c_werror_flag=$ac_c_werror_flag
  4092.    ac_c_werror_flag=yes
  4093.    ac_cv_prog_cc_g=no
  4094.    CFLAGS="-g"
  4095.    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4096. /* end confdefs.h.  */
  4097.  
  4098. int
  4099. main ()
  4100. {
  4101.  
  4102.   ;
  4103.   return 0;
  4104. }
  4105. _ACEOF
  4106. if ac_fn_c_try_compile "$LINENO"; then :
  4107.   ac_cv_prog_cc_g=yes
  4108. else
  4109.   CFLAGS=""
  4110.       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4111. /* end confdefs.h.  */
  4112.  
  4113. int
  4114. main ()
  4115. {
  4116.  
  4117.   ;
  4118.   return 0;
  4119. }
  4120. _ACEOF
  4121. if ac_fn_c_try_compile "$LINENO"; then :
  4122.  
  4123. else
  4124.   ac_c_werror_flag=$ac_save_c_werror_flag
  4125.          CFLAGS="-g"
  4126.          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4127. /* end confdefs.h.  */
  4128.  
  4129. int
  4130. main ()
  4131. {
  4132.  
  4133.   ;
  4134.   return 0;
  4135. }
  4136. _ACEOF
  4137. if ac_fn_c_try_compile "$LINENO"; then :
  4138.   ac_cv_prog_cc_g=yes
  4139. fi
  4140. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4141. fi
  4142. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4143. fi
  4144. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4145.    ac_c_werror_flag=$ac_save_c_werror_flag
  4146. fi
  4147. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4148. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4149. if test "$ac_test_CFLAGS" = set; then
  4150.   CFLAGS=$ac_save_CFLAGS
  4151. elif test $ac_cv_prog_cc_g = yes; then
  4152.   if test "$GCC" = yes; then
  4153.     CFLAGS="-g -O2"
  4154.   else
  4155.     CFLAGS="-g"
  4156.   fi
  4157. else
  4158.   if test "$GCC" = yes; then
  4159.     CFLAGS="-O2"
  4160.   else
  4161.     CFLAGS=
  4162.   fi
  4163. fi
  4164. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4165. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4166. if ${ac_cv_prog_cc_c89+:} false; then :
  4167.   $as_echo_n "(cached) " >&6
  4168. else
  4169.   ac_cv_prog_cc_c89=no
  4170. ac_save_CC=$CC
  4171. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4172. /* end confdefs.h.  */
  4173. #include <stdarg.h>
  4174. #include <stdio.h>
  4175. struct stat;
  4176. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4177. struct buf { int x; };
  4178. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4179. static char *e (p, i)
  4180.      char **p;
  4181.      int i;
  4182. {
  4183.   return p[i];
  4184. }
  4185. static char *f (char * (*g) (char **, int), char **p, ...)
  4186. {
  4187.   char *s;
  4188.   va_list v;
  4189.   va_start (v,p);
  4190.   s = g (p, va_arg (v,int));
  4191.   va_end (v);
  4192.   return s;
  4193. }
  4194.  
  4195. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4196.    function prototypes and stuff, but not '\xHH' hex character constants.
  4197.    These don't provoke an error unfortunately, instead are silently treated
  4198.    as 'x'.  The following induces an error, until -std is added to get
  4199.    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4200.    array size at least.  It's necessary to write '\x00'==0 to get something
  4201.    that's true only with -std.  */
  4202. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4203.  
  4204. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4205.    inside strings and character constants.  */
  4206. #define FOO(x) 'x'
  4207. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4208.  
  4209. int test (int i, double x);
  4210. struct s1 {int (*f) (int a);};
  4211. struct s2 {int (*f) (double a);};
  4212. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4213. int argc;
  4214. char **argv;
  4215. int
  4216. main ()
  4217. {
  4218. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4219.   ;
  4220.   return 0;
  4221. }
  4222. _ACEOF
  4223. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4224.         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4225. do
  4226.   CC="$ac_save_CC $ac_arg"
  4227.   if ac_fn_c_try_compile "$LINENO"; then :
  4228.   ac_cv_prog_cc_c89=$ac_arg
  4229. fi
  4230. rm -f core conftest.err conftest.$ac_objext
  4231.   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4232. done
  4233. rm -f conftest.$ac_ext
  4234. CC=$ac_save_CC
  4235.  
  4236. fi
  4237. # AC_CACHE_VAL
  4238. case "x$ac_cv_prog_cc_c89" in
  4239.   x)
  4240.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4241. $as_echo "none needed" >&6; } ;;
  4242.   xno)
  4243.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4244. $as_echo "unsupported" >&6; } ;;
  4245.   *)
  4246.     CC="$CC $ac_cv_prog_cc_c89"
  4247.     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4248. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4249. esac
  4250. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4251.  
  4252. fi
  4253.  
  4254. ac_ext=c
  4255. ac_cpp='$CPP $CPPFLAGS'
  4256. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4257. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4258. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4259.  
  4260. ac_ext=c
  4261. ac_cpp='$CPP $CPPFLAGS'
  4262. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4263. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4264. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4265. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  4266. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  4267. if ${am_cv_prog_cc_c_o+:} false; then :
  4268.   $as_echo_n "(cached) " >&6
  4269. else
  4270.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4271. /* end confdefs.h.  */
  4272.  
  4273. int
  4274. main ()
  4275. {
  4276.  
  4277.   ;
  4278.   return 0;
  4279. }
  4280. _ACEOF
  4281.   # Make sure it works both with $CC and with simple cc.
  4282.   # Following AC_PROG_CC_C_O, we do the test twice because some
  4283.   # compilers refuse to overwrite an existing .o file with -o,
  4284.   # though they will create one.
  4285.   am_cv_prog_cc_c_o=yes
  4286.   for am_i in 1 2; do
  4287.     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  4288.    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  4289.    ac_status=$?
  4290.    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4291.    (exit $ac_status); } \
  4292.          && test -f conftest2.$ac_objext; then
  4293.       : OK
  4294.     else
  4295.       am_cv_prog_cc_c_o=no
  4296.       break
  4297.     fi
  4298.   done
  4299.   rm -f core conftest*
  4300.   unset am_i
  4301. fi
  4302. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  4303. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  4304. if test "$am_cv_prog_cc_c_o" != yes; then
  4305.    # Losing compiler, so override with the script.
  4306.    # FIXME: It is wrong to rewrite CC.
  4307.    # But if we don't then we get into trouble of one sort or another.
  4308.    # A longer-term fix would be to have automake use am__CC in this case,
  4309.    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  4310.    CC="$am_aux_dir/compile $CC"
  4311. fi
  4312. ac_ext=c
  4313. ac_cpp='$CPP $CPPFLAGS'
  4314. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4315. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4316. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4317.  
  4318.  
  4319. depcc="$CC"   am_compiler_list=
  4320.  
  4321. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4322. $as_echo_n "checking dependency style of $depcc... " >&6; }
  4323. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  4324.   $as_echo_n "(cached) " >&6
  4325. else
  4326.   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4327.   # We make a subdir and do the tests there.  Otherwise we can end up
  4328.   # making bogus files that we don't know about and never remove.  For
  4329.   # instance it was reported that on HP-UX the gcc test will end up
  4330.   # making a dummy file named 'D' -- because '-MD' means "put the output
  4331.   # in D".
  4332.   rm -rf conftest.dir
  4333.   mkdir conftest.dir
  4334.   # Copy depcomp to subdir because otherwise we won't find it if we're
  4335.   # using a relative directory.
  4336.   cp "$am_depcomp" conftest.dir
  4337.   cd conftest.dir
  4338.   # We will build objects and dependencies in a subdirectory because
  4339.   # it helps to detect inapplicable dependency modes.  For instance
  4340.   # both Tru64's cc and ICC support -MD to output dependencies as a
  4341.   # side effect of compilation, but ICC will put the dependencies in
  4342.   # the current directory while Tru64 will put them in the object
  4343.   # directory.
  4344.   mkdir sub
  4345.  
  4346.   am_cv_CC_dependencies_compiler_type=none
  4347.   if test "$am_compiler_list" = ""; then
  4348.      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4349.   fi
  4350.   am__universal=false
  4351.   case " $depcc " in #(
  4352.      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4353.      esac
  4354.  
  4355.   for depmode in $am_compiler_list; do
  4356.     # Setup a source with many dependencies, because some compilers
  4357.     # like to wrap large dependency lists on column 80 (with \), and
  4358.     # we should not choose a depcomp mode which is confused by this.
  4359.     #
  4360.     # We need to recreate these files for each test, as the compiler may
  4361.     # overwrite some of them when testing with obscure command lines.
  4362.     # This happens at least with the AIX C compiler.
  4363.     : > sub/conftest.c
  4364.     for i in 1 2 3 4 5 6; do
  4365.       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4366.       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  4367.       # Solaris 10 /bin/sh.
  4368.       echo '/* dummy */' > sub/conftst$i.h
  4369.     done
  4370.     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4371.  
  4372.     # We check with '-c' and '-o' for the sake of the "dashmstdout"
  4373.     # mode.  It turns out that the SunPro C++ compiler does not properly
  4374.     # handle '-M -o', and we need to detect this.  Also, some Intel
  4375.     # versions had trouble with output in subdirs.
  4376.     am__obj=sub/conftest.${OBJEXT-o}
  4377.     am__minus_obj="-o $am__obj"
  4378.     case $depmode in
  4379.     gcc)
  4380.       # This depmode causes a compiler race in universal mode.
  4381.       test "$am__universal" = false || continue
  4382.       ;;
  4383.     nosideeffect)
  4384.       # After this tag, mechanisms are not by side-effect, so they'll
  4385.       # only be used when explicitly requested.
  4386.       if test "x$enable_dependency_tracking" = xyes; then
  4387.         continue
  4388.       else
  4389.         break
  4390.       fi
  4391.       ;;
  4392.     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4393.       # This compiler won't grok '-c -o', but also, the minuso test has
  4394.       # not run yet.  These depmodes are late enough in the game, and
  4395.       # so weak that their functioning should not be impacted.
  4396.       am__obj=conftest.${OBJEXT-o}
  4397.       am__minus_obj=
  4398.       ;;
  4399.     none) break ;;
  4400.     esac
  4401.     if depmode=$depmode \
  4402.        source=sub/conftest.c object=$am__obj \
  4403.        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4404.        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4405.          >/dev/null 2>conftest.err &&
  4406.        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4407.        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4408.        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4409.        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4410.       # icc doesn't choke on unknown options, it will just issue warnings
  4411.       # or remarks (even with -Werror).  So we grep stderr for any message
  4412.       # that says an option was ignored or not supported.
  4413.       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4414.       #   icc: Command line warning: ignoring option '-M'; no argument required
  4415.       # The diagnosis changed in icc 8.0:
  4416.       #   icc: Command line remark: option '-MP' not supported
  4417.       if (grep 'ignoring option' conftest.err ||
  4418.           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4419.         am_cv_CC_dependencies_compiler_type=$depmode
  4420.         break
  4421.       fi
  4422.     fi
  4423.   done
  4424.  
  4425.   cd ..
  4426.   rm -rf conftest.dir
  4427. else
  4428.   am_cv_CC_dependencies_compiler_type=none
  4429. fi
  4430.  
  4431. fi
  4432. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4433. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4434. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4435.  
  4436.  if
  4437.   test "x$enable_dependency_tracking" != xno \
  4438.   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4439.   am__fastdepCC_TRUE=
  4440.   am__fastdepCC_FALSE='#'
  4441. else
  4442.   am__fastdepCC_TRUE='#'
  4443.   am__fastdepCC_FALSE=
  4444. fi
  4445.  
  4446.  
  4447. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4448. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4449. if ${ac_cv_path_SED+:} false; then :
  4450.   $as_echo_n "(cached) " >&6
  4451. else
  4452.             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4453.      for ac_i in 1 2 3 4 5 6 7; do
  4454.        ac_script="$ac_script$as_nl$ac_script"
  4455.      done
  4456.      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4457.      { ac_script=; unset ac_script;}
  4458.      if test -z "$SED"; then
  4459.   ac_path_SED_found=false
  4460.   # Loop through the user's path and test for each of PROGNAME-LIST
  4461.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4462. for as_dir in $PATH
  4463. do
  4464.   IFS=$as_save_IFS
  4465.   test -z "$as_dir" && as_dir=.
  4466.     for ac_prog in sed gsed; do
  4467.     for ac_exec_ext in '' $ac_executable_extensions; do
  4468.       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4469.       as_fn_executable_p "$ac_path_SED" || continue
  4470. # Check for GNU ac_path_SED and select it if it is found.
  4471.   # Check for GNU $ac_path_SED
  4472. case `"$ac_path_SED" --version 2>&1` in
  4473. *GNU*)
  4474.   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4475. *)
  4476.   ac_count=0
  4477.   $as_echo_n 0123456789 >"conftest.in"
  4478.   while :
  4479.   do
  4480.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4481.     mv "conftest.tmp" "conftest.in"
  4482.     cp "conftest.in" "conftest.nl"
  4483.     $as_echo '' >> "conftest.nl"
  4484.     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4485.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4486.     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4487.     if test $ac_count -gt ${ac_path_SED_max-0}; then
  4488.       # Best one so far, save it but keep looking for a better one
  4489.       ac_cv_path_SED="$ac_path_SED"
  4490.       ac_path_SED_max=$ac_count
  4491.     fi
  4492.     # 10*(2^10) chars as input seems more than enough
  4493.     test $ac_count -gt 10 && break
  4494.   done
  4495.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4496. esac
  4497.  
  4498.       $ac_path_SED_found && break 3
  4499.     done
  4500.   done
  4501.   done
  4502. IFS=$as_save_IFS
  4503.   if test -z "$ac_cv_path_SED"; then
  4504.     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4505.   fi
  4506. else
  4507.   ac_cv_path_SED=$SED
  4508. fi
  4509.  
  4510. fi
  4511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4512. $as_echo "$ac_cv_path_SED" >&6; }
  4513.  SED="$ac_cv_path_SED"
  4514.   rm -f conftest.sed
  4515.  
  4516. test -z "$SED" && SED=sed
  4517. Xsed="$SED -e 1s/^X//"
  4518.  
  4519.  
  4520.  
  4521.  
  4522.  
  4523.  
  4524.  
  4525.  
  4526.  
  4527.  
  4528.  
  4529. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4530. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4531. if ${ac_cv_path_GREP+:} false; then :
  4532.   $as_echo_n "(cached) " >&6
  4533. else
  4534.   if test -z "$GREP"; then
  4535.   ac_path_GREP_found=false
  4536.   # Loop through the user's path and test for each of PROGNAME-LIST