PageRenderTime 77ms CodeModel.GetById 28ms RepoModel.GetById 1ms app.codeStats 2ms

/lib/libmpeg2/configure

http://github.com/xbmc/xbmc
Shell | 15938 lines | 13458 code | 1118 blank | 1362 comment | 1054 complexity | 20583c37693bfec40f6b26caf2db0443 MD5 | raw file
Possible License(s): GPL-3.0, CC-BY-SA-3.0, LGPL-2.0, 0BSD, Unlicense, GPL-2.0, AGPL-1.0, BSD-3-Clause, LGPL-2.1, LGPL-3.0

Large files files are truncated, but you can click here to view the full file

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.61 for libmpeg2 0.5.1.
  4. #
  5. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  6. # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9. ## --------------------- ##
  10. ## M4sh Initialization. ##
  11. ## --------------------- ##
  12. # Be more Bourne compatible
  13. DUALCASE=1; export DUALCASE # for MKS sh
  14. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  15. emulate sh
  16. NULLCMD=:
  17. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  18. # is contrary to our usage. Disable this feature.
  19. alias -g '${1+"$@"}'='"$@"'
  20. setopt NO_GLOB_SUBST
  21. else
  22. case `(set -o) 2>/dev/null` in
  23. *posix*) set -o posix ;;
  24. esac
  25. fi
  26. # PATH needs CR
  27. # Avoid depending upon Character Ranges.
  28. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  29. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  30. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  31. as_cr_digits='0123456789'
  32. as_cr_alnum=$as_cr_Letters$as_cr_digits
  33. # The user is always right.
  34. if test "${PATH_SEPARATOR+set}" != set; then
  35. echo "#! /bin/sh" >conf$$.sh
  36. echo "exit 0" >>conf$$.sh
  37. chmod +x conf$$.sh
  38. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  39. PATH_SEPARATOR=';'
  40. else
  41. PATH_SEPARATOR=:
  42. fi
  43. rm -f conf$$.sh
  44. fi
  45. # Support unset when possible.
  46. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  47. as_unset=unset
  48. else
  49. as_unset=false
  50. fi
  51. # IFS
  52. # We need space, tab and new line, in precisely that order. Quoting is
  53. # there to prevent editors from complaining about space-tab.
  54. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  55. # splitting by setting IFS to empty value.)
  56. as_nl='
  57. '
  58. IFS=" "" $as_nl"
  59. # Find who we are. Look in the path if we contain no directory separator.
  60. case $0 in
  61. *[\\/]* ) as_myself=$0 ;;
  62. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  63. for as_dir in $PATH
  64. do
  65. IFS=$as_save_IFS
  66. test -z "$as_dir" && as_dir=.
  67. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  68. done
  69. IFS=$as_save_IFS
  70. ;;
  71. esac
  72. # We did not find ourselves, most probably we were run as `sh COMMAND'
  73. # in which case we are not to be found in the path.
  74. if test "x$as_myself" = x; then
  75. as_myself=$0
  76. fi
  77. if test ! -f "$as_myself"; then
  78. echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  79. { (exit 1); exit 1; }
  80. fi
  81. # Work around bugs in pre-3.0 UWIN ksh.
  82. for as_var in ENV MAIL MAILPATH
  83. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  84. done
  85. PS1='$ '
  86. PS2='> '
  87. PS4='+ '
  88. # NLS nuisances.
  89. for as_var in \
  90. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  91. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  92. LC_TELEPHONE LC_TIME
  93. do
  94. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  95. eval $as_var=C; export $as_var
  96. else
  97. ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  98. fi
  99. done
  100. # Required to use basename.
  101. if expr a : '\(a\)' >/dev/null 2>&1 &&
  102. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  103. as_expr=expr
  104. else
  105. as_expr=false
  106. fi
  107. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  108. as_basename=basename
  109. else
  110. as_basename=false
  111. fi
  112. # Name of the executable.
  113. as_me=`$as_basename -- "$0" ||
  114. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  115. X"$0" : 'X\(//\)$' \| \
  116. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  117. echo X/"$0" |
  118. sed '/^.*\/\([^/][^/]*\)\/*$/{
  119. s//\1/
  120. q
  121. }
  122. /^X\/\(\/\/\)$/{
  123. s//\1/
  124. q
  125. }
  126. /^X\/\(\/\).*/{
  127. s//\1/
  128. q
  129. }
  130. s/.*/./; q'`
  131. # CDPATH.
  132. $as_unset CDPATH
  133. if test "x$CONFIG_SHELL" = x; then
  134. if (eval ":") 2>/dev/null; then
  135. as_have_required=yes
  136. else
  137. as_have_required=no
  138. fi
  139. if test $as_have_required = yes && (eval ":
  140. (as_func_return () {
  141. (exit \$1)
  142. }
  143. as_func_success () {
  144. as_func_return 0
  145. }
  146. as_func_failure () {
  147. as_func_return 1
  148. }
  149. as_func_ret_success () {
  150. return 0
  151. }
  152. as_func_ret_failure () {
  153. return 1
  154. }
  155. exitcode=0
  156. if as_func_success; then
  157. :
  158. else
  159. exitcode=1
  160. echo as_func_success failed.
  161. fi
  162. if as_func_failure; then
  163. exitcode=1
  164. echo as_func_failure succeeded.
  165. fi
  166. if as_func_ret_success; then
  167. :
  168. else
  169. exitcode=1
  170. echo as_func_ret_success failed.
  171. fi
  172. if as_func_ret_failure; then
  173. exitcode=1
  174. echo as_func_ret_failure succeeded.
  175. fi
  176. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  177. :
  178. else
  179. exitcode=1
  180. echo positional parameters were not saved.
  181. fi
  182. test \$exitcode = 0) || { (exit 1); exit 1; }
  183. (
  184. as_lineno_1=\$LINENO
  185. as_lineno_2=\$LINENO
  186. test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  187. test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  188. ") 2> /dev/null; then
  189. :
  190. else
  191. as_candidate_shells=
  192. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  193. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  194. do
  195. IFS=$as_save_IFS
  196. test -z "$as_dir" && as_dir=.
  197. case $as_dir in
  198. /*)
  199. for as_base in sh bash ksh sh5; do
  200. as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  201. done;;
  202. esac
  203. done
  204. IFS=$as_save_IFS
  205. for as_shell in $as_candidate_shells $SHELL; do
  206. # Try only shells that exist, to save several forks.
  207. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  208. { ("$as_shell") 2> /dev/null <<\_ASEOF
  209. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  210. emulate sh
  211. NULLCMD=:
  212. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  213. # is contrary to our usage. Disable this feature.
  214. alias -g '${1+"$@"}'='"$@"'
  215. setopt NO_GLOB_SUBST
  216. else
  217. case `(set -o) 2>/dev/null` in
  218. *posix*) set -o posix ;;
  219. esac
  220. fi
  221. :
  222. _ASEOF
  223. }; then
  224. CONFIG_SHELL=$as_shell
  225. as_have_required=yes
  226. if { "$as_shell" 2> /dev/null <<\_ASEOF
  227. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  228. emulate sh
  229. NULLCMD=:
  230. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  231. # is contrary to our usage. Disable this feature.
  232. alias -g '${1+"$@"}'='"$@"'
  233. setopt NO_GLOB_SUBST
  234. else
  235. case `(set -o) 2>/dev/null` in
  236. *posix*) set -o posix ;;
  237. esac
  238. fi
  239. :
  240. (as_func_return () {
  241. (exit $1)
  242. }
  243. as_func_success () {
  244. as_func_return 0
  245. }
  246. as_func_failure () {
  247. as_func_return 1
  248. }
  249. as_func_ret_success () {
  250. return 0
  251. }
  252. as_func_ret_failure () {
  253. return 1
  254. }
  255. exitcode=0
  256. if as_func_success; then
  257. :
  258. else
  259. exitcode=1
  260. echo as_func_success failed.
  261. fi
  262. if as_func_failure; then
  263. exitcode=1
  264. echo as_func_failure succeeded.
  265. fi
  266. if as_func_ret_success; then
  267. :
  268. else
  269. exitcode=1
  270. echo as_func_ret_success failed.
  271. fi
  272. if as_func_ret_failure; then
  273. exitcode=1
  274. echo as_func_ret_failure succeeded.
  275. fi
  276. if ( set x; as_func_ret_success y && test x = "$1" ); then
  277. :
  278. else
  279. exitcode=1
  280. echo positional parameters were not saved.
  281. fi
  282. test $exitcode = 0) || { (exit 1); exit 1; }
  283. (
  284. as_lineno_1=$LINENO
  285. as_lineno_2=$LINENO
  286. test "x$as_lineno_1" != "x$as_lineno_2" &&
  287. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  288. _ASEOF
  289. }; then
  290. break
  291. fi
  292. fi
  293. done
  294. if test "x$CONFIG_SHELL" != x; then
  295. for as_var in BASH_ENV ENV
  296. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  297. done
  298. export CONFIG_SHELL
  299. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  300. fi
  301. if test $as_have_required = no; then
  302. echo This script requires a shell more modern than all the
  303. echo shells that I found on your system. Please install a
  304. echo modern shell, or manually run the script under such a
  305. echo shell if you do have one.
  306. { (exit 1); exit 1; }
  307. fi
  308. fi
  309. fi
  310. (eval "as_func_return () {
  311. (exit \$1)
  312. }
  313. as_func_success () {
  314. as_func_return 0
  315. }
  316. as_func_failure () {
  317. as_func_return 1
  318. }
  319. as_func_ret_success () {
  320. return 0
  321. }
  322. as_func_ret_failure () {
  323. return 1
  324. }
  325. exitcode=0
  326. if as_func_success; then
  327. :
  328. else
  329. exitcode=1
  330. echo as_func_success failed.
  331. fi
  332. if as_func_failure; then
  333. exitcode=1
  334. echo as_func_failure succeeded.
  335. fi
  336. if as_func_ret_success; then
  337. :
  338. else
  339. exitcode=1
  340. echo as_func_ret_success failed.
  341. fi
  342. if as_func_ret_failure; then
  343. exitcode=1
  344. echo as_func_ret_failure succeeded.
  345. fi
  346. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  347. :
  348. else
  349. exitcode=1
  350. echo positional parameters were not saved.
  351. fi
  352. test \$exitcode = 0") || {
  353. echo No shell found that supports shell functions.
  354. echo Please tell autoconf@gnu.org about your system,
  355. echo including any error possibly output before this
  356. echo message
  357. }
  358. as_lineno_1=$LINENO
  359. as_lineno_2=$LINENO
  360. test "x$as_lineno_1" != "x$as_lineno_2" &&
  361. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  362. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  363. # uniformly replaced by the line number. The first 'sed' inserts a
  364. # line-number line after each line using $LINENO; the second 'sed'
  365. # does the real work. The second script uses 'N' to pair each
  366. # line-number line with the line containing $LINENO, and appends
  367. # trailing '-' during substitution so that $LINENO is not a special
  368. # case at line end.
  369. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  370. # scripts with optimization help from Paolo Bonzini. Blame Lee
  371. # E. McMahon (1931-1989) for sed's syntax. :-)
  372. sed -n '
  373. p
  374. /[$]LINENO/=
  375. ' <$as_myself |
  376. sed '
  377. s/[$]LINENO.*/&-/
  378. t lineno
  379. b
  380. :lineno
  381. N
  382. :loop
  383. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  384. t loop
  385. s/-\n.*//
  386. ' >$as_me.lineno &&
  387. chmod +x "$as_me.lineno" ||
  388. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  389. { (exit 1); exit 1; }; }
  390. # Don't try to exec as it changes $[0], causing all sort of problems
  391. # (the dirname of $[0] is not the place where we might find the
  392. # original and so on. Autoconf is especially sensitive to this).
  393. . "./$as_me.lineno"
  394. # Exit status is that of the last command.
  395. exit
  396. }
  397. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  398. as_dirname=dirname
  399. else
  400. as_dirname=false
  401. fi
  402. ECHO_C= ECHO_N= ECHO_T=
  403. case `echo -n x` in
  404. -n*)
  405. case `echo 'x\c'` in
  406. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  407. *) ECHO_C='\c';;
  408. esac;;
  409. *)
  410. ECHO_N='-n';;
  411. esac
  412. if expr a : '\(a\)' >/dev/null 2>&1 &&
  413. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  414. as_expr=expr
  415. else
  416. as_expr=false
  417. fi
  418. rm -f conf$$ conf$$.exe conf$$.file
  419. if test -d conf$$.dir; then
  420. rm -f conf$$.dir/conf$$.file
  421. else
  422. rm -f conf$$.dir
  423. mkdir conf$$.dir
  424. fi
  425. echo >conf$$.file
  426. if ln -s conf$$.file conf$$ 2>/dev/null; then
  427. as_ln_s='ln -s'
  428. # ... but there are two gotchas:
  429. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  430. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  431. # In both cases, we have to default to `cp -p'.
  432. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  433. as_ln_s='cp -p'
  434. elif ln conf$$.file conf$$ 2>/dev/null; then
  435. as_ln_s=ln
  436. else
  437. as_ln_s='cp -p'
  438. fi
  439. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  440. rmdir conf$$.dir 2>/dev/null
  441. if mkdir -p . 2>/dev/null; then
  442. as_mkdir_p=:
  443. else
  444. test -d ./-p && rmdir ./-p
  445. as_mkdir_p=false
  446. fi
  447. if test -x / >/dev/null 2>&1; then
  448. as_test_x='test -x'
  449. else
  450. if ls -dL / >/dev/null 2>&1; then
  451. as_ls_L_option=L
  452. else
  453. as_ls_L_option=
  454. fi
  455. as_test_x='
  456. eval sh -c '\''
  457. if test -d "$1"; then
  458. test -d "$1/.";
  459. else
  460. case $1 in
  461. -*)set "./$1";;
  462. esac;
  463. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  464. ???[sx]*):;;*)false;;esac;fi
  465. '\'' sh
  466. '
  467. fi
  468. as_executable_p=$as_test_x
  469. # Sed expression to map a string onto a valid CPP name.
  470. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  471. # Sed expression to map a string onto a valid variable name.
  472. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  473. # Check that we are running under the correct shell.
  474. SHELL=${CONFIG_SHELL-/bin/sh}
  475. case X$ECHO in
  476. X*--fallback-echo)
  477. # Remove one level of quotation (which was required for Make).
  478. ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  479. ;;
  480. esac
  481. echo=${ECHO-echo}
  482. if test "X$1" = X--no-reexec; then
  483. # Discard the --no-reexec flag, and continue.
  484. shift
  485. elif test "X$1" = X--fallback-echo; then
  486. # Avoid inline document here, it may be left over
  487. :
  488. elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  489. # Yippee, $echo works!
  490. :
  491. else
  492. # Restart under the correct shell.
  493. exec $SHELL "$0" --no-reexec ${1+"$@"}
  494. fi
  495. if test "X$1" = X--fallback-echo; then
  496. # used as fallback echo
  497. shift
  498. cat <<EOF
  499. $*
  500. EOF
  501. exit 0
  502. fi
  503. # The HP-UX ksh and POSIX shell print the target directory to stdout
  504. # if CDPATH is set.
  505. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  506. if test -z "$ECHO"; then
  507. if test "X${echo_test_string+set}" != Xset; then
  508. # find a string as large as possible, as long as the shell can cope with it
  509. for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  510. # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  511. if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  512. echo_test_string=`eval $cmd` &&
  513. (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  514. then
  515. break
  516. fi
  517. done
  518. fi
  519. if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  520. echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  521. test "X$echo_testing_string" = "X$echo_test_string"; then
  522. :
  523. else
  524. # The Solaris, AIX, and Digital Unix default echo programs unquote
  525. # backslashes. This makes it impossible to quote backslashes using
  526. # echo "$something" | sed 's/\\/\\\\/g'
  527. #
  528. # So, first we look for a working echo in the user's PATH.
  529. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  530. for dir in $PATH /usr/ucb; do
  531. IFS="$lt_save_ifs"
  532. if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  533. test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  534. echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  535. test "X$echo_testing_string" = "X$echo_test_string"; then
  536. echo="$dir/echo"
  537. break
  538. fi
  539. done
  540. IFS="$lt_save_ifs"
  541. if test "X$echo" = Xecho; then
  542. # We didn't find a better echo, so look for alternatives.
  543. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  544. echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  545. test "X$echo_testing_string" = "X$echo_test_string"; then
  546. # This shell has a builtin print -r that does the trick.
  547. echo='print -r'
  548. elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  549. test "X$CONFIG_SHELL" != X/bin/ksh; then
  550. # If we have ksh, try running configure again with it.
  551. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  552. export ORIGINAL_CONFIG_SHELL
  553. CONFIG_SHELL=/bin/ksh
  554. export CONFIG_SHELL
  555. exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  556. else
  557. # Try using printf.
  558. echo='printf %s\n'
  559. if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  560. echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  561. test "X$echo_testing_string" = "X$echo_test_string"; then
  562. # Cool, printf works
  563. :
  564. elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  565. test "X$echo_testing_string" = 'X\t' &&
  566. echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  567. test "X$echo_testing_string" = "X$echo_test_string"; then
  568. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  569. export CONFIG_SHELL
  570. SHELL="$CONFIG_SHELL"
  571. export SHELL
  572. echo="$CONFIG_SHELL $0 --fallback-echo"
  573. elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  574. test "X$echo_testing_string" = 'X\t' &&
  575. echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  576. test "X$echo_testing_string" = "X$echo_test_string"; then
  577. echo="$CONFIG_SHELL $0 --fallback-echo"
  578. else
  579. # maybe with a smaller string...
  580. prev=:
  581. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  582. if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  583. then
  584. break
  585. fi
  586. prev="$cmd"
  587. done
  588. if test "$prev" != 'sed 50q "$0"'; then
  589. echo_test_string=`eval $prev`
  590. export echo_test_string
  591. exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  592. else
  593. # Oops. We lost completely, so just stick with echo.
  594. echo=echo
  595. fi
  596. fi
  597. fi
  598. fi
  599. fi
  600. fi
  601. # Copy echo and quote the copy suitably for passing to libtool from
  602. # the Makefile, instead of quoting the original, which is used later.
  603. ECHO=$echo
  604. if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  605. ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  606. fi
  607. tagnames=${tagnames+${tagnames},}CXX
  608. tagnames=${tagnames+${tagnames},}F77
  609. exec 7<&0 </dev/null 6>&1
  610. # Name of the host.
  611. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  612. # so uname gets run too.
  613. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  614. #
  615. # Initializations.
  616. #
  617. ac_default_prefix=/usr/local
  618. ac_clean_files=
  619. ac_config_libobj_dir=.
  620. LIBOBJS=
  621. cross_compiling=no
  622. subdirs=
  623. MFLAGS=
  624. MAKEFLAGS=
  625. SHELL=${CONFIG_SHELL-/bin/sh}
  626. # Identity of this package.
  627. PACKAGE_NAME='libmpeg2'
  628. PACKAGE_TARNAME='libmpeg2'
  629. PACKAGE_VERSION='0.5.1'
  630. PACKAGE_STRING='libmpeg2 0.5.1'
  631. PACKAGE_BUGREPORT=''
  632. ac_unique_file="src/mpeg2dec.c"
  633. # Factoring default headers for most tests.
  634. ac_includes_default="\
  635. #include <stdio.h>
  636. #ifdef HAVE_SYS_TYPES_H
  637. # include <sys/types.h>
  638. #endif
  639. #ifdef HAVE_SYS_STAT_H
  640. # include <sys/stat.h>
  641. #endif
  642. #ifdef STDC_HEADERS
  643. # include <stdlib.h>
  644. # include <stddef.h>
  645. #else
  646. # ifdef HAVE_STDLIB_H
  647. # include <stdlib.h>
  648. # endif
  649. #endif
  650. #ifdef HAVE_STRING_H
  651. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  652. # include <memory.h>
  653. # endif
  654. # include <string.h>
  655. #endif
  656. #ifdef HAVE_STRINGS_H
  657. # include <strings.h>
  658. #endif
  659. #ifdef HAVE_INTTYPES_H
  660. # include <inttypes.h>
  661. #endif
  662. #ifdef HAVE_STDINT_H
  663. # include <stdint.h>
  664. #endif
  665. #ifdef HAVE_UNISTD_H
  666. # include <unistd.h>
  667. #endif"
  668. ac_subst_vars='SHELL
  669. PATH_SEPARATOR
  670. PACKAGE_NAME
  671. PACKAGE_TARNAME
  672. PACKAGE_VERSION
  673. PACKAGE_STRING
  674. PACKAGE_BUGREPORT
  675. exec_prefix
  676. prefix
  677. program_transform_name
  678. bindir
  679. sbindir
  680. libexecdir
  681. datarootdir
  682. datadir
  683. sysconfdir
  684. sharedstatedir
  685. localstatedir
  686. includedir
  687. oldincludedir
  688. docdir
  689. infodir
  690. htmldir
  691. dvidir
  692. pdfdir
  693. psdir
  694. libdir
  695. localedir
  696. mandir
  697. DEFS
  698. ECHO_C
  699. ECHO_N
  700. ECHO_T
  701. LIBS
  702. build_alias
  703. host_alias
  704. target_alias
  705. build
  706. build_cpu
  707. build_vendor
  708. build_os
  709. host
  710. host_cpu
  711. host_vendor
  712. host_os
  713. INSTALL_PROGRAM
  714. INSTALL_SCRIPT
  715. INSTALL_DATA
  716. am__isrc
  717. CYGPATH_W
  718. PACKAGE
  719. VERSION
  720. ACLOCAL
  721. AUTOCONF
  722. AUTOMAKE
  723. AUTOHEADER
  724. MAKEINFO
  725. install_sh
  726. STRIP
  727. INSTALL_STRIP_PROGRAM
  728. mkdir_p
  729. AWK
  730. SET_MAKE
  731. am__leading_dot
  732. AMTAR
  733. am__tar
  734. am__untar
  735. MAINTAINER_MODE_TRUE
  736. MAINTAINER_MODE_FALSE
  737. MAINT
  738. CC
  739. CFLAGS
  740. LDFLAGS
  741. CPPFLAGS
  742. ac_ct_CC
  743. EXEEXT
  744. OBJEXT
  745. DEPDIR
  746. am__include
  747. am__quote
  748. AMDEP_TRUE
  749. AMDEP_FALSE
  750. AMDEPBACKSLASH
  751. CCDEPMODE
  752. am__fastdepCC_TRUE
  753. am__fastdepCC_FALSE
  754. CPP
  755. GREP
  756. EGREP
  757. CCAS
  758. CCASFLAGS
  759. CCASDEPMODE
  760. am__fastdepCCAS_TRUE
  761. am__fastdepCCAS_FALSE
  762. OPT_CFLAGS
  763. ARCH_OPT_CFLAGS
  764. ARCH_ARM_TRUE
  765. ARCH_ARM_FALSE
  766. SED
  767. LN_S
  768. ECHO
  769. AR
  770. RANLIB
  771. DSYMUTIL
  772. NMEDIT
  773. DLLTOOL
  774. AS
  775. OBJDUMP
  776. CXX
  777. CXXFLAGS
  778. ac_ct_CXX
  779. CXXDEPMODE
  780. am__fastdepCXX_TRUE
  781. am__fastdepCXX_FALSE
  782. CXXCPP
  783. F77
  784. FFLAGS
  785. ac_ct_F77
  786. LIBTOOL
  787. AM_CPPFLAGS
  788. LIBMPEG2_CFLAGS
  789. XMKMF
  790. X_CFLAGS
  791. X_PRE_LIBS
  792. X_LIBS
  793. X_EXTRA_LIBS
  794. SDLCONFIG
  795. LIBVO_CFLAGS
  796. LIBVO_LIBS
  797. MPEG2DEC_CFLAGS
  798. LIBOBJS
  799. LTLIBOBJS'
  800. ac_subst_files=''
  801. ac_precious_vars='build_alias
  802. host_alias
  803. target_alias
  804. CC
  805. CFLAGS
  806. LDFLAGS
  807. LIBS
  808. CPPFLAGS
  809. CPP
  810. CCAS
  811. CCASFLAGS
  812. CXX
  813. CXXFLAGS
  814. CCC
  815. CXXCPP
  816. F77
  817. FFLAGS
  818. XMKMF'
  819. # Initialize some variables set by options.
  820. ac_init_help=
  821. ac_init_version=false
  822. # The variables have the same names as the options, with
  823. # dashes changed to underlines.
  824. cache_file=/dev/null
  825. exec_prefix=NONE
  826. no_create=
  827. no_recursion=
  828. prefix=NONE
  829. program_prefix=NONE
  830. program_suffix=NONE
  831. program_transform_name=s,x,x,
  832. silent=
  833. site=
  834. srcdir=
  835. verbose=
  836. x_includes=NONE
  837. x_libraries=NONE
  838. # Installation directory options.
  839. # These are left unexpanded so users can "make install exec_prefix=/foo"
  840. # and all the variables that are supposed to be based on exec_prefix
  841. # by default will actually change.
  842. # Use braces instead of parens because sh, perl, etc. also accept them.
  843. # (The list follows the same order as the GNU Coding Standards.)
  844. bindir='${exec_prefix}/bin'
  845. sbindir='${exec_prefix}/sbin'
  846. libexecdir='${exec_prefix}/libexec'
  847. datarootdir='${prefix}/share'
  848. datadir='${datarootdir}'
  849. sysconfdir='${prefix}/etc'
  850. sharedstatedir='${prefix}/com'
  851. localstatedir='${prefix}/var'
  852. includedir='${prefix}/include'
  853. oldincludedir='/usr/include'
  854. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  855. infodir='${datarootdir}/info'
  856. htmldir='${docdir}'
  857. dvidir='${docdir}'
  858. pdfdir='${docdir}'
  859. psdir='${docdir}'
  860. libdir='${exec_prefix}/lib'
  861. localedir='${datarootdir}/locale'
  862. mandir='${datarootdir}/man'
  863. ac_prev=
  864. ac_dashdash=
  865. for ac_option
  866. do
  867. # If the previous option needs an argument, assign it.
  868. if test -n "$ac_prev"; then
  869. eval $ac_prev=\$ac_option
  870. ac_prev=
  871. continue
  872. fi
  873. case $ac_option in
  874. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  875. *) ac_optarg=yes ;;
  876. esac
  877. # Accept the important Cygnus configure options, so we can diagnose typos.
  878. case $ac_dashdash$ac_option in
  879. --)
  880. ac_dashdash=yes ;;
  881. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  882. ac_prev=bindir ;;
  883. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  884. bindir=$ac_optarg ;;
  885. -build | --build | --buil | --bui | --bu)
  886. ac_prev=build_alias ;;
  887. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  888. build_alias=$ac_optarg ;;
  889. -cache-file | --cache-file | --cache-fil | --cache-fi \
  890. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  891. ac_prev=cache_file ;;
  892. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  893. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  894. cache_file=$ac_optarg ;;
  895. --config-cache | -C)
  896. cache_file=config.cache ;;
  897. -datadir | --datadir | --datadi | --datad)
  898. ac_prev=datadir ;;
  899. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  900. datadir=$ac_optarg ;;
  901. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  902. | --dataroo | --dataro | --datar)
  903. ac_prev=datarootdir ;;
  904. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  905. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  906. datarootdir=$ac_optarg ;;
  907. -disable-* | --disable-*)
  908. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  909. # Reject names that are not valid shell variable names.
  910. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  911. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  912. { (exit 1); exit 1; }; }
  913. ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  914. eval enable_$ac_feature=no ;;
  915. -docdir | --docdir | --docdi | --doc | --do)
  916. ac_prev=docdir ;;
  917. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  918. docdir=$ac_optarg ;;
  919. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  920. ac_prev=dvidir ;;
  921. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  922. dvidir=$ac_optarg ;;
  923. -enable-* | --enable-*)
  924. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  925. # Reject names that are not valid shell variable names.
  926. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  927. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  928. { (exit 1); exit 1; }; }
  929. ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  930. eval enable_$ac_feature=\$ac_optarg ;;
  931. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  932. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  933. | --exec | --exe | --ex)
  934. ac_prev=exec_prefix ;;
  935. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  936. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  937. | --exec=* | --exe=* | --ex=*)
  938. exec_prefix=$ac_optarg ;;
  939. -gas | --gas | --ga | --g)
  940. # Obsolete; use --with-gas.
  941. with_gas=yes ;;
  942. -help | --help | --hel | --he | -h)
  943. ac_init_help=long ;;
  944. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  945. ac_init_help=recursive ;;
  946. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  947. ac_init_help=short ;;
  948. -host | --host | --hos | --ho)
  949. ac_prev=host_alias ;;
  950. -host=* | --host=* | --hos=* | --ho=*)
  951. host_alias=$ac_optarg ;;
  952. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  953. ac_prev=htmldir ;;
  954. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  955. | --ht=*)
  956. htmldir=$ac_optarg ;;
  957. -includedir | --includedir | --includedi | --included | --include \
  958. | --includ | --inclu | --incl | --inc)
  959. ac_prev=includedir ;;
  960. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  961. | --includ=* | --inclu=* | --incl=* | --inc=*)
  962. includedir=$ac_optarg ;;
  963. -infodir | --infodir | --infodi | --infod | --info | --inf)
  964. ac_prev=infodir ;;
  965. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  966. infodir=$ac_optarg ;;
  967. -libdir | --libdir | --libdi | --libd)
  968. ac_prev=libdir ;;
  969. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  970. libdir=$ac_optarg ;;
  971. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  972. | --libexe | --libex | --libe)
  973. ac_prev=libexecdir ;;
  974. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  975. | --libexe=* | --libex=* | --libe=*)
  976. libexecdir=$ac_optarg ;;
  977. -localedir | --localedir | --localedi | --localed | --locale)
  978. ac_prev=localedir ;;
  979. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  980. localedir=$ac_optarg ;;
  981. -localstatedir | --localstatedir | --localstatedi | --localstated \
  982. | --localstate | --localstat | --localsta | --localst | --locals)
  983. ac_prev=localstatedir ;;
  984. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  985. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  986. localstatedir=$ac_optarg ;;
  987. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  988. ac_prev=mandir ;;
  989. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  990. mandir=$ac_optarg ;;
  991. -nfp | --nfp | --nf)
  992. # Obsolete; use --without-fp.
  993. with_fp=no ;;
  994. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  995. | --no-cr | --no-c | -n)
  996. no_create=yes ;;
  997. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  998. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  999. no_recursion=yes ;;
  1000. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1001. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1002. | --oldin | --oldi | --old | --ol | --o)
  1003. ac_prev=oldincludedir ;;
  1004. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1005. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1006. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1007. oldincludedir=$ac_optarg ;;
  1008. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1009. ac_prev=prefix ;;
  1010. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1011. prefix=$ac_optarg ;;
  1012. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1013. | --program-pre | --program-pr | --program-p)
  1014. ac_prev=program_prefix ;;
  1015. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1016. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1017. program_prefix=$ac_optarg ;;
  1018. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1019. | --program-suf | --program-su | --program-s)
  1020. ac_prev=program_suffix ;;
  1021. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1022. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1023. program_suffix=$ac_optarg ;;
  1024. -program-transform-name | --program-transform-name \
  1025. | --program-transform-nam | --program-transform-na \
  1026. | --program-transform-n | --program-transform- \
  1027. | --program-transform | --program-transfor \
  1028. | --program-transfo | --program-transf \
  1029. | --program-trans | --program-tran \
  1030. | --progr-tra | --program-tr | --program-t)
  1031. ac_prev=program_transform_name ;;
  1032. -program-transform-name=* | --program-transform-name=* \
  1033. | --program-transform-nam=* | --program-transform-na=* \
  1034. | --program-transform-n=* | --program-transform-=* \
  1035. | --program-transform=* | --program-transfor=* \
  1036. | --program-transfo=* | --program-transf=* \
  1037. | --program-trans=* | --program-tran=* \
  1038. | --progr-tra=* | --program-tr=* | --program-t=*)
  1039. program_transform_name=$ac_optarg ;;
  1040. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1041. ac_prev=pdfdir ;;
  1042. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1043. pdfdir=$ac_optarg ;;
  1044. -psdir | --psdir | --psdi | --psd | --ps)
  1045. ac_prev=psdir ;;
  1046. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1047. psdir=$ac_optarg ;;
  1048. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1049. | -silent | --silent | --silen | --sile | --sil)
  1050. silent=yes ;;
  1051. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1052. ac_prev=sbindir ;;
  1053. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1054. | --sbi=* | --sb=*)
  1055. sbindir=$ac_optarg ;;
  1056. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1057. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1058. | --sharedst | --shareds | --shared | --share | --shar \
  1059. | --sha | --sh)
  1060. ac_prev=sharedstatedir ;;
  1061. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1062. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1063. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1064. | --sha=* | --sh=*)
  1065. sharedstatedir=$ac_optarg ;;
  1066. -site | --site | --sit)
  1067. ac_prev=site ;;
  1068. -site=* | --site=* | --sit=*)
  1069. site=$ac_optarg ;;
  1070. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1071. ac_prev=srcdir ;;
  1072. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1073. srcdir=$ac_optarg ;;
  1074. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1075. | --syscon | --sysco | --sysc | --sys | --sy)
  1076. ac_prev=sysconfdir ;;
  1077. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1078. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1079. sysconfdir=$ac_optarg ;;
  1080. -target | --target | --targe | --targ | --tar | --ta | --t)
  1081. ac_prev=target_alias ;;
  1082. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1083. target_alias=$ac_optarg ;;
  1084. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1085. verbose=yes ;;
  1086. -version | --version | --versio | --versi | --vers | -V)
  1087. ac_init_version=: ;;
  1088. -with-* | --with-*)
  1089. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1090. # Reject names that are not valid shell variable names.
  1091. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1092. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1093. { (exit 1); exit 1; }; }
  1094. ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1095. eval with_$ac_package=\$ac_optarg ;;
  1096. -without-* | --without-*)
  1097. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1098. # Reject names that are not valid shell variable names.
  1099. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1100. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1101. { (exit 1); exit 1; }; }
  1102. ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1103. eval with_$ac_package=no ;;
  1104. --x)
  1105. # Obsolete; use --with-x.
  1106. with_x=yes ;;
  1107. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1108. | --x-incl | --x-inc | --x-in | --x-i)
  1109. ac_prev=x_includes ;;
  1110. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1111. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1112. x_includes=$ac_optarg ;;
  1113. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1114. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1115. ac_prev=x_libraries ;;
  1116. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1117. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1118. x_libraries=$ac_optarg ;;
  1119. -*) { echo "$as_me: error: unrecognized option: $ac_option
  1120. Try \`$0 --help' for more information." >&2
  1121. { (exit 1); exit 1; }; }
  1122. ;;
  1123. *=*)
  1124. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1125. # Reject names that are not valid shell variable names.
  1126. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1127. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1128. { (exit 1); exit 1; }; }
  1129. eval $ac_envvar=\$ac_optarg
  1130. export $ac_envvar ;;
  1131. *)
  1132. # FIXME: should be removed in autoconf 3.0.
  1133. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1134. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1135. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1136. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1137. ;;
  1138. esac
  1139. done
  1140. if test -n "$ac_prev"; then
  1141. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1142. { echo "$as_me: error: missing argument to $ac_option" >&2
  1143. { (exit 1); exit 1; }; }
  1144. fi
  1145. # Be sure to have absolute directory names.
  1146. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1147. datadir sysconfdir sharedstatedir localstatedir includedir \
  1148. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1149. libdir localedir mandir
  1150. do
  1151. eval ac_val=\$$ac_var
  1152. case $ac_val in
  1153. [\\/$]* | ?:[\\/]* ) continue;;
  1154. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1155. esac
  1156. { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1157. { (exit 1); exit 1; }; }
  1158. done
  1159. # There might be people who depend on the old broken behavior: `$host'
  1160. # used to hold the argument of --host etc.
  1161. # FIXME: To remove some day.
  1162. build=$build_alias
  1163. host=$host_alias
  1164. target=$target_alias
  1165. # FIXME: To remove some day.
  1166. if test "x$host_alias" != x; then
  1167. if test "x$build_alias" = x; then
  1168. cross_compiling=maybe
  1169. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1170. If a cross compiler is detected then cross compile mode will be used." >&2
  1171. elif test "x$build_alias" != "x$host_alias"; then
  1172. cross_compiling=yes
  1173. fi
  1174. fi
  1175. ac_tool_prefix=
  1176. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1177. test "$silent" = yes && exec 6>/dev/null
  1178. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1179. ac_ls_di=`ls -di .` &&
  1180. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1181. { echo "$as_me: error: Working directory cannot be determined" >&2
  1182. { (exit 1); exit 1; }; }
  1183. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1184. { echo "$as_me: error: pwd does not report name of working directory" >&2
  1185. { (exit 1); exit 1; }; }
  1186. # Find the source files, if location was not specified.
  1187. if test -z "$srcdir"; then
  1188. ac_srcdir_defaulted=yes
  1189. # Try the directory containing this script, then the parent directory.
  1190. ac_confdir=`$as_dirname -- "$0" ||
  1191. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1192. X"$0" : 'X\(//\)[^/]' \| \
  1193. X"$0" : 'X\(//\)$' \| \
  1194. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1195. echo X"$0" |
  1196. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1197. s//\1/
  1198. q
  1199. }
  1200. /^X\(\/\/\)[^/].*/{
  1201. s//\1/
  1202. q
  1203. }
  1204. /^X\(\/\/\)$/{
  1205. s//\1/
  1206. q
  1207. }
  1208. /^X\(\/\).*/{
  1209. s//\1/
  1210. q
  1211. }
  1212. s/.*/./; q'`
  1213. srcdir=$ac_confdir
  1214. if test ! -r "$srcdir/$ac_unique_file"; then
  1215. srcdir=..
  1216. fi
  1217. else
  1218. ac_srcdir_defaulted=no
  1219. fi
  1220. if test ! -r "$srcdir/$ac_unique_file"; then
  1221. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1222. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1223. { (exit 1); exit 1; }; }
  1224. fi
  1225. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1226. ac_abs_confdir=`(
  1227. cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1228. { (exit 1); exit 1; }; }
  1229. pwd)`
  1230. # When building in place, set srcdir=.
  1231. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1232. srcdir=.
  1233. fi
  1234. # Remove unnecessary trailing slashes from srcdir.
  1235. # Double slashes in file names in object file debugging info
  1236. # mess up M-x gdb in Emacs.
  1237. case $srcdir in
  1238. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1239. esac
  1240. for ac_var in $ac_precious_vars; do
  1241. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1242. eval ac_env_${ac_var}_value=\$${ac_var}
  1243. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1244. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1245. done
  1246. #
  1247. # Report the --help message.
  1248. #
  1249. if test "$ac_init_help" = "long"; then
  1250. # Omit some internal or obsolete options to make the list less imposing.
  1251. # This message is too long to be a string in the A/UX 3.1 sh.
  1252. cat <<_ACEOF
  1253. \`configure' configures libmpeg2 0.5.1 to adapt to many kinds of systems.
  1254. Usage: $0 [OPTION]... [VAR=VALUE]...
  1255. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1256. VAR=VALUE. See below for descriptions of some of the useful variables.
  1257. Defaults for the options are specified in brackets.
  1258. Configuration:
  1259. -h, --help display this help and exit
  1260. --help=short display options specific to this package
  1261. --help=recursive display the short help of all the included packages
  1262. -V, --version display version information and exit
  1263. -q, --quiet, --silent do not print \`checking...' messages
  1264. --cache-file=FILE cache test results in FILE [disabled]
  1265. -C, --config-cache alias for \`--cache-file=config.cache'
  1266. -n, --no-create do not create output files
  1267. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1268. Installation directories:
  1269. --prefix=PREFIX install architecture-independent files in PREFIX
  1270. [$ac_default_prefix]
  1271. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1272. [PREFIX]
  1273. By default, \`make install' will install all the files in
  1274. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1275. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1276. for instance \`--prefix=\$HOME'.
  1277. For better control, use the options below.
  1278. Fine tuning of the installation directories:
  1279. --bindir=DIR user executables [EPREFIX/bin]
  1280. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1281. --libexecdir=DIR program executables [EPREFIX/libexec]
  1282. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1283. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1284. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1285. --libdir=DIR object code libraries [EPREFIX/lib]
  1286. --includedir=DIR C header files [PREFIX/include]
  1287. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1288. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1289. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1290. --infodir=DIR info documentation [DATAROOTDIR/info]
  1291. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1292. --mandir=DIR man documentation [DATAROOTDIR/man]
  1293. --docdir=DIR documentation root [DATAROOTDIR/doc/libmpeg2]
  1294. --htmldir=DIR html documentation [DOCDIR]
  1295. --dvidir=DIR dvi documentation [DOCDIR]
  1296. --pdfdir=DIR pdf documentation [DOCDIR]
  1297. --psdir=DIR ps documentation [DOCDIR]
  1298. _ACEOF
  1299. cat <<\_ACEOF
  1300. Program names:
  1301. --program-prefix=PREFIX prepend PREFIX to installed program names
  1302. --program-suffix=SUFFIX append SUFFIX to installed program names
  1303. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1304. X features:
  1305. --x-includes=DIR X include files are in DIR
  1306. --x-libraries=DIR X library files are in DIR
  1307. System types:
  1308. --build=BUILD configure for building on BUILD [guessed]
  1309. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1310. _ACEOF
  1311. fi
  1312. if test -n "$ac_init_help"; then
  1313. case $ac_init_help in
  1314. short | recursive ) echo "Configuration of libmpeg2 0.5.1:";;
  1315. esac
  1316. cat <<\_ACEOF
  1317. Optional Features:
  1318. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1319. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1320. --enable-maintainer-mode enable make rules and dependencies not useful
  1321. (and sometimes confusing) to the casual installer
  1322. --disable-dependency-tracking speeds up one-time build
  1323. --enable-dependency-tracking do not reject slow dependency extractors
  1324. --enable-debug debug mode configuration
  1325. --enable-shared[=PKGS] build shared libraries [default=yes]
  1326. --enable-static[=PKGS] build static libraries [default=yes]
  1327. --enable-fast-install[=PKGS]
  1328. optimize for fast installation [default=yes]
  1329. --disable-libtool-lock avoid locking (might break parallel builds)
  1330. --disable-largefile omit support for large files
  1331. --disable-accel-detect make a version without accel detection code
  1332. --enable-directx=DIR use Win32 DirectX headers in DIR
  1333. --disable-sdl make a version not using SDL
  1334. --enable-warnings treat warnings as errors
  1335. --enable-gprof make a version using gprof
  1336. Optional Packages:
  1337. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1338. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1339. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1340. --with-pic try to use only PIC/non-PIC objects [default=use
  1341. both]
  1342. --with-tags[=TAGS] include additional configurations [automatic]
  1343. --with-x use the X Window System
  1344. Some influential environment variables:
  1345. CC C compiler command
  1346. CFLAGS C compiler flags
  1347. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1348. nonstandard directory <lib dir>
  1349. LIBS libraries to pass to the linker, e.g. -l<library>
  1350. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1351. you have headers in a nonstandard directory <include dir>
  1352. CPP C preprocessor
  1353. CCAS assembler compiler command (defaults to CC)
  1354. CCASFLAGS assembler compiler flags (defaults to CFLAGS)
  1355. CXX C++ compiler command
  1356. CXXFLAGS C++ compiler flags
  1357. CXXCPP C++ preprocessor
  1358. F77 Fortran 77 compiler command
  1359. FFLAGS Fortran 77 compiler flags
  1360. XMKMF Path to xmkmf, Makefile generator for X Window System
  1361. Use these variables to override the choices made by `configure' or to help
  1362. it to find libraries and programs with nonstandard names/locations.
  1363. _ACEOF
  1364. ac_status=$?
  1365. fi
  1366. if test "$ac_init_help" = "recursive"; then
  1367. # If there are subdirs, report their specific --help.
  1368. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1369. test -d "$ac_dir" || continue
  1370. ac_builddir=.
  1371. case "$ac_dir" in
  1372. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1373. *)
  1374. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1375. # A ".." for each directory in $ac_dir_suffix.
  1376. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1377. case $ac_top_builddir_sub in
  1378. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1379. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1380. esac ;;
  1381. esac
  1382. ac_abs_top_builddir=$ac_pwd
  1383. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1384. # for backward compatibility:
  1385. ac_top_builddir=$ac_top_build_prefix
  1386. case $srcdir in
  1387. .) # We are building in place.
  1388. ac_srcdir=.
  1389. ac_top_srcdir=$ac_top_builddir_sub
  1390. ac_abs_top_srcdir=$ac_pwd ;;
  1391. [\\/]* | ?:[\\/]* ) # Absolute name.
  1392. ac_srcdir=$srcdir$ac_dir_suffix;
  1393. ac_top_srcdir=$srcdir
  1394. ac_abs_top_srcdir=$srcdir ;;
  1395. *) # Relative name.
  1396. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1397. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1398. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1399. esac
  1400. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1401. cd "$ac_dir" || { ac_status=$?; continue; }
  1402. # Check for guested configure.
  1403. if test -f "$ac_srcdir/configure.gnu"; then
  1404. echo &&
  1405. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1406. elif test -f "$ac_srcdir/configure"; then
  1407. echo &&
  1408. $SHELL "$ac_srcdir/configure" --help=recursive
  1409. else
  1410. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1411. fi || ac_status=$?
  1412. cd "$ac_pwd" || { ac_status=$?; break; }
  1413. done
  1414. fi
  1415. test -n "$ac_init_help" && exit $ac_status
  1416. if $ac_init_version; then
  1417. cat <<\_ACEOF
  1418. libmpeg2 configure 0.5.1
  1419. generated by GNU Autoconf 2.61
  1420. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1421. 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1422. This configure script is free software; the Free Software Foundation
  1423. gives unlimited permission to copy, distribute and modify it.
  1424. _ACEOF
  1425. exit
  1426. fi
  1427. cat >config.log <<_ACEOF
  1428. This file contains any messages produced by compilers while
  1429. running configure, to aid debugging if configure makes a mistake.
  1430. It was created by libmpeg2 $as_me 0.5.1, which was
  1431. generated by GNU Autoconf 2.61. Invocation command line was
  1432. $ $0 $@
  1433. _ACEOF
  1434. exec 5>>config.log
  1435. {
  1436. cat <<_ASUNAME
  1437. ## --------- ##
  1438. ## Platform. ##
  1439. ## --------- ##
  1440. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1441. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1442. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1443. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1444. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1445. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1446. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1447. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1448. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1449. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1450. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1451. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1452. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1453. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1454. _ASUNAME
  1455. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1456. for as_dir in $PATH
  1457. do
  1458. IFS=$as_save_IFS
  1459. test -z "$as_dir" && as_dir=.
  1460. echo "PATH: $as_dir"
  1461. done
  1462. IFS=$as_save_IFS
  1463. } >&5
  1464. cat >&5 <<_ACEOF
  1465. ## ----------- ##
  1466. ## Core tests. ##
  1467. ## ----------- ##
  1468. _ACEOF
  1469. # Keep a trace of the command line.
  1470. # Strip out --no-create and --no-recursion so they do not pile up.
  1471. # Strip out --silent because we don't want to record it for future runs.
  1472. # Also quote any args containing shell meta-characters.
  1473. # Make two passes to allow for proper duplicate-argument suppression.
  1474. ac_configure_args=
  1475. ac_configure_args0=
  1476. ac_configure_args1=
  1477. ac_must_keep_next=false
  1478. for ac_pass in 1 2
  1479. do
  1480. for ac_arg
  1481. do
  1482. case $ac_arg in
  1483. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1484. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1485. | -silent | --silent | --silen | --sile | --sil)
  1486. continue ;;
  1487. *\'*)
  1488. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1489. esac
  1490. case $ac_pass in
  1491. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1492. 2)
  1493. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1494. if test $ac_must_keep_next = true; then
  1495. ac_must_keep_next=false # Got value, back to normal.
  1496. else
  1497. case $ac_arg in
  1498. *=* | --config-cache | -C | -disable-* | --disable-* \
  1499. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1500. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1501. | -with-* | --with-* | -without-* | --without-* | --x)
  1502. case "$ac_configure_args0 " in
  1503. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1504. esac
  1505. ;;
  1506. -* ) ac_must_keep_next=true ;;
  1507. esac
  1508. fi
  1509. ac_configure_args="$ac_configure_args '$ac_arg'"
  1510. ;;
  1511. esac
  1512. done
  1513. done
  1514. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1515. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1516. # When interrupted or exit'd, cleanup temporary files, and complete
  1517. # config.log. We remove comments because anyway the quotes in there
  1518. # would cause problems or look ugly.
  1519. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1520. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1521. trap 'exit_status=$?
  1522. # Save into config.log some information that might help in debugging.
  1523. {
  1524. echo
  1525. cat <<\_ASBOX
  1526. ## ---------------- ##
  1527. ## Cache variables. ##
  1528. ## ---------------- ##
  1529. _ASBOX
  1530. echo
  1531. # The following way of writing the cache mishandles newlines in values,
  1532. (
  1533. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1534. eval ac_val=\$$ac_var
  1535. case $ac_val in #(
  1536. *${as_nl}*)
  1537. case $ac_var in #(
  1538. *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1539. echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1540. esac
  1541. case $ac_var in #(
  1542. _ | IFS | as_nl) ;; #(
  1543. *) $as_unset $ac_var ;;
  1544. esac ;;
  1545. esac
  1546. done
  1547. (set) 2>&1 |
  1548. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1549. *${as_nl}ac_space=\ *)
  1550. sed -n \
  1551. "s/'\''/'\''\\\\'\'''\''/g;
  1552. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1553. ;; #(
  1554. *)
  1555. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1556. ;;
  1557. esac |
  1558. sort
  1559. )
  1560. echo
  1561. cat <<\_ASBOX
  1562. ## ----------------- ##
  1563. ## Output variables. ##
  1564. ## ----------------- ##
  1565. _ASBOX
  1566. echo
  1567. for ac_var in $ac_subst_vars
  1568. do
  1569. eval ac_val=\$$ac_var
  1570. case $ac_val in
  1571. *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1572. esac
  1573. echo "$ac_var='\''$ac_val'\''"
  1574. done | sort
  1575. echo
  1576. if test -n "$ac_subst_files"; then
  1577. cat <<\_ASBOX
  1578. ## ------------------- ##
  1579. ## File substitutions. ##
  1580. ## ------------------- ##
  1581. _ASBOX
  1582. ec

Large files files are truncated, but you can click here to view the full file