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.
 
 
 
 
 
 

17288 lines
503 KiB

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