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.

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