mirror of the now-defunct rocklinux.org
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.

1070 lines
30 KiB

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