OpenSDE Packages Database (without history before r20070)
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.

1068 lines
30 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../lcdemu/lcdemuhotfix.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- lcdemu-0.6-beta1/configure.in Fri Dec 6 16:12:30 2002
  18. +++ lcdemu-0.6.0/configure.in Mon Mar 17 00:04:59 2003
  19. @@ -17,7 +17,10 @@
  20. AC_ARG_ENABLE(debug,
  21. [ --enable-debug turn on debugging [default=no]],
  22. - AC_DEFINE(DEBUG, 1, [Define to switch on debug messages]),)
  23. + echo $enableval
  24. + if [[[ "$enableval" = "yes" ]]]; then
  25. + AC_DEFINE(DEBUG, 1, [Define to switch on debug messages])
  26. + fi,)
  27. AC_ARG_ENABLE(debug-dump-buffer,
  28. [ --enable-dump_buffer turn on buffer dump output [default=no]],
  29. --- lcdemu-0.6-beta1/configure Fri Dec 6 16:12:41 2002
  30. +++ lcdemu-0.6.0/configure Mon Mar 17 00:05:01 2003
  31. @@ -1,6 +1,6 @@
  32. #! /bin/sh
  33. # Guess values for system-dependent variables and create Makefiles.
  34. -# Generated by GNU Autoconf 2.54.
  35. +# Generated by GNU Autoconf 2.57.
  36. #
  37. # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  38. # Free Software Foundation, Inc.
  39. @@ -36,7 +36,10 @@
  40. PS4='+ '
  41. # NLS nuisances.
  42. -for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
  43. +for as_var in \
  44. + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  45. + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  46. + LC_TELEPHONE LC_TIME
  47. do
  48. if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  49. eval $as_var=C; export $as_var
  50. @@ -82,15 +85,15 @@
  51. # The user is always right.
  52. if test "${PATH_SEPARATOR+set}" != set; then
  53. - echo "#! /bin/sh" >conftest.sh
  54. - echo "exit 0" >>conftest.sh
  55. - chmod +x conftest.sh
  56. - if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
  57. + echo "#! /bin/sh" >conf$$.sh
  58. + echo "exit 0" >>conf$$.sh
  59. + chmod +x conf$$.sh
  60. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  61. PATH_SEPARATOR=';'
  62. else
  63. PATH_SEPARATOR=:
  64. fi
  65. - rm -f conftest.sh
  66. + rm -f conf$$.sh
  67. fi
  68. @@ -900,7 +903,7 @@
  69. running configure, to aid debugging if configure makes a mistake.
  70. It was created by $as_me, which was
  71. -generated by GNU Autoconf 2.54. Invocation command line was
  72. +generated by GNU Autoconf 2.57. Invocation command line was
  73. $ $0 $@
  74. @@ -952,24 +955,54 @@
  75. # Keep a trace of the command line.
  76. # Strip out --no-create and --no-recursion so they do not pile up.
  77. +# Strip out --silent because we don't want to record it for future runs.
  78. # Also quote any args containing shell meta-characters.
  79. +# Make two passes to allow for proper duplicate-argument suppression.
  80. ac_configure_args=
  81. +ac_configure_args0=
  82. +ac_configure_args1=
  83. ac_sep=
  84. -for ac_arg
  85. +ac_must_keep_next=false
  86. +for ac_pass in 1 2
  87. do
  88. - case $ac_arg in
  89. - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  90. - | --no-cr | --no-c | -n ) continue ;;
  91. - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  92. - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  93. - continue ;;
  94. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  95. - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  96. - esac
  97. - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  98. - # Get rid of the leading space.
  99. - ac_sep=" "
  100. + for ac_arg
  101. + do
  102. + case $ac_arg in
  103. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  104. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  105. + | -silent | --silent | --silen | --sile | --sil)
  106. + continue ;;
  107. + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  108. + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  109. + esac
  110. + case $ac_pass in
  111. + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  112. + 2)
  113. + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  114. + if test $ac_must_keep_next = true; then
  115. + ac_must_keep_next=false # Got value, back to normal.
  116. + else
  117. + case $ac_arg in
  118. + *=* | --config-cache | -C | -disable-* | --disable-* \
  119. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  120. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  121. + | -with-* | --with-* | -without-* | --without-* | --x)
  122. + case "$ac_configure_args0 " in
  123. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  124. + esac
  125. + ;;
  126. + -* ) ac_must_keep_next=true ;;
  127. + esac
  128. + fi
  129. + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  130. + # Get rid of the leading space.
  131. + ac_sep=" "
  132. + ;;
  133. + esac
  134. + done
  135. done
  136. +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  137. +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  138. # When interrupted or exit'd, cleanup temporary files, and complete
  139. # config.log. We remove comments because anyway the quotes in there
  140. @@ -1412,15 +1445,15 @@
  141. test -n "$AWK" && break
  142. done
  143. -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
  144. -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
  145. +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  146. +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
  147. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
  148. if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  149. echo $ECHO_N "(cached) $ECHO_C" >&6
  150. else
  151. cat >conftest.make <<\_ACEOF
  152. all:
  153. - @echo 'ac_maketemp="${MAKE}"'
  154. + @echo 'ac_maketemp="$(MAKE)"'
  155. _ACEOF
  156. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  157. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  158. @@ -1996,8 +2029,10 @@
  159. fi
  160. -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
  161. -echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
  162. +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  163. +See \`config.log' for more details." >&5
  164. +echo "$as_me: error: no acceptable C compiler found in \$PATH
  165. +See \`config.log' for more details." >&2;}
  166. { (exit 1); exit 1; }; }
  167. # Provide some information about the compiler.
  168. @@ -2022,7 +2057,11 @@
  169. cat >conftest.$ac_ext <<_ACEOF
  170. #line $LINENO "configure"
  171. -#include "confdefs.h"
  172. +/* confdefs.h. */
  173. +_ACEOF
  174. +cat confdefs.h >>conftest.$ac_ext
  175. +cat >>conftest.$ac_ext <<_ACEOF
  176. +/* end confdefs.h. */
  177. int
  178. main ()
  179. @@ -2033,7 +2072,7 @@
  180. }
  181. _ACEOF
  182. ac_clean_files_save=$ac_clean_files
  183. -ac_clean_files="$ac_clean_files a.out a.exe"
  184. +ac_clean_files="$ac_clean_files a.out a.exe b.out"
  185. # Try to create an executable without -o first, disregard a.out.
  186. # It will help us diagnose broken compilers, and finding out an intuition
  187. # of exeext.
  188. @@ -2052,27 +2091,39 @@
  189. # Be careful to initialize this variable, since it used to be cached.
  190. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  191. ac_cv_exeext=
  192. -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
  193. +# b.out is created by i960 compilers.
  194. +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  195. +do
  196. test -f "$ac_file" || continue
  197. case $ac_file in
  198. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  199. - a.out ) # We found the default executable, but exeext='' is most
  200. - # certainly right.
  201. - break;;
  202. - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  203. - # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
  204. - export ac_cv_exeext
  205. - break;;
  206. - * ) break;;
  207. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  208. + ;;
  209. + conftest.$ac_ext )
  210. + # This is the source file.
  211. + ;;
  212. + [ab].out )
  213. + # We found the default executable, but exeext='' is most
  214. + # certainly right.
  215. + break;;
  216. + *.* )
  217. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  218. + # FIXME: I believe we export ac_cv_exeext for Libtool,
  219. + # but it would be cool to find out if it's true. Does anybody
  220. + # maintain Libtool? --akim.
  221. + export ac_cv_exeext
  222. + break;;
  223. + * )
  224. + break;;
  225. esac
  226. done
  227. else
  228. echo "$as_me: failed program was:" >&5
  229. -cat conftest.$ac_ext >&5
  230. +sed 's/^/| /' conftest.$ac_ext >&5
  231. +
  232. { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  233. -check \`config.log' for details." >&5
  234. +See \`config.log' for more details." >&5
  235. echo "$as_me: error: C compiler cannot create executables
  236. -check \`config.log' for details." >&2;}
  237. +See \`config.log' for more details." >&2;}
  238. { (exit 77); exit 77; }; }
  239. fi
  240. @@ -2099,9 +2150,11 @@
  241. cross_compiling=yes
  242. else
  243. { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  244. -If you meant to cross compile, use \`--host'." >&5
  245. +If you meant to cross compile, use \`--host'.
  246. +See \`config.log' for more details." >&5
  247. echo "$as_me: error: cannot run C compiled programs.
  248. -If you meant to cross compile, use \`--host'." >&2;}
  249. +If you meant to cross compile, use \`--host'.
  250. +See \`config.log' for more details." >&2;}
  251. { (exit 1); exit 1; }; }
  252. fi
  253. fi
  254. @@ -2109,7 +2162,7 @@
  255. echo "$as_me:$LINENO: result: yes" >&5
  256. echo "${ECHO_T}yes" >&6
  257. -rm -f a.out a.exe conftest$ac_cv_exeext
  258. +rm -f a.out a.exe conftest$ac_cv_exeext b.out
  259. ac_clean_files=$ac_clean_files_save
  260. # Check the compiler produces executables we can run. If not, either
  261. # the compiler is broken, or we cross compile.
  262. @@ -2140,8 +2193,10 @@
  263. esac
  264. done
  265. else
  266. - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
  267. -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
  268. + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  269. +See \`config.log' for more details." >&5
  270. +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  271. +See \`config.log' for more details." >&2;}
  272. { (exit 1); exit 1; }; }
  273. fi
  274. @@ -2159,7 +2214,11 @@
  275. else
  276. cat >conftest.$ac_ext <<_ACEOF
  277. #line $LINENO "configure"
  278. -#include "confdefs.h"
  279. +/* confdefs.h. */
  280. +_ACEOF
  281. +cat confdefs.h >>conftest.$ac_ext
  282. +cat >>conftest.$ac_ext <<_ACEOF
  283. +/* end confdefs.h. */
  284. int
  285. main ()
  286. @@ -2184,9 +2243,12 @@
  287. done
  288. else
  289. echo "$as_me: failed program was:" >&5
  290. -cat conftest.$ac_ext >&5
  291. -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
  292. -echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
  293. +sed 's/^/| /' conftest.$ac_ext >&5
  294. +
  295. +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  296. +See \`config.log' for more details." >&5
  297. +echo "$as_me: error: cannot compute suffix of object files: cannot compile
  298. +See \`config.log' for more details." >&2;}
  299. { (exit 1); exit 1; }; }
  300. fi
  301. @@ -2203,7 +2265,11 @@
  302. else
  303. cat >conftest.$ac_ext <<_ACEOF
  304. #line $LINENO "configure"
  305. -#include "confdefs.h"
  306. +/* confdefs.h. */
  307. +_ACEOF
  308. +cat confdefs.h >>conftest.$ac_ext
  309. +cat >>conftest.$ac_ext <<_ACEOF
  310. +/* end confdefs.h. */
  311. int
  312. main ()
  313. @@ -2231,7 +2297,8 @@
  314. ac_compiler_gnu=yes
  315. else
  316. echo "$as_me: failed program was:" >&5
  317. -cat conftest.$ac_ext >&5
  318. +sed 's/^/| /' conftest.$ac_ext >&5
  319. +
  320. ac_compiler_gnu=no
  321. fi
  322. rm -f conftest.$ac_objext conftest.$ac_ext
  323. @@ -2251,7 +2318,11 @@
  324. else
  325. cat >conftest.$ac_ext <<_ACEOF
  326. #line $LINENO "configure"
  327. -#include "confdefs.h"
  328. +/* confdefs.h. */
  329. +_ACEOF
  330. +cat confdefs.h >>conftest.$ac_ext
  331. +cat >>conftest.$ac_ext <<_ACEOF
  332. +/* end confdefs.h. */
  333. int
  334. main ()
  335. @@ -2276,7 +2347,8 @@
  336. ac_cv_prog_cc_g=yes
  337. else
  338. echo "$as_me: failed program was:" >&5
  339. -cat conftest.$ac_ext >&5
  340. +sed 's/^/| /' conftest.$ac_ext >&5
  341. +
  342. ac_cv_prog_cc_g=no
  343. fi
  344. rm -f conftest.$ac_objext conftest.$ac_ext
  345. @@ -2307,7 +2379,11 @@
  346. ac_save_CC=$CC
  347. cat >conftest.$ac_ext <<_ACEOF
  348. #line $LINENO "configure"
  349. -#include "confdefs.h"
  350. +/* confdefs.h. */
  351. +_ACEOF
  352. +cat confdefs.h >>conftest.$ac_ext
  353. +cat >>conftest.$ac_ext <<_ACEOF
  354. +/* end confdefs.h. */
  355. #include <stdarg.h>
  356. #include <stdio.h>
  357. #include <sys/types.h>
  358. @@ -2370,7 +2446,8 @@
  359. break
  360. else
  361. echo "$as_me: failed program was:" >&5
  362. -cat conftest.$ac_ext >&5
  363. +sed 's/^/| /' conftest.$ac_ext >&5
  364. +
  365. fi
  366. rm -f conftest.$ac_objext
  367. done
  368. @@ -2421,7 +2498,11 @@
  369. do
  370. cat >conftest.$ac_ext <<_ACEOF
  371. #line $LINENO "configure"
  372. -#include "confdefs.h"
  373. +/* confdefs.h. */
  374. +_ACEOF
  375. +cat confdefs.h >>conftest.$ac_ext
  376. +cat >>conftest.$ac_ext <<_ACEOF
  377. +/* end confdefs.h. */
  378. #include <stdlib.h>
  379. $ac_declaration
  380. int
  381. @@ -2447,13 +2528,18 @@
  382. :
  383. else
  384. echo "$as_me: failed program was:" >&5
  385. -cat conftest.$ac_ext >&5
  386. +sed 's/^/| /' conftest.$ac_ext >&5
  387. +
  388. continue
  389. fi
  390. rm -f conftest.$ac_objext conftest.$ac_ext
  391. cat >conftest.$ac_ext <<_ACEOF
  392. #line $LINENO "configure"
  393. -#include "confdefs.h"
  394. +/* confdefs.h. */
  395. +_ACEOF
  396. +cat confdefs.h >>conftest.$ac_ext
  397. +cat >>conftest.$ac_ext <<_ACEOF
  398. +/* end confdefs.h. */
  399. $ac_declaration
  400. int
  401. main ()
  402. @@ -2478,7 +2564,8 @@
  403. break
  404. else
  405. echo "$as_me: failed program was:" >&5
  406. -cat conftest.$ac_ext >&5
  407. +sed 's/^/| /' conftest.$ac_ext >&5
  408. +
  409. fi
  410. rm -f conftest.$ac_objext conftest.$ac_ext
  411. done
  412. @@ -2491,7 +2578,8 @@
  413. else
  414. echo "$as_me: failed program was:" >&5
  415. -cat conftest.$ac_ext >&5
  416. +sed 's/^/| /' conftest.$ac_ext >&5
  417. +
  418. fi
  419. rm -f conftest.$ac_objext conftest.$ac_ext
  420. ac_ext=c
  421. @@ -2592,7 +2680,11 @@
  422. LIBS="-lcposix $LIBS"
  423. cat >conftest.$ac_ext <<_ACEOF
  424. #line $LINENO "configure"
  425. -#include "confdefs.h"
  426. +/* confdefs.h. */
  427. +_ACEOF
  428. +cat confdefs.h >>conftest.$ac_ext
  429. +cat >>conftest.$ac_ext <<_ACEOF
  430. +/* end confdefs.h. */
  431. /* Override any gcc2 internal prototype to avoid an error. */
  432. #ifdef __cplusplus
  433. @@ -2624,7 +2716,8 @@
  434. ac_cv_lib_cposix_strerror=yes
  435. else
  436. echo "$as_me: failed program was:" >&5
  437. -cat conftest.$ac_ext >&5
  438. +sed 's/^/| /' conftest.$ac_ext >&5
  439. +
  440. ac_cv_lib_cposix_strerror=no
  441. fi
  442. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  443. @@ -2947,8 +3040,10 @@
  444. fi
  445. -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
  446. -echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
  447. +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  448. +See \`config.log' for more details." >&5
  449. +echo "$as_me: error: no acceptable C compiler found in \$PATH
  450. +See \`config.log' for more details." >&2;}
  451. { (exit 1); exit 1; }; }
  452. # Provide some information about the compiler.
  453. @@ -2978,7 +3073,11 @@
  454. else
  455. cat >conftest.$ac_ext <<_ACEOF
  456. #line $LINENO "configure"
  457. -#include "confdefs.h"
  458. +/* confdefs.h. */
  459. +_ACEOF
  460. +cat confdefs.h >>conftest.$ac_ext
  461. +cat >>conftest.$ac_ext <<_ACEOF
  462. +/* end confdefs.h. */
  463. int
  464. main ()
  465. @@ -3006,7 +3105,8 @@
  466. ac_compiler_gnu=yes
  467. else
  468. echo "$as_me: failed program was:" >&5
  469. -cat conftest.$ac_ext >&5
  470. +sed 's/^/| /' conftest.$ac_ext >&5
  471. +
  472. ac_compiler_gnu=no
  473. fi
  474. rm -f conftest.$ac_objext conftest.$ac_ext
  475. @@ -3026,7 +3126,11 @@
  476. else
  477. cat >conftest.$ac_ext <<_ACEOF
  478. #line $LINENO "configure"
  479. -#include "confdefs.h"
  480. +/* confdefs.h. */
  481. +_ACEOF
  482. +cat confdefs.h >>conftest.$ac_ext
  483. +cat >>conftest.$ac_ext <<_ACEOF
  484. +/* end confdefs.h. */
  485. int
  486. main ()
  487. @@ -3051,7 +3155,8 @@
  488. ac_cv_prog_cc_g=yes
  489. else
  490. echo "$as_me: failed program was:" >&5
  491. -cat conftest.$ac_ext >&5
  492. +sed 's/^/| /' conftest.$ac_ext >&5
  493. +
  494. ac_cv_prog_cc_g=no
  495. fi
  496. rm -f conftest.$ac_objext conftest.$ac_ext
  497. @@ -3082,7 +3187,11 @@
  498. ac_save_CC=$CC
  499. cat >conftest.$ac_ext <<_ACEOF
  500. #line $LINENO "configure"
  501. -#include "confdefs.h"
  502. +/* confdefs.h. */
  503. +_ACEOF
  504. +cat confdefs.h >>conftest.$ac_ext
  505. +cat >>conftest.$ac_ext <<_ACEOF
  506. +/* end confdefs.h. */
  507. #include <stdarg.h>
  508. #include <stdio.h>
  509. #include <sys/types.h>
  510. @@ -3145,7 +3254,8 @@
  511. break
  512. else
  513. echo "$as_me: failed program was:" >&5
  514. -cat conftest.$ac_ext >&5
  515. +sed 's/^/| /' conftest.$ac_ext >&5
  516. +
  517. fi
  518. rm -f conftest.$ac_objext
  519. done
  520. @@ -3196,7 +3306,11 @@
  521. do
  522. cat >conftest.$ac_ext <<_ACEOF
  523. #line $LINENO "configure"
  524. -#include "confdefs.h"
  525. +/* confdefs.h. */
  526. +_ACEOF
  527. +cat confdefs.h >>conftest.$ac_ext
  528. +cat >>conftest.$ac_ext <<_ACEOF
  529. +/* end confdefs.h. */
  530. #include <stdlib.h>
  531. $ac_declaration
  532. int
  533. @@ -3222,13 +3336,18 @@
  534. :
  535. else
  536. echo "$as_me: failed program was:" >&5
  537. -cat conftest.$ac_ext >&5
  538. +sed 's/^/| /' conftest.$ac_ext >&5
  539. +
  540. continue
  541. fi
  542. rm -f conftest.$ac_objext conftest.$ac_ext
  543. cat >conftest.$ac_ext <<_ACEOF
  544. #line $LINENO "configure"
  545. -#include "confdefs.h"
  546. +/* confdefs.h. */
  547. +_ACEOF
  548. +cat confdefs.h >>conftest.$ac_ext
  549. +cat >>conftest.$ac_ext <<_ACEOF
  550. +/* end confdefs.h. */
  551. $ac_declaration
  552. int
  553. main ()
  554. @@ -3253,7 +3372,8 @@
  555. break
  556. else
  557. echo "$as_me: failed program was:" >&5
  558. -cat conftest.$ac_ext >&5
  559. +sed 's/^/| /' conftest.$ac_ext >&5
  560. +
  561. fi
  562. rm -f conftest.$ac_objext conftest.$ac_ext
  563. done
  564. @@ -3266,7 +3386,8 @@
  565. else
  566. echo "$as_me: failed program was:" >&5
  567. -cat conftest.$ac_ext >&5
  568. +sed 's/^/| /' conftest.$ac_ext >&5
  569. +
  570. fi
  571. rm -f conftest.$ac_objext conftest.$ac_ext
  572. ac_ext=c
  573. @@ -3378,7 +3499,11 @@
  574. CC="$ac_save_CC $ac_arg"
  575. cat >conftest.$ac_ext <<_ACEOF
  576. #line $LINENO "configure"
  577. -#include "confdefs.h"
  578. +/* confdefs.h. */
  579. +_ACEOF
  580. +cat confdefs.h >>conftest.$ac_ext
  581. +cat >>conftest.$ac_ext <<_ACEOF
  582. +/* end confdefs.h. */
  583. #include <stdarg.h>
  584. #include <stdio.h>
  585. #include <sys/types.h>
  586. @@ -3433,7 +3558,8 @@
  587. am_cv_prog_cc_stdc="$ac_arg"; break
  588. else
  589. echo "$as_me: failed program was:" >&5
  590. -cat conftest.$ac_ext >&5
  591. +sed 's/^/| /' conftest.$ac_ext >&5
  592. +
  593. fi
  594. rm -f conftest.$ac_objext conftest.$ac_ext
  595. done
  596. @@ -3476,12 +3602,22 @@
  597. do
  598. # Use a header file that comes with gcc, so configuring glibc
  599. # with a fresh cross-compiler works.
  600. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  601. + # <limits.h> exists even on freestanding compilers.
  602. # On the NeXT, cc -E runs the code through the compiler's parser,
  603. # not just through cpp. "Syntax error" is here to catch this case.
  604. cat >conftest.$ac_ext <<_ACEOF
  605. #line $LINENO "configure"
  606. -#include "confdefs.h"
  607. -#include <assert.h>
  608. +/* confdefs.h. */
  609. +_ACEOF
  610. +cat confdefs.h >>conftest.$ac_ext
  611. +cat >>conftest.$ac_ext <<_ACEOF
  612. +/* end confdefs.h. */
  613. +#ifdef __STDC__
  614. +# include <limits.h>
  615. +#else
  616. +# include <assert.h>
  617. +#endif
  618. Syntax error
  619. _ACEOF
  620. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  621. @@ -3504,7 +3640,8 @@
  622. :
  623. else
  624. echo "$as_me: failed program was:" >&5
  625. - cat conftest.$ac_ext >&5
  626. +sed 's/^/| /' conftest.$ac_ext >&5
  627. +
  628. # Broken: fails on valid input.
  629. continue
  630. fi
  631. @@ -3514,7 +3651,11 @@
  632. # can be detected and how.
  633. cat >conftest.$ac_ext <<_ACEOF
  634. #line $LINENO "configure"
  635. -#include "confdefs.h"
  636. +/* confdefs.h. */
  637. +_ACEOF
  638. +cat confdefs.h >>conftest.$ac_ext
  639. +cat >>conftest.$ac_ext <<_ACEOF
  640. +/* end confdefs.h. */
  641. #include <ac_nonexistent.h>
  642. _ACEOF
  643. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  644. @@ -3538,7 +3679,8 @@
  645. continue
  646. else
  647. echo "$as_me: failed program was:" >&5
  648. - cat conftest.$ac_ext >&5
  649. +sed 's/^/| /' conftest.$ac_ext >&5
  650. +
  651. # Passes both tests.
  652. ac_preproc_ok=:
  653. break
  654. @@ -3567,12 +3709,22 @@
  655. do
  656. # Use a header file that comes with gcc, so configuring glibc
  657. # with a fresh cross-compiler works.
  658. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  659. + # <limits.h> exists even on freestanding compilers.
  660. # On the NeXT, cc -E runs the code through the compiler's parser,
  661. # not just through cpp. "Syntax error" is here to catch this case.
  662. cat >conftest.$ac_ext <<_ACEOF
  663. #line $LINENO "configure"
  664. -#include "confdefs.h"
  665. -#include <assert.h>
  666. +/* confdefs.h. */
  667. +_ACEOF
  668. +cat confdefs.h >>conftest.$ac_ext
  669. +cat >>conftest.$ac_ext <<_ACEOF
  670. +/* end confdefs.h. */
  671. +#ifdef __STDC__
  672. +# include <limits.h>
  673. +#else
  674. +# include <assert.h>
  675. +#endif
  676. Syntax error
  677. _ACEOF
  678. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  679. @@ -3595,7 +3747,8 @@
  680. :
  681. else
  682. echo "$as_me: failed program was:" >&5
  683. - cat conftest.$ac_ext >&5
  684. +sed 's/^/| /' conftest.$ac_ext >&5
  685. +
  686. # Broken: fails on valid input.
  687. continue
  688. fi
  689. @@ -3605,7 +3758,11 @@
  690. # can be detected and how.
  691. cat >conftest.$ac_ext <<_ACEOF
  692. #line $LINENO "configure"
  693. -#include "confdefs.h"
  694. +/* confdefs.h. */
  695. +_ACEOF
  696. +cat confdefs.h >>conftest.$ac_ext
  697. +cat >>conftest.$ac_ext <<_ACEOF
  698. +/* end confdefs.h. */
  699. #include <ac_nonexistent.h>
  700. _ACEOF
  701. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  702. @@ -3629,7 +3786,8 @@
  703. continue
  704. else
  705. echo "$as_me: failed program was:" >&5
  706. - cat conftest.$ac_ext >&5
  707. +sed 's/^/| /' conftest.$ac_ext >&5
  708. +
  709. # Passes both tests.
  710. ac_preproc_ok=:
  711. break
  712. @@ -3642,8 +3800,10 @@
  713. if $ac_preproc_ok; then
  714. :
  715. else
  716. - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
  717. -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
  718. + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  719. +See \`config.log' for more details." >&5
  720. +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  721. +See \`config.log' for more details." >&2;}
  722. { (exit 1); exit 1; }; }
  723. fi
  724. @@ -3676,43 +3836,54 @@
  725. else
  726. cat >conftest.$ac_ext <<_ACEOF
  727. #line $LINENO "configure"
  728. -#include "confdefs.h"
  729. +/* confdefs.h. */
  730. +_ACEOF
  731. +cat confdefs.h >>conftest.$ac_ext
  732. +cat >>conftest.$ac_ext <<_ACEOF
  733. +/* end confdefs.h. */
  734. #include <stdlib.h>
  735. #include <stdarg.h>
  736. #include <string.h>
  737. #include <float.h>
  738. +int
  739. +main ()
  740. +{
  741. +
  742. + ;
  743. + return 0;
  744. +}
  745. _ACEOF
  746. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  747. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  748. +rm -f conftest.$ac_objext
  749. +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  750. + (eval $ac_compile) 2>&5
  751. ac_status=$?
  752. - grep -v '^ *+' conftest.er1 >conftest.err
  753. - rm -f conftest.er1
  754. - cat conftest.err >&5
  755. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  756. - (exit $ac_status); } >/dev/null; then
  757. - if test -s conftest.err; then
  758. - ac_cpp_err=$ac_c_preproc_warn_flag
  759. - else
  760. - ac_cpp_err=
  761. - fi
  762. -else
  763. - ac_cpp_err=yes
  764. -fi
  765. -if test -z "$ac_cpp_err"; then
  766. + (exit $ac_status); } &&
  767. + { ac_try='test -s conftest.$ac_objext'
  768. + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  769. + (eval $ac_try) 2>&5
  770. + ac_status=$?
  771. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  772. + (exit $ac_status); }; }; then
  773. ac_cv_header_stdc=yes
  774. else
  775. echo "$as_me: failed program was:" >&5
  776. - cat conftest.$ac_ext >&5
  777. - ac_cv_header_stdc=no
  778. +sed 's/^/| /' conftest.$ac_ext >&5
  779. +
  780. +ac_cv_header_stdc=no
  781. fi
  782. -rm -f conftest.err conftest.$ac_ext
  783. +rm -f conftest.$ac_objext conftest.$ac_ext
  784. if test $ac_cv_header_stdc = yes; then
  785. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  786. cat >conftest.$ac_ext <<_ACEOF
  787. #line $LINENO "configure"
  788. -#include "confdefs.h"
  789. +/* confdefs.h. */
  790. +_ACEOF
  791. +cat confdefs.h >>conftest.$ac_ext
  792. +cat >>conftest.$ac_ext <<_ACEOF
  793. +/* end confdefs.h. */
  794. #include <string.h>
  795. _ACEOF
  796. @@ -3730,7 +3901,11 @@
  797. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  798. cat >conftest.$ac_ext <<_ACEOF
  799. #line $LINENO "configure"
  800. -#include "confdefs.h"
  801. +/* confdefs.h. */
  802. +_ACEOF
  803. +cat confdefs.h >>conftest.$ac_ext
  804. +cat >>conftest.$ac_ext <<_ACEOF
  805. +/* end confdefs.h. */
  806. #include <stdlib.h>
  807. _ACEOF
  808. @@ -3751,13 +3926,18 @@
  809. else
  810. cat >conftest.$ac_ext <<_ACEOF
  811. #line $LINENO "configure"
  812. -#include "confdefs.h"
  813. +/* confdefs.h. */
  814. +_ACEOF
  815. +cat confdefs.h >>conftest.$ac_ext
  816. +cat >>conftest.$ac_ext <<_ACEOF
  817. +/* end confdefs.h. */
  818. #include <ctype.h>
  819. #if ((' ' & 0x0FF) == 0x020)
  820. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  821. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  822. #else
  823. -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
  824. +# define ISLOWER(c) \
  825. + (('a' <= (c) && (c) <= 'i') \
  826. || ('j' <= (c) && (c) <= 'r') \
  827. || ('s' <= (c) && (c) <= 'z'))
  828. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  829. @@ -3790,7 +3970,8 @@
  830. else
  831. echo "$as_me: program exited with status $ac_status" >&5
  832. echo "$as_me: failed program was:" >&5
  833. -cat conftest.$ac_ext >&5
  834. +sed 's/^/| /' conftest.$ac_ext >&5
  835. +
  836. ( exit $ac_status )
  837. ac_cv_header_stdc=no
  838. fi
  839. @@ -3914,11 +4095,14 @@
  840. # Check whether --enable-debug or --disable-debug was given.
  841. if test "${enable_debug+set}" = set; then
  842. enableval="$enable_debug"
  843. + echo $enableval
  844. + if [ "$enableval" = "yes" ]; then
  845. cat >>confdefs.h <<\_ACEOF
  846. #define DEBUG 1
  847. _ACEOF
  848. + fi
  849. fi;
  850. # Check whether --enable-debug-dump-buffer or --disable-debug-dump-buffer was given.
  851. @@ -3987,7 +4171,7 @@
  852. t end
  853. /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  854. : end' >>confcache
  855. -if cmp -s $cache_file confcache; then :; else
  856. +if diff $cache_file confcache >/dev/null 2>&1; then :; else
  857. if test -w $cache_file; then
  858. test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  859. cat confcache >$cache_file
  860. @@ -4075,6 +4259,8 @@
  861. # configure, is in config.log if it exists.
  862. debug=false
  863. +ac_cs_recheck=false
  864. +ac_cs_silent=false
  865. SHELL=\${CONFIG_SHELL-$SHELL}
  866. _ACEOF
  867. @@ -4109,7 +4295,10 @@
  868. PS4='+ '
  869. # NLS nuisances.
  870. -for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
  871. +for as_var in \
  872. + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  873. + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  874. + LC_TELEPHONE LC_TIME
  875. do
  876. if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  877. eval $as_var=C; export $as_var
  878. @@ -4155,15 +4344,15 @@
  879. # The user is always right.
  880. if test "${PATH_SEPARATOR+set}" != set; then
  881. - echo "#! /bin/sh" >conftest.sh
  882. - echo "exit 0" >>conftest.sh
  883. - chmod +x conftest.sh
  884. - if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
  885. + echo "#! /bin/sh" >conf$$.sh
  886. + echo "exit 0" >>conf$$.sh
  887. + chmod +x conf$$.sh
  888. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  889. PATH_SEPARATOR=';'
  890. else
  891. PATH_SEPARATOR=:
  892. fi
  893. - rm -f conftest.sh
  894. + rm -f conf$$.sh
  895. fi
  896. @@ -4326,7 +4515,7 @@
  897. cat >&5 <<_CSEOF
  898. This file was extended by $as_me, which was
  899. -generated by GNU Autoconf 2.54. Invocation command line was
  900. +generated by GNU Autoconf 2.57. Invocation command line was
  901. CONFIG_FILES = $CONFIG_FILES
  902. CONFIG_HEADERS = $CONFIG_HEADERS
  903. @@ -4366,6 +4555,7 @@
  904. -h, --help print this help, then exit
  905. -V, --version print version number, then exit
  906. + -q, --quiet do not print progress messages
  907. -d, --debug don't remove temporary files
  908. --recheck update $as_me by reconfiguring in the same conditions
  909. --file=FILE[:TEMPLATE]
  910. @@ -4388,7 +4578,7 @@
  911. cat >>$CONFIG_STATUS <<_ACEOF
  912. ac_cs_version="\\
  913. config.status
  914. -configured by $0, generated by GNU Autoconf 2.54,
  915. +configured by $0, generated by GNU Autoconf 2.57,
  916. with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  917. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  918. @@ -4425,12 +4615,9 @@
  919. case $ac_option in
  920. # Handling of the options.
  921. _ACEOF
  922. -cat >>$CONFIG_STATUS <<_ACEOF
  923. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  924. - echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
  925. - exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
  926. -_ACEOF
  927. cat >>$CONFIG_STATUS <<\_ACEOF
  928. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  929. + ac_cs_recheck=: ;;
  930. --version | --vers* | -V )
  931. echo "$ac_cs_version"; exit 0 ;;
  932. --he | --h)
  933. @@ -4452,6 +4639,9 @@
  934. $ac_shift
  935. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  936. ac_need_defaults=false;;
  937. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  938. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  939. + ac_cs_silent=: ;;
  940. # This is an error.
  941. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  942. @@ -4466,6 +4656,20 @@
  943. shift
  944. done
  945. +ac_configure_extra_args=
  946. +
  947. +if $ac_cs_silent; then
  948. + exec 6>/dev/null
  949. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  950. +fi
  951. +
  952. +_ACEOF
  953. +cat >>$CONFIG_STATUS <<_ACEOF
  954. +if \$ac_cs_recheck; then
  955. + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  956. + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  957. +fi
  958. +
  959. _ACEOF
  960. cat >>$CONFIG_STATUS <<_ACEOF
  961. @@ -4504,6 +4708,9 @@
  962. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  963. fi
  964. +# Have a temporary directory for convenience. Make it in the build tree
  965. +# simply because there is no reason to put it here, and in addition,
  966. +# creating and moving files from /tmp can sometimes cause problems.
  967. # Create a temporary directory, and hook for its removal unless debugging.
  968. $debug ||
  969. {
  970. @@ -4512,17 +4719,17 @@
  971. }
  972. # Create a (secure) tmp directory for tmp files.
  973. -: ${TMPDIR=/tmp}
  974. +
  975. {
  976. - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
  977. + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  978. test -n "$tmp" && test -d "$tmp"
  979. } ||
  980. {
  981. - tmp=$TMPDIR/cs$$-$RANDOM
  982. + tmp=./confstat$$-$RANDOM
  983. (umask 077 && mkdir $tmp)
  984. } ||
  985. {
  986. - echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  987. + echo "$me: cannot create a temporary directory in ." >&2
  988. { (exit 1); exit 1; }
  989. }
  990. @@ -4991,7 +5198,7 @@
  991. cat $tmp/in >>$tmp/config.h
  992. rm -f $tmp/in
  993. if test x"$ac_file" != x-; then
  994. - if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
  995. + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  996. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  997. echo "$as_me: $ac_file is unchanged" >&6;}
  998. else
  999. @@ -5223,8 +5430,11 @@
  1000. # need to make the FD available again.
  1001. if test "$no_create" != yes; then
  1002. ac_cs_success=:
  1003. + ac_config_status_args=
  1004. + test "$silent" = yes &&
  1005. + ac_config_status_args="$ac_config_status_args --quiet"
  1006. exec 5>/dev/null
  1007. - $SHELL $CONFIG_STATUS || ac_cs_success=false
  1008. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  1009. exec 5>>config.log
  1010. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  1011. # would make configure fail if this is the last instruction.