You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16926 lines
485 KiB

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for pcsc-lite 1.8.13.
  4. #
  5. #
  6. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  7. #
  8. #
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. as_myself=
  84. case $0 in #((
  85. *[\\/]* ) as_myself=$0 ;;
  86. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  87. for as_dir in $PATH
  88. do
  89. IFS=$as_save_IFS
  90. test -z "$as_dir" && as_dir=.
  91. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  92. done
  93. IFS=$as_save_IFS
  94. ;;
  95. esac
  96. # We did not find ourselves, most probably we were run as `sh COMMAND'
  97. # in which case we are not to be found in the path.
  98. if test "x$as_myself" = x; then
  99. as_myself=$0
  100. fi
  101. if test ! -f "$as_myself"; then
  102. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  103. exit 1
  104. fi
  105. # Unset variables that we do not need and which cause bugs (e.g. in
  106. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  107. # suppresses any "Segmentation fault" message there. '((' could
  108. # trigger a bug in pdksh 5.2.14.
  109. for as_var in BASH_ENV ENV MAIL MAILPATH
  110. do eval test x\${$as_var+set} = xset \
  111. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  112. done
  113. PS1='$ '
  114. PS2='> '
  115. PS4='+ '
  116. # NLS nuisances.
  117. LC_ALL=C
  118. export LC_ALL
  119. LANGUAGE=C
  120. export LANGUAGE
  121. # CDPATH.
  122. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  123. # Use a proper internal environment variable to ensure we don't fall
  124. # into an infinite loop, continuously re-executing ourselves.
  125. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  126. _as_can_reexec=no; export _as_can_reexec;
  127. # We cannot yet assume a decent shell, so we have to provide a
  128. # neutralization value for shells without unset; and this also
  129. # works around shells that cannot unset nonexistent variables.
  130. # Preserve -v and -x to the replacement shell.
  131. BASH_ENV=/dev/null
  132. ENV=/dev/null
  133. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  134. case $- in # ((((
  135. *v*x* | *x*v* ) as_opts=-vx ;;
  136. *v* ) as_opts=-v ;;
  137. *x* ) as_opts=-x ;;
  138. * ) as_opts= ;;
  139. esac
  140. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  141. # Admittedly, this is quite paranoid, since all the known shells bail
  142. # out after a failed `exec'.
  143. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  144. as_fn_exit 255
  145. fi
  146. # We don't want this to propagate to other subprocesses.
  147. { _as_can_reexec=; unset _as_can_reexec;}
  148. if test "x$CONFIG_SHELL" = x; then
  149. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  150. emulate sh
  151. NULLCMD=:
  152. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  153. # is contrary to our usage. Disable this feature.
  154. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  155. setopt NO_GLOB_SUBST
  156. else
  157. case \`(set -o) 2>/dev/null\` in #(
  158. *posix*) :
  159. set -o posix ;; #(
  160. *) :
  161. ;;
  162. esac
  163. fi
  164. "
  165. as_required="as_fn_return () { (exit \$1); }
  166. as_fn_success () { as_fn_return 0; }
  167. as_fn_failure () { as_fn_return 1; }
  168. as_fn_ret_success () { return 0; }
  169. as_fn_ret_failure () { return 1; }
  170. exitcode=0
  171. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  172. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  173. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  174. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  175. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  176. else
  177. exitcode=1; echo positional parameters were not saved.
  178. fi
  179. test x\$exitcode = x0 || exit 1
  180. test -x / || exit 1"
  181. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  182. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  183. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  184. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  185. test \$(( 1 + 1 )) = 2 || exit 1
  186. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  187. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  188. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  189. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  190. PATH=/empty FPATH=/empty; export PATH FPATH
  191. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  192. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  193. if (eval "$as_required") 2>/dev/null; then :
  194. as_have_required=yes
  195. else
  196. as_have_required=no
  197. fi
  198. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  199. else
  200. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  201. as_found=false
  202. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  203. do
  204. IFS=$as_save_IFS
  205. test -z "$as_dir" && as_dir=.
  206. as_found=:
  207. case $as_dir in #(
  208. /*)
  209. for as_base in sh bash ksh sh5; do
  210. # Try only shells that exist, to save several forks.
  211. as_shell=$as_dir/$as_base
  212. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  213. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  214. CONFIG_SHELL=$as_shell as_have_required=yes
  215. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  216. break 2
  217. fi
  218. fi
  219. done;;
  220. esac
  221. as_found=false
  222. done
  223. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  224. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  225. CONFIG_SHELL=$SHELL as_have_required=yes
  226. fi; }
  227. IFS=$as_save_IFS
  228. if test "x$CONFIG_SHELL" != x; then :
  229. export CONFIG_SHELL
  230. # We cannot yet assume a decent shell, so we have to provide a
  231. # neutralization value for shells without unset; and this also
  232. # works around shells that cannot unset nonexistent variables.
  233. # Preserve -v and -x to the replacement shell.
  234. BASH_ENV=/dev/null
  235. ENV=/dev/null
  236. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  237. case $- in # ((((
  238. *v*x* | *x*v* ) as_opts=-vx ;;
  239. *v* ) as_opts=-v ;;
  240. *x* ) as_opts=-x ;;
  241. * ) as_opts= ;;
  242. esac
  243. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  244. # Admittedly, this is quite paranoid, since all the known shells bail
  245. # out after a failed `exec'.
  246. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  247. exit 255
  248. fi
  249. if test x$as_have_required = xno; then :
  250. $as_echo "$0: This script requires a shell more modern than all"
  251. $as_echo "$0: the shells that I found on your system."
  252. if test x${ZSH_VERSION+set} = xset ; then
  253. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  254. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  255. else
  256. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  257. $0: including any error possibly output before this
  258. $0: message. Then install a modern shell, or manually run
  259. $0: the script under such a shell if you do have one."
  260. fi
  261. exit 1
  262. fi
  263. fi
  264. fi
  265. SHELL=${CONFIG_SHELL-/bin/sh}
  266. export SHELL
  267. # Unset more variables known to interfere with behavior of common tools.
  268. CLICOLOR_FORCE= GREP_OPTIONS=
  269. unset CLICOLOR_FORCE GREP_OPTIONS
  270. ## --------------------- ##
  271. ## M4sh Shell Functions. ##
  272. ## --------------------- ##
  273. # as_fn_unset VAR
  274. # ---------------
  275. # Portably unset VAR.
  276. as_fn_unset ()
  277. {
  278. { eval $1=; unset $1;}
  279. }
  280. as_unset=as_fn_unset
  281. # as_fn_set_status STATUS
  282. # -----------------------
  283. # Set $? to STATUS, without forking.
  284. as_fn_set_status ()
  285. {
  286. return $1
  287. } # as_fn_set_status
  288. # as_fn_exit STATUS
  289. # -----------------
  290. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  291. as_fn_exit ()
  292. {
  293. set +e
  294. as_fn_set_status $1
  295. exit $1
  296. } # as_fn_exit
  297. # as_fn_mkdir_p
  298. # -------------
  299. # Create "$as_dir" as a directory, including parents if necessary.
  300. as_fn_mkdir_p ()
  301. {
  302. case $as_dir in #(
  303. -*) as_dir=./$as_dir;;
  304. esac
  305. test -d "$as_dir" || eval $as_mkdir_p || {
  306. as_dirs=
  307. while :; do
  308. case $as_dir in #(
  309. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  310. *) as_qdir=$as_dir;;
  311. esac
  312. as_dirs="'$as_qdir' $as_dirs"
  313. as_dir=`$as_dirname -- "$as_dir" ||
  314. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  315. X"$as_dir" : 'X\(//\)[^/]' \| \
  316. X"$as_dir" : 'X\(//\)$' \| \
  317. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  318. $as_echo X"$as_dir" |
  319. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  320. s//\1/
  321. q
  322. }
  323. /^X\(\/\/\)[^/].*/{
  324. s//\1/
  325. q
  326. }
  327. /^X\(\/\/\)$/{
  328. s//\1/
  329. q
  330. }
  331. /^X\(\/\).*/{
  332. s//\1/
  333. q
  334. }
  335. s/.*/./; q'`
  336. test -d "$as_dir" && break
  337. done
  338. test -z "$as_dirs" || eval "mkdir $as_dirs"
  339. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  340. } # as_fn_mkdir_p
  341. # as_fn_executable_p FILE
  342. # -----------------------
  343. # Test if FILE is an executable regular file.
  344. as_fn_executable_p ()
  345. {
  346. test -f "$1" && test -x "$1"
  347. } # as_fn_executable_p
  348. # as_fn_append VAR VALUE
  349. # ----------------------
  350. # Append the text in VALUE to the end of the definition contained in VAR. Take
  351. # advantage of any shell optimizations that allow amortized linear growth over
  352. # repeated appends, instead of the typical quadratic growth present in naive
  353. # implementations.
  354. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  355. eval 'as_fn_append ()
  356. {
  357. eval $1+=\$2
  358. }'
  359. else
  360. as_fn_append ()
  361. {
  362. eval $1=\$$1\$2
  363. }
  364. fi # as_fn_append
  365. # as_fn_arith ARG...
  366. # ------------------
  367. # Perform arithmetic evaluation on the ARGs, and store the result in the
  368. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  369. # must be portable across $(()) and expr.
  370. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  371. eval 'as_fn_arith ()
  372. {
  373. as_val=$(( $* ))
  374. }'
  375. else
  376. as_fn_arith ()
  377. {
  378. as_val=`expr "$@" || test $? -eq 1`
  379. }
  380. fi # as_fn_arith
  381. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  382. # ----------------------------------------
  383. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  384. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  385. # script with STATUS, using 1 if that was 0.
  386. as_fn_error ()
  387. {
  388. as_status=$1; test $as_status -eq 0 && as_status=1
  389. if test "$4"; then
  390. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  391. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  392. fi
  393. $as_echo "$as_me: error: $2" >&2
  394. as_fn_exit $as_status
  395. } # as_fn_error
  396. if expr a : '\(a\)' >/dev/null 2>&1 &&
  397. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  398. as_expr=expr
  399. else
  400. as_expr=false
  401. fi
  402. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  403. as_basename=basename
  404. else
  405. as_basename=false
  406. fi
  407. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  408. as_dirname=dirname
  409. else
  410. as_dirname=false
  411. fi
  412. as_me=`$as_basename -- "$0" ||
  413. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  414. X"$0" : 'X\(//\)$' \| \
  415. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  416. $as_echo X/"$0" |
  417. sed '/^.*\/\([^/][^/]*\)\/*$/{
  418. s//\1/
  419. q
  420. }
  421. /^X\/\(\/\/\)$/{
  422. s//\1/
  423. q
  424. }
  425. /^X\/\(\/\).*/{
  426. s//\1/
  427. q
  428. }
  429. s/.*/./; q'`
  430. # Avoid depending upon Character Ranges.
  431. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  432. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  433. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  434. as_cr_digits='0123456789'
  435. as_cr_alnum=$as_cr_Letters$as_cr_digits
  436. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  437. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  438. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  439. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  440. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  441. sed -n '
  442. p
  443. /[$]LINENO/=
  444. ' <$as_myself |
  445. sed '
  446. s/[$]LINENO.*/&-/
  447. t lineno
  448. b
  449. :lineno
  450. N
  451. :loop
  452. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  453. t loop
  454. s/-\n.*//
  455. ' >$as_me.lineno &&
  456. chmod +x "$as_me.lineno" ||
  457. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  458. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  459. # already done that, so ensure we don't try to do so again and fall
  460. # in an infinite loop. This has already happened in practice.
  461. _as_can_reexec=no; export _as_can_reexec
  462. # Don't try to exec as it changes $[0], causing all sort of problems
  463. # (the dirname of $[0] is not the place where we might find the
  464. # original and so on. Autoconf is especially sensitive to this).
  465. . "./$as_me.lineno"
  466. # Exit status is that of the last command.
  467. exit
  468. }
  469. ECHO_C= ECHO_N= ECHO_T=
  470. case `echo -n x` in #(((((
  471. -n*)
  472. case `echo 'xy\c'` in
  473. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  474. xy) ECHO_C='\c';;
  475. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  476. ECHO_T=' ';;
  477. esac;;
  478. *)
  479. ECHO_N='-n';;
  480. esac
  481. rm -f conf$$ conf$$.exe conf$$.file
  482. if test -d conf$$.dir; then
  483. rm -f conf$$.dir/conf$$.file
  484. else
  485. rm -f conf$$.dir
  486. mkdir conf$$.dir 2>/dev/null
  487. fi
  488. if (echo >conf$$.file) 2>/dev/null; then
  489. if ln -s conf$$.file conf$$ 2>/dev/null; then
  490. as_ln_s='ln -s'
  491. # ... but there are two gotchas:
  492. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  493. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  494. # In both cases, we have to default to `cp -pR'.
  495. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  496. as_ln_s='cp -pR'
  497. elif ln conf$$.file conf$$ 2>/dev/null; then
  498. as_ln_s=ln
  499. else
  500. as_ln_s='cp -pR'
  501. fi
  502. else
  503. as_ln_s='cp -pR'
  504. fi
  505. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  506. rmdir conf$$.dir 2>/dev/null
  507. if mkdir -p . 2>/dev/null; then
  508. as_mkdir_p='mkdir -p "$as_dir"'
  509. else
  510. test -d ./-p && rmdir ./-p
  511. as_mkdir_p=false
  512. fi
  513. as_test_x='test -x'
  514. as_executable_p=as_fn_executable_p
  515. # Sed expression to map a string onto a valid CPP name.
  516. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  517. # Sed expression to map a string onto a valid variable name.
  518. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  519. SHELL=${CONFIG_SHELL-/bin/sh}
  520. test -n "$DJDIR" || exec 7<&0 </dev/null
  521. exec 6>&1
  522. # Name of the host.
  523. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  524. # so uname gets run too.
  525. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  526. #
  527. # Initializations.
  528. #
  529. ac_default_prefix=/usr/local
  530. ac_clean_files=
  531. ac_config_libobj_dir=.
  532. LIBOBJS=
  533. cross_compiling=no
  534. subdirs=
  535. MFLAGS=
  536. MAKEFLAGS=
  537. # Identity of this package.
  538. PACKAGE_NAME='pcsc-lite'
  539. PACKAGE_TARNAME='pcsc-lite'
  540. PACKAGE_VERSION='1.8.13'
  541. PACKAGE_STRING='pcsc-lite 1.8.13'
  542. PACKAGE_BUGREPORT=''
  543. PACKAGE_URL=''
  544. ac_unique_file="src/pcscdaemon.c"
  545. # Factoring default headers for most tests.
  546. ac_includes_default="\
  547. #include <stdio.h>
  548. #ifdef HAVE_SYS_TYPES_H
  549. # include <sys/types.h>
  550. #endif
  551. #ifdef HAVE_SYS_STAT_H
  552. # include <sys/stat.h>
  553. #endif
  554. #ifdef STDC_HEADERS
  555. # include <stdlib.h>
  556. # include <stddef.h>
  557. #else
  558. # ifdef HAVE_STDLIB_H
  559. # include <stdlib.h>
  560. # endif
  561. #endif
  562. #ifdef HAVE_STRING_H
  563. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  564. # include <memory.h>
  565. # endif
  566. # include <string.h>
  567. #endif
  568. #ifdef HAVE_STRINGS_H
  569. # include <strings.h>
  570. #endif
  571. #ifdef HAVE_INTTYPES_H
  572. # include <inttypes.h>
  573. #endif
  574. #ifdef HAVE_STDINT_H
  575. # include <stdint.h>
  576. #endif
  577. #ifdef HAVE_UNISTD_H
  578. # include <unistd.h>
  579. #endif"
  580. ac_subst_vars='am__EXEEXT_FALSE
  581. am__EXEEXT_TRUE
  582. LTLIBOBJS
  583. PCSCLITE_CONFIG_DIR
  584. localstatedir_exp
  585. sbindir_exp
  586. confdir_exp
  587. host_to_ccid_32
  588. host_to_ccid_16
  589. serialconfdir
  590. ipcdir
  591. usbdropdir
  592. usbdropdir_exp
  593. HAVE_SYSTEMD_FALSE
  594. HAVE_SYSTEMD_TRUE
  595. systemdsystemunitdir
  596. ENABLE_POLKIT_FALSE
  597. ENABLE_POLKIT_TRUE
  598. POLICY_DIR
  599. POLKIT_LIBS
  600. POLKIT_CFLAGS
  601. LIBUSBCONFIG
  602. LIBUSB_LIBS
  603. LIBUSB_CFLAGS
  604. LIBUDEV_LIBS
  605. LIBUDEV_CFLAGS
  606. ENABLE_USB_FALSE
  607. ENABLE_USB_TRUE
  608. ENABLE_SERIAL_FALSE
  609. ENABLE_SERIAL_TRUE
  610. SYMBOL_VISIBILITY
  611. LIBOBJS
  612. OTOOL64
  613. OTOOL
  614. LIPO
  615. NMEDIT
  616. DSYMUTIL
  617. MANIFEST_TOOL
  618. RANLIB
  619. DLLTOOL
  620. OBJDUMP
  621. NM
  622. ac_ct_DUMPBIN
  623. DUMPBIN
  624. LD
  625. FGREP
  626. SED
  627. LIBTOOL
  628. PTHREAD_CFLAGS
  629. PTHREAD_LIBS
  630. PTHREAD_CC
  631. ax_pthread_config
  632. ac_ct_AR
  633. AR
  634. PKG_CONFIG_LIBDIR
  635. PKG_CONFIG_PATH
  636. PKG_CONFIG
  637. LEXLIB
  638. LEX_OUTPUT_ROOT
  639. LEX
  640. LN_S
  641. MAINT
  642. MAINTAINER_MODE_FALSE
  643. MAINTAINER_MODE_TRUE
  644. IOKIT
  645. COREFOUNDATION
  646. EGREP
  647. GREP
  648. CPP
  649. am__fastdepCC_FALSE
  650. am__fastdepCC_TRUE
  651. CCDEPMODE
  652. am__nodep
  653. AMDEPBACKSLASH
  654. AMDEP_FALSE
  655. AMDEP_TRUE
  656. am__quote
  657. am__include
  658. DEPDIR
  659. OBJEXT
  660. EXEEXT
  661. ac_ct_CC
  662. CPPFLAGS
  663. LDFLAGS
  664. CFLAGS
  665. CC
  666. host_os
  667. host_vendor
  668. host_cpu
  669. host
  670. build_os
  671. build_vendor
  672. build_cpu
  673. build
  674. AM_BACKSLASH
  675. AM_DEFAULT_VERBOSITY
  676. AM_DEFAULT_V
  677. AM_V
  678. am__untar
  679. am__tar
  680. AMTAR
  681. am__leading_dot
  682. SET_MAKE
  683. AWK
  684. mkdir_p
  685. MKDIR_P
  686. INSTALL_STRIP_PROGRAM
  687. STRIP
  688. install_sh
  689. MAKEINFO
  690. AUTOHEADER
  691. AUTOMAKE
  692. AUTOCONF
  693. ACLOCAL
  694. VERSION
  695. PACKAGE
  696. CYGPATH_W
  697. am__isrc
  698. INSTALL_DATA
  699. INSTALL_SCRIPT
  700. INSTALL_PROGRAM
  701. target_alias
  702. host_alias
  703. build_alias
  704. LIBS
  705. ECHO_T
  706. ECHO_N
  707. ECHO_C
  708. DEFS
  709. mandir
  710. localedir
  711. libdir
  712. psdir
  713. pdfdir
  714. dvidir
  715. htmldir
  716. infodir
  717. docdir
  718. oldincludedir
  719. includedir
  720. localstatedir
  721. sharedstatedir
  722. sysconfdir
  723. datadir
  724. datarootdir
  725. libexecdir
  726. sbindir
  727. bindir
  728. program_transform_name
  729. prefix
  730. exec_prefix
  731. PACKAGE_URL
  732. PACKAGE_BUGREPORT
  733. PACKAGE_STRING
  734. PACKAGE_VERSION
  735. PACKAGE_TARNAME
  736. PACKAGE_NAME
  737. PATH_SEPARATOR
  738. SHELL'
  739. ac_subst_files=''
  740. ac_user_opts='
  741. enable_option_checking
  742. enable_silent_rules
  743. enable_dependency_tracking
  744. enable_maintainer_mode
  745. enable_static
  746. enable_shared
  747. with_pic
  748. enable_fast_install
  749. with_gnu_ld
  750. with_sysroot
  751. enable_libtool_lock
  752. enable_serial
  753. enable_usb
  754. enable_libudev
  755. enable_libusb
  756. enable_polkit
  757. with_systemdsystemunitdir
  758. enable_embedded
  759. enable_usbdropdir
  760. enable_debugatr
  761. enable_ipcdir
  762. enable_confdir
  763. '
  764. ac_precious_vars='build_alias
  765. host_alias
  766. target_alias
  767. CC
  768. CFLAGS
  769. LDFLAGS
  770. LIBS
  771. CPPFLAGS
  772. CPP
  773. PKG_CONFIG
  774. PKG_CONFIG_PATH
  775. PKG_CONFIG_LIBDIR
  776. LIBUDEV_CFLAGS
  777. LIBUDEV_LIBS
  778. LIBUSB_CFLAGS
  779. LIBUSB_LIBS
  780. POLKIT_CFLAGS
  781. POLKIT_LIBS'
  782. # Initialize some variables set by options.
  783. ac_init_help=
  784. ac_init_version=false
  785. ac_unrecognized_opts=
  786. ac_unrecognized_sep=
  787. # The variables have the same names as the options, with
  788. # dashes changed to underlines.
  789. cache_file=/dev/null
  790. exec_prefix=NONE
  791. no_create=
  792. no_recursion=
  793. prefix=NONE
  794. program_prefix=NONE
  795. program_suffix=NONE
  796. program_transform_name=s,x,x,
  797. silent=
  798. site=
  799. srcdir=
  800. verbose=
  801. x_includes=NONE
  802. x_libraries=NONE
  803. # Installation directory options.
  804. # These are left unexpanded so users can "make install exec_prefix=/foo"
  805. # and all the variables that are supposed to be based on exec_prefix
  806. # by default will actually change.
  807. # Use braces instead of parens because sh, perl, etc. also accept them.
  808. # (The list follows the same order as the GNU Coding Standards.)
  809. bindir='${exec_prefix}/bin'
  810. sbindir='${exec_prefix}/sbin'
  811. libexecdir='${exec_prefix}/libexec'
  812. datarootdir='${prefix}/share'
  813. datadir='${datarootdir}'
  814. sysconfdir='${prefix}/etc'
  815. sharedstatedir='${prefix}/com'
  816. localstatedir='${prefix}/var'
  817. includedir='${prefix}/include'
  818. oldincludedir='/usr/include'
  819. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  820. infodir='${datarootdir}/info'
  821. htmldir='${docdir}'
  822. dvidir='${docdir}'
  823. pdfdir='${docdir}'
  824. psdir='${docdir}'
  825. libdir='${exec_prefix}/lib'
  826. localedir='${datarootdir}/locale'
  827. mandir='${datarootdir}/man'
  828. ac_prev=
  829. ac_dashdash=
  830. for ac_option
  831. do
  832. # If the previous option needs an argument, assign it.
  833. if test -n "$ac_prev"; then
  834. eval $ac_prev=\$ac_option
  835. ac_prev=
  836. continue
  837. fi
  838. case $ac_option in
  839. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  840. *=) ac_optarg= ;;
  841. *) ac_optarg=yes ;;
  842. esac
  843. # Accept the important Cygnus configure options, so we can diagnose typos.
  844. case $ac_dashdash$ac_option in
  845. --)
  846. ac_dashdash=yes ;;
  847. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  848. ac_prev=bindir ;;
  849. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  850. bindir=$ac_optarg ;;
  851. -build | --build | --buil | --bui | --bu)
  852. ac_prev=build_alias ;;
  853. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  854. build_alias=$ac_optarg ;;
  855. -cache-file | --cache-file | --cache-fil | --cache-fi \
  856. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  857. ac_prev=cache_file ;;
  858. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  859. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  860. cache_file=$ac_optarg ;;
  861. --config-cache | -C)
  862. cache_file=config.cache ;;
  863. -datadir | --datadir | --datadi | --datad)
  864. ac_prev=datadir ;;
  865. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  866. datadir=$ac_optarg ;;
  867. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  868. | --dataroo | --dataro | --datar)
  869. ac_prev=datarootdir ;;
  870. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  871. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  872. datarootdir=$ac_optarg ;;
  873. -disable-* | --disable-*)
  874. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  875. # Reject names that are not valid shell variable names.
  876. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  877. as_fn_error $? "invalid feature name: $ac_useropt"
  878. ac_useropt_orig=$ac_useropt
  879. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  880. case $ac_user_opts in
  881. *"
  882. "enable_$ac_useropt"
  883. "*) ;;
  884. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  885. ac_unrecognized_sep=', ';;
  886. esac
  887. eval enable_$ac_useropt=no ;;
  888. -docdir | --docdir | --docdi | --doc | --do)
  889. ac_prev=docdir ;;
  890. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  891. docdir=$ac_optarg ;;
  892. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  893. ac_prev=dvidir ;;
  894. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  895. dvidir=$ac_optarg ;;
  896. -enable-* | --enable-*)
  897. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  898. # Reject names that are not valid shell variable names.
  899. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  900. as_fn_error $? "invalid feature name: $ac_useropt"
  901. ac_useropt_orig=$ac_useropt
  902. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  903. case $ac_user_opts in
  904. *"
  905. "enable_$ac_useropt"
  906. "*) ;;
  907. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  908. ac_unrecognized_sep=', ';;
  909. esac
  910. eval enable_$ac_useropt=\$ac_optarg ;;
  911. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  912. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  913. | --exec | --exe | --ex)
  914. ac_prev=exec_prefix ;;
  915. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  916. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  917. | --exec=* | --exe=* | --ex=*)
  918. exec_prefix=$ac_optarg ;;
  919. -gas | --gas | --ga | --g)
  920. # Obsolete; use --with-gas.
  921. with_gas=yes ;;
  922. -help | --help | --hel | --he | -h)
  923. ac_init_help=long ;;
  924. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  925. ac_init_help=recursive ;;
  926. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  927. ac_init_help=short ;;
  928. -host | --host | --hos | --ho)
  929. ac_prev=host_alias ;;
  930. -host=* | --host=* | --hos=* | --ho=*)
  931. host_alias=$ac_optarg ;;
  932. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  933. ac_prev=htmldir ;;
  934. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  935. | --ht=*)
  936. htmldir=$ac_optarg ;;
  937. -includedir | --includedir | --includedi | --included | --include \
  938. | --includ | --inclu | --incl | --inc)
  939. ac_prev=includedir ;;
  940. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  941. | --includ=* | --inclu=* | --incl=* | --inc=*)
  942. includedir=$ac_optarg ;;
  943. -infodir | --infodir | --infodi | --infod | --info | --inf)
  944. ac_prev=infodir ;;
  945. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  946. infodir=$ac_optarg ;;
  947. -libdir | --libdir | --libdi | --libd)
  948. ac_prev=libdir ;;
  949. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  950. libdir=$ac_optarg ;;
  951. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  952. | --libexe | --libex | --libe)
  953. ac_prev=libexecdir ;;
  954. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  955. | --libexe=* | --libex=* | --libe=*)
  956. libexecdir=$ac_optarg ;;
  957. -localedir | --localedir | --localedi | --localed | --locale)
  958. ac_prev=localedir ;;
  959. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  960. localedir=$ac_optarg ;;
  961. -localstatedir | --localstatedir | --localstatedi | --localstated \
  962. | --localstate | --localstat | --localsta | --localst | --locals)
  963. ac_prev=localstatedir ;;
  964. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  965. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  966. localstatedir=$ac_optarg ;;
  967. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  968. ac_prev=mandir ;;
  969. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  970. mandir=$ac_optarg ;;
  971. -nfp | --nfp | --nf)
  972. # Obsolete; use --without-fp.
  973. with_fp=no ;;
  974. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  975. | --no-cr | --no-c | -n)
  976. no_create=yes ;;
  977. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  978. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  979. no_recursion=yes ;;
  980. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  981. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  982. | --oldin | --oldi | --old | --ol | --o)
  983. ac_prev=oldincludedir ;;
  984. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  985. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  986. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  987. oldincludedir=$ac_optarg ;;
  988. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  989. ac_prev=prefix ;;
  990. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  991. prefix=$ac_optarg ;;
  992. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  993. | --program-pre | --program-pr | --program-p)
  994. ac_prev=program_prefix ;;
  995. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  996. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  997. program_prefix=$ac_optarg ;;
  998. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  999. | --program-suf | --program-su | --program-s)
  1000. ac_prev=program_suffix ;;
  1001. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1002. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1003. program_suffix=$ac_optarg ;;
  1004. -program-transform-name | --program-transform-name \
  1005. | --program-transform-nam | --program-transform-na \
  1006. | --program-transform-n | --program-transform- \
  1007. | --program-transform | --program-transfor \
  1008. | --program-transfo | --program-transf \
  1009. | --program-trans | --program-tran \
  1010. | --progr-tra | --program-tr | --program-t)
  1011. ac_prev=program_transform_name ;;
  1012. -program-transform-name=* | --program-transform-name=* \
  1013. | --program-transform-nam=* | --program-transform-na=* \
  1014. | --program-transform-n=* | --program-transform-=* \
  1015. | --program-transform=* | --program-transfor=* \
  1016. | --program-transfo=* | --program-transf=* \
  1017. | --program-trans=* | --program-tran=* \
  1018. | --progr-tra=* | --program-tr=* | --program-t=*)
  1019. program_transform_name=$ac_optarg ;;
  1020. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1021. ac_prev=pdfdir ;;
  1022. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1023. pdfdir=$ac_optarg ;;
  1024. -psdir | --psdir | --psdi | --psd | --ps)
  1025. ac_prev=psdir ;;
  1026. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1027. psdir=$ac_optarg ;;
  1028. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1029. | -silent | --silent | --silen | --sile | --sil)
  1030. silent=yes ;;
  1031. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1032. ac_prev=sbindir ;;
  1033. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1034. | --sbi=* | --sb=*)
  1035. sbindir=$ac_optarg ;;
  1036. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1037. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1038. | --sharedst | --shareds | --shared | --share | --shar \
  1039. | --sha | --sh)
  1040. ac_prev=sharedstatedir ;;
  1041. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1042. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1043. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1044. | --sha=* | --sh=*)
  1045. sharedstatedir=$ac_optarg ;;
  1046. -site | --site | --sit)
  1047. ac_prev=site ;;
  1048. -site=* | --site=* | --sit=*)
  1049. site=$ac_optarg ;;
  1050. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1051. ac_prev=srcdir ;;
  1052. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1053. srcdir=$ac_optarg ;;
  1054. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1055. | --syscon | --sysco | --sysc | --sys | --sy)
  1056. ac_prev=sysconfdir ;;
  1057. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1058. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1059. sysconfdir=$ac_optarg ;;
  1060. -target | --target | --targe | --targ | --tar | --ta | --t)
  1061. ac_prev=target_alias ;;
  1062. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1063. target_alias=$ac_optarg ;;
  1064. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1065. verbose=yes ;;
  1066. -version | --version | --versio | --versi | --vers | -V)
  1067. ac_init_version=: ;;
  1068. -with-* | --with-*)
  1069. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1070. # Reject names that are not valid shell variable names.
  1071. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1072. as_fn_error $? "invalid package name: $ac_useropt"
  1073. ac_useropt_orig=$ac_useropt
  1074. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1075. case $ac_user_opts in
  1076. *"
  1077. "with_$ac_useropt"
  1078. "*) ;;
  1079. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1080. ac_unrecognized_sep=', ';;
  1081. esac
  1082. eval with_$ac_useropt=\$ac_optarg ;;
  1083. -without-* | --without-*)
  1084. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1085. # Reject names that are not valid shell variable names.
  1086. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1087. as_fn_error $? "invalid package name: $ac_useropt"
  1088. ac_useropt_orig=$ac_useropt
  1089. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1090. case $ac_user_opts in
  1091. *"
  1092. "with_$ac_useropt"
  1093. "*) ;;
  1094. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1095. ac_unrecognized_sep=', ';;
  1096. esac
  1097. eval with_$ac_useropt=no ;;
  1098. --x)
  1099. # Obsolete; use --with-x.
  1100. with_x=yes ;;
  1101. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1102. | --x-incl | --x-inc | --x-in | --x-i)
  1103. ac_prev=x_includes ;;
  1104. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1105. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1106. x_includes=$ac_optarg ;;
  1107. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1108. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1109. ac_prev=x_libraries ;;
  1110. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1111. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1112. x_libraries=$ac_optarg ;;
  1113. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1114. Try \`$0 --help' for more information"
  1115. ;;
  1116. *=*)
  1117. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1118. # Reject names that are not valid shell variable names.
  1119. case $ac_envvar in #(
  1120. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1121. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1122. esac
  1123. eval $ac_envvar=\$ac_optarg
  1124. export $ac_envvar ;;
  1125. *)
  1126. # FIXME: should be removed in autoconf 3.0.
  1127. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1128. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1129. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1130. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1131. ;;
  1132. esac
  1133. done
  1134. if test -n "$ac_prev"; then
  1135. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1136. as_fn_error $? "missing argument to $ac_option"
  1137. fi
  1138. if test -n "$ac_unrecognized_opts"; then
  1139. case $enable_option_checking in
  1140. no) ;;
  1141. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1142. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1143. esac
  1144. fi
  1145. # Check all directory arguments for consistency.
  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. # Remove trailing slashes.
  1153. case $ac_val in
  1154. */ )
  1155. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1156. eval $ac_var=\$ac_val;;
  1157. esac
  1158. # Be sure to have absolute directory names.
  1159. case $ac_val in
  1160. [\\/$]* | ?:[\\/]* ) continue;;
  1161. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1162. esac
  1163. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1164. done
  1165. # There might be people who depend on the old broken behavior: `$host'
  1166. # used to hold the argument of --host etc.
  1167. # FIXME: To remove some day.
  1168. build=$build_alias
  1169. host=$host_alias
  1170. target=$target_alias
  1171. # FIXME: To remove some day.
  1172. if test "x$host_alias" != x; then
  1173. if test "x$build_alias" = x; then
  1174. cross_compiling=maybe
  1175. elif test "x$build_alias" != "x$host_alias"; then
  1176. cross_compiling=yes
  1177. fi
  1178. fi
  1179. ac_tool_prefix=
  1180. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1181. test "$silent" = yes && exec 6>/dev/null
  1182. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1183. ac_ls_di=`ls -di .` &&
  1184. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1185. as_fn_error $? "working directory cannot be determined"
  1186. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1187. as_fn_error $? "pwd does not report name of working directory"
  1188. # Find the source files, if location was not specified.
  1189. if test -z "$srcdir"; then
  1190. ac_srcdir_defaulted=yes
  1191. # Try the directory containing this script, then the parent directory.
  1192. ac_confdir=`$as_dirname -- "$as_myself" ||
  1193. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1194. X"$as_myself" : 'X\(//\)[^/]' \| \
  1195. X"$as_myself" : 'X\(//\)$' \| \
  1196. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1197. $as_echo X"$as_myself" |
  1198. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1199. s//\1/
  1200. q
  1201. }
  1202. /^X\(\/\/\)[^/].*/{
  1203. s//\1/
  1204. q
  1205. }
  1206. /^X\(\/\/\)$/{
  1207. s//\1/
  1208. q
  1209. }
  1210. /^X\(\/\).*/{
  1211. s//\1/
  1212. q
  1213. }
  1214. s/.*/./; q'`
  1215. srcdir=$ac_confdir
  1216. if test ! -r "$srcdir/$ac_unique_file"; then
  1217. srcdir=..
  1218. fi
  1219. else
  1220. ac_srcdir_defaulted=no
  1221. fi
  1222. if test ! -r "$srcdir/$ac_unique_file"; then
  1223. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1224. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1225. fi
  1226. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1227. ac_abs_confdir=`(
  1228. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  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 pcsc-lite 1.8.13 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/pcsc-lite]
  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. System types:
  1305. --build=BUILD configure for building on BUILD [guessed]
  1306. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1307. _ACEOF
  1308. fi
  1309. if test -n "$ac_init_help"; then
  1310. case $ac_init_help in
  1311. short | recursive ) echo "Configuration of pcsc-lite 1.8.13:";;
  1312. esac
  1313. cat <<\_ACEOF
  1314. Optional Features:
  1315. --disable-option-checking ignore unrecognized --enable/--with options
  1316. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1317. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1318. --enable-silent-rules less verbose build output (undo: "make V=1")
  1319. --disable-silent-rules verbose build output (undo: "make V=0")
  1320. --enable-dependency-tracking
  1321. do not reject slow dependency extractors
  1322. --disable-dependency-tracking
  1323. speeds up one-time build
  1324. --enable-maintainer-mode
  1325. enable make rules and dependencies not useful (and
  1326. sometimes confusing) to the casual installer
  1327. --enable-static[=PKGS] build static libraries [default=no]
  1328. --enable-shared[=PKGS] build shared libraries [default=yes]
  1329. --enable-fast-install[=PKGS]
  1330. optimize for fast installation [default=yes]
  1331. --disable-libtool-lock avoid locking (might break parallel builds)
  1332. --disable-serial do not use serial reader.conf file
  1333. --disable-usb do not use usb hotplug
  1334. --disable-libudev do not use libudev
  1335. --enable-libusb use libusb
  1336. --enable-polkit Build with polkit support
  1337. --enable-embedded limit RAM and CPU ressources by disabling features
  1338. (log)
  1339. --enable-usbdropdir=DIR directory containing USB drivers (default
  1340. /usr/local/lib/pcsc/drivers)
  1341. --enable-debugatr enable ATR debug messages from pcscd
  1342. --enable-ipcdir=DIR directory containing IPC files (default
  1343. /var/run/pcscd)
  1344. --enable-confdir=DIR directory containing reader configurations (default
  1345. /etc/reader.conf.d)
  1346. Optional Packages:
  1347. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1348. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1349. --with-pic try to use only PIC/non-PIC objects [default=use
  1350. both]
  1351. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1352. --with-sysroot=DIR Search for dependent libraries within DIR
  1353. (or the compiler's sysroot if not specified).
  1354. --with-systemdsystemunitdir=DIR
  1355. Directory for systemd service files
  1356. Some influential environment variables:
  1357. CC C compiler command
  1358. CFLAGS C compiler flags
  1359. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1360. nonstandard directory <lib dir>
  1361. LIBS libraries to pass to the linker, e.g. -l<library>
  1362. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1363. you have headers in a nonstandard directory <include dir>
  1364. CPP C preprocessor
  1365. PKG_CONFIG path to pkg-config utility
  1366. PKG_CONFIG_PATH
  1367. directories to add to pkg-config's search path
  1368. PKG_CONFIG_LIBDIR
  1369. path overriding pkg-config's built-in search path
  1370. LIBUDEV_CFLAGS
  1371. C compiler flags for LIBUDEV, overriding pkg-config
  1372. LIBUDEV_LIBS
  1373. linker flags for LIBUDEV, overriding pkg-config
  1374. LIBUSB_CFLAGS
  1375. C compiler flags for LIBUSB, overriding pkg-config
  1376. LIBUSB_LIBS linker flags for LIBUSB, overriding pkg-config
  1377. POLKIT_CFLAGS
  1378. C compiler flags for POLKIT, overriding pkg-config
  1379. POLKIT_LIBS linker flags for POLKIT, overriding pkg-config
  1380. Use these variables to override the choices made by `configure' or to help
  1381. it to find libraries and programs with nonstandard names/locations.
  1382. Report bugs to the package provider.
  1383. _ACEOF
  1384. ac_status=$?
  1385. fi
  1386. if test "$ac_init_help" = "recursive"; then
  1387. # If there are subdirs, report their specific --help.
  1388. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1389. test -d "$ac_dir" ||
  1390. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1391. continue
  1392. ac_builddir=.
  1393. case "$ac_dir" in
  1394. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1395. *)
  1396. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1397. # A ".." for each directory in $ac_dir_suffix.
  1398. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1399. case $ac_top_builddir_sub in
  1400. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1401. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1402. esac ;;
  1403. esac
  1404. ac_abs_top_builddir=$ac_pwd
  1405. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1406. # for backward compatibility:
  1407. ac_top_builddir=$ac_top_build_prefix
  1408. case $srcdir in
  1409. .) # We are building in place.
  1410. ac_srcdir=.
  1411. ac_top_srcdir=$ac_top_builddir_sub
  1412. ac_abs_top_srcdir=$ac_pwd ;;
  1413. [\\/]* | ?:[\\/]* ) # Absolute name.
  1414. ac_srcdir=$srcdir$ac_dir_suffix;
  1415. ac_top_srcdir=$srcdir
  1416. ac_abs_top_srcdir=$srcdir ;;
  1417. *) # Relative name.
  1418. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1419. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1420. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1421. esac
  1422. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1423. cd "$ac_dir" || { ac_status=$?; continue; }
  1424. # Check for guested configure.
  1425. if test -f "$ac_srcdir/configure.gnu"; then
  1426. echo &&
  1427. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1428. elif test -f "$ac_srcdir/configure"; then
  1429. echo &&
  1430. $SHELL "$ac_srcdir/configure" --help=recursive
  1431. else
  1432. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1433. fi || ac_status=$?
  1434. cd "$ac_pwd" || { ac_status=$?; break; }
  1435. done
  1436. fi
  1437. test -n "$ac_init_help" && exit $ac_status
  1438. if $ac_init_version; then
  1439. cat <<\_ACEOF
  1440. pcsc-lite configure 1.8.13
  1441. generated by GNU Autoconf 2.69
  1442. Copyright (C) 2012 Free Software Foundation, Inc.
  1443. This configure script is free software; the Free Software Foundation
  1444. gives unlimited permission to copy, distribute and modify it.
  1445. _ACEOF
  1446. exit
  1447. fi
  1448. ## ------------------------ ##
  1449. ## Autoconf initialization. ##
  1450. ## ------------------------ ##
  1451. # ac_fn_c_try_compile LINENO
  1452. # --------------------------
  1453. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1454. ac_fn_c_try_compile ()
  1455. {
  1456. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1457. rm -f conftest.$ac_objext
  1458. if { { ac_try="$ac_compile"
  1459. case "(($ac_try" in
  1460. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1461. *) ac_try_echo=$ac_try;;
  1462. esac
  1463. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1464. $as_echo "$ac_try_echo"; } >&5
  1465. (eval "$ac_compile") 2>conftest.err
  1466. ac_status=$?
  1467. if test -s conftest.err; then
  1468. grep -v '^ *+' conftest.err >conftest.er1
  1469. cat conftest.er1 >&5
  1470. mv -f conftest.er1 conftest.err
  1471. fi
  1472. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1473. test $ac_status = 0; } && {
  1474. test -z "$ac_c_werror_flag" ||
  1475. test ! -s conftest.err
  1476. } && test -s conftest.$ac_objext; then :
  1477. ac_retval=0
  1478. else
  1479. $as_echo "$as_me: failed program was:" >&5
  1480. sed 's/^/| /' conftest.$ac_ext >&5
  1481. ac_retval=1
  1482. fi
  1483. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1484. as_fn_set_status $ac_retval
  1485. } # ac_fn_c_try_compile
  1486. # ac_fn_c_try_run LINENO
  1487. # ----------------------
  1488. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1489. # that executables *can* be run.
  1490. ac_fn_c_try_run ()
  1491. {
  1492. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1493. if { { ac_try="$ac_link"
  1494. case "(($ac_try" in
  1495. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1496. *) ac_try_echo=$ac_try;;
  1497. esac
  1498. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1499. $as_echo "$ac_try_echo"; } >&5
  1500. (eval "$ac_link") 2>&5
  1501. ac_status=$?
  1502. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1503. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1504. { { case "(($ac_try" in
  1505. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1506. *) ac_try_echo=$ac_try;;
  1507. esac
  1508. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1509. $as_echo "$ac_try_echo"; } >&5
  1510. (eval "$ac_try") 2>&5
  1511. ac_status=$?
  1512. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1513. test $ac_status = 0; }; }; then :
  1514. ac_retval=0
  1515. else
  1516. $as_echo "$as_me: program exited with status $ac_status" >&5
  1517. $as_echo "$as_me: failed program was:" >&5
  1518. sed 's/^/| /' conftest.$ac_ext >&5
  1519. ac_retval=$ac_status
  1520. fi
  1521. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1522. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1523. as_fn_set_status $ac_retval
  1524. } # ac_fn_c_try_run
  1525. # ac_fn_c_try_cpp LINENO
  1526. # ----------------------
  1527. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1528. ac_fn_c_try_cpp ()
  1529. {
  1530. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1531. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1532. case "(($ac_try" in
  1533. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1534. *) ac_try_echo=$ac_try;;
  1535. esac
  1536. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1537. $as_echo "$ac_try_echo"; } >&5
  1538. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1539. ac_status=$?
  1540. if test -s conftest.err; then
  1541. grep -v '^ *+' conftest.err >conftest.er1
  1542. cat conftest.er1 >&5
  1543. mv -f conftest.er1 conftest.err
  1544. fi
  1545. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1546. test $ac_status = 0; } > conftest.i && {
  1547. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1548. test ! -s conftest.err
  1549. }; then :
  1550. ac_retval=0
  1551. else
  1552. $as_echo "$as_me: failed program was:" >&5
  1553. sed 's/^/| /' conftest.$ac_ext >&5
  1554. ac_retval=1
  1555. fi
  1556. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1557. as_fn_set_status $ac_retval
  1558. } # ac_fn_c_try_cpp
  1559. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1560. # -------------------------------------------------------
  1561. # Tests whether HEADER exists and can be compiled using the include files in
  1562. # INCLUDES, setting the cache variable VAR accordingly.
  1563. ac_fn_c_check_header_compile ()
  1564. {
  1565. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1566. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1567. $as_echo_n "checking for $2... " >&6; }
  1568. if eval \${$3+:} false; then :
  1569. $as_echo_n "(cached) " >&6
  1570. else
  1571. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1572. /* end confdefs.h. */
  1573. $4
  1574. #include <$2>
  1575. _ACEOF
  1576. if ac_fn_c_try_compile "$LINENO"; then :
  1577. eval "$3=yes"
  1578. else
  1579. eval "$3=no"
  1580. fi
  1581. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1582. fi
  1583. eval ac_res=\$$3
  1584. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1585. $as_echo "$ac_res" >&6; }
  1586. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1587. } # ac_fn_c_check_header_compile
  1588. # ac_fn_c_try_link LINENO
  1589. # -----------------------
  1590. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1591. ac_fn_c_try_link ()
  1592. {
  1593. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1594. rm -f conftest.$ac_objext conftest$ac_exeext
  1595. if { { ac_try="$ac_link"
  1596. case "(($ac_try" in
  1597. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1598. *) ac_try_echo=$ac_try;;
  1599. esac
  1600. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1601. $as_echo "$ac_try_echo"; } >&5
  1602. (eval "$ac_link") 2>conftest.err
  1603. ac_status=$?
  1604. if test -s conftest.err; then
  1605. grep -v '^ *+' conftest.err >conftest.er1
  1606. cat conftest.er1 >&5
  1607. mv -f conftest.er1 conftest.err
  1608. fi
  1609. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1610. test $ac_status = 0; } && {
  1611. test -z "$ac_c_werror_flag" ||
  1612. test ! -s conftest.err
  1613. } && test -s conftest$ac_exeext && {
  1614. test "$cross_compiling" = yes ||
  1615. test -x conftest$ac_exeext
  1616. }; then :
  1617. ac_retval=0
  1618. else
  1619. $as_echo "$as_me: failed program was:" >&5
  1620. sed 's/^/| /' conftest.$ac_ext >&5
  1621. ac_retval=1
  1622. fi
  1623. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1624. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1625. # interfere with the next link command; also delete a directory that is
  1626. # left behind by Apple's compiler. We do this before executing the actions.
  1627. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1628. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1629. as_fn_set_status $ac_retval
  1630. } # ac_fn_c_try_link
  1631. # ac_fn_c_check_func LINENO FUNC VAR
  1632. # ----------------------------------
  1633. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1634. ac_fn_c_check_func ()
  1635. {
  1636. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1637. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1638. $as_echo_n "checking for $2... " >&6; }
  1639. if eval \${$3+:} false; then :
  1640. $as_echo_n "(cached) " >&6
  1641. else
  1642. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1643. /* end confdefs.h. */
  1644. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1645. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1646. #define $2 innocuous_$2
  1647. /* System header to define __stub macros and hopefully few prototypes,
  1648. which can conflict with char $2 (); below.
  1649. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1650. <limits.h> exists even on freestanding compilers. */
  1651. #ifdef __STDC__
  1652. # include <limits.h>
  1653. #else
  1654. # include <assert.h>
  1655. #endif
  1656. #undef $2
  1657. /* Override any GCC internal prototype to avoid an error.
  1658. Use char because int might match the return type of a GCC
  1659. builtin and then its argument prototype would still apply. */
  1660. #ifdef __cplusplus
  1661. extern "C"
  1662. #endif
  1663. char $2 ();
  1664. /* The GNU C library defines this for functions which it implements
  1665. to always fail with ENOSYS. Some functions are actually named
  1666. something starting with __ and the normal name is an alias. */
  1667. #if defined __stub_$2 || defined __stub___$2
  1668. choke me
  1669. #endif
  1670. int
  1671. main ()
  1672. {
  1673. return $2 ();
  1674. ;
  1675. return 0;
  1676. }
  1677. _ACEOF
  1678. if ac_fn_c_try_link "$LINENO"; then :
  1679. eval "$3=yes"
  1680. else
  1681. eval "$3=no"
  1682. fi
  1683. rm -f core conftest.err conftest.$ac_objext \
  1684. conftest$ac_exeext conftest.$ac_ext
  1685. fi
  1686. eval ac_res=\$$3
  1687. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1688. $as_echo "$ac_res" >&6; }
  1689. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1690. } # ac_fn_c_check_func
  1691. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1692. # -------------------------------------------------------
  1693. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1694. # the include files in INCLUDES and setting the cache variable VAR
  1695. # accordingly.
  1696. ac_fn_c_check_header_mongrel ()
  1697. {
  1698. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1699. if eval \${$3+:} false; then :
  1700. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1701. $as_echo_n "checking for $2... " >&6; }
  1702. if eval \${$3+:} false; then :
  1703. $as_echo_n "(cached) " >&6
  1704. fi
  1705. eval ac_res=\$$3
  1706. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1707. $as_echo "$ac_res" >&6; }
  1708. else
  1709. # Is the header compilable?
  1710. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1711. $as_echo_n "checking $2 usability... " >&6; }
  1712. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1713. /* end confdefs.h. */
  1714. $4
  1715. #include <$2>
  1716. _ACEOF
  1717. if ac_fn_c_try_compile "$LINENO"; then :
  1718. ac_header_compiler=yes
  1719. else
  1720. ac_header_compiler=no
  1721. fi
  1722. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1723. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1724. $as_echo "$ac_header_compiler" >&6; }
  1725. # Is the header present?
  1726. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1727. $as_echo_n "checking $2 presence... " >&6; }
  1728. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1729. /* end confdefs.h. */
  1730. #include <$2>
  1731. _ACEOF
  1732. if ac_fn_c_try_cpp "$LINENO"; then :
  1733. ac_header_preproc=yes
  1734. else
  1735. ac_header_preproc=no
  1736. fi
  1737. rm -f conftest.err conftest.i conftest.$ac_ext
  1738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1739. $as_echo "$ac_header_preproc" >&6; }
  1740. # So? What about this header?
  1741. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1742. yes:no: )
  1743. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1744. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1745. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1746. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1747. ;;
  1748. no:yes:* )
  1749. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1750. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1751. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1752. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1753. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1754. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1755. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1756. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1757. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1758. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1759. ;;
  1760. esac
  1761. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1762. $as_echo_n "checking for $2... " >&6; }
  1763. if eval \${$3+:} false; then :
  1764. $as_echo_n "(cached) " >&6
  1765. else
  1766. eval "$3=\$ac_header_compiler"
  1767. fi
  1768. eval ac_res=\$$3
  1769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1770. $as_echo "$ac_res" >&6; }
  1771. fi
  1772. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1773. } # ac_fn_c_check_header_mongrel
  1774. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1775. # -------------------------------------------
  1776. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1777. # variable VAR accordingly.
  1778. ac_fn_c_check_type ()
  1779. {
  1780. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1781. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1782. $as_echo_n "checking for $2... " >&6; }
  1783. if eval \${$3+:} false; then :
  1784. $as_echo_n "(cached) " >&6
  1785. else
  1786. eval "$3=no"
  1787. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1788. /* end confdefs.h. */
  1789. $4
  1790. int
  1791. main ()
  1792. {
  1793. if (sizeof ($2))
  1794. return 0;
  1795. ;
  1796. return 0;
  1797. }
  1798. _ACEOF
  1799. if ac_fn_c_try_compile "$LINENO"; then :
  1800. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1801. /* end confdefs.h. */
  1802. $4
  1803. int
  1804. main ()
  1805. {
  1806. if (sizeof (($2)))
  1807. return 0;
  1808. ;
  1809. return 0;
  1810. }
  1811. _ACEOF
  1812. if ac_fn_c_try_compile "$LINENO"; then :
  1813. else
  1814. eval "$3=yes"
  1815. fi
  1816. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1817. fi
  1818. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1819. fi
  1820. eval ac_res=\$$3
  1821. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1822. $as_echo "$ac_res" >&6; }
  1823. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1824. } # ac_fn_c_check_type
  1825. cat >config.log <<_ACEOF
  1826. This file contains any messages produced by compilers while
  1827. running configure, to aid debugging if configure makes a mistake.
  1828. It was created by pcsc-lite $as_me 1.8.13, which was
  1829. generated by GNU Autoconf 2.69. Invocation command line was
  1830. $ $0 $@
  1831. _ACEOF
  1832. exec 5>>config.log
  1833. {
  1834. cat <<_ASUNAME
  1835. ## --------- ##
  1836. ## Platform. ##
  1837. ## --------- ##
  1838. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1839. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1840. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1841. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1842. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1843. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1844. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1845. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1846. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1847. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1848. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1849. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1850. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1851. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1852. _ASUNAME
  1853. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1854. for as_dir in $PATH
  1855. do
  1856. IFS=$as_save_IFS
  1857. test -z "$as_dir" && as_dir=.
  1858. $as_echo "PATH: $as_dir"
  1859. done
  1860. IFS=$as_save_IFS
  1861. } >&5
  1862. cat >&5 <<_ACEOF
  1863. ## ----------- ##
  1864. ## Core tests. ##
  1865. ## ----------- ##
  1866. _ACEOF
  1867. # Keep a trace of the command line.
  1868. # Strip out --no-create and --no-recursion so they do not pile up.
  1869. # Strip out --silent because we don't want to record it for future runs.
  1870. # Also quote any args containing shell meta-characters.
  1871. # Make two passes to allow for proper duplicate-argument suppression.
  1872. ac_configure_args=
  1873. ac_configure_args0=
  1874. ac_configure_args1=
  1875. ac_must_keep_next=false
  1876. for ac_pass in 1 2
  1877. do
  1878. for ac_arg
  1879. do
  1880. case $ac_arg in
  1881. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1882. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1883. | -silent | --silent | --silen | --sile | --sil)
  1884. continue ;;
  1885. *\'*)
  1886. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1887. esac
  1888. case $ac_pass in
  1889. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1890. 2)
  1891. as_fn_append ac_configure_args1 " '$ac_arg'"
  1892. if test $ac_must_keep_next = true; then
  1893. ac_must_keep_next=false # Got value, back to normal.
  1894. else
  1895. case $ac_arg in
  1896. *=* | --config-cache | -C | -disable-* | --disable-* \
  1897. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1898. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1899. | -with-* | --with-* | -without-* | --without-* | --x)
  1900. case "$ac_configure_args0 " in
  1901. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1902. esac
  1903. ;;
  1904. -* ) ac_must_keep_next=true ;;
  1905. esac
  1906. fi
  1907. as_fn_append ac_configure_args " '$ac_arg'"
  1908. ;;
  1909. esac
  1910. done
  1911. done
  1912. { ac_configure_args0=; unset ac_configure_args0;}
  1913. { ac_configure_args1=; unset ac_configure_args1;}
  1914. # When interrupted or exit'd, cleanup temporary files, and complete
  1915. # config.log. We remove comments because anyway the quotes in there
  1916. # would cause problems or look ugly.
  1917. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1918. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1919. trap 'exit_status=$?
  1920. # Save into config.log some information that might help in debugging.
  1921. {
  1922. echo
  1923. $as_echo "## ---------------- ##
  1924. ## Cache variables. ##
  1925. ## ---------------- ##"
  1926. echo
  1927. # The following way of writing the cache mishandles newlines in values,
  1928. (
  1929. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1930. eval ac_val=\$$ac_var
  1931. case $ac_val in #(
  1932. *${as_nl}*)
  1933. case $ac_var in #(
  1934. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1935. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1936. esac
  1937. case $ac_var in #(
  1938. _ | IFS | as_nl) ;; #(
  1939. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1940. *) { eval $ac_var=; unset $ac_var;} ;;
  1941. esac ;;
  1942. esac
  1943. done
  1944. (set) 2>&1 |
  1945. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1946. *${as_nl}ac_space=\ *)
  1947. sed -n \
  1948. "s/'\''/'\''\\\\'\'''\''/g;
  1949. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1950. ;; #(
  1951. *)
  1952. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1953. ;;
  1954. esac |
  1955. sort
  1956. )
  1957. echo
  1958. $as_echo "## ----------------- ##
  1959. ## Output variables. ##
  1960. ## ----------------- ##"
  1961. echo
  1962. for ac_var in $ac_subst_vars
  1963. do
  1964. eval ac_val=\$$ac_var
  1965. case $ac_val in
  1966. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1967. esac
  1968. $as_echo "$ac_var='\''$ac_val'\''"
  1969. done | sort
  1970. echo
  1971. if test -n "$ac_subst_files"; then
  1972. $as_echo "## ------------------- ##
  1973. ## File substitutions. ##
  1974. ## ------------------- ##"
  1975. echo
  1976. for ac_var in $ac_subst_files
  1977. do
  1978. eval ac_val=\$$ac_var
  1979. case $ac_val in
  1980. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1981. esac
  1982. $as_echo "$ac_var='\''$ac_val'\''"
  1983. done | sort
  1984. echo
  1985. fi
  1986. if test -s confdefs.h; then
  1987. $as_echo "## ----------- ##
  1988. ## confdefs.h. ##
  1989. ## ----------- ##"
  1990. echo
  1991. cat confdefs.h
  1992. echo
  1993. fi
  1994. test "$ac_signal" != 0 &&
  1995. $as_echo "$as_me: caught signal $ac_signal"
  1996. $as_echo "$as_me: exit $exit_status"
  1997. } >&5
  1998. rm -f core *.core core.conftest.* &&
  1999. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2000. exit $exit_status
  2001. ' 0
  2002. for ac_signal in 1 2 13 15; do
  2003. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2004. done
  2005. ac_signal=0
  2006. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2007. rm -f -r conftest* confdefs.h
  2008. $as_echo "/* confdefs.h */" > confdefs.h
  2009. # Predefined preprocessor variables.
  2010. cat >>confdefs.h <<_ACEOF
  2011. #define PACKAGE_NAME "$PACKAGE_NAME"
  2012. _ACEOF
  2013. cat >>confdefs.h <<_ACEOF
  2014. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2015. _ACEOF
  2016. cat >>confdefs.h <<_ACEOF
  2017. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2018. _ACEOF
  2019. cat >>confdefs.h <<_ACEOF
  2020. #define PACKAGE_STRING "$PACKAGE_STRING"
  2021. _ACEOF
  2022. cat >>confdefs.h <<_ACEOF
  2023. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2024. _ACEOF
  2025. cat >>confdefs.h <<_ACEOF
  2026. #define PACKAGE_URL "$PACKAGE_URL"
  2027. _ACEOF
  2028. # Let the site file select an alternate cache file if it wants to.
  2029. # Prefer an explicitly selected file to automatically selected ones.
  2030. ac_site_file1=NONE
  2031. ac_site_file2=NONE
  2032. if test -n "$CONFIG_SITE"; then
  2033. # We do not want a PATH search for config.site.
  2034. case $CONFIG_SITE in #((
  2035. -*) ac_site_file1=./$CONFIG_SITE;;
  2036. */*) ac_site_file1=$CONFIG_SITE;;
  2037. *) ac_site_file1=./$CONFIG_SITE;;
  2038. esac
  2039. elif test "x$prefix" != xNONE; then
  2040. ac_site_file1=$prefix/share/config.site
  2041. ac_site_file2=$prefix/etc/config.site
  2042. else
  2043. ac_site_file1=$ac_default_prefix/share/config.site
  2044. ac_site_file2=$ac_default_prefix/etc/config.site
  2045. fi
  2046. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2047. do
  2048. test "x$ac_site_file" = xNONE && continue
  2049. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2050. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2051. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2052. sed 's/^/| /' "$ac_site_file" >&5
  2053. . "$ac_site_file" \
  2054. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2055. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2056. as_fn_error $? "failed to load site script $ac_site_file
  2057. See \`config.log' for more details" "$LINENO" 5; }
  2058. fi
  2059. done
  2060. if test -r "$cache_file"; then
  2061. # Some versions of bash will fail to source /dev/null (special files
  2062. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2063. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2064. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2065. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2066. case $cache_file in
  2067. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2068. *) . "./$cache_file";;
  2069. esac
  2070. fi
  2071. else
  2072. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2073. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2074. >$cache_file
  2075. fi
  2076. # Check that the precious variables saved in the cache have kept the same
  2077. # value.
  2078. ac_cache_corrupted=false
  2079. for ac_var in $ac_precious_vars; do
  2080. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2081. eval ac_new_set=\$ac_env_${ac_var}_set
  2082. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2083. eval ac_new_val=\$ac_env_${ac_var}_value
  2084. case $ac_old_set,$ac_new_set in
  2085. set,)
  2086. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2087. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2088. ac_cache_corrupted=: ;;
  2089. ,set)
  2090. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2091. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2092. ac_cache_corrupted=: ;;
  2093. ,);;
  2094. *)
  2095. if test "x$ac_old_val" != "x$ac_new_val"; then
  2096. # differences in whitespace do not lead to failure.
  2097. ac_old_val_w=`echo x $ac_old_val`
  2098. ac_new_val_w=`echo x $ac_new_val`
  2099. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2100. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2101. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2102. ac_cache_corrupted=:
  2103. else
  2104. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2105. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2106. eval $ac_var=\$ac_old_val
  2107. fi
  2108. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2109. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2110. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2111. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2112. fi;;
  2113. esac
  2114. # Pass precious variables to config.status.
  2115. if test "$ac_new_set" = set; then
  2116. case $ac_new_val in
  2117. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2118. *) ac_arg=$ac_var=$ac_new_val ;;
  2119. esac
  2120. case " $ac_configure_args " in
  2121. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2122. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2123. esac
  2124. fi
  2125. done
  2126. if $ac_cache_corrupted; then
  2127. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2128. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2129. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2130. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2131. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2132. fi
  2133. ## -------------------- ##
  2134. ## Main body of script. ##
  2135. ## -------------------- ##
  2136. ac_ext=c
  2137. ac_cpp='$CPP $CPPFLAGS'
  2138. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2139. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2140. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2141. am__api_version='1.14'
  2142. ac_aux_dir=
  2143. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2144. if test -f "$ac_dir/install-sh"; then
  2145. ac_aux_dir=$ac_dir
  2146. ac_install_sh="$ac_aux_dir/install-sh -c"
  2147. break
  2148. elif test -f "$ac_dir/install.sh"; then
  2149. ac_aux_dir=$ac_dir
  2150. ac_install_sh="$ac_aux_dir/install.sh -c"
  2151. break
  2152. elif test -f "$ac_dir/shtool"; then
  2153. ac_aux_dir=$ac_dir
  2154. ac_install_sh="$ac_aux_dir/shtool install -c"
  2155. break
  2156. fi
  2157. done
  2158. if test -z "$ac_aux_dir"; then
  2159. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2160. fi
  2161. # These three variables are undocumented and unsupported,
  2162. # and are intended to be withdrawn in a future Autoconf release.
  2163. # They can cause serious problems if a builder's source tree is in a directory
  2164. # whose full name contains unusual characters.
  2165. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2166. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2167. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2168. # Find a good install program. We prefer a C program (faster),
  2169. # so one script is as good as another. But avoid the broken or
  2170. # incompatible versions:
  2171. # SysV /etc/install, /usr/sbin/install
  2172. # SunOS /usr/etc/install
  2173. # IRIX /sbin/install
  2174. # AIX /bin/install
  2175. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2176. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2177. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2178. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2179. # OS/2's system install, which has a completely different semantic
  2180. # ./install, which can be erroneously created by make from ./install.sh.
  2181. # Reject install programs that cannot install multiple files.
  2182. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2183. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2184. if test -z "$INSTALL"; then
  2185. if ${ac_cv_path_install+:} false; then :
  2186. $as_echo_n "(cached) " >&6
  2187. else
  2188. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2189. for as_dir in $PATH
  2190. do
  2191. IFS=$as_save_IFS
  2192. test -z "$as_dir" && as_dir=.
  2193. # Account for people who put trailing slashes in PATH elements.
  2194. case $as_dir/ in #((
  2195. ./ | .// | /[cC]/* | \
  2196. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2197. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2198. /usr/ucb/* ) ;;
  2199. *)
  2200. # OSF1 and SCO ODT 3.0 have their own names for install.
  2201. # Don't use installbsd from OSF since it installs stuff as root
  2202. # by default.
  2203. for ac_prog in ginstall scoinst install; do
  2204. for ac_exec_ext in '' $ac_executable_extensions; do
  2205. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2206. if test $ac_prog = install &&
  2207. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2208. # AIX install. It has an incompatible calling convention.
  2209. :
  2210. elif test $ac_prog = install &&
  2211. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2212. # program-specific install script used by HP pwplus--don't use.
  2213. :
  2214. else
  2215. rm -rf conftest.one conftest.two conftest.dir
  2216. echo one > conftest.one
  2217. echo two > conftest.two
  2218. mkdir conftest.dir
  2219. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2220. test -s conftest.one && test -s conftest.two &&
  2221. test -s conftest.dir/conftest.one &&
  2222. test -s conftest.dir/conftest.two
  2223. then
  2224. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2225. break 3
  2226. fi
  2227. fi
  2228. fi
  2229. done
  2230. done
  2231. ;;
  2232. esac
  2233. done
  2234. IFS=$as_save_IFS
  2235. rm -rf conftest.one conftest.two conftest.dir
  2236. fi
  2237. if test "${ac_cv_path_install+set}" = set; then
  2238. INSTALL=$ac_cv_path_install
  2239. else
  2240. # As a last resort, use the slow shell script. Don't cache a
  2241. # value for INSTALL within a source directory, because that will
  2242. # break other packages using the cache if that directory is
  2243. # removed, or if the value is a relative name.
  2244. INSTALL=$ac_install_sh
  2245. fi
  2246. fi
  2247. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2248. $as_echo "$INSTALL" >&6; }
  2249. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2250. # It thinks the first close brace ends the variable substitution.
  2251. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2252. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2253. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2254. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2255. $as_echo_n "checking whether build environment is sane... " >&6; }
  2256. # Reject unsafe characters in $srcdir or the absolute working directory
  2257. # name. Accept space and tab only in the latter.
  2258. am_lf='
  2259. '
  2260. case `pwd` in
  2261. *[\\\"\#\$\&\'\`$am_lf]*)
  2262. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2263. esac
  2264. case $srcdir in
  2265. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2266. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2267. esac
  2268. # Do 'set' in a subshell so we don't clobber the current shell's
  2269. # arguments. Must try -L first in case configure is actually a
  2270. # symlink; some systems play weird games with the mod time of symlinks
  2271. # (eg FreeBSD returns the mod time of the symlink's containing
  2272. # directory).
  2273. if (
  2274. am_has_slept=no
  2275. for am_try in 1 2; do
  2276. echo "timestamp, slept: $am_has_slept" > conftest.file
  2277. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2278. if test "$*" = "X"; then
  2279. # -L didn't work.
  2280. set X `ls -t "$srcdir/configure" conftest.file`
  2281. fi
  2282. if test "$*" != "X $srcdir/configure conftest.file" \
  2283. && test "$*" != "X conftest.file $srcdir/configure"; then
  2284. # If neither matched, then we have a broken ls. This can happen
  2285. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2286. # broken ls alias from the environment. This has actually
  2287. # happened. Such a system could not be considered "sane".
  2288. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2289. alias in your environment" "$LINENO" 5
  2290. fi
  2291. if test "$2" = conftest.file || test $am_try -eq 2; then
  2292. break
  2293. fi
  2294. # Just in case.
  2295. sleep 1
  2296. am_has_slept=yes
  2297. done
  2298. test "$2" = conftest.file
  2299. )
  2300. then
  2301. # Ok.
  2302. :
  2303. else
  2304. as_fn_error $? "newly created file is older than distributed files!
  2305. Check your system clock" "$LINENO" 5
  2306. fi
  2307. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2308. $as_echo "yes" >&6; }
  2309. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2310. # generated files are strictly newer.
  2311. am_sleep_pid=
  2312. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2313. ( sleep 1 ) &
  2314. am_sleep_pid=$!
  2315. fi
  2316. rm -f conftest.file
  2317. test "$program_prefix" != NONE &&
  2318. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2319. # Use a double $ so make ignores it.
  2320. test "$program_suffix" != NONE &&
  2321. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2322. # Double any \ or $.
  2323. # By default was `s,x,x', remove it if useless.
  2324. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2325. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2326. # Expand $ac_aux_dir to an absolute path.
  2327. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2328. if test x"${MISSING+set}" != xset; then
  2329. case $am_aux_dir in
  2330. *\ * | *\ *)
  2331. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2332. *)
  2333. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2334. esac
  2335. fi
  2336. # Use eval to expand $SHELL
  2337. if eval "$MISSING --is-lightweight"; then
  2338. am_missing_run="$MISSING "
  2339. else
  2340. am_missing_run=
  2341. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2342. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2343. fi
  2344. if test x"${install_sh}" != xset; then
  2345. case $am_aux_dir in
  2346. *\ * | *\ *)
  2347. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2348. *)
  2349. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2350. esac
  2351. fi
  2352. # Installed binaries are usually stripped using 'strip' when the user
  2353. # run "make install-strip". However 'strip' might not be the right
  2354. # tool to use in cross-compilation environments, therefore Automake
  2355. # will honor the 'STRIP' environment variable to overrule this program.
  2356. if test "$cross_compiling" != no; then
  2357. if test -n "$ac_tool_prefix"; then
  2358. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2359. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2360. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2361. $as_echo_n "checking for $ac_word... " >&6; }
  2362. if ${ac_cv_prog_STRIP+:} false; then :
  2363. $as_echo_n "(cached) " >&6
  2364. else
  2365. if test -n "$STRIP"; then
  2366. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2367. else
  2368. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2369. for as_dir in $PATH
  2370. do
  2371. IFS=$as_save_IFS
  2372. test -z "$as_dir" && as_dir=.
  2373. for ac_exec_ext in '' $ac_executable_extensions; do
  2374. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2375. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2376. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2377. break 2
  2378. fi
  2379. done
  2380. done
  2381. IFS=$as_save_IFS
  2382. fi
  2383. fi
  2384. STRIP=$ac_cv_prog_STRIP
  2385. if test -n "$STRIP"; then
  2386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2387. $as_echo "$STRIP" >&6; }
  2388. else
  2389. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2390. $as_echo "no" >&6; }
  2391. fi
  2392. fi
  2393. if test -z "$ac_cv_prog_STRIP"; then
  2394. ac_ct_STRIP=$STRIP
  2395. # Extract the first word of "strip", so it can be a program name with args.
  2396. set dummy strip; ac_word=$2
  2397. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2398. $as_echo_n "checking for $ac_word... " >&6; }
  2399. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2400. $as_echo_n "(cached) " >&6
  2401. else
  2402. if test -n "$ac_ct_STRIP"; then
  2403. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2404. else
  2405. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2406. for as_dir in $PATH
  2407. do
  2408. IFS=$as_save_IFS
  2409. test -z "$as_dir" && as_dir=.
  2410. for ac_exec_ext in '' $ac_executable_extensions; do
  2411. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2412. ac_cv_prog_ac_ct_STRIP="strip"
  2413. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2414. break 2
  2415. fi
  2416. done
  2417. done
  2418. IFS=$as_save_IFS
  2419. fi
  2420. fi
  2421. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2422. if test -n "$ac_ct_STRIP"; then
  2423. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2424. $as_echo "$ac_ct_STRIP" >&6; }
  2425. else
  2426. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2427. $as_echo "no" >&6; }
  2428. fi
  2429. if test "x$ac_ct_STRIP" = x; then
  2430. STRIP=":"
  2431. else
  2432. case $cross_compiling:$ac_tool_warned in
  2433. yes:)
  2434. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2435. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2436. ac_tool_warned=yes ;;
  2437. esac
  2438. STRIP=$ac_ct_STRIP
  2439. fi
  2440. else
  2441. STRIP="$ac_cv_prog_STRIP"
  2442. fi
  2443. fi
  2444. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2445. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2446. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2447. if test -z "$MKDIR_P"; then
  2448. if ${ac_cv_path_mkdir+:} false; then :
  2449. $as_echo_n "(cached) " >&6
  2450. else
  2451. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2452. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2453. do
  2454. IFS=$as_save_IFS
  2455. test -z "$as_dir" && as_dir=.
  2456. for ac_prog in mkdir gmkdir; do
  2457. for ac_exec_ext in '' $ac_executable_extensions; do
  2458. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2459. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2460. 'mkdir (GNU coreutils) '* | \
  2461. 'mkdir (coreutils) '* | \
  2462. 'mkdir (fileutils) '4.1*)
  2463. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2464. break 3;;
  2465. esac
  2466. done
  2467. done
  2468. done
  2469. IFS=$as_save_IFS
  2470. fi
  2471. test -d ./--version && rmdir ./--version
  2472. if test "${ac_cv_path_mkdir+set}" = set; then
  2473. MKDIR_P="$ac_cv_path_mkdir -p"
  2474. else
  2475. # As a last resort, use the slow shell script. Don't cache a
  2476. # value for MKDIR_P within a source directory, because that will
  2477. # break other packages using the cache if that directory is
  2478. # removed, or if the value is a relative name.
  2479. MKDIR_P="$ac_install_sh -d"
  2480. fi
  2481. fi
  2482. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2483. $as_echo "$MKDIR_P" >&6; }
  2484. for ac_prog in gawk mawk nawk awk
  2485. do
  2486. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2487. set dummy $ac_prog; ac_word=$2
  2488. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2489. $as_echo_n "checking for $ac_word... " >&6; }
  2490. if ${ac_cv_prog_AWK+:} false; then :
  2491. $as_echo_n "(cached) " >&6
  2492. else
  2493. if test -n "$AWK"; then
  2494. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2495. else
  2496. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2497. for as_dir in $PATH
  2498. do
  2499. IFS=$as_save_IFS
  2500. test -z "$as_dir" && as_dir=.
  2501. for ac_exec_ext in '' $ac_executable_extensions; do
  2502. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2503. ac_cv_prog_AWK="$ac_prog"
  2504. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2505. break 2
  2506. fi
  2507. done
  2508. done
  2509. IFS=$as_save_IFS
  2510. fi
  2511. fi
  2512. AWK=$ac_cv_prog_AWK
  2513. if test -n "$AWK"; then
  2514. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2515. $as_echo "$AWK" >&6; }
  2516. else
  2517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2518. $as_echo "no" >&6; }
  2519. fi
  2520. test -n "$AWK" && break
  2521. done
  2522. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2523. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2524. set x ${MAKE-make}
  2525. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2526. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2527. $as_echo_n "(cached) " >&6
  2528. else
  2529. cat >conftest.make <<\_ACEOF
  2530. SHELL = /bin/sh
  2531. all:
  2532. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2533. _ACEOF
  2534. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2535. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2536. *@@@%%%=?*=@@@%%%*)
  2537. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2538. *)
  2539. eval ac_cv_prog_make_${ac_make}_set=no;;
  2540. esac
  2541. rm -f conftest.make
  2542. fi
  2543. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2544. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2545. $as_echo "yes" >&6; }
  2546. SET_MAKE=
  2547. else
  2548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2549. $as_echo "no" >&6; }
  2550. SET_MAKE="MAKE=${MAKE-make}"
  2551. fi
  2552. rm -rf .tst 2>/dev/null
  2553. mkdir .tst 2>/dev/null
  2554. if test -d .tst; then
  2555. am__leading_dot=.
  2556. else
  2557. am__leading_dot=_
  2558. fi
  2559. rmdir .tst 2>/dev/null
  2560. # Check whether --enable-silent-rules was given.
  2561. if test "${enable_silent_rules+set}" = set; then :
  2562. enableval=$enable_silent_rules;
  2563. fi
  2564. case $enable_silent_rules in # (((
  2565. yes) AM_DEFAULT_VERBOSITY=0;;
  2566. no) AM_DEFAULT_VERBOSITY=1;;
  2567. *) AM_DEFAULT_VERBOSITY=1;;
  2568. esac
  2569. am_make=${MAKE-make}
  2570. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2571. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2572. if ${am_cv_make_support_nested_variables+:} false; then :
  2573. $as_echo_n "(cached) " >&6
  2574. else
  2575. if $as_echo 'TRUE=$(BAR$(V))
  2576. BAR0=false
  2577. BAR1=true
  2578. V=1
  2579. am__doit:
  2580. @$(TRUE)
  2581. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2582. am_cv_make_support_nested_variables=yes
  2583. else
  2584. am_cv_make_support_nested_variables=no
  2585. fi
  2586. fi
  2587. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2588. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2589. if test $am_cv_make_support_nested_variables = yes; then
  2590. AM_V='$(V)'
  2591. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2592. else
  2593. AM_V=$AM_DEFAULT_VERBOSITY
  2594. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2595. fi
  2596. AM_BACKSLASH='\'
  2597. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2598. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2599. # is not polluted with repeated "-I."
  2600. am__isrc=' -I$(srcdir)'
  2601. # test to see if srcdir already configured
  2602. if test -f $srcdir/config.status; then
  2603. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2604. fi
  2605. fi
  2606. # test whether we have cygpath
  2607. if test -z "$CYGPATH_W"; then
  2608. if (cygpath --version) >/dev/null 2>/dev/null; then
  2609. CYGPATH_W='cygpath -w'
  2610. else
  2611. CYGPATH_W=echo
  2612. fi
  2613. fi
  2614. # Define the identity of the package.
  2615. PACKAGE='pcsc-lite'
  2616. VERSION='1.8.13'
  2617. cat >>confdefs.h <<_ACEOF
  2618. #define PACKAGE "$PACKAGE"
  2619. _ACEOF
  2620. cat >>confdefs.h <<_ACEOF
  2621. #define VERSION "$VERSION"
  2622. _ACEOF
  2623. # Some tools Automake needs.
  2624. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2625. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2626. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2627. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2628. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2629. # For better backward compatibility. To be removed once Automake 1.9.x
  2630. # dies out for good. For more background, see:
  2631. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2632. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2633. mkdir_p='$(MKDIR_P)'
  2634. # We need awk for the "check" target. The system "awk" is bad on
  2635. # some platforms.
  2636. # Always define AMTAR for backward compatibility. Yes, it's still used
  2637. # in the wild :-( We should find a proper way to deprecate it ...
  2638. AMTAR='$${TAR-tar}'
  2639. # We'll loop over all known methods to create a tar archive until one works.
  2640. _am_tools='gnutar pax cpio none'
  2641. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2642. # POSIX will say in a future version that running "rm -f" with no argument
  2643. # is OK; and we want to be able to make that assumption in our Makefile
  2644. # recipes. So use an aggressive probe to check that the usage we want is
  2645. # actually supported "in the wild" to an acceptable degree.
  2646. # See automake bug#10828.
  2647. # To make any issue more visible, cause the running configure to be aborted
  2648. # by default if the 'rm' program in use doesn't match our expectations; the
  2649. # user can still override this though.
  2650. if rm -f && rm -fr && rm -rf; then : OK; else
  2651. cat >&2 <<'END'
  2652. Oops!
  2653. Your 'rm' program seems unable to run without file operands specified
  2654. on the command line, even when the '-f' option is present. This is contrary
  2655. to the behaviour of most rm programs out there, and not conforming with
  2656. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2657. Please tell bug-automake@gnu.org about your system, including the value
  2658. of your $PATH and any error possibly output before this message. This
  2659. can help us improve future automake versions.
  2660. END
  2661. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2662. echo 'Configuration will proceed anyway, since you have set the' >&2
  2663. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2664. echo >&2
  2665. else
  2666. cat >&2 <<'END'
  2667. Aborting the configuration process, to ensure you take notice of the issue.
  2668. You can download and install GNU coreutils to get an 'rm' implementation
  2669. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  2670. If you want to complete the configuration process using your problematic
  2671. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2672. to "yes", and re-run configure.
  2673. END
  2674. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2675. fi
  2676. fi
  2677. ac_config_headers="$ac_config_headers config.h"
  2678. # Check whether --enable-silent-rules was given.
  2679. if test "${enable_silent_rules+set}" = set; then :
  2680. enableval=$enable_silent_rules;
  2681. fi <