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.
 
 
 
 
 
 

20615 lines
601 KiB

  1. #! /bin/sh
  2. # From configure.ac Id.
  3. # Guess values for system-dependent variables and create Makefiles.
  4. # Generated by GNU Autoconf 2.69 for xfce4-session 4.12.1.
  5. #
  6. # Report bugs to <http://bugs.xfce.org/>.
  7. #
  8. # Copyright (c) 2003-2014
  9. # The Xfce development team. All rights reserved.
  10. #
  11. # Written for Xfce by Benedikt Meurer <benny@xfce.org>.
  12. #
  13. #
  14. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  15. #
  16. #
  17. # This configure script is free software; the Free Software Foundation
  18. # gives unlimited permission to copy, distribute and modify it.
  19. ## -------------------- ##
  20. ## M4sh Initialization. ##
  21. ## -------------------- ##
  22. # Be more Bourne compatible
  23. DUALCASE=1; export DUALCASE # for MKS sh
  24. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  25. emulate sh
  26. NULLCMD=:
  27. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  28. # is contrary to our usage. Disable this feature.
  29. alias -g '${1+"$@"}'='"$@"'
  30. setopt NO_GLOB_SUBST
  31. else
  32. case `(set -o) 2>/dev/null` in #(
  33. *posix*) :
  34. set -o posix ;; #(
  35. *) :
  36. ;;
  37. esac
  38. fi
  39. as_nl='
  40. '
  41. export as_nl
  42. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  43. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  44. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  45. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  46. # Prefer a ksh shell builtin over an external printf program on Solaris,
  47. # but without wasting forks for bash or zsh.
  48. if test -z "$BASH_VERSION$ZSH_VERSION" \
  49. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  50. as_echo='print -r --'
  51. as_echo_n='print -rn --'
  52. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  53. as_echo='printf %s\n'
  54. as_echo_n='printf %s'
  55. else
  56. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  57. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  58. as_echo_n='/usr/ucb/echo -n'
  59. else
  60. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  61. as_echo_n_body='eval
  62. arg=$1;
  63. case $arg in #(
  64. *"$as_nl"*)
  65. expr "X$arg" : "X\\(.*\\)$as_nl";
  66. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  67. esac;
  68. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  69. '
  70. export as_echo_n_body
  71. as_echo_n='sh -c $as_echo_n_body as_echo'
  72. fi
  73. export as_echo_body
  74. as_echo='sh -c $as_echo_body as_echo'
  75. fi
  76. # The user is always right.
  77. if test "${PATH_SEPARATOR+set}" != set; then
  78. PATH_SEPARATOR=:
  79. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  80. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  81. PATH_SEPARATOR=';'
  82. }
  83. fi
  84. # IFS
  85. # We need space, tab and new line, in precisely that order. Quoting is
  86. # there to prevent editors from complaining about space-tab.
  87. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  88. # splitting by setting IFS to empty value.)
  89. IFS=" "" $as_nl"
  90. # Find who we are. Look in the path if we contain no directory separator.
  91. as_myself=
  92. case $0 in #((
  93. *[\\/]* ) as_myself=$0 ;;
  94. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  95. for as_dir in $PATH
  96. do
  97. IFS=$as_save_IFS
  98. test -z "$as_dir" && as_dir=.
  99. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  100. done
  101. IFS=$as_save_IFS
  102. ;;
  103. esac
  104. # We did not find ourselves, most probably we were run as `sh COMMAND'
  105. # in which case we are not to be found in the path.
  106. if test "x$as_myself" = x; then
  107. as_myself=$0
  108. fi
  109. if test ! -f "$as_myself"; then
  110. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  111. exit 1
  112. fi
  113. # Unset variables that we do not need and which cause bugs (e.g. in
  114. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  115. # suppresses any "Segmentation fault" message there. '((' could
  116. # trigger a bug in pdksh 5.2.14.
  117. for as_var in BASH_ENV ENV MAIL MAILPATH
  118. do eval test x\${$as_var+set} = xset \
  119. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  120. done
  121. PS1='$ '
  122. PS2='> '
  123. PS4='+ '
  124. # NLS nuisances.
  125. LC_ALL=C
  126. export LC_ALL
  127. LANGUAGE=C
  128. export LANGUAGE
  129. # CDPATH.
  130. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  131. # Use a proper internal environment variable to ensure we don't fall
  132. # into an infinite loop, continuously re-executing ourselves.
  133. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  134. _as_can_reexec=no; export _as_can_reexec;
  135. # We cannot yet assume a decent shell, so we have to provide a
  136. # neutralization value for shells without unset; and this also
  137. # works around shells that cannot unset nonexistent variables.
  138. # Preserve -v and -x to the replacement shell.
  139. BASH_ENV=/dev/null
  140. ENV=/dev/null
  141. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  142. case $- in # ((((
  143. *v*x* | *x*v* ) as_opts=-vx ;;
  144. *v* ) as_opts=-v ;;
  145. *x* ) as_opts=-x ;;
  146. * ) as_opts= ;;
  147. esac
  148. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  149. # Admittedly, this is quite paranoid, since all the known shells bail
  150. # out after a failed `exec'.
  151. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  152. as_fn_exit 255
  153. fi
  154. # We don't want this to propagate to other subprocesses.
  155. { _as_can_reexec=; unset _as_can_reexec;}
  156. if test "x$CONFIG_SHELL" = x; then
  157. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  158. emulate sh
  159. NULLCMD=:
  160. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  161. # is contrary to our usage. Disable this feature.
  162. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  163. setopt NO_GLOB_SUBST
  164. else
  165. case \`(set -o) 2>/dev/null\` in #(
  166. *posix*) :
  167. set -o posix ;; #(
  168. *) :
  169. ;;
  170. esac
  171. fi
  172. "
  173. as_required="as_fn_return () { (exit \$1); }
  174. as_fn_success () { as_fn_return 0; }
  175. as_fn_failure () { as_fn_return 1; }
  176. as_fn_ret_success () { return 0; }
  177. as_fn_ret_failure () { return 1; }
  178. exitcode=0
  179. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  180. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  181. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  182. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  183. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  184. else
  185. exitcode=1; echo positional parameters were not saved.
  186. fi
  187. test x\$exitcode = x0 || exit 1
  188. test -x / || exit 1"
  189. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  190. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  191. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  192. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  193. test \$(( 1 + 1 )) = 2 || exit 1
  194. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  195. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  196. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  197. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  198. PATH=/empty FPATH=/empty; export PATH FPATH
  199. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  200. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  201. if (eval "$as_required") 2>/dev/null; then :
  202. as_have_required=yes
  203. else
  204. as_have_required=no
  205. fi
  206. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  207. else
  208. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  209. as_found=false
  210. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  211. do
  212. IFS=$as_save_IFS
  213. test -z "$as_dir" && as_dir=.
  214. as_found=:
  215. case $as_dir in #(
  216. /*)
  217. for as_base in sh bash ksh sh5; do
  218. # Try only shells that exist, to save several forks.
  219. as_shell=$as_dir/$as_base
  220. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  221. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  222. CONFIG_SHELL=$as_shell as_have_required=yes
  223. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  224. break 2
  225. fi
  226. fi
  227. done;;
  228. esac
  229. as_found=false
  230. done
  231. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  232. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  233. CONFIG_SHELL=$SHELL as_have_required=yes
  234. fi; }
  235. IFS=$as_save_IFS
  236. if test "x$CONFIG_SHELL" != x; then :
  237. export CONFIG_SHELL
  238. # We cannot yet assume a decent shell, so we have to provide a
  239. # neutralization value for shells without unset; and this also
  240. # works around shells that cannot unset nonexistent variables.
  241. # Preserve -v and -x to the replacement shell.
  242. BASH_ENV=/dev/null
  243. ENV=/dev/null
  244. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  245. case $- in # ((((
  246. *v*x* | *x*v* ) as_opts=-vx ;;
  247. *v* ) as_opts=-v ;;
  248. *x* ) as_opts=-x ;;
  249. * ) as_opts= ;;
  250. esac
  251. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  252. # Admittedly, this is quite paranoid, since all the known shells bail
  253. # out after a failed `exec'.
  254. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  255. exit 255
  256. fi
  257. if test x$as_have_required = xno; then :
  258. $as_echo "$0: This script requires a shell more modern than all"
  259. $as_echo "$0: the shells that I found on your system."
  260. if test x${ZSH_VERSION+set} = xset ; then
  261. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  262. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  263. else
  264. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  265. $0: http://bugs.xfce.org/ about your system, including any
  266. $0: error possibly output before this message. Then install
  267. $0: a modern shell, or manually run the script under such a
  268. $0: shell if you do have one."
  269. fi
  270. exit 1
  271. fi
  272. fi
  273. fi
  274. SHELL=${CONFIG_SHELL-/bin/sh}
  275. expo