Guest User

Untitled

a guest
Apr 21st, 2018
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.93 KB | None | 0 0
  1. diff -Naur pcc-091107/config.h.in pcc-synapse/config.h.in
  2. --- pcc-091107/config.h.in 2009-05-16 03:25:55.000000000 -0400
  3. +++ pcc-synapse/config.h.in 2009-11-07 00:03:34.104097411 -0500
  4. @@ -1,5 +1,8 @@
  5. /* config.h.in. Generated from configure.ac by autoheader. */
  6.  
  7. +/* Define if building universal (internal helper macro) */
  8. +#undef AC_APPLE_UNIVERSAL_BUILD
  9. +
  10. /* Using a.out ABI */
  11. #undef AOUTABI
  12.  
  13. @@ -123,6 +126,9 @@
  14. /* Define to the one symbol short name of this package. */
  15. #undef PACKAGE_TARNAME
  16.  
  17. +/* Define to the home page for this package. */
  18. +#undef PACKAGE_URL
  19. +
  20. /* Define to the version of this package. */
  21. #undef PACKAGE_VERSION
  22.  
  23. @@ -171,6 +177,18 @@
  24. /* Type to use for wide characters */
  25. #undef WCHAR_TYPE
  26.  
  27. +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  28. + significant byte first (like Motorola and SPARC, unlike Intel). */
  29. +#if defined AC_APPLE_UNIVERSAL_BUILD
  30. +# if defined __BIG_ENDIAN__
  31. +# define WORDS_BIGENDIAN 1
  32. +# endif
  33. +#else
  34. +# ifndef WORDS_BIGENDIAN
  35. +# undef WORDS_BIGENDIAN
  36. +# endif
  37. +#endif
  38. +
  39. /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
  40. `char[]'. */
  41. #undef YYTEXT_POINTER
  42. diff -Naur pcc-091107/config.sub pcc-synapse/config.sub
  43. --- pcc-091107/config.sub 2008-07-15 13:33:57.000000000 -0400
  44. +++ pcc-synapse/config.sub 2009-11-07 00:02:36.180794899 -0500
  45. @@ -1388,6 +1388,9 @@
  46. -zvmoe)
  47. os=-zvmoe
  48. ;;
  49. + -synapse)
  50. + os=-synapse
  51. + ;;
  52. -none)
  53. ;;
  54. *)
  55. diff -Naur pcc-091107/configure pcc-synapse/configure
  56. --- pcc-091107/configure 2009-08-13 04:01:25.000000000 -0400
  57. +++ pcc-synapse/configure 2009-11-07 00:03:33.797430019 -0500
  58. @@ -1,62 +1,83 @@
  59. #! /bin/sh
  60. # Guess values for system-dependent variables and create Makefiles.
  61. -# Generated by GNU Autoconf 2.61 for pcc 0.9.9.
  62. +# Generated by GNU Autoconf 2.64 for pcc 0.9.9.
  63. #
  64. # Report bugs to <<pcc-list@ludd.ltu.se>>.
  65. #
  66. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  67. -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  68. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
  69. +# Foundation, Inc.
  70. +#
  71. # This configure script is free software; the Free Software Foundation
  72. # gives unlimited permission to copy, distribute and modify it.
  73. -## --------------------- ##
  74. -## M4sh Initialization. ##
  75. -## --------------------- ##
  76. +## -------------------- ##
  77. +## M4sh Initialization. ##
  78. +## -------------------- ##
  79.  
  80. # Be more Bourne compatible
  81. DUALCASE=1; export DUALCASE # for MKS sh
  82. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  83. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  84. emulate sh
  85. NULLCMD=:
  86. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  87. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  88. # is contrary to our usage. Disable this feature.
  89. alias -g '${1+"$@"}'='"$@"'
  90. setopt NO_GLOB_SUBST
  91. else
  92. - case `(set -o) 2>/dev/null` in
  93. - *posix*) set -o posix ;;
  94. + case `(set -o) 2>/dev/null` in #(
  95. + *posix*) :
  96. + set -o posix ;; #(
  97. + *) :
  98. + ;;
  99. esac
  100. -
  101. fi
  102.  
  103.  
  104. -
  105. -
  106. -# PATH needs CR
  107. -# Avoid depending upon Character Ranges.
  108. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  109. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  110. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  111. -as_cr_digits='0123456789'
  112. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  113. -
  114. -# The user is always right.
  115. -if test "${PATH_SEPARATOR+set}" != set; then
  116. - echo "#! /bin/sh" >conf$$.sh
  117. - echo "exit 0" >>conf$$.sh
  118. - chmod +x conf$$.sh
  119. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  120. - PATH_SEPARATOR=';'
  121. +as_nl='
  122. +'
  123. +export as_nl
  124. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  125. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  126. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  127. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  128. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  129. +# but without wasting forks for bash or zsh.
  130. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  131. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  132. + as_echo='print -r --'
  133. + as_echo_n='print -rn --'
  134. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  135. + as_echo='printf %s\n'
  136. + as_echo_n='printf %s'
  137. +else
  138. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  139. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  140. + as_echo_n='/usr/ucb/echo -n'
  141. else
  142. - PATH_SEPARATOR=:
  143. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  144. + as_echo_n_body='eval
  145. + arg=$1;
  146. + case $arg in #(
  147. + *"$as_nl"*)
  148. + expr "X$arg" : "X\\(.*\\)$as_nl";
  149. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  150. + esac;
  151. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  152. + '
  153. + export as_echo_n_body
  154. + as_echo_n='sh -c $as_echo_n_body as_echo'
  155. fi
  156. - rm -f conf$$.sh
  157. + export as_echo_body
  158. + as_echo='sh -c $as_echo_body as_echo'
  159. fi
  160.  
  161. -# Support unset when possible.
  162. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  163. - as_unset=unset
  164. -else
  165. - as_unset=false
  166. +# The user is always right.
  167. +if test "${PATH_SEPARATOR+set}" != set; then
  168. + PATH_SEPARATOR=:
  169. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  170. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  171. + PATH_SEPARATOR=';'
  172. + }
  173. fi
  174.  
  175.  
  176. @@ -65,20 +86,18 @@
  177. # there to prevent editors from complaining about space-tab.
  178. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  179. # splitting by setting IFS to empty value.)
  180. -as_nl='
  181. -'
  182. IFS=" "" $as_nl"
  183.  
  184. # Find who we are. Look in the path if we contain no directory separator.
  185. -case $0 in
  186. +case $0 in #((
  187. *[\\/]* ) as_myself=$0 ;;
  188. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  189. for as_dir in $PATH
  190. do
  191. IFS=$as_save_IFS
  192. test -z "$as_dir" && as_dir=.
  193. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  194. -done
  195. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  196. + done
  197. IFS=$as_save_IFS
  198.  
  199. ;;
  200. @@ -89,354 +108,322 @@
  201. as_myself=$0
  202. fi
  203. if test ! -f "$as_myself"; then
  204. - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  205. - { (exit 1); exit 1; }
  206. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  207. + exit 1
  208. fi
  209.  
  210. -# Work around bugs in pre-3.0 UWIN ksh.
  211. -for as_var in ENV MAIL MAILPATH
  212. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  213. +# Unset variables that we do not need and which cause bugs (e.g. in
  214. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  215. +# suppresses any "Segmentation fault" message there. '((' could
  216. +# trigger a bug in pdksh 5.2.14.
  217. +for as_var in BASH_ENV ENV MAIL MAILPATH
  218. +do eval test x\${$as_var+set} = xset \
  219. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  220. done
  221. PS1='$ '
  222. PS2='> '
  223. PS4='+ '
  224.  
  225. # NLS nuisances.
  226. -for as_var in \
  227. - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  228. - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  229. - LC_TELEPHONE LC_TIME
  230. -do
  231. - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  232. - eval $as_var=C; export $as_var
  233. - else
  234. - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  235. - fi
  236. -done
  237. -
  238. -# Required to use basename.
  239. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  240. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  241. - as_expr=expr
  242. -else
  243. - as_expr=false
  244. -fi
  245. -
  246. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  247. - as_basename=basename
  248. -else
  249. - as_basename=false
  250. -fi
  251. -
  252. -
  253. -# Name of the executable.
  254. -as_me=`$as_basename -- "$0" ||
  255. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  256. - X"$0" : 'X\(//\)$' \| \
  257. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  258. -echo X/"$0" |
  259. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  260. - s//\1/
  261. - q
  262. - }
  263. - /^X\/\(\/\/\)$/{
  264. - s//\1/
  265. - q
  266. - }
  267. - /^X\/\(\/\).*/{
  268. - s//\1/
  269. - q
  270. - }
  271. - s/.*/./; q'`
  272. +LC_ALL=C
  273. +export LC_ALL
  274. +LANGUAGE=C
  275. +export LANGUAGE
  276.  
  277. # CDPATH.
  278. -$as_unset CDPATH
  279. -
  280. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  281.  
  282. if test "x$CONFIG_SHELL" = x; then
  283. - if (eval ":") 2>/dev/null; then
  284. - as_have_required=yes
  285. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  286. + emulate sh
  287. + NULLCMD=:
  288. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  289. + # is contrary to our usage. Disable this feature.
  290. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  291. + setopt NO_GLOB_SUBST
  292. else
  293. - as_have_required=no
  294. + case \`(set -o) 2>/dev/null\` in #(
  295. + *posix*) :
  296. + set -o posix ;; #(
  297. + *) :
  298. + ;;
  299. +esac
  300. fi
  301. -
  302. - if test $as_have_required = yes && (eval ":
  303. -(as_func_return () {
  304. - (exit \$1)
  305. -}
  306. -as_func_success () {
  307. - as_func_return 0
  308. -}
  309. -as_func_failure () {
  310. - as_func_return 1
  311. -}
  312. -as_func_ret_success () {
  313. - return 0
  314. -}
  315. -as_func_ret_failure () {
  316. - return 1
  317. -}
  318. +"
  319. + as_required="as_fn_return () { (exit \$1); }
  320. +as_fn_success () { as_fn_return 0; }
  321. +as_fn_failure () { as_fn_return 1; }
  322. +as_fn_ret_success () { return 0; }
  323. +as_fn_ret_failure () { return 1; }
  324.  
  325. exitcode=0
  326. -if as_func_success; then
  327. - :
  328. -else
  329. - exitcode=1
  330. - echo as_func_success failed.
  331. -fi
  332. -
  333. -if as_func_failure; then
  334. - exitcode=1
  335. - echo as_func_failure succeeded.
  336. -fi
  337. -
  338. -if as_func_ret_success; then
  339. - :
  340. -else
  341. - exitcode=1
  342. - echo as_func_ret_success failed.
  343. -fi
  344. -
  345. -if as_func_ret_failure; then
  346. - exitcode=1
  347. - echo as_func_ret_failure succeeded.
  348. -fi
  349. -
  350. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  351. - :
  352. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  353. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  354. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  355. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  356. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  357. +
  358. +else
  359. + exitcode=1; echo positional parameters were not saved.
  360. +fi
  361. +test x\$exitcode = x0 || exit 1"
  362. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  363. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  364. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  365. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  366. +test \$(( 1 + 1 )) = 2 || exit 1"
  367. + if (eval "$as_required") 2>/dev/null; then :
  368. + as_have_required=yes
  369. else
  370. - exitcode=1
  371. - echo positional parameters were not saved.
  372. + as_have_required=no
  373. fi
  374. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  375.  
  376. -test \$exitcode = 0) || { (exit 1); exit 1; }
  377. -
  378. -(
  379. - as_lineno_1=\$LINENO
  380. - as_lineno_2=\$LINENO
  381. - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  382. - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  383. -") 2> /dev/null; then
  384. - :
  385. else
  386. - as_candidate_shells=
  387. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  388. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  389. +as_found=false
  390. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  391. do
  392. IFS=$as_save_IFS
  393. test -z "$as_dir" && as_dir=.
  394. - case $as_dir in
  395. + as_found=:
  396. + case $as_dir in #(
  397. /*)
  398. for as_base in sh bash ksh sh5; do
  399. - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  400. + # Try only shells that exist, to save several forks.
  401. + as_shell=$as_dir/$as_base
  402. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  403. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  404. + CONFIG_SHELL=$as_shell as_have_required=yes
  405. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  406. + break 2
  407. +fi
  408. +fi
  409. done;;
  410. esac
  411. + as_found=false
  412. done
  413. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  414. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  415. + CONFIG_SHELL=$SHELL as_have_required=yes
  416. +fi; }
  417. IFS=$as_save_IFS
  418.  
  419.  
  420. - for as_shell in $as_candidate_shells $SHELL; do
  421. - # Try only shells that exist, to save several forks.
  422. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  423. - { ("$as_shell") 2> /dev/null <<\_ASEOF
  424. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  425. - emulate sh
  426. - NULLCMD=:
  427. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  428. - # is contrary to our usage. Disable this feature.
  429. - alias -g '${1+"$@"}'='"$@"'
  430. - setopt NO_GLOB_SUBST
  431. -else
  432. - case `(set -o) 2>/dev/null` in
  433. - *posix*) set -o posix ;;
  434. -esac
  435. -
  436. + if test "x$CONFIG_SHELL" != x; then :
  437. + # We cannot yet assume a decent shell, so we have to provide a
  438. + # neutralization value for shells without unset; and this also
  439. + # works around shells that cannot unset nonexistent variables.
  440. + BASH_ENV=/dev/null
  441. + ENV=/dev/null
  442. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  443. + export CONFIG_SHELL
  444. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  445. +fi
  446. +
  447. + if test x$as_have_required = xno; then :
  448. + $as_echo "$0: This script requires a shell more modern than all"
  449. + $as_echo "$0: the shells that I found on your system."
  450. + if test x${ZSH_VERSION+set} = xset ; then
  451. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  452. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  453. + else
  454. + $as_echo "$0: Please tell bug-autoconf@gnu.org and
  455. +$0: <pcc-list@ludd.ltu.se> about your system, including any
  456. +$0: error possibly output before this message. Then install
  457. +$0: a modern shell, or manually run the script under such a
  458. +$0: shell if you do have one."
  459. + fi
  460. + exit 1
  461. fi
  462. -
  463. -
  464. -:
  465. -_ASEOF
  466. -}; then
  467. - CONFIG_SHELL=$as_shell
  468. - as_have_required=yes
  469. - if { "$as_shell" 2> /dev/null <<\_ASEOF
  470. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  471. - emulate sh
  472. - NULLCMD=:
  473. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  474. - # is contrary to our usage. Disable this feature.
  475. - alias -g '${1+"$@"}'='"$@"'
  476. - setopt NO_GLOB_SUBST
  477. -else
  478. - case `(set -o) 2>/dev/null` in
  479. - *posix*) set -o posix ;;
  480. -esac
  481. -
  482. fi
  483. +fi
  484. +SHELL=${CONFIG_SHELL-/bin/sh}
  485. +export SHELL
  486. +# Unset more variables known to interfere with behavior of common tools.
  487. +CLICOLOR_FORCE= GREP_OPTIONS=
  488. +unset CLICOLOR_FORCE GREP_OPTIONS
  489.  
  490. -
  491. -:
  492. -(as_func_return () {
  493. - (exit $1)
  494. -}
  495. -as_func_success () {
  496. - as_func_return 0
  497. -}
  498. -as_func_failure () {
  499. - as_func_return 1
  500. -}
  501. -as_func_ret_success () {
  502. - return 0
  503. -}
  504. -as_func_ret_failure () {
  505. - return 1
  506. +## --------------------- ##
  507. +## M4sh Shell Functions. ##
  508. +## --------------------- ##
  509. +# as_fn_unset VAR
  510. +# ---------------
  511. +# Portably unset VAR.
  512. +as_fn_unset ()
  513. +{
  514. + { eval $1=; unset $1;}
  515. }
  516. +as_unset=as_fn_unset
  517.  
  518. -exitcode=0
  519. -if as_func_success; then
  520. - :
  521. -else
  522. - exitcode=1
  523. - echo as_func_success failed.
  524. -fi
  525. +# as_fn_set_status STATUS
  526. +# -----------------------
  527. +# Set $? to STATUS, without forking.
  528. +as_fn_set_status ()
  529. +{
  530. + return $1
  531. +} # as_fn_set_status
  532.  
  533. -if as_func_failure; then
  534. - exitcode=1
  535. - echo as_func_failure succeeded.
  536. -fi
  537. +# as_fn_exit STATUS
  538. +# -----------------
  539. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  540. +as_fn_exit ()
  541. +{
  542. + set +e
  543. + as_fn_set_status $1
  544. + exit $1
  545. +} # as_fn_exit
  546. +
  547. +# as_fn_mkdir_p
  548. +# -------------
  549. +# Create "$as_dir" as a directory, including parents if necessary.
  550. +as_fn_mkdir_p ()
  551. +{
  552.  
  553. -if as_func_ret_success; then
  554. - :
  555. -else
  556. - exitcode=1
  557. - echo as_func_ret_success failed.
  558. -fi
  559. + case $as_dir in #(
  560. + -*) as_dir=./$as_dir;;
  561. + esac
  562. + test -d "$as_dir" || eval $as_mkdir_p || {
  563. + as_dirs=
  564. + while :; do
  565. + case $as_dir in #(
  566. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  567. + *) as_qdir=$as_dir;;
  568. + esac
  569. + as_dirs="'$as_qdir' $as_dirs"
  570. + as_dir=`$as_dirname -- "$as_dir" ||
  571. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  572. + X"$as_dir" : 'X\(//\)[^/]' \| \
  573. + X"$as_dir" : 'X\(//\)$' \| \
  574. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  575. +$as_echo X"$as_dir" |
  576. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  577. + s//\1/
  578. + q
  579. + }
  580. + /^X\(\/\/\)[^/].*/{
  581. + s//\1/
  582. + q
  583. + }
  584. + /^X\(\/\/\)$/{
  585. + s//\1/
  586. + q
  587. + }
  588. + /^X\(\/\).*/{
  589. + s//\1/
  590. + q
  591. + }
  592. + s/.*/./; q'`
  593. + test -d "$as_dir" && break
  594. + done
  595. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  596. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  597.  
  598. -if as_func_ret_failure; then
  599. - exitcode=1
  600. - echo as_func_ret_failure succeeded.
  601. -fi
  602.  
  603. -if ( set x; as_func_ret_success y && test x = "$1" ); then
  604. - :
  605. +} # as_fn_mkdir_p
  606. +# as_fn_append VAR VALUE
  607. +# ----------------------
  608. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  609. +# advantage of any shell optimizations that allow amortized linear growth over
  610. +# repeated appends, instead of the typical quadratic growth present in naive
  611. +# implementations.
  612. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  613. + eval 'as_fn_append ()
  614. + {
  615. + eval $1+=\$2
  616. + }'
  617. else
  618. - exitcode=1
  619. - echo positional parameters were not saved.
  620. -fi
  621. -
  622. -test $exitcode = 0) || { (exit 1); exit 1; }
  623. -
  624. -(
  625. - as_lineno_1=$LINENO
  626. - as_lineno_2=$LINENO
  627. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  628. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  629. -
  630. -_ASEOF
  631. -}; then
  632. - break
  633. -fi
  634. -
  635. -fi
  636. -
  637. - done
  638. -
  639. - if test "x$CONFIG_SHELL" != x; then
  640. - for as_var in BASH_ENV ENV
  641. - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  642. - done
  643. - export CONFIG_SHELL
  644. - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  645. -fi
  646. -
  647. -
  648. - if test $as_have_required = no; then
  649. - echo This script requires a shell more modern than all the
  650. - echo shells that I found on your system. Please install a
  651. - echo modern shell, or manually run the script under such a
  652. - echo shell if you do have one.
  653. - { (exit 1); exit 1; }
  654. -fi
  655. -
  656. -
  657. -fi
  658. -
  659. -fi
  660. -
  661. + as_fn_append ()
  662. + {
  663. + eval $1=\$$1\$2
  664. + }
  665. +fi # as_fn_append
  666. +
  667. +# as_fn_arith ARG...
  668. +# ------------------
  669. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  670. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  671. +# must be portable across $(()) and expr.
  672. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  673. + eval 'as_fn_arith ()
  674. + {
  675. + as_val=$(( $* ))
  676. + }'
  677. +else
  678. + as_fn_arith ()
  679. + {
  680. + as_val=`expr "$@" || test $? -eq 1`
  681. + }
  682. +fi # as_fn_arith
  683.  
  684.  
  685. -(eval "as_func_return () {
  686. - (exit \$1)
  687. -}
  688. -as_func_success () {
  689. - as_func_return 0
  690. -}
  691. -as_func_failure () {
  692. - as_func_return 1
  693. -}
  694. -as_func_ret_success () {
  695. - return 0
  696. -}
  697. -as_func_ret_failure () {
  698. - return 1
  699. -}
  700. +# as_fn_error ERROR [LINENO LOG_FD]
  701. +# ---------------------------------
  702. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  703. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  704. +# script with status $?, using 1 if that was 0.
  705. +as_fn_error ()
  706. +{
  707. + as_status=$?; test $as_status -eq 0 && as_status=1
  708. + if test "$3"; then
  709. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  710. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  711. + fi
  712. + $as_echo "$as_me: error: $1" >&2
  713. + as_fn_exit $as_status
  714. +} # as_fn_error
  715.  
  716. -exitcode=0
  717. -if as_func_success; then
  718. - :
  719. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  720. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  721. + as_expr=expr
  722. else
  723. - exitcode=1
  724. - echo as_func_success failed.
  725. -fi
  726. -
  727. -if as_func_failure; then
  728. - exitcode=1
  729. - echo as_func_failure succeeded.
  730. + as_expr=false
  731. fi
  732.  
  733. -if as_func_ret_success; then
  734. - :
  735. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  736. + as_basename=basename
  737. else
  738. - exitcode=1
  739. - echo as_func_ret_success failed.
  740. -fi
  741. -
  742. -if as_func_ret_failure; then
  743. - exitcode=1
  744. - echo as_func_ret_failure succeeded.
  745. + as_basename=false
  746. fi
  747.  
  748. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  749. - :
  750. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  751. + as_dirname=dirname
  752. else
  753. - exitcode=1
  754. - echo positional parameters were not saved.
  755. + as_dirname=false
  756. fi
  757.  
  758. -test \$exitcode = 0") || {
  759. - echo No shell found that supports shell functions.
  760. - echo Please tell autoconf@gnu.org about your system,
  761. - echo including any error possibly output before this
  762. - echo message
  763. -}
  764. +as_me=`$as_basename -- "$0" ||
  765. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  766. + X"$0" : 'X\(//\)$' \| \
  767. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  768. +$as_echo X/"$0" |
  769. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  770. + s//\1/
  771. + q
  772. + }
  773. + /^X\/\(\/\/\)$/{
  774. + s//\1/
  775. + q
  776. + }
  777. + /^X\/\(\/\).*/{
  778. + s//\1/
  779. + q
  780. + }
  781. + s/.*/./; q'`
  782.  
  783. +# Avoid depending upon Character Ranges.
  784. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  785. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  786. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  787. +as_cr_digits='0123456789'
  788. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  789.  
  790.  
  791. - as_lineno_1=$LINENO
  792. - as_lineno_2=$LINENO
  793. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  794. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  795. -
  796. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  797. - # uniformly replaced by the line number. The first 'sed' inserts a
  798. - # line-number line after each line using $LINENO; the second 'sed'
  799. - # does the real work. The second script uses 'N' to pair each
  800. - # line-number line with the line containing $LINENO, and appends
  801. - # trailing '-' during substitution so that $LINENO is not a special
  802. - # case at line end.
  803. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  804. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  805. - # E. McMahon (1931-1989) for sed's syntax. :-)
  806. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  807. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  808. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  809. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  810. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  811. sed -n '
  812. p
  813. /[$]LINENO/=
  814. @@ -453,8 +440,7 @@
  815. s/-\n.*//
  816. ' >$as_me.lineno &&
  817. chmod +x "$as_me.lineno" ||
  818. - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  819. - { (exit 1); exit 1; }; }
  820. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  821.  
  822. # Don't try to exec as it changes $[0], causing all sort of problems
  823. # (the dirname of $[0] is not the place where we might find the
  824. @@ -464,49 +450,40 @@
  825. exit
  826. }
  827.  
  828. -
  829. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  830. - as_dirname=dirname
  831. -else
  832. - as_dirname=false
  833. -fi
  834. -
  835. ECHO_C= ECHO_N= ECHO_T=
  836. -case `echo -n x` in
  837. +case `echo -n x` in #(((((
  838. -n*)
  839. - case `echo 'x\c'` in
  840. + case `echo 'xy\c'` in
  841. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  842. - *) ECHO_C='\c';;
  843. + xy) ECHO_C='\c';;
  844. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  845. + ECHO_T=' ';;
  846. esac;;
  847. *)
  848. ECHO_N='-n';;
  849. esac
  850.  
  851. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  852. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  853. - as_expr=expr
  854. -else
  855. - as_expr=false
  856. -fi
  857. -
  858. rm -f conf$$ conf$$.exe conf$$.file
  859. if test -d conf$$.dir; then
  860. rm -f conf$$.dir/conf$$.file
  861. else
  862. rm -f conf$$.dir
  863. - mkdir conf$$.dir
  864. + mkdir conf$$.dir 2>/dev/null
  865. fi
  866. -echo >conf$$.file
  867. -if ln -s conf$$.file conf$$ 2>/dev/null; then
  868. - as_ln_s='ln -s'
  869. - # ... but there are two gotchas:
  870. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  871. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  872. - # In both cases, we have to default to `cp -p'.
  873. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  874. +if (echo >conf$$.file) 2>/dev/null; then
  875. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  876. + as_ln_s='ln -s'
  877. + # ... but there are two gotchas:
  878. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  879. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  880. + # In both cases, we have to default to `cp -p'.
  881. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  882. + as_ln_s='cp -p'
  883. + elif ln conf$$.file conf$$ 2>/dev/null; then
  884. + as_ln_s=ln
  885. + else
  886. as_ln_s='cp -p'
  887. -elif ln conf$$.file conf$$ 2>/dev/null; then
  888. - as_ln_s=ln
  889. + fi
  890. else
  891. as_ln_s='cp -p'
  892. fi
  893. @@ -514,7 +491,7 @@
  894. rmdir conf$$.dir 2>/dev/null
  895.  
  896. if mkdir -p . 2>/dev/null; then
  897. - as_mkdir_p=:
  898. + as_mkdir_p
Add Comment
Please, Sign In to add comment