PageRenderTime 77ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 2ms

/lib/enca/configure

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

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