home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / id-utils-3.2-diffs.gz / id-utils-3.2-diffs
Text File  |  1996-10-13  |  125KB  |  3,597 lines

  1. This file contains patches that transform the baseline version into
  2. the amiga version.  Assuming that you have unarchived the baseline
  3. version in the current directory, just run the command:
  4.  
  5.     patch -p1 -E -b .pbak <diff-file
  6.  
  7. where 'diff-file' is this patch file.  After running patch you should
  8. remove all the generated *.pbak files, and look for any *.rej files
  9. that indicate a problem patching the baseline source.
  10.  
  11. diff -rup --new-file baseline/fsf/id-utils/ChangeLog amiga/fsf/id-utils/ChangeLog
  12. --- baseline/fsf/id-utils/ChangeLog    Tue Aug  6 20:22:56 1996
  13. +++ amiga/fsf/id-utils/ChangeLog    Sat Sep 28 00:00:00 1996
  14. @@ -1,3 +1,11 @@
  15. +Thu Sep  5 12:34:58 1996  Fred Fish  <fnf@ninemoons.com>
  16. +
  17. +    * configure.in: Add check for sbrk() function.
  18. +    * config.h.in: Regenerate using autoheader.
  19. +    * configure: Regenerate using autoconf.
  20. +    * src/mkid.c: Use HAVE_SBRK to conditionalize code that uses the
  21. +    non-portable sbrk() call.
  22. +
  23.  Tue Aug  6 22:46:16 1996  Greg McGary  <gkm@g2>
  24.  
  25.      * Version 3.2 released
  26. diff -rup --new-file baseline/fsf/id-utils/Product-Info amiga/fsf/id-utils/Product-Info
  27. --- baseline/fsf/id-utils/Product-Info    Wed Dec 31 17:00:00 1969
  28. +++ amiga/fsf/id-utils/Product-Info    Sat Sep 28 00:00:00 1996
  29. @@ -0,0 +1,22 @@
  30. +.name
  31. +id-utils
  32. +.type
  33. +Programmer Tool
  34. +.short
  35. +identifier database tool
  36. +.description
  37. +`mkid' is a simple, fast, high-capacity, language-independent identifier
  38. +database tool.  Actually, the term `identifier' is too limiting--`mkid'
  39. +stores tokens, be they program identifiers of any form, literal numbers, or
  40. +words of human-readable text.  Database queries can be issued from the
  41. +command-line, or from within emacs, serving as an augmented tags facility.
  42. +.version
  43. +3.2
  44. +.author
  45. +Various
  46. +.requirements
  47. +Amiga binary requires ixemul.library.
  48. +.distribution
  49. +GNU Public License
  50. +.described-by
  51. +Fred Fish (fnf@ninemoons.com)
  52. diff -rup --new-file baseline/fsf/id-utils/config.h.in amiga/fsf/id-utils/config.h.in
  53. --- baseline/fsf/id-utils/config.h.in    Tue Aug  6 20:06:38 1996
  54. +++ amiga/fsf/id-utils/config.h.in    Sat Sep 28 00:00:00 1996
  55. @@ -165,6 +165,9 @@
  56.  /* Define if you have the putenv function.  */
  57.  #undef HAVE_PUTENV
  58.  
  59. +/* Define if you have the sbrk function.  */
  60. +#undef HAVE_SBRK
  61. +
  62.  /* Define if you have the setenv function.  */
  63.  #undef HAVE_SETENV
  64.  
  65. diff -rup --new-file baseline/fsf/id-utils/configure amiga/fsf/id-utils/configure
  66. --- baseline/fsf/id-utils/configure    Tue Aug  6 20:16:35 1996
  67. +++ amiga/fsf/id-utils/configure    Mon Sep 30 22:45:58 1996
  68. @@ -55,6 +55,9 @@ libdir='${exec_prefix}/lib'
  69.  includedir='${prefix}/include'
  70.  oldincludedir='/usr/include'
  71.  infodir='${prefix}/info'
  72. +guidedir='${prefix}/guide'
  73. +psdir='${prefix}/ps'
  74. +dvidir='${prefix}/dvi'
  75.  mandir='${prefix}/man'
  76.  
  77.  # Initialize some other variables.
  78. @@ -169,6 +172,9 @@ Directory and file names:
  79.    --includedir=DIR        C header files in DIR [PREFIX/include]
  80.    --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  81.    --infodir=DIR           info documentation in DIR [PREFIX/info]
  82. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  83. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  84. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  85.    --mandir=DIR            man documentation in DIR [PREFIX/man]
  86.    --srcdir=DIR            find the sources in DIR [configure dir or ..]
  87.    --program-prefix=PREFIX prepend PREFIX to installed program names
  88. @@ -211,6 +217,18 @@ EOF
  89.    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  90.      infodir="$ac_optarg" ;;
  91.  
  92. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  93. +   ac_prev=guidedir ;;
  94. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  95. +
  96. + -psdir | --psdir | --psdi | --psd | --ps)
  97. +   ac_prev=psdir ;;
  98. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  99. +
  100. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  101. +   ac_prev=dvidir ;;
  102. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  103. +
  104.    -libdir | --libdir | --libdi | --libd)
  105.      ac_prev=libdir ;;
  106.    -libdir=* | --libdir=* | --libdi=* | --libd=*)
  107. @@ -688,7 +706,7 @@ else
  108.    yes;
  109.  #endif
  110.  EOF
  111. -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  112. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  113.    ac_cv_prog_gcc=yes
  114.  else
  115.    ac_cv_prog_gcc=no
  116. @@ -715,9 +733,9 @@ fi
  117.  
  118.  echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  119.      if test $ac_cv_prog_gcc_g = yes; then
  120. -      CFLAGS="-g -O"
  121. +      CFLAGS="-g -O2"
  122.      else
  123. -      CFLAGS="-O"
  124. +      CFLAGS="-O2"
  125.      fi
  126.    fi
  127.  else
  128. @@ -771,6 +789,7 @@ ac_configure=$ac_aux_dir/configure # Thi
  129.  # SunOS /usr/etc/install
  130.  # IRIX /sbin/install
  131.  # AIX /bin/install
  132. +# AmigaOS /c/install
  133.  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  134.  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  135.  # ./install, which can be erroneously created by make from ./install.sh.
  136. @@ -783,7 +802,7 @@ else
  137.    for ac_dir in $PATH; do
  138.      # Account for people who put trailing slashes in PATH elements.
  139.      case "$ac_dir/" in
  140. -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  141. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  142.      *)
  143.        # OSF1 and SCO ODT 3.0 have their own names for install.
  144.        for ac_prog in ginstall installbsd scoinst install; do
  145. @@ -867,13 +886,13 @@ else
  146.    # On the NeXT, cc -E runs the code through the compiler's parser,
  147.    # not just through cpp.
  148.    cat > conftest.$ac_ext <<EOF
  149. -#line 871 "configure"
  150. +#line 890 "configure"
  151.  #include "confdefs.h"
  152.  #include <assert.h>
  153.  Syntax Error
  154.  EOF
  155.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  156. -{ (eval echo configure:877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  157. +{ (eval echo configure:896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  158.  ac_err=`grep -v '^ *+' conftest.out`
  159.  if test -z "$ac_err"; then
  160.    :
  161. @@ -882,13 +901,13 @@ else
  162.    rm -rf conftest*
  163.    CPP="${CC-cc} -E -traditional-cpp"
  164.    cat > conftest.$ac_ext <<EOF
  165. -#line 886 "configure"
  166. +#line 905 "configure"
  167.  #include "confdefs.h"
  168.  #include <assert.h>
  169.  Syntax Error
  170.  EOF
  171.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  172. -{ (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  173. +{ (eval echo configure:911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  174.  ac_err=`grep -v '^ *+' conftest.out`
  175.  if test -z "$ac_err"; then
  176.    :
  177. @@ -915,7 +934,7 @@ if eval "test \"`echo '$''{'ac_cv_prog_g
  178.  else
  179.      ac_pattern="Autoconf.*'x'"
  180.    cat > conftest.$ac_ext <<EOF
  181. -#line 919 "configure"
  182. +#line 938 "configure"
  183.  #include "confdefs.h"
  184.  #include <sgtty.h>
  185.  Autoconf TIOCGETP
  186. @@ -933,7 +952,7 @@ rm -f conftest*
  187.  
  188.    if test $ac_cv_prog_gcc_traditional = no; then
  189.      cat > conftest.$ac_ext <<EOF
  190. -#line 937 "configure"
  191. +#line 956 "configure"
  192.  #include "confdefs.h"
  193.  #include <termio.h>
  194.  Autoconf TCGETA
  195. @@ -984,7 +1003,7 @@ fi
  196.  
  197.  echo $ac_n "checking for AIX""... $ac_c" 1>&6
  198.  cat > conftest.$ac_ext <<EOF
  199. -#line 988 "configure"
  200. +#line 1007 "configure"
  201.  #include "confdefs.h"
  202.  #ifdef _AIX
  203.    yes
  204. @@ -1011,12 +1030,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  205.    echo $ac_n "(cached) $ac_c" 1>&6
  206.  else
  207.    cat > conftest.$ac_ext <<EOF
  208. -#line 1015 "configure"
  209. +#line 1034 "configure"
  210.  #include "confdefs.h"
  211.  #include <minix/config.h>
  212.  EOF
  213.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  214. -{ (eval echo configure:1020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  215. +{ (eval echo configure:1039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  216.  ac_err=`grep -v '^ *+' conftest.out`
  217.  if test -z "$ac_err"; then
  218.    rm -rf conftest*
  219. @@ -1090,7 +1109,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  220.    echo $ac_n "(cached) $ac_c" 1>&6
  221.  else
  222.    cat > conftest.$ac_ext <<EOF
  223. -#line 1094 "configure"
  224. +#line 1113 "configure"
  225.  #include "confdefs.h"
  226.  #include <sys/types.h>
  227.  #include <$ac_hdr>
  228. @@ -1099,7 +1118,7 @@ int t() {
  229.  DIR *dirp = 0;
  230.  ; return 0; }
  231.  EOF
  232. -if { (eval echo configure:1103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  233. +if { (eval echo configure:1122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  234.    rm -rf conftest*
  235.    eval "ac_cv_header_dirent_$ac_safe=yes"
  236.  else
  237. @@ -1130,19 +1149,19 @@ else
  238.    ac_save_LIBS="$LIBS"
  239.  LIBS="-ldir  $LIBS"
  240.  cat > conftest.$ac_ext <<EOF
  241. -#line 1134 "configure"
  242. +#line 1153 "configure"
  243.  #include "confdefs.h"
  244.  /* Override any gcc2 internal prototype to avoid an error.  */
  245.  /* We use char because int might match the return type of a gcc2
  246.      builtin and then its argument prototype would still apply.  */
  247.  char opendir();
  248.  
  249. -int main() { return 0; }
  250. +int main() { t(); return 0; }
  251.  int t() {
  252.  opendir()
  253.  ; return 0; }
  254.  EOF
  255. -if { (eval echo configure:1146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  256. +if { (eval echo configure:1165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  257.    rm -rf conftest*
  258.    eval "ac_cv_lib_$ac_lib_var=yes"
  259.  else
  260. @@ -1169,19 +1188,19 @@ else
  261.    ac_save_LIBS="$LIBS"
  262.  LIBS="-lx  $LIBS"
  263.  cat > conftest.$ac_ext <<EOF
  264. -#line 1173 "configure"
  265. +#line 1192 "configure"
  266.  #include "confdefs.h"
  267.  /* Override any gcc2 internal prototype to avoid an error.  */
  268.  /* We use char because int might match the return type of a gcc2
  269.      builtin and then its argument prototype would still apply.  */
  270.  char opendir();
  271.  
  272. -int main() { return 0; }
  273. +int main() { t(); return 0; }
  274.  int t() {
  275.  opendir()
  276.  ; return 0; }
  277.  EOF
  278. -if { (eval echo configure:1185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  279. +if { (eval echo configure:1204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  280.    rm -rf conftest*
  281.    eval "ac_cv_lib_$ac_lib_var=yes"
  282.  else
  283. @@ -1210,11 +1229,11 @@ else
  284.    ac_cv_c_cross=yes
  285.  else
  286.  cat > conftest.$ac_ext <<EOF
  287. -#line 1214 "configure"
  288. +#line 1233 "configure"
  289.  #include "confdefs.h"
  290.  main(){return(0);}
  291.  EOF
  292. -{ (eval echo configure:1218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  293. +{ (eval echo configure:1237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  294.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  295.    ac_cv_c_cross=no
  296.  else
  297. @@ -1232,7 +1251,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  298.    echo $ac_n "(cached) $ac_c" 1>&6
  299.  else
  300.    cat > conftest.$ac_ext <<EOF
  301. -#line 1236 "configure"
  302. +#line 1255 "configure"
  303.  #include "confdefs.h"
  304.  #include <stdlib.h>
  305.  #include <stdarg.h>
  306. @@ -1240,7 +1259,7 @@ else
  307.  #include <float.h>
  308.  EOF
  309.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  310. -{ (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  311. +{ (eval echo configure:1263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  312.  ac_err=`grep -v '^ *+' conftest.out`
  313.  if test -z "$ac_err"; then
  314.    rm -rf conftest*
  315. @@ -1255,7 +1274,7 @@ rm -f conftest*
  316.  if test $ac_cv_header_stdc = yes; then
  317.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  318.  cat > conftest.$ac_ext <<EOF
  319. -#line 1259 "configure"
  320. +#line 1278 "configure"
  321.  #include "confdefs.h"
  322.  #include <string.h>
  323.  EOF
  324. @@ -1273,7 +1292,7 @@ fi
  325.  if test $ac_cv_header_stdc = yes; then
  326.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  327.  cat > conftest.$ac_ext <<EOF
  328. -#line 1277 "configure"
  329. +#line 1296 "configure"
  330.  #include "confdefs.h"
  331.  #include <stdlib.h>
  332.  EOF
  333. @@ -1294,7 +1313,7 @@ if test "$cross_compiling" = yes; then
  334.    :
  335.  else
  336.  cat > conftest.$ac_ext <<EOF
  337. -#line 1298 "configure"
  338. +#line 1317 "configure"
  339.  #include "confdefs.h"
  340.  #include <ctype.h>
  341.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  342. @@ -1305,7 +1324,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  343.  exit (0); }
  344.  
  345.  EOF
  346. -{ (eval echo configure:1309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  347. +{ (eval echo configure:1328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  348.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  349.    :
  350.  else
  351. @@ -1329,7 +1348,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  352.    echo $ac_n "(cached) $ac_c" 1>&6
  353.  else
  354.    cat > conftest.$ac_ext <<EOF
  355. -#line 1333 "configure"
  356. +#line 1352 "configure"
  357.  #include "confdefs.h"
  358.  #include <sys/types.h>
  359.  #include <sys/stat.h>
  360. @@ -1384,7 +1403,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  361.    echo $ac_n "(cached) $ac_c" 1>&6
  362.  else
  363.    cat > conftest.$ac_ext <<EOF
  364. -#line 1388 "configure"
  365. +#line 1407 "configure"
  366.  #include "confdefs.h"
  367.  #include <sys/types.h>
  368.  #include <sys/wait.h>
  369. @@ -1401,7 +1420,7 @@ wait (&s);
  370.  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
  371.  ; return 0; }
  372.  EOF
  373. -if { (eval echo configure:1405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  374. +if { (eval echo configure:1424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  375.    rm -rf conftest*
  376.    ac_cv_header_sys_wait_h=yes
  377.  else
  378. @@ -1428,12 +1447,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  379.    echo $ac_n "(cached) $ac_c" 1>&6
  380.  else
  381.    cat > conftest.$ac_ext <<EOF
  382. -#line 1432 "configure"
  383. +#line 1451 "configure"
  384.  #include "confdefs.h"
  385.  #include <$ac_hdr>
  386.  EOF
  387.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  388. -{ (eval echo configure:1437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  389. +{ (eval echo configure:1456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  390.  ac_err=`grep -v '^ *+' conftest.out`
  391.  if test -z "$ac_err"; then
  392.    rm -rf conftest*
  393. @@ -1465,12 +1484,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  394.    echo $ac_n "(cached) $ac_c" 1>&6
  395.  else
  396.    cat > conftest.$ac_ext <<EOF
  397. -#line 1469 "configure"
  398. +#line 1488 "configure"
  399.  #include "confdefs.h"
  400.  #include <$ac_hdr>
  401.  EOF
  402.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  403. -{ (eval echo configure:1474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  404. +{ (eval echo configure:1493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  405.  ac_err=`grep -v '^ *+' conftest.out`
  406.  if test -z "$ac_err"; then
  407.    rm -rf conftest*
  408. @@ -1502,12 +1521,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  409.    echo $ac_n "(cached) $ac_c" 1>&6
  410.  else
  411.    cat > conftest.$ac_ext <<EOF
  412. -#line 1506 "configure"
  413. +#line 1525 "configure"
  414.  #include "confdefs.h"
  415.  #include <$ac_hdr>
  416.  EOF
  417.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  418. -{ (eval echo configure:1511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  419. +{ (eval echo configure:1530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  420.  ac_err=`grep -v '^ *+' conftest.out`
  421.  if test -z "$ac_err"; then
  422.    rm -rf conftest*
  423. @@ -1541,7 +1560,7 @@ if eval "test \"`echo '$''{'ac_cv_c_cons
  424.    echo $ac_n "(cached) $ac_c" 1>&6
  425.  else
  426.    cat > conftest.$ac_ext <<EOF
  427. -#line 1545 "configure"
  428. +#line 1564 "configure"
  429.  #include "confdefs.h"
  430.  
  431.  int main() { return 0; }
  432. @@ -1591,7 +1610,7 @@ ccp = (char const *const *) p;
  433.  
  434.  ; return 0; }
  435.  EOF
  436. -if { (eval echo configure:1595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  437. +if { (eval echo configure:1614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  438.    rm -rf conftest*
  439.    ac_cv_c_const=yes
  440.  else
  441. @@ -1627,7 +1646,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 "-
  442.  do
  443.    CC="$ac_save_CC $ac_arg"
  444.    cat > conftest.$ac_ext <<EOF
  445. -#line 1631 "configure"
  446. +#line 1650 "configure"
  447.  #include "confdefs.h"
  448.  #if !defined(__STDC__) || __STDC__ != 1
  449.  choke me
  450. @@ -1643,7 +1662,7 @@ struct s1 {int (*f) (int a);};
  451.  struct s2 {int (*f) (double a);};
  452.  ; return 0; }
  453.  EOF
  454. -if { (eval echo configure:1647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  455. +if { (eval echo configure:1666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  456.    rm -rf conftest*
  457.    ac_cv_prog_cc_stdc="$ac_arg"; break
  458.  fi
  459. @@ -1679,7 +1698,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  460.    echo $ac_n "(cached) $ac_c" 1>&6
  461.  else
  462.    cat > conftest.$ac_ext <<EOF
  463. -#line 1683 "configure"
  464. +#line 1702 "configure"
  465.  #include "confdefs.h"
  466.  #include <stdlib.h>
  467.  #include <stdarg.h>
  468. @@ -1687,7 +1706,7 @@ else
  469.  #include <float.h>
  470.  EOF
  471.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  472. -{ (eval echo configure:1691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  473. +{ (eval echo configure:1710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  474.  ac_err=`grep -v '^ *+' conftest.out`
  475.  if test -z "$ac_err"; then
  476.    rm -rf conftest*
  477. @@ -1702,7 +1721,7 @@ rm -f conftest*
  478.  if test $ac_cv_header_stdc = yes; then
  479.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  480.  cat > conftest.$ac_ext <<EOF
  481. -#line 1706 "configure"
  482. +#line 1725 "configure"
  483.  #include "confdefs.h"
  484.  #include <string.h>
  485.  EOF
  486. @@ -1720,7 +1739,7 @@ fi
  487.  if test $ac_cv_header_stdc = yes; then
  488.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  489.  cat > conftest.$ac_ext <<EOF
  490. -#line 1724 "configure"
  491. +#line 1743 "configure"
  492.  #include "confdefs.h"
  493.  #include <stdlib.h>
  494.  EOF
  495. @@ -1741,7 +1760,7 @@ if test "$cross_compiling" = yes; then
  496.    :
  497.  else
  498.  cat > conftest.$ac_ext <<EOF
  499. -#line 1745 "configure"
  500. +#line 1764 "configure"
  501.  #include "confdefs.h"
  502.  #include <ctype.h>
  503.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  504. @@ -1752,7 +1771,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  505.  exit (0); }
  506.  
  507.  EOF
  508. -{ (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  509. +{ (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  510.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  511.    :
  512.  else
  513. @@ -1779,12 +1798,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  514.    echo $ac_n "(cached) $ac_c" 1>&6
  515.  else
  516.    cat > conftest.$ac_ext <<EOF
  517. -#line 1783 "configure"
  518. +#line 1802 "configure"
  519.  #include "confdefs.h"
  520.  #include <$ac_hdr>
  521.  EOF
  522.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  523. -{ (eval echo configure:1788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  524. +{ (eval echo configure:1807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  525.  ac_err=`grep -v '^ *+' conftest.out`
  526.  if test -z "$ac_err"; then
  527.    rm -rf conftest*
  528. @@ -1815,7 +1834,7 @@ if eval "test \"`echo '$''{'ac_cv_type_s
  529.    echo $ac_n "(cached) $ac_c" 1>&6
  530.  else
  531.    cat > conftest.$ac_ext <<EOF
  532. -#line 1819 "configure"
  533. +#line 1838 "configure"
  534.  #include "confdefs.h"
  535.  #include <sys/types.h>
  536.  #include <signal.h>
  537. @@ -1833,7 +1852,7 @@ int t() {
  538.  int i;
  539.  ; return 0; }
  540.  EOF
  541. -if { (eval echo configure:1837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  542. +if { (eval echo configure:1856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  543.    rm -rf conftest*
  544.    ac_cv_type_signal=void
  545.  else
  546. @@ -1855,7 +1874,7 @@ if eval "test \"`echo '$''{'ac_cv_type_o
  547.    echo $ac_n "(cached) $ac_c" 1>&6
  548.  else
  549.    cat > conftest.$ac_ext <<EOF
  550. -#line 1859 "configure"
  551. +#line 1878 "configure"
  552.  #include "confdefs.h"
  553.  #include <sys/types.h>
  554.  #if STDC_HEADERS
  555. @@ -1886,7 +1905,7 @@ if eval "test \"`echo '$''{'ac_cv_type_s
  556.    echo $ac_n "(cached) $ac_c" 1>&6
  557.  else
  558.    cat > conftest.$ac_ext <<EOF
  559. -#line 1890 "configure"
  560. +#line 1909 "configure"
  561.  #include "confdefs.h"
  562.  #include <sys/types.h>
  563.  #if STDC_HEADERS
  564. @@ -1917,7 +1936,7 @@ if eval "test \"`echo '$''{'ac_cv_type_p
  565.    echo $ac_n "(cached) $ac_c" 1>&6
  566.  else
  567.    cat > conftest.$ac_ext <<EOF
  568. -#line 1921 "configure"
  569. +#line 1940 "configure"
  570.  #include "confdefs.h"
  571.  #include <stddef.h>
  572.  #include <sys/types.h>
  573. @@ -1926,7 +1945,7 @@ int t() {
  574.  ptrdiff_t p
  575.  ; return 0; }
  576.  EOF
  577. -if { (eval echo configure:1930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  578. +if { (eval echo configure:1949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  579.    rm -rf conftest*
  580.    ac_cv_type_ptrdiff_t=yes
  581.  else
  582. @@ -1966,15 +1985,15 @@ if eval "test \"`echo '$''{'ac_cv_header
  583.    echo $ac_n "(cached) $ac_c" 1>&6
  584.  else
  585.    cat > conftest.$ac_ext <<EOF
  586. -#line 1970 "configure"
  587. +#line 1989 "configure"
  588.  #include "confdefs.h"
  589.  #include <alloca.h>
  590. -int main() { return 0; }
  591. +int main() { t(); return 0; }
  592.  int t() {
  593.  char *p = alloca(2 * sizeof(int));
  594.  ; return 0; }
  595.  EOF
  596. -if { (eval echo configure:1978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  597. +if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  598.    rm -rf conftest*
  599.    ac_cv_header_alloca_h=yes
  600.  else
  601. @@ -1998,7 +2017,7 @@ if eval "test \"`echo '$''{'ac_cv_func_a
  602.    echo $ac_n "(cached) $ac_c" 1>&6
  603.  else
  604.    cat > conftest.$ac_ext <<EOF
  605. -#line 2002 "configure"
  606. +#line 2021 "configure"
  607.  #include "confdefs.h"
  608.  
  609.  #ifdef __GNUC__
  610. @@ -2017,12 +2036,12 @@ char *alloca ();
  611.  # endif
  612.  #endif
  613.  
  614. -int main() { return 0; }
  615. +int main() { t(); return 0; }
  616.  int t() {
  617.  char *p = (char *) alloca(1);
  618.  ; return 0; }
  619.  EOF
  620. -if { (eval echo configure:2026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  621. +if { (eval echo configure:2045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  622.    rm -rf conftest*
  623.    ac_cv_func_alloca=yes
  624.  else
  625. @@ -2057,7 +2076,7 @@ if eval "test \"`echo '$''{'ac_cv_os_cra
  626.    echo $ac_n "(cached) $ac_c" 1>&6
  627.  else
  628.    cat > conftest.$ac_ext <<EOF
  629. -#line 2061 "configure"
  630. +#line 2080 "configure"
  631.  #include "confdefs.h"
  632.  #if defined(CRAY) && ! defined(CRAY2)
  633.  webecray
  634. @@ -2086,7 +2105,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  635.    echo $ac_n "(cached) $ac_c" 1>&6
  636.  else
  637.    cat > conftest.$ac_ext <<EOF
  638. -#line 2090 "configure"
  639. +#line 2109 "configure"
  640.  #include "confdefs.h"
  641.  /* System header to define __stub macros and hopefully few prototypes,
  642.      which can conflict with char $ac_func(); below.  */
  643. @@ -2096,7 +2115,7 @@ else
  644.      builtin and then its argument prototype would still apply.  */
  645.  char $ac_func();
  646.  
  647. -int main() { return 0; }
  648. +int main() { t(); return 0; }
  649.  int t() {
  650.  
  651.  /* The GNU C library defines this for functions which it implements
  652. @@ -2110,7 +2129,7 @@ $ac_func();
  653.  
  654.  ; return 0; }
  655.  EOF
  656. -if { (eval echo configure:2114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  657. +if { (eval echo configure:2133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  658.    rm -rf conftest*
  659.    eval "ac_cv_func_$ac_func=yes"
  660.  else
  661. @@ -2142,7 +2161,7 @@ else
  662.    ac_cv_c_stack_direction=0
  663.  else
  664.  cat > conftest.$ac_ext <<EOF
  665. -#line 2146 "configure"
  666. +#line 2165 "configure"
  667.  #include "confdefs.h"
  668.  find_stack_direction ()
  669.  {
  670. @@ -2161,7 +2180,7 @@ main ()
  671.    exit (find_stack_direction() < 0);
  672.  }
  673.  EOF
  674. -{ (eval echo configure:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  675. +{ (eval echo configure:2184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  676.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  677.    ac_cv_c_stack_direction=1
  678.  else
  679. @@ -2200,7 +2219,7 @@ if eval "test \"`echo '$''{'ac_cv_func_r
  680.    echo $ac_n "(cached) $ac_c" 1>&6
  681.  else
  682.    cat > conftest.$ac_ext <<EOF
  683. -#line 2204 "configure"
  684. +#line 2223 "configure"
  685.  #include "confdefs.h"
  686.  /* System header to define __stub macros and hopefully few prototypes,
  687.      which can conflict with char re_rx_search(); below.  */
  688. @@ -2210,7 +2229,7 @@ else
  689.      builtin and then its argument prototype would still apply.  */
  690.  char re_rx_search();
  691.  
  692. -int main() { return 0; }
  693. +int main() { t(); return 0; }
  694.  int t() {
  695.  
  696.  /* The GNU C library defines this for functions which it implements
  697. @@ -2224,7 +2243,7 @@ re_rx_search();
  698.  
  699.  ; return 0; }
  700.  EOF
  701. -if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  702. +if { (eval echo configure:2247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  703.    rm -rf conftest*
  704.    eval "ac_cv_func_re_rx_search=yes"
  705.  else
  706. @@ -2249,7 +2268,7 @@ if eval "test \"`echo '$''{'ac_cv_func_v
  707.    echo $ac_n "(cached) $ac_c" 1>&6
  708.  else
  709.    cat > conftest.$ac_ext <<EOF
  710. -#line 2253 "configure"
  711. +#line 2272 "configure"
  712.  #include "confdefs.h"
  713.  /* System header to define __stub macros and hopefully few prototypes,
  714.      which can conflict with char vprintf(); below.  */
  715. @@ -2259,7 +2278,7 @@ else
  716.      builtin and then its argument prototype would still apply.  */
  717.  char vprintf();
  718.  
  719. -int main() { return 0; }
  720. +int main() { t(); return 0; }
  721.  int t() {
  722.  
  723.  /* The GNU C library defines this for functions which it implements
  724. @@ -2273,7 +2292,7 @@ vprintf();
  725.  
  726.  ; return 0; }
  727.  EOF
  728. -if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  729. +if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  730.    rm -rf conftest*
  731.    eval "ac_cv_func_vprintf=yes"
  732.  else
  733. @@ -2299,7 +2318,7 @@ if eval "test \"`echo '$''{'ac_cv_func__
  734.    echo $ac_n "(cached) $ac_c" 1>&6
  735.  else
  736.    cat > conftest.$ac_ext <<EOF
  737. -#line 2303 "configure"
  738. +#line 2322 "configure"
  739.  #include "confdefs.h"
  740.  /* System header to define __stub macros and hopefully few prototypes,
  741.      which can conflict with char _doprnt(); below.  */
  742. @@ -2309,7 +2328,7 @@ else
  743.      builtin and then its argument prototype would still apply.  */
  744.  char _doprnt();
  745.  
  746. -int main() { return 0; }
  747. +int main() { t(); return 0; }
  748.  int t() {
  749.  
  750.  /* The GNU C library defines this for functions which it implements
  751. @@ -2323,7 +2342,7 @@ _doprnt();
  752.  
  753.  ; return 0; }
  754.  EOF
  755. -if { (eval echo configure:2327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  756. +if { (eval echo configure:2346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  757.    rm -rf conftest*
  758.    eval "ac_cv_func__doprnt=yes"
  759.  else
  760. @@ -2345,14 +2364,14 @@ fi
  761.  
  762.  fi
  763.  
  764. -for ac_func in getwd getcwd link strerror isascii bcopy bzero memcpy
  765. +for ac_func in getwd getcwd link strerror isascii bcopy bzero memcpy sbrk
  766.  do
  767.  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  768.  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  769.    echo $ac_n "(cached) $ac_c" 1>&6
  770.  else
  771.    cat > conftest.$ac_ext <<EOF
  772. -#line 2356 "configure"
  773. +#line 2375 "configure"
  774.  #include "confdefs.h"
  775.  /* System header to define __stub macros and hopefully few prototypes,
  776.      which can conflict with char $ac_func(); below.  */
  777. @@ -2362,7 +2381,7 @@ else
  778.      builtin and then its argument prototype would still apply.  */
  779.  char $ac_func();
  780.  
  781. -int main() { return 0; }
  782. +int main() { t(); return 0; }
  783.  int t() {
  784.  
  785.  /* The GNU C library defines this for functions which it implements
  786. @@ -2376,7 +2395,7 @@ $ac_func();
  787.  
  788.  ; return 0; }
  789.  EOF
  790. -if { (eval echo configure:2380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  791. +if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  792.    rm -rf conftest*
  793.    eval "ac_cv_func_$ac_func=yes"
  794.  else
  795. @@ -2405,7 +2424,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  796.    echo $ac_n "(cached) $ac_c" 1>&6
  797.  else
  798.    cat > conftest.$ac_ext <<EOF
  799. -#line 2409 "configure"
  800. +#line 2428 "configure"
  801.  #include "confdefs.h"
  802.  /* System header to define __stub macros and hopefully few prototypes,
  803.      which can conflict with char $ac_func(); below.  */
  804. @@ -2415,7 +2434,7 @@ else
  805.      builtin and then its argument prototype would still apply.  */
  806.  char $ac_func();
  807.  
  808. -int main() { return 0; }
  809. +int main() { t(); return 0; }
  810.  int t() {
  811.  
  812.  /* The GNU C library defines this for functions which it implements
  813. @@ -2429,7 +2448,7 @@ $ac_func();
  814.  
  815.  ; return 0; }
  816.  EOF
  817. -if { (eval echo configure:2433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  818. +if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  819.    rm -rf conftest*
  820.    eval "ac_cv_func_$ac_func=yes"
  821.  else
  822. @@ -2456,7 +2475,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  823.    echo $ac_n "(cached) $ac_c" 1>&6
  824.  else
  825.    cat > conftest.$ac_ext <<EOF
  826. -#line 2460 "configure"
  827. +#line 2479 "configure"
  828.  #include "confdefs.h"
  829.  /* System header to define __stub macros and hopefully few prototypes,
  830.      which can conflict with char $ac_func(); below.  */
  831. @@ -2466,7 +2485,7 @@ else
  832.      builtin and then its argument prototype would still apply.  */
  833.  char $ac_func();
  834.  
  835. -int main() { return 0; }
  836. +int main() { t(); return 0; }
  837.  int t() {
  838.  
  839.  /* The GNU C library defines this for functions which it implements
  840. @@ -2480,7 +2499,7 @@ $ac_func();
  841.  
  842.  ; return 0; }
  843.  EOF
  844. -if { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  845. +if { (eval echo configure:2503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  846.    rm -rf conftest*
  847.    eval "ac_cv_func_$ac_func=yes"
  848.  else
  849. @@ -2505,7 +2524,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
  850.    echo $ac_n "(cached) $ac_c" 1>&6
  851.  else
  852.    cat > conftest.$ac_ext <<EOF
  853. -#line 2509 "configure"
  854. +#line 2528 "configure"
  855.  #include "confdefs.h"
  856.  /* System header to define __stub macros and hopefully few prototypes,
  857.      which can conflict with char getopt_long(); below.  */
  858. @@ -2515,7 +2534,7 @@ else
  859.      builtin and then its argument prototype would still apply.  */
  860.  char getopt_long();
  861.  
  862. -int main() { return 0; }
  863. +int main() { t(); return 0; }
  864.  int t() {
  865.  
  866.  /* The GNU C library defines this for functions which it implements
  867. @@ -2529,7 +2548,7 @@ getopt_long();
  868.  
  869.  ; return 0; }
  870.  EOF
  871. -if { (eval echo configure:2533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  872. +if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  873.    rm -rf conftest*
  874.    eval "ac_cv_func_getopt_long=yes"
  875.  else
  876. @@ -2553,15 +2572,15 @@ if eval "test \"`echo '$''{'gt_cv_func_o
  877.    echo $ac_n "(cached) $ac_c" 1>&6
  878.  else
  879.    cat > conftest.$ac_ext <<EOF
  880. -#line 2557 "configure"
  881. +#line 2576 "configure"
  882.  #include "confdefs.h"
  883.  #include "obstack.h"
  884. -int main() { return 0; }
  885. +int main() { t(); return 0; }
  886.  int t() {
  887.  struct obstack *mem;obstack_free(mem,NULL)
  888.  ; return 0; }
  889.  EOF
  890. -if { (eval echo configure:2565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  891. +if { (eval echo configure:2584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  892.    rm -rf conftest*
  893.    gt_cv_func_obstack=yes
  894.  else
  895. @@ -2589,7 +2608,7 @@ else
  896.    ac_cv_c_inline=no
  897.  for ac_kw in inline __inline__ __inline; do
  898.    cat > conftest.$ac_ext <<EOF
  899. -#line 2593 "configure"
  900. +#line 2612 "configure"
  901.  #include "confdefs.h"
  902.  
  903.  int main() { return 0; }
  904. @@ -2597,7 +2616,7 @@ int t() {
  905.  } $ac_kw foo() {
  906.  ; return 0; }
  907.  EOF
  908. -if { (eval echo configure:2601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  909. +if { (eval echo configure:2620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  910.    rm -rf conftest*
  911.    ac_cv_c_inline=$ac_kw; break
  912.  fi
  913. @@ -2627,7 +2646,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  914.    echo $ac_n "(cached) $ac_c" 1>&6
  915.  else
  916.    cat > conftest.$ac_ext <<EOF
  917. -#line 2631 "configure"
  918. +#line 2650 "configure"
  919.  #include "confdefs.h"
  920.  /* System header to define __stub macros and hopefully few prototypes,
  921.      which can conflict with char $ac_func(); below.  */
  922. @@ -2637,7 +2656,7 @@ else
  923.      builtin and then its argument prototype would still apply.  */
  924.  char $ac_func();
  925.  
  926. -int main() { return 0; }
  927. +int main() { t(); return 0; }
  928.  int t() {
  929.  
  930.  /* The GNU C library defines this for functions which it implements
  931. @@ -2651,7 +2670,7 @@ $ac_func();
  932.  
  933.  ; return 0; }
  934.  EOF
  935. -if { (eval echo configure:2655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  936. +if { (eval echo configure:2674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  937.    rm -rf conftest*
  938.    eval "ac_cv_func_$ac_func=yes"
  939.  else
  940. @@ -2681,7 +2700,7 @@ else
  941.    ac_cv_func_mmap=no
  942.  else
  943.  cat > conftest.$ac_ext <<EOF
  944. -#line 2685 "configure"
  945. +#line 2704 "configure"
  946.  #include "confdefs.h"
  947.  
  948.  /* Thanks to Mike Haertel and Jim Avera for this test. */
  949. @@ -2750,7 +2769,7 @@ main()
  950.  }
  951.  
  952.  EOF
  953. -{ (eval echo configure:2754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  954. +{ (eval echo configure:2773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  955.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  956.    ac_cv_func_mmap=yes
  957.  else
  958. @@ -2778,12 +2797,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  959.    echo $ac_n "(cached) $ac_c" 1>&6
  960.  else
  961.    cat > conftest.$ac_ext <<EOF
  962. -#line 2782 "configure"
  963. +#line 2801 "configure"
  964.  #include "confdefs.h"
  965.  #include <$ac_hdr>
  966.  EOF
  967.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  968. -{ (eval echo configure:2787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  969. +{ (eval echo configure:2806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  970.  ac_err=`grep -v '^ *+' conftest.out`
  971.  if test -z "$ac_err"; then
  972.    rm -rf conftest*
  973. @@ -2815,7 +2834,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  974.    echo $ac_n "(cached) $ac_c" 1>&6
  975.  else
  976.    cat > conftest.$ac_ext <<EOF
  977. -#line 2819 "configure"
  978. +#line 2838 "configure"
  979.  #include "confdefs.h"
  980.  /* System header to define __stub macros and hopefully few prototypes,
  981.      which can conflict with char $ac_func(); below.  */
  982. @@ -2825,7 +2844,7 @@ else
  983.      builtin and then its argument prototype would still apply.  */
  984.  char $ac_func();
  985.  
  986. -int main() { return 0; }
  987. +int main() { t(); return 0; }
  988.  int t() {
  989.  
  990.  /* The GNU C library defines this for functions which it implements
  991. @@ -2839,7 +2858,7 @@ $ac_func();
  992.  
  993.  ; return 0; }
  994.  EOF
  995. -if { (eval echo configure:2843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  996. +if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  997.    rm -rf conftest*
  998.    eval "ac_cv_func_$ac_func=yes"
  999.  else
  1000. @@ -2870,7 +2889,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1001.    echo $ac_n "(cached) $ac_c" 1>&6
  1002.  else
  1003.    cat > conftest.$ac_ext <<EOF
  1004. -#line 2874 "configure"
  1005. +#line 2893 "configure"
  1006.  #include "confdefs.h"
  1007.  /* System header to define __stub macros and hopefully few prototypes,
  1008.      which can conflict with char $ac_func(); below.  */
  1009. @@ -2880,7 +2899,7 @@ else
  1010.      builtin and then its argument prototype would still apply.  */
  1011.  char $ac_func();
  1012.  
  1013. -int main() { return 0; }
  1014. +int main() { t(); return 0; }
  1015.  int t() {
  1016.  
  1017.  /* The GNU C library defines this for functions which it implements
  1018. @@ -2894,7 +2913,7 @@ $ac_func();
  1019.  
  1020.  ; return 0; }
  1021.  EOF
  1022. -if { (eval echo configure:2898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1023. +if { (eval echo configure:2917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1024.    rm -rf conftest*
  1025.    eval "ac_cv_func_$ac_func=yes"
  1026.  else
  1027. @@ -2930,15 +2949,15 @@ if eval "test \"`echo '$''{'ud_cv_val_LC
  1028.    echo $ac_n "(cached) $ac_c" 1>&6
  1029.  else
  1030.    cat > conftest.$ac_ext <<EOF
  1031. -#line 2934 "configure"
  1032. +#line 2953 "configure"
  1033.  #include "confdefs.h"
  1034.  #include <locale.h>
  1035. -int main() { return 0; }
  1036. +int main() { t(); return 0; }
  1037.  int t() {
  1038.  return LC_MESSAGES
  1039.  ; return 0; }
  1040.  EOF
  1041. -if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1042. +if { (eval echo configure:2961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1043.    rm -rf conftest*
  1044.    ud_cv_val_LC_MESSAGES=yes
  1045.  else
  1046. @@ -2999,12 +3018,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  1047.    echo $ac_n "(cached) $ac_c" 1>&6
  1048.  else
  1049.    cat > conftest.$ac_ext <<EOF
  1050. -#line 3003 "configure"
  1051. +#line 3022 "configure"
  1052.  #include "confdefs.h"
  1053.  #include <libintl.h>
  1054.  EOF
  1055.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1056. -{ (eval echo configure:3008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1057. +{ (eval echo configure:3027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1058.  ac_err=`grep -v '^ *+' conftest.out`
  1059.  if test -z "$ac_err"; then
  1060.    rm -rf conftest*
  1061. @@ -3026,19 +3045,19 @@ else
  1062.    ac_save_LIBS="$LIBS"
  1063.  LIBS="-lintl  $LIBS"
  1064.  cat > conftest.$ac_ext <<EOF
  1065. -#line 3030 "configure"
  1066. +#line 3049 "configure"
  1067.  #include "confdefs.h"
  1068.  /* Override any gcc2 internal prototype to avoid an error.  */
  1069.  /* We use char because int might match the return type of a gcc2
  1070.      builtin and then its argument prototype would still apply.  */
  1071.  char bindtextdomain();
  1072.  
  1073. -int main() { return 0; }
  1074. +int main() { t(); return 0; }
  1075.  int t() {
  1076.  bindtextdomain()
  1077.  ; return 0; }
  1078.  EOF
  1079. -if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1080. +if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1081.    rm -rf conftest*
  1082.    eval "ac_cv_lib_$ac_lib_var=yes"
  1083.  else
  1084. @@ -3051,7 +3070,7 @@ LIBS="$ac_save_LIBS"
  1085.  fi
  1086.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1087.    echo "$ac_t""yes" 1>&6
  1088. -    ac_tr_lib=HAVE_LIB`echo intl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1089. +    ac_tr_lib=HAVE_LIB`echo intl | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  1090.    cat >> confdefs.h <<EOF
  1091.  #define $ac_tr_lib 1
  1092.  EOF
  1093. @@ -3067,7 +3086,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
  1094.    echo $ac_n "(cached) $ac_c" 1>&6
  1095.  else
  1096.    cat > conftest.$ac_ext <<EOF
  1097. -#line 3071 "configure"
  1098. +#line 3090 "configure"
  1099.  #include "confdefs.h"
  1100.  /* System header to define __stub macros and hopefully few prototypes,
  1101.      which can conflict with char gettext(); below.  */
  1102. @@ -3077,7 +3096,7 @@ else
  1103.      builtin and then its argument prototype would still apply.  */
  1104.  char gettext();
  1105.  
  1106. -int main() { return 0; }
  1107. +int main() { t(); return 0; }
  1108.  int t() {
  1109.  
  1110.  /* The GNU C library defines this for functions which it implements
  1111. @@ -3091,7 +3110,7 @@ gettext();
  1112.  
  1113.  ; return 0; }
  1114.  EOF
  1115. -if { (eval echo configure:3095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1116. +if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1117.    rm -rf conftest*
  1118.    eval "ac_cv_func_gettext=yes"
  1119.  else
  1120. @@ -3147,7 +3166,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1121.    echo $ac_n "(cached) $ac_c" 1>&6
  1122.  else
  1123.    cat > conftest.$ac_ext <<EOF
  1124. -#line 3151 "configure"
  1125. +#line 3170 "configure"
  1126.  #include "confdefs.h"
  1127.  /* System header to define __stub macros and hopefully few prototypes,
  1128.      which can conflict with char $ac_func(); below.  */
  1129. @@ -3157,7 +3176,7 @@ else
  1130.      builtin and then its argument prototype would still apply.  */
  1131.  char $ac_func();
  1132.  
  1133. -int main() { return 0; }
  1134. +int main() { t(); return 0; }
  1135.  int t() {
  1136.  
  1137.  /* The GNU C library defines this for functions which it implements
  1138. @@ -3171,7 +3190,7 @@ $ac_func();
  1139.  
  1140.  ; return 0; }
  1141.  EOF
  1142. -if { (eval echo configure:3175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1143. +if { (eval echo configure:3194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1144.    rm -rf conftest*
  1145.    eval "ac_cv_func_$ac_func=yes"
  1146.  else
  1147. @@ -3258,16 +3277,16 @@ else
  1148.  fi
  1149.  
  1150.          cat > conftest.$ac_ext <<EOF
  1151. -#line 3262 "configure"
  1152. +#line 3281 "configure"
  1153.  #include "confdefs.h"
  1154.  
  1155. -int main() { return 0; }
  1156. +int main() { t(); return 0; }
  1157.  int t() {
  1158.  extern int _nl_msg_cat_cntr;
  1159.                     return _nl_msg_cat_cntr
  1160.  ; return 0; }
  1161.  EOF
  1162. -if { (eval echo configure:3271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1163. +if { (eval echo configure:3290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1164.    rm -rf conftest*
  1165.    CATOBJEXT=.gmo
  1166.             DATADIRNAME=share
  1167. @@ -3310,15 +3329,15 @@ else
  1168.    ac_save_LIBS="$LIBS"
  1169.  LIBS="-li  $LIBS"
  1170.  cat > conftest.$ac_ext <<EOF
  1171. -#line 3314 "configure"
  1172. +#line 3333 "configure"
  1173.  #include "confdefs.h"
  1174.  
  1175. -int main() { return 0; }
  1176. +int main() { t(); return 0; }
  1177.  int t() {
  1178.  main()
  1179.  ; return 0; }
  1180.  EOF
  1181. -if { (eval echo configure:3322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1182. +if { (eval echo configure:3341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1183.    rm -rf conftest*
  1184.    eval "ac_cv_lib_$ac_lib_var=yes"
  1185.  else
  1186. @@ -3331,7 +3350,7 @@ LIBS="$ac_save_LIBS"
  1187.  fi
  1188.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1189.    echo "$ac_t""yes" 1>&6
  1190. -    ac_tr_lib=HAVE_LIB`echo i | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1191. +    ac_tr_lib=HAVE_LIB`echo i | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  1192.    cat >> confdefs.h <<EOF
  1193.  #define $ac_tr_lib 1
  1194.  EOF
  1195. @@ -3347,7 +3366,7 @@ if eval "test \"`echo '$''{'ac_cv_func_c
  1196.    echo $ac_n "(cached) $ac_c" 1>&6
  1197.  else
  1198.    cat > conftest.$ac_ext <<EOF
  1199. -#line 3351 "configure"
  1200. +#line 3370 "configure"
  1201.  #include "confdefs.h"
  1202.  /* System header to define __stub macros and hopefully few prototypes,
  1203.      which can conflict with char catgets(); below.  */
  1204. @@ -3357,7 +3376,7 @@ else
  1205.      builtin and then its argument prototype would still apply.  */
  1206.  char catgets();
  1207.  
  1208. -int main() { return 0; }
  1209. +int main() { t(); return 0; }
  1210.  int t() {
  1211.  
  1212.  /* The GNU C library defines this for functions which it implements
  1213. @@ -3371,7 +3390,7 @@ catgets();
  1214.  
  1215.  ; return 0; }
  1216.  EOF
  1217. -if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1218. +if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1219.    rm -rf conftest*
  1220.    eval "ac_cv_func_catgets=yes"
  1221.  else
  1222. @@ -3721,12 +3740,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  1223.    echo $ac_n "(cached) $ac_c" 1>&6
  1224.  else
  1225.    cat > conftest.$ac_ext <<EOF
  1226. -#line 3725 "configure"
  1227. +#line 3744 "configure"
  1228.  #include "confdefs.h"
  1229.  #include <linux/version.h>
  1230.  EOF
  1231.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1232. -{ (eval echo configure:3730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1233. +{ (eval echo configure:3749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1234.  ac_err=`grep -v '^ *+' conftest.out`
  1235.  if test -z "$ac_err"; then
  1236.    rm -rf conftest*
  1237. @@ -3922,7 +3941,9 @@ DEFS=-DHAVE_CONFIG_H
  1238.  : ${CONFIG_STATUS=./config.status}
  1239.  
  1240.  echo creating $CONFIG_STATUS
  1241. -rm -f $CONFIG_STATUS
  1242. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  1243. +# being executed, so just move it out of the way instead.
  1244. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1245.  cat > $CONFIG_STATUS <<EOF
  1246.  #! /bin/sh
  1247.  # Generated automatically by configure.
  1248. @@ -3983,6 +4004,9 @@ s%@libdir@%$libdir%g
  1249.  s%@includedir@%$includedir%g
  1250.  s%@oldincludedir@%$oldincludedir%g
  1251.  s%@infodir@%$infodir%g
  1252. +s%@guidedir@%$guidedir%g
  1253. +s%@psdir@%$psdir%g
  1254. +s%@dvidir@%$dvidir%g
  1255.  s%@mandir@%$mandir%g
  1256.  s%@PACKAGE@%$PACKAGE%g
  1257.  s%@VERSION@%$VERSION%g
  1258. @@ -4239,6 +4263,7 @@ sed -e "/POTFILES =/r po/POTFILES" po/Ma
  1259.  exit 0
  1260.  EOF
  1261.  chmod +x $CONFIG_STATUS
  1262. +rm -f CONFIG.STATUS.old
  1263.  rm -fr confdefs* $ac_clean_files
  1264.  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1265.  
  1266. diff -rup --new-file baseline/fsf/id-utils/configure.in amiga/fsf/id-utils/configure.in
  1267. --- baseline/fsf/id-utils/configure.in    Tue Aug  6 20:16:19 1996
  1268. +++ amiga/fsf/id-utils/configure.in    Sat Sep 28 00:00:00 1996
  1269. @@ -104,7 +104,7 @@ AC_SUBST(LDFLAGS)
  1270.  AC_FUNC_ALLOCA
  1271.  ud_WITH_REGEX
  1272.  AC_FUNC_VPRINTF
  1273. -AC_CHECK_FUNCS(getwd getcwd link strerror isascii bcopy bzero memcpy)
  1274. +AC_CHECK_FUNCS(getwd getcwd link strerror isascii bcopy bzero memcpy sbrk)
  1275.  AC_REPLACE_FUNCS(strdup strndup strspn strcspn strpbrk strstr strtok)
  1276.  AC_REPLACE_FUNCS(basename dirname fnmatch error memcpy memset)
  1277.  AC_REPLACE_GNU_GETOPT
  1278. diff -rup --new-file baseline/fsf/id-utils/doc/Makefile.in amiga/fsf/id-utils/doc/Makefile.in
  1279. --- baseline/fsf/id-utils/doc/Makefile.in    Tue Aug  6 20:27:21 1996
  1280. +++ amiga/fsf/id-utils/doc/Makefile.in    Sat Sep 28 00:00:00 1996
  1281. @@ -25,6 +25,9 @@ infodir = @infodir@
  1282.  mandir = @mandir@
  1283.  includedir = @includedir@
  1284.  oldincludedir = /usr/include
  1285. +guidedir = $(prefix)/guide
  1286. +dvidir = $(prefix)/dvi
  1287. +psdir = $(prefix)/ps
  1288.  
  1289.  pkgdatadir = $(datadir)/@PACKAGE@
  1290.  pkglibdir = $(libdir)/@PACKAGE@
  1291. @@ -46,6 +49,7 @@ CONFIG_HEADER = ../config.h
  1292.  
  1293.  MAKEINFO = makeinfo
  1294.  TEXI2DVI = texi2dvi
  1295. +DVIPS = dvips
  1296.  INFOS = id-utils.info id-utils.info-[0-9] id-utils.info-[0-9][0-9]
  1297.  INFO_DEPS = id-utils.info
  1298.  DVIS = id-utils.dvi
  1299. @@ -102,24 +106,41 @@ id-utils.dvi: id-utils.texi version.texi
  1300.  
  1301.  
  1302.  .texi.info:
  1303. -    cd $(srcdir) \
  1304. -      && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
  1305. +    $(MAKEINFO) -I$(srcdir) $< -o $@
  1306.  
  1307.  .texi.dvi:
  1308.      TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
  1309.  
  1310. +.texi.guide:
  1311. +    $(MAKEINFO) -I$(srcdir) $< -o $@ --no-split --amiga
  1312. +
  1313. +.dvi.ps:
  1314. +    $(DVIPS) -o $@ $<
  1315. +
  1316.  install-info: $(INFO_DEPS)
  1317.      $(mkinstalldirs) $(infodir)
  1318.      for file in $(INFO_DEPS); do \
  1319. -      for ifile in `cd $(srcdir) && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
  1320. -        if test -f $(srcdir)/$$ifile; then \
  1321. -          $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
  1322. +      for ifile in `echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
  1323. +        if test -f $$ifile; then \
  1324. +          $(INSTALL_DATA) $$ifile $(infodir)/$$ifile; \
  1325.          else : ; fi; \
  1326.        done; \
  1327.      done
  1328.  
  1329. +install-dvi:
  1330. +    $(mkinstalldirs) $(dvidir)
  1331. +    $(INSTALL_DATA) id-utils.dvi $(dvidir)/id-utils.dvi
  1332. +
  1333. +install-guide:
  1334. +    $(mkinstalldirs) $(guidedir)
  1335. +    $(INSTALL_DATA) id-utils.guide $(guidedir)/id-utils.guide
  1336. +
  1337. +install-ps:
  1338. +    $(mkinstalldirs) $(psdir)
  1339. +    $(INSTALL_DATA) id-utils.ps $(psdir)/id-utils.ps
  1340. +
  1341.  uninstall-info:
  1342. -    cd $(srcdir) && for file in *.info*; do    \
  1343. +    for file in *.info*; do    \
  1344.        rm -f $(infodir)/$$file; \
  1345.      done
  1346.  
  1347. @@ -151,20 +172,24 @@ info: $(INFO_DEPS)
  1348.  
  1349.  dvi: $(DVIS)
  1350.  
  1351. +guide: id-utils.guide
  1352. +
  1353. +ps: id-utils.ps
  1354. +
  1355.  check: all
  1356.  
  1357.  installcheck:
  1358.  
  1359.  install-exec: 
  1360.  
  1361. -install-data: install-info
  1362. +install-data: install-info install-guide install-dvi install-ps
  1363.  
  1364.  install: install-exec install-data all
  1365.      @:
  1366.  
  1367.  uninstall: uninstall-info
  1368.  
  1369. -all: $(INFO_DEPS) Makefile
  1370. +all: $(INFO_DEPS) Makefile guide dvi ps
  1371.  
  1372.  install-strip:
  1373.      $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
  1374. @@ -205,7 +230,7 @@ installdirs mostlyclean-generic distclea
  1375.  maintainer-clean-generic clean mostlyclean distclean maintainer-clean
  1376.  
  1377.  .SUFFIXES:
  1378. -.SUFFIXES: .texi .info .dvi
  1379. +.SUFFIXES: .texi .info .dvi .guide .ps
  1380.  
  1381.  # Tell versions [3.59,3.63) of GNU make to not export all variables.
  1382.  # Otherwise a system limit (for SysV at least) may be exceeded.
  1383. diff -rup --new-file baseline/fsf/id-utils/doc/id-utils.info amiga/fsf/id-utils/doc/id-utils.info
  1384. --- baseline/fsf/id-utils/doc/id-utils.info    Tue Aug  6 20:24:28 1996
  1385. +++ amiga/fsf/id-utils/doc/id-utils.info    Wed Dec 31 17:00:00 1969
  1386. @@ -1,1176 +0,0 @@
  1387. -This is Info file id-utils.info, produced by Makeinfo-1.63 from the
  1388. -input file id-utils.texi.
  1389. -
  1390. -START-INFO-DIR-ENTRY
  1391. -* ID database: (id-utils).              Identifier database utilities.
  1392. -* mkid: (id-utils)mkid invocation.      Creating an ID database.
  1393. -* lid: (id-utils)lid invocation.        Matching words and patterns.
  1394. -* fid: (id-utils)fid invocation.        Listing a file's tokens.
  1395. -* fnid: (id-utils)fnid invocation.      Looking up file names.
  1396. -* xtokid: (id-utils)xtokid invocation.  Testing mkid scanners.
  1397. -END-INFO-DIR-ENTRY
  1398. -
  1399. -   This file documents the `id-utils' database utilities.
  1400. -
  1401. -   Copyright (C) 1996 Free Software Foundation, Inc.
  1402. -
  1403. -   Permission is granted to make and distribute verbatim copies of this
  1404. -manual provided the copyright notice and this permission notice are
  1405. -preserved on all copies.
  1406. -
  1407. -   Permission is granted to copy and distribute modified versions of
  1408. -this manual under the conditions for verbatim copying, provided that
  1409. -the entire resulting derived work is distributed under the terms of a
  1410. -permission notice identical to this one.
  1411. -
  1412. -   Permission is granted to copy and distribute translations of this
  1413. -manual into another language, under the above conditions for modified
  1414. -versions, except that this permission notice may be stated in a
  1415. -translation.
  1416. -
  1417. -
  1418. -File: id-utils.info,  Node: Top,  Next: Introduction,  Up: (dir)
  1419. -
  1420. -ID utilities
  1421. -************
  1422. -
  1423. -   This manual documents version 3.2 of the ID utilities.
  1424. -
  1425. -* Menu:
  1426. -
  1427. -* Introduction::                Overview of the tools with tutorial.
  1428. -* Quick start::                 Quick start procedure.
  1429. -* Common options::              Common command-line options.
  1430. -* mkid invocation::             Creating an ID database.
  1431. -* lid invocation::              Querying an ID database by token.
  1432. -* fid invocation::              Listing a file's tokens.
  1433. -* fnid invocation::             Looking up file names.
  1434. -* xtokid invocation::           Testing language scanners.
  1435. -* Past and Future::             History and future directions.
  1436. -* Index::                       General index.
  1437. -
  1438. -
  1439. -File: id-utils.info,  Node: Introduction,  Next: Quick start,  Prev: Top,  Up: Top
  1440. -
  1441. -Introduction
  1442. -************
  1443. -
  1444. -   An "ID database" is a binary file containing a list of file names, a
  1445. -list of tokens, and a sparse matrix indicating which tokens appear in
  1446. -which files.
  1447. -
  1448. -   With this database and some tools to query it (described in this
  1449. -manual), many text-searching tasks become simpler and faster.  For
  1450. -example, you can list all files that reference a particular `#include'
  1451. -file throughout a huge source hierarchy, search for all the memos
  1452. -containing references to a project, or automatically invoke an editor
  1453. -on all files containing references to some function or variable.
  1454. -Anyone with a large software project to maintain, or a large set of text
  1455. -files to organize, can benefit from the ID utilities.
  1456. -
  1457. -   Although the name `ID' is short for `identifier', the ID utilities
  1458. -handle more than just identifiers; they also treat other kinds of
  1459. -tokens, most notably numeric constants, and the contents of certain
  1460. -character strings.  Thus, this manual will use the word "token" as a
  1461. -term that is inclusive of identifiers, numbers and strings.
  1462. -
  1463. -   There are several programs in the ID utilities family:
  1464. -
  1465. -`mkid'
  1466. -     scans files for tokens and builds the ID database file.
  1467. -
  1468. -`lid'
  1469. -     queries the ID database for tokens, then reports matching file
  1470. -     names or matching lines.
  1471. -
  1472. -`fid'
  1473. -     lists all tokens recorded in the database for given files, or
  1474. -     tokens common to two files.
  1475. -
  1476. -`fnid'
  1477. -     matches the file names in the database, rather than the tokens.
  1478. -
  1479. -`xtokid'
  1480. -     extracts raw tokens--helps with testing of new `mkid' scanners.
  1481. -
  1482. -   In addition, the ID utilities have historically provided several
  1483. -query programs which are specializations of `lid':
  1484. -
  1485. -`gid'
  1486. -     (alias for `lid -R grep') lists all lines containing the requested
  1487. -     pattern.
  1488. -
  1489. -`eid'
  1490. -     (alias for `lid -R edit') invokes an editor on all files
  1491. -     containing the requested pattern, and if possible, initiates a
  1492. -     text search for that pattern.
  1493. -
  1494. -`aid'
  1495. -     (alias for `lid -ils') treats the requested pattern as a
  1496. -     case-insensitive literal substring.
  1497. -
  1498. -   Please report bugs to `bug-gnu-utils@gnu.ai.mit.edu'.  Remember to
  1499. -include the version number, machine architecture, input files, and any
  1500. -other information needed to reproduce the bug: your input, what you
  1501. -expected, what you got, and why it is wrong.  Diffs are welcome, but
  1502. -please include a description of the problem as well, since this is
  1503. -sometimes difficult to infer.  *Note Bugs: (gcc)Bugs.
  1504. -
  1505. -
  1506. -File: id-utils.info,  Node: Quick start,  Next: Common options,  Prev: Introduction,  Up: Top
  1507. -
  1508. -Quick Start Procedure
  1509. -*********************
  1510. -
  1511. -     Unpack the distribution.
  1512. -
  1513. -     Type `./configure'
  1514. -
  1515. -     Type `make'
  1516. -
  1517. -     Type `make install' as a user with the appropriate privileges
  1518. -     (e.g., `bin' or perhaps even `root').
  1519. -
  1520. -     Type `cd /usr/include; mkid' to build an ID database covering all
  1521. -     of the system header files.
  1522. -
  1523. -     Type `lid FILE', then `gid strtok', then `aid stdout'.
  1524. -
  1525. -   You have just built, installed and used the most common commands of
  1526. -the GNU ID utilities.  If you ever need help remembering which system
  1527. -header files contain a particular declaration, or reference a
  1528. -particular symbol, you'll want to keep the ID file you built in
  1529. -`/usr/include' for later use.  If your working directory is elsewhere
  1530. -at the time, simply provide the `-f /usr/include' option to `lid'
  1531. -(*note Reading options::.).
  1532. -
  1533. -
  1534. -File: id-utils.info,  Node: Common options,  Next: mkid invocation,  Prev: Quick start,  Up: Top
  1535. -
  1536. -Common command-line options
  1537. -***************************
  1538. -
  1539. -   Certain options, and regular expression syntax, are shared by various
  1540. -groupings of the ID utilities.  We describe these in the sections below,
  1541. -rather than repeating them for each program.
  1542. -
  1543. -* Menu:
  1544. -
  1545. -* Universal options::     Options common to all programs.
  1546. -* Extraction options::    Options for programs that extract tokens from source files.
  1547. -* Walker options::        Options for programs that walk file and directory trees.
  1548. -* Reading options::       Options for programs that read ID databases.
  1549. -* Writing options::       Options for programs that write ID databases.
  1550. -* File listing options::  Options for programs that list file names.
  1551. -
  1552. -
  1553. -File: id-utils.info,  Node: Universal options,  Next: Extraction options,  Up: Common options
  1554. -
  1555. -Options Common to All Programs
  1556. -==============================
  1557. -
  1558. -`--help'
  1559. -     Print a usage message listing all available options, then exit
  1560. -     successfully.
  1561. -
  1562. -`--version'
  1563. -     Print the version number, then exit successfully.
  1564. -
  1565. -
  1566. -File: id-utils.info,  Node: Reading options,  Next: Writing options,  Prev: Walker options,  Up: Common options
  1567. -
  1568. -Options for Programs that Read ID Databases
  1569. -===========================================
  1570. -
  1571. -`-f FILENAME'
  1572. -`--file=FILENAME'
  1573. -     FILENAME is the ID database to read when processing queries.  At
  1574. -     present, only a single `--file' option is processed, but in future
  1575. -     releases, more than one ID database may be named on the command
  1576. -     line.
  1577. -
  1578. -`$IDPATH'
  1579. -     `IDPATH' is an environment variable that contains a
  1580. -     colon-separated list of ID database names.  If this variable is
  1581. -     present, and no `--file' options are presented on the command
  1582. -     line, the ID databases named in `IDPATH' are implied.(1)
  1583. -
  1584. -   If no ID databases are specified either on the command line or via
  1585. -the `IDPATH' environment variable, then the ID utilities search for a
  1586. -file named `ID' in the current working directory, and then in
  1587. -successive parent directories.
  1588. -
  1589. -   ---------- Footnotes ----------
  1590. -
  1591. -   (1)  At present, this feature is fully implemented, since only the
  1592. -first of a list of ID database names is processed.
  1593. -
  1594. -
  1595. -File: id-utils.info,  Node: Writing options,  Next: File listing options,  Prev: Reading options,  Up: Common options
  1596. -
  1597. -Options for Programs that Write ID Databases
  1598. -============================================
  1599. -
  1600. -`-o FILENAME'
  1601. -`--output=FILENAME'
  1602. -     The `--output' option names the file in which to write a new ID
  1603. -     database.  If no `--output' (or `--file') option is present, an
  1604. -     output file named `ID' is implied.
  1605. -
  1606. -`-f FILENAME'
  1607. -`--file=FILENAME'
  1608. -     This is a synonym for `--output'
  1609. -
  1610. -
  1611. -File: id-utils.info,  Node: Walker options,  Next: Reading options,  Prev: Extraction options,  Up: Common options
  1612. -
  1613. -Options for Programs that Walk File and Directory Trees.
  1614. -========================================================
  1615. -
  1616. -   The programs `mkid' and `xtokid' accept the names of files and
  1617. -directories on the command line.  Files are scanned if there is a
  1618. -scanner available and enabled for the file's source language.
  1619. -Directories are recursively descended, searching for files whose names
  1620. -match the rules listed in the *language map* file (*note Language
  1621. -map::.).
  1622. -
  1623. -   The following option controls the file tree walker:
  1624. -
  1625. -`-p NAMES'
  1626. -`--prune=NAMES'
  1627. -     One or more file or directory names may appear in NAMES.  The file
  1628. -     tree walker will stop short at these files and directories and
  1629. -     their contents will not be scanned.
  1630. -
  1631. -
  1632. -File: id-utils.info,  Node: File listing options,  Prev: Writing options,  Up: Common options
  1633. -
  1634. -Options for Programs that List File Names
  1635. -=========================================
  1636. -
  1637. -   The programs `lid' and `fnid' can print lists of file names as the
  1638. -result of queries.  The following option controls how these lists are
  1639. -formatted:
  1640. -
  1641. -`-S STYLE'
  1642. -`--separator=STYLE'
  1643. -     STYLE may be one of `braces', `space' or `newline'.
  1644. -
  1645. -     The STYLE of `braces' means that file names with common directory
  1646. -     prefix and common suffix are printed using the shell's brace
  1647. -     notation in order to compress the output.  For example,
  1648. -     `../src/foo.c ../src/bar.c' can be printed in brace notation as
  1649. -     `../src/{foo,bar}.c'.
  1650. -
  1651. -     The STYLEs of `space' and `newline' mean that file names are
  1652. -     separated spaces or by newlines, respectively.
  1653. -
  1654. -     If the list of files is being printed on a terminal, brace
  1655. -     notation is the default.  If not, file names are separated by
  1656. -     spaces if the KEY is included in the output, and by newlines the
  1657. -     KEY STYLE is `none' (*note lid invocation::.).
  1658. -
  1659. -
  1660. -File: id-utils.info,  Node: Extraction options,  Next: Walker options,  Prev: Universal options,  Up: Common options
  1661. -
  1662. -Options for Programs that Scan Source Files
  1663. -===========================================
  1664. -
  1665. -   `mkid' and `xtokid' walk file trees, select source files by name,
  1666. -and extract tokens from source files.  They accept the following
  1667. -options:
  1668. -
  1669. -`-m MAPFILE'
  1670. -`--lang-map=MAPFILE'
  1671. -     MAPFILE contains rules for determining the source languages from
  1672. -     file names.  *Note Language map::
  1673. -
  1674. -`-i LANGUAGES'
  1675. -`--include=LANGUAGES'
  1676. -     The `--include' option names LANGUAGES whose source files should
  1677. -     be scanned and incorporated into the ID database.  By default, all
  1678. -     languages known to the ID utilities are enabled.
  1679. -
  1680. -`-x LANGUAGES'
  1681. -`--exclude=LANGUAGES'
  1682. -     The `--exclude' option names LANGUAGES whose source files should
  1683. -     NOT be scanned.  The default list of excluded languages is empty.
  1684. -     Note that only one of `--include' or `--exclude' may be specified
  1685. -     on the command line for a single run.
  1686. -
  1687. -`-l LANGUAGE:OPTIONS'
  1688. -`--lang-option=LANGUAGE:OPTIONS'
  1689. -     Language-specific scanners also accept options.  LANGUAGE denotes
  1690. -     the desired scanner, and OPTION are the command-line options that
  1691. -     should be passed through to it.  For example, to pass the -X
  1692. -     -COKE-BOTTLE options to the scanner for the language SWIZZLE, pass
  1693. -     this: -L SWIZZLE:"-X -COKE-BOTTLE", or this:
  1694. -     -LANG-OPTION=SWIZZLE:"-X -COKE-BOTTLE", or this: -L SWIZZLE-X -L
  1695. -     SWIZZLE:-COKE-BOTTLE.  Use the `--help' option to see the
  1696. -     command-line option summary for
  1697. -
  1698. -   To determine which tokens to extract from a file and store in the
  1699. -database, `mkid' calls a "scanner"; we say a scanner "recognizes" a
  1700. -particular language.  Scanners for several languages are built-in to
  1701. -`mkid'; you can add your own scanners as well, as explained in *Note
  1702. -Defining scanners::.
  1703. -
  1704. -   The ID utilities determine which scanner to use for a particular
  1705. -file by consulting the language-map file.  Scanners for several are
  1706. -already built-in to the ID utilities.  You can see which languages have
  1707. -built-in scanners, and examine their language-specific options by
  1708. -invoking `mkid --help' or `xtokid --help'.
  1709. -
  1710. -* Menu:
  1711. -
  1712. -* Language map::                Mapping file names to source languages.
  1713. -* C/C++ scanner::               For the C and C++ programming language.
  1714. -* Assembler scanner::           For assembly language.
  1715. -* Text scanner::                For documents or other non-source code.
  1716. -* Defining scanners::           Defining new scanners in the source code.
  1717. -
  1718. -
  1719. -File: id-utils.info,  Node: Language map,  Next: C/C++ scanner,  Up: Extraction options
  1720. -
  1721. -Mapping file names to source languages
  1722. ---------------------------------------
  1723. -
  1724. -   The file `id-lang.map', installed by default in
  1725. -`$(prefix)/share/id-lang.map', contains rules for mapping file names to
  1726. -source languages.  Each rule comprises three parts: a shell GLOB
  1727. -pattern, a language name, and language-specific scanner options.
  1728. -
  1729. -   The special pattern `**' denotes the default source language.  This
  1730. -is the language that's assigned to file names that don't match any other
  1731. -pattern.
  1732. -
  1733. -   The special pattern `***' should be followed by a file name.  The
  1734. -named file should contain more language-map rules and is included at
  1735. -this point.
  1736. -
  1737. -   The order in which rules are presented in a language-map file is
  1738. -significant.  This order influences the order in which files are
  1739. -displayed as the result of queries.  For example, the distributed
  1740. -language-map file places all rules for C .H files ahead of .C files, so
  1741. -that in general, declarations will precede definitions in query output.
  1742. -The same thing is done for C++ and its many different source file name
  1743. -extensions.
  1744. -
  1745. -   Here is a pared-down version of the `id-lang.map' file distributed
  1746. -with the ID utilities:
  1747. -
  1748. -
  1749. -     # Default language
  1750. -     **            IGNORE    # Although this is listed first,
  1751. -                     # the default language pattern is
  1752. -                     # logically matched last.
  1753. -     
  1754. -     # Backup files
  1755. -     *~            IGNORE
  1756. -     *.bak            IGNORE
  1757. -     *.bk[0-9]        IGNORE
  1758. -     
  1759. -     # SCCS files
  1760. -     [sp].*            IGNORE
  1761. -     
  1762. -     # list header files before code files
  1763. -     *.h            C
  1764. -     *.h.in            C
  1765. -     *.H            C++
  1766. -     *.hh            C++
  1767. -     *.hpp            C++
  1768. -     *.hxx            C++
  1769. -     
  1770. -     # list C `meta' files next
  1771. -     *.l            C
  1772. -     *.lex            C
  1773. -     *.y            C
  1774. -     *.yacc            C
  1775. -     
  1776. -     # list C code files after header files
  1777. -     *.c            C
  1778. -     *.C            C++
  1779. -     *.cc            C++
  1780. -     *.cpp            C++
  1781. -     *.cxx            C++
  1782. -     
  1783. -     # list assembly language after C
  1784. -     *.[sS]            asm --comment=;
  1785. -     *.asm            asm --comment=;
  1786. -     
  1787. -     # [nt]roff
  1788. -     *.[0-9]            roff
  1789. -     *.ms            roff
  1790. -     *.me            roff
  1791. -     *.mm            roff
  1792. -     
  1793. -     # TeX and friends
  1794. -     *.tex            TeX
  1795. -     *.ltx            TeX
  1796. -     *.texi            texinfo
  1797. -     *.texinfo        texinfo
  1798. -
  1799. -
  1800. -File: id-utils.info,  Node: C/C++ scanner,  Next: Assembler scanner,  Prev: Language map,  Up: Extraction options
  1801. -
  1802. -C/C++ Language Scanner
  1803. -----------------------
  1804. -
  1805. -   The C scanner is the most commonly used.  Files that match the glob
  1806. -pattern `*.h', `*.c', as well as `yacc' files that match `*.y' or
  1807. -`*.yacc', and `lex' files that match `*.l' or `*.lex', are processed
  1808. -with this scanner.
  1809. -
  1810. -   Scanner-specific options (Note, these options are presented WITHOUT
  1811. -the required `-l' or `--lang-option=' prefix):
  1812. -
  1813. -`-k CHARACTER-CLASS'
  1814. -`--keep=CHARACTER-CLASS'
  1815. -     Consider the characters in CHARACTER-CLASS as valid constituents of
  1816. -     identifier names.  For example, if you are indexing C code that
  1817. -     contains `$' in some of its identifiers, you can include these by
  1818. -     using `--lang-option=C:--keep=$', or `-l C:"-k $"' (if you don't
  1819. -     like to type so much).
  1820. -
  1821. -`-i CHARACTER-CLASS'
  1822. -`--ignore=CHARACTER-CLASS'
  1823. -     x mkiConsider the characters in CHARACTER-CLASS as valid
  1824. -     constituents of identifier names, but discard all tokens
  1825. -     containing these characters.  For example, if some C code has
  1826. -     identifiers containing `$', but you don't want these cluttering up
  1827. -     your ID database, use `--lang-option=C:--ignore=$', or the terser
  1828. -     equivalent `-l C:"-i $"'.
  1829. -
  1830. -`-u'
  1831. -`--strip-underscore'
  1832. -     Strip one leading underscore from C identifiers encapsulated as
  1833. -     character strings.  This option is useful if you are indexing C
  1834. -     code that contains symbol-table name strings for systems that
  1835. -     prepend an underscore to external symbols.  By default, the
  1836. -     leading underscore is retained.
  1837. -
  1838. -
  1839. -File: id-utils.info,  Node: Assembler scanner,  Next: Text scanner,  Prev: C/C++ scanner,  Up: Extraction options
  1840. -
  1841. -Assembly Language Scanner
  1842. --------------------------
  1843. -
  1844. -   Assembly languages use a variety of commenting conventions, and
  1845. -allow a variety of special characters to *dirty up* local symbols,
  1846. -preventing name space conflicts with symbols defined by higher-level
  1847. -languages.  Also, some compilation systems prepend an underscore to
  1848. -external symbols.  The options listed below are designed to address
  1849. -these differences.
  1850. -
  1851. -`-c CHARACTER-CLASS'
  1852. -`--comment=CHARACTER-CLASS'
  1853. -     The characters in CHARACTER-CLASS are considered left delimiters
  1854. -     for comments that extend until the end of the current line.
  1855. -
  1856. -`-k CHARACTER-CLASS'
  1857. -`--keep=CHARACTER-CLASS'
  1858. -     Consider the characters of CHARACTER-CLASS as valid constituents of
  1859. -     identifier names.  For example, if you are indexing assembly code
  1860. -     that prepends `.' to assembler directives, and prepends `%' to
  1861. -     register names, you can keep these characters in the tokens by
  1862. -     specifying `--lang-option=asm:--keep=.%', or `-l asm:"-k .%"'.
  1863. -
  1864. -`-i CHARACTER-CLASS'
  1865. -`--ignore=CHARACTER-CLASS'
  1866. -     Consider the characters of CHARACTER-CLASS as valid consituents of
  1867. -     identifier names, but discard all tokens containing these
  1868. -     characters.  For example, if you don't want to clutter your ID
  1869. -     database with assembler directives that begin with a leading `.'
  1870. -     or with assembler labels that contain `@', use
  1871. -     `--lang-option=asm:--ignore=.@', or `-l asm:"-i .@"'.
  1872. -
  1873. -`-u'
  1874. -`--strip-underscore'
  1875. -     Strip one leading underscore from identifiers.  This option is
  1876. -     useful if your compilation system prepends an underscore to
  1877. -     external symbols.  By stripping the underscore, you can
  1878. -     canonicalize such names and bring them into conformance the way
  1879. -     they are expressed in the C language.  By default, the leading
  1880. -     underscore is retained.
  1881. -
  1882. -`-n'
  1883. -`--no-cpp'
  1884. -     Do not recognize C preprocessor directives.  By default, such
  1885. -     lines are handled in the same way as they are by the C language
  1886. -     scanner.
  1887. -
  1888. -
  1889. -File: id-utils.info,  Node: Text scanner,  Next: Defining scanners,  Prev: Assembler scanner,  Up: Extraction options
  1890. -
  1891. -Text Scanner
  1892. -------------
  1893. -
  1894. -   The plain text scanner is intended for human-language documents, or
  1895. -as the scanner of last resort for files that have no scanner that is
  1896. -more specific.  It is customizable to the extent that character classes
  1897. -can be designated as token constituents or as token delimiters.  The
  1898. -default token constituents are the alpha-numerics; all other characters
  1899. -are considered token delimiters.
  1900. -
  1901. -`-i CHARACTER-CLASS'
  1902. -`--include=CHARACTER-CLASS'
  1903. -     Include characters belonging to CHARACTER-CLASS in tokens.
  1904. -
  1905. -`-x CHARACTER-CLASS'
  1906. -`--exclude=CHARACTER-CLASS'
  1907. -     Exclude characters belonging to CHARACTER-CLASS from tokens, i.e.,
  1908. -     treat them as token delimiters.
  1909. -
  1910. -
  1911. -File: id-utils.info,  Node: Defining scanners,  Prev: Text scanner,  Up: Extraction options
  1912. -
  1913. -Defining New Scanners in the Source Code
  1914. -----------------------------------------
  1915. -
  1916. -   To add a new scanner in source code, you should add a new section to
  1917. -the file `scanners.c'.  It might be easiest to clone one of the
  1918. -existing scanners and modify it as necessary.  For the hypothetical
  1919. -language FOO, you must define the functions `get_token_foo',
  1920. -`parse_args_foo', `help_me_foo', as well as the tables
  1921. -`long_options_foo' and `args_foo'.  If your scanner is modelled after
  1922. -one of the existing scanners, you'll also need a character-attribute
  1923. -table `ctype_foo'.
  1924. -
  1925. -   This is not a terribly difficult programming task, but it requires
  1926. -recompiling and installing the new version of `mkid' and `xtokid'.  You
  1927. -should use `xtokid' to test the operation of the new scanner.
  1928. -
  1929. -   Once these functions and tables are ready, add function prototypes
  1930. -and an entry to to the `languages_0' table near the beginning of the
  1931. -file.
  1932. -
  1933. -   Be warned that the existing scanners are built for speed, not
  1934. -elegance or readability.  You might wish to create a new scanner that's
  1935. -easier to read and understand if you don't feel that speed is so
  1936. -important.
  1937. -
  1938. -
  1939. -File: id-utils.info,  Node: mkid invocation,  Next: lid invocation,  Prev: Common options,  Up: Top
  1940. -
  1941. -`mkid': Creating an ID Database
  1942. -*******************************
  1943. -
  1944. -   `mkid' builds an ID database.  It accepts the names of files and/or
  1945. -directories on the command line, selects files that have an enabled
  1946. -scanner, then extracts and stores tokens from those files.  The
  1947. -resulting ID database is architecture- and byte-order-independent so it
  1948. -can be shared among all systems.
  1949. -
  1950. -   The primary virtues of `mkid' are speed and high capacity.  The size
  1951. -of the source trees it can index is limited only by available system
  1952. -memory.  `mkid''s indexing algorithm is very space-efficient and
  1953. -exhibits excellent locality-of-reference, and so is capable of
  1954. -operating with a working-set size that is only half the size of its
  1955. -virtual address space.  A typical UNIX-like operating system with 16
  1956. -megabytes of system memory should be able to build an ID database
  1957. -covering approximately 12,000-14,000 source files totalling
  1958. -approximately 50-100 Megabytes.  A 66 Mhz 486 computer can build such a
  1959. -large ID database in approximately 10-15 minutes.
  1960. -
  1961. -   In a future release, `mkid' will be able to incrementally update an
  1962. -ID database much faster than it can build one from scratch.  Until this
  1963. -feature becomes available, it might be a good idea to schedule a `cron'
  1964. -job to regularly update large ID databases during off-hours.
  1965. -
  1966. -   `mkid' writes the ID file, therefore it accepts the `--output' (and
  1967. -`--file') options as described in *Note Writing options::.  `mkid'
  1968. -extracts tokens from source files, therefore it accepts the
  1969. -`--lang-map', `--include', `--exclude', and `--lang-option' options, as
  1970. -well as the language-specific scanner options, all of which are
  1971. -described in *Note Extraction options::.  `mkid' walks file trees,
  1972. -therefore it handles file and directory names on its command line and
  1973. -the `--prune' option as described in *Note Walker options::.
  1974. -
  1975. -   In addition, `mkid' accepts the following command-line options:
  1976. -
  1977. -`-s'
  1978. -`--statistics'
  1979. -     `mkid' reports statistics about resource usage at the end of its
  1980. -     run.
  1981. -
  1982. -`-v'
  1983. -`--verbose'
  1984. -     `mkid' reports statistics about each file as it is scanned, and
  1985. -     about the resource usage of its indexing algorithm at regular
  1986. -     intervals.
  1987. -
  1988. -
  1989. -File: id-utils.info,  Node: lid invocation,  Next: fid invocation,  Prev: mkid invocation,  Up: Top
  1990. -
  1991. -`lid': Querying an ID Database by Token
  1992. -***************************************
  1993. -
  1994. -   The `lid' program accepts PATTERNS on the command line which it
  1995. -matches against the tokens stored in an ID database.  The
  1996. -interpretation of a PATTERN is determined by the makeup of the PATTERN
  1997. -string itself, or can be overridden by command-line options.  If a
  1998. -PATTERN contains regular expression meta-characters, it is used to
  1999. -perform a regular-expression substring search.  If no such
  2000. -meta-characters are present, PATTERN is used to perform a literal word
  2001. -search.  (By default, all searches are sensitive to alphabetic case.)
  2002. -If no PATTERN is supplied on the command line, `lid' lists every entry
  2003. -in the ID database.
  2004. -
  2005. -   `lid' reads the ID database, therefore it accepts the `--file'
  2006. -option, and consults the `IDPATH' environment variable, as described in
  2007. -*Note Reading options::.  `lid' lists file names, therefore it accepts
  2008. -the `--separator' option, as described in *Note File listing options::.
  2009. -
  2010. -   In addition, `lid' accepts the following command-line options:
  2011. -
  2012. -`-i'
  2013. -`--ignore-case'
  2014. -     Ignoring differences in alphabetic case between the PATTERN and
  2015. -     the tokens in the ID database.
  2016. -
  2017. -`-l'
  2018. -`--literal'
  2019. -     Match PATTERN as a literal string.  Use this option if PATTERN
  2020. -     contains regular-expression meta-characters, but you don't wish to
  2021. -     perform a regular-expression search.
  2022. -
  2023. -`-r'
  2024. -`--regexp'
  2025. -     Match PATTERN as an *extended* regular expression(1).  Use this
  2026. -     option if no regular-expression expression meta-characters are
  2027. -     present in PATTERN, but you wish to force a regular-expression
  2028. -     search (note: in this case, a *literal substring* search might be
  2029. -     faster).
  2030. -
  2031. -`-w'
  2032. -`--word'
  2033. -     Match PATTERN using a word-delimited (non substring) search.  This
  2034. -     is the default for literal searches.
  2035. -
  2036. -`-s'
  2037. -`--substring'
  2038. -     Match PATTERN using a substring (non word-delimited) search.  This
  2039. -     is the default for regular expression searches.
  2040. -
  2041. -`-k STYLE'
  2042. -`--key=STYLE'
  2043. -     STYLE can be one of `token', `pattern' or `none'.  This option
  2044. -     controls how the subject of the query is presented.  This is best
  2045. -     illustrated by example:
  2046. -
  2047. -          $ lid --key=token '^dest.'
  2048. -          destaddr       libsys/memcpy.c
  2049. -          destination    libsys/regex.c
  2050. -          destlst        libsys/rx.c
  2051. -          destpos        libsys/rx.c
  2052. -          destset        libsys/rx.h libsys/rx.c
  2053. -          
  2054. -          $ lid --key=pattern '^dest.'
  2055. -          ^dest.         libsys/rx.h libsys/{memcpy,regex,rx}.c
  2056. -          
  2057. -          $ lid --key=none '^dest.'
  2058. -          libsys/rx.h libsys/{memcpy,regex,rx}.c
  2059. -
  2060. -     When `--key' is either `token' or `pattern', the first column of
  2061. -     output is a TOKEN or PATTERN, respectively.  When `--key' is
  2062. -     `none', neither of these is printed, and the file name list begins
  2063. -     immediately.  The default is `token'.
  2064. -
  2065. -`-R STYLE'
  2066. -`--result=STYLE'
  2067. -     STYLE can be one of `filenames', `grep', `edit' or `none'.  This
  2068. -     option controls how the value associated with the query's KEY
  2069. -     presented.  When STYLE is `filenames', a list of file names is
  2070. -     printed (this is the default).  When STYLE is `grep', the lines
  2071. -     that match PATTERN are printed in the same format as `egrep -n'.
  2072. -     When STYLE is `edit', the file names are passed to an editor, and
  2073. -     if possible PATTERN is passed as an initial search string (*note
  2074. -     eid invocation::.).  When STYLE is `none', the file names are not
  2075. -     processed in any way.  This can be useful if you wish to see what
  2076. -     tokens match a PATTERN, but don't care about where they reside.
  2077. -
  2078. -`-d'
  2079. -`-o'
  2080. -`-x'
  2081. -     These options may be used in any combination to specify the radix
  2082. -     of numeric matches.  `-d' allows matching on decimal numbers, `-o'
  2083. -     on octal numbers, and `-x' on hexadecimal numbers.  Any
  2084. -     combination of these options may be used.  The default is to match
  2085. -     all three radixes.
  2086. -
  2087. -`-F RANGE'
  2088. -`--frequency=RANGE'
  2089. -     Match tokens whose occurrence count falls in RANGE.  RANGE may be
  2090. -     expressed as a single number N, or as a range N`..'M.  Either
  2091. -     limit of the range may be omitted (e.g., `..'M, or N..`..').  If
  2092. -     the lower limit N is omitted, it defaults to `1'.  If the upper
  2093. -     limit is omitted, it defaults in the present implementation to
  2094. -     `65535', the maximum value of an unsigned 16-bit integer.
  2095. -
  2096. -     Particularly useful queries are `lid -F1', which helps locate
  2097. -     identifiers that are defined but never used, or are used but never
  2098. -     defined.  Similarly, `lid -F2' can help find functions that possess
  2099. -     a prototype declaration and a definition, but are never called.
  2100. -
  2101. -`-a NUMBER'
  2102. -`--ambiguous=NUMBER'
  2103. -     List identifiers (not numbers) that are ambiguous for the first
  2104. -     NUMBER characters.  This feature might be in useful when porting
  2105. -     programs to ancient pea-brained compilers that don't support long
  2106. -     identifier names.  However, the best long-term option is to set
  2107. -     such systems on fire.
  2108. -
  2109. -* Menu:
  2110. -
  2111. -* lid aliases::                 Aliases for specialized lid queries
  2112. -* Emacs gid interface::         GNU Emacs query interface
  2113. -* eid invocation::              Invoking an editor on query results
  2114. -
  2115. -   ---------- Footnotes ----------
  2116. -
  2117. -   (1)  Extended regular expressions are the same as those accepted by
  2118. -`egrep'.
  2119. -
  2120. -
  2121. -File: id-utils.info,  Node: lid aliases,  Next: Emacs gid interface,  Up: lid invocation
  2122. -
  2123. -Aliases for Specialized `lid' Queries
  2124. -=====================================
  2125. -
  2126. -   Historically, the ID utilities have provided several query interfaces
  2127. -which are specializations of `lid' (*note lid invocation::.).
  2128. -
  2129. -`gid'
  2130. -     (alias for `lid -R grep') lists all lines containing the requested
  2131. -     pattern.
  2132. -
  2133. -`eid'
  2134. -     (alias for `lid -R edit') invokes an editor on all files
  2135. -     containing the requested pattern, and optionally initiates a text
  2136. -     search for that pattern.
  2137. -
  2138. -`aid'
  2139. -     (alias for `lid -ils') treats the requested pattern as a
  2140. -     case-insensitive literal substring.
  2141. -
  2142. -
  2143. -File: id-utils.info,  Node: Emacs gid interface,  Next: eid invocation,  Prev: lid aliases,  Up: lid invocation
  2144. -
  2145. -GNU Emacs query interface
  2146. -=========================
  2147. -
  2148. -   The `id-utils' source distribution comes with a file `id-utils.el',
  2149. -which defines a GNU Emacs interface to `gid'.  To install it, put
  2150. -`id-utils.el' somewhere that Emacs will find it (i.e., in your
  2151. -`load-path') and put
  2152. -
  2153. -     (autoload 'gid "gid" nil t)
  2154. -
  2155. -in one of Emacs' initialization files, e.g., `~/.emacs'.  You will then
  2156. -be able to use `M-x gid' to run the command.
  2157. -
  2158. -   The `gid' function prompts you with the word around point.  If you
  2159. -want to search for something else, simply delete the line and type the
  2160. -pattern of interest.
  2161. -
  2162. -   The function then runs the `gid' program in a `*compilation*'
  2163. -buffer, so the normal `next-error' function can be used to visit all
  2164. -the places the identifier is found (*note Compilation:
  2165. -(emacs)Compilation.).
  2166. -
  2167. -
  2168. -File: id-utils.info,  Node: eid invocation,  Prev: Emacs gid interface,  Up: lid invocation
  2169. -
  2170. -`eid': Invoking an Editor on Query Results
  2171. -==========================================
  2172. -
  2173. -   `lid -R edit' is an editing interface for the ID utilities that is
  2174. -most commonly used with `vi'.  Emacs users should use the interface
  2175. -defined in `id-utils.el' (*note Emacs gid interface::.).  The ID
  2176. -utilities include an alias called `eid', and for the sake of brevity,
  2177. -we'll use this alias for the remainder of this section.  `eid' performs
  2178. -a `lid'-style, then asks if you wish to edit the files.  If your query
  2179. -yields more than one line of output, you will be prompted after each
  2180. -line.  This is the prompt you'll see:
  2181. -
  2182. -     Edit? [y1-9^S/nq]
  2183. -
  2184. -You may respond with:
  2185. -
  2186. -`y'
  2187. -     Edit all files listed.
  2188. -
  2189. -`1...9'
  2190. -     Edit all files starting at the N + 1'st file.
  2191. -
  2192. -`/STRING or `CTRL-S'REGEXP'
  2193. -     Search into the file list, and begin editing with the first file
  2194. -     name that matches the regular expression REGEXP.
  2195. -
  2196. -`n'
  2197. -     Don't edit any files.  If another line of query output is pending,
  2198. -     advance to that line, for which another `Edit?' prompt will appear.
  2199. -
  2200. -`q'
  2201. -     Quit--don't edit any files, and don't process any more lines of
  2202. -     query output.
  2203. -
  2204. -   Here is an example:
  2205. -
  2206. -     prompt$ eid FILE \^print
  2207. -     FILE           {ansi2knr,fid,filenames,idfile,idx,lid,misc,...}.c
  2208. -     Edit? [y1-9^S/nq] n
  2209. -     ^print         {ansi2knr,fid,getopt,getopt1,lid,mkid,regex,scanners}.c
  2210. -     Edit? [y1-9^S/nq] 2
  2211. -
  2212. -This will start editing at `getopt'.c.
  2213. -
  2214. -   `eid' invokes the editor defined by the environment variable
  2215. -`VISUAL'.  If `VISUAL' is undefined, it uses the environment variable
  2216. -`EDITOR' instead.  If `EDITOR' is undefined, it defaults to `vi'.  It
  2217. -is possible for `eid' to pass the editor an initial search pattern so
  2218. -that your cursor will immediately alight on the token of interest.
  2219. -This feature is controlled by the following environment variables:
  2220. -
  2221. -`EIDARG'
  2222. -     A printf(3) format string for the editor argument to search for the
  2223. -     matching token.  For `vi', this should be `+/%s/'.
  2224. -
  2225. -`EIDLDEL'
  2226. -     The regular-expression meta-character(s) for delimiting the
  2227. -     beginning of a word (the ``eid' Left DELimiter').  `eid' inserts
  2228. -     this in front of the matching token when a word-search is desired.
  2229. -     For `vi', this should be `\<'.
  2230. -
  2231. -`EIDRDEL'
  2232. -     The regular-expression meta-character(s) for delimiting the end of
  2233. -     a word (the ``eid' Right DELimiter').  `eid' inserts this in end
  2234. -     of the matching token when a word-search is desired.  For `vi',
  2235. -     this should be `\>'.
  2236. -
  2237. -
  2238. -File: id-utils.info,  Node: fid invocation,  Next: fnid invocation,  Prev: lid invocation,  Up: Top
  2239. -
  2240. -`fid': Listing a file's tokens
  2241. -******************************
  2242. -
  2243. -   `fid' prints the tokens found in a given file.  If two file names
  2244. -are passed on the command line, `fid' prints the tokens that are common
  2245. -to both files (i.e., the *set intersection* of the two token sets).
  2246. -
  2247. -   `lid' reads the ID database, therefore it accepts the `--file'
  2248. -option, and consults the `IDPATH' environment variable, as described in
  2249. -*Note Reading options::.
  2250. -
  2251. -   If the standard output is attached to a terminal, the printed tokens
  2252. -are separated by spaces.  Otherwise, the tokens are printed one per
  2253. -line.
  2254. -
  2255. -
  2256. -File: id-utils.info,  Node: fnid invocation,  Next: xtokid invocation,  Prev: fid invocation,  Up: Top
  2257. -
  2258. -`fnid': Looking up filenames
  2259. -****************************
  2260. -
  2261. -   `fnid' queries the list of file names stored in the ID database.  It
  2262. -accepts shell *wildcard* patterns on the command line.  If no pattern
  2263. -is supplied, `*' is implied.  `fnid' prints the file names that match
  2264. -the given patterns.
  2265. -
  2266. -   `fnid' prints file names, and as such accepts the `--separator'
  2267. -option as described in *Note File listing options::.
  2268. -
  2269. -   For example, the command:
  2270. -
  2271. -     fnid \*.c
  2272. -
  2273. -lists all the `.c' files in the database.  (The `\' here protects the
  2274. -`*' from being expanded by the shell.)
  2275. -
  2276. -
  2277. -File: id-utils.info,  Node: xtokid invocation,  Next: Past and Future,  Prev: fnid invocation,  Up: Top
  2278. -
  2279. -`xtokid': Testing Language Scanners
  2280. -***********************************
  2281. -
  2282. -   `xtokid' accepts the names of files and/or directories on the
  2283. -command line, then extracts and prints a stream of tokens from those
  2284. -files for which it has a valid, enabled scanner.  This is useful
  2285. -primarily for debugging new `mkid' scanners (*note Defining
  2286. -scanners::.).
  2287. -
  2288. -   `xtokid' extracts tokens from source files, therefore it accepts the
  2289. -`--lang-map', `--include', `--exclude', and `--lang-option' options, as
  2290. -well as the language-specific scanner options, all of which are
  2291. -described in *Note Extraction options::.  `xtokid' walks file trees,
  2292. -therefore it handles file and directory names on its command line and
  2293. -the `--prune' option as described in *Note Walker options::.
  2294. -
  2295. -   The name `xtokid' indicates that it is the "eXtract TOKens ID
  2296. -utility".
  2297. -
  2298. -
  2299. -File: id-utils.info,  Node: Past and Future,  Next: Index,  Prev: xtokid invocation,  Up: Top
  2300. -
  2301. -Past and Future
  2302. -***************
  2303. -
  2304. -   Greg McGary conceived of the ideas behind the ID utilities when he
  2305. -began working on the Unix kernel in 1984.  He needed a navigation tool
  2306. -to help him find his way around the expansive, unfamiliar landscape.
  2307. -The first `id-utils'-like tools were shell scripts, and produced an
  2308. -ASCII database that looks much like the output of `lid ".*"'.  It took
  2309. -over an hour on a VAX 11/750 to build a database for a 4.1BSD derived
  2310. -kernel.  The first version of `lid' used the UNIX system utility
  2311. -`look', modified to handle very long lines.
  2312. -
  2313. -   In 1986, Greg rewrote the shell scripts in C to improve performance.
  2314. -Build times for the ID file were shortened by an order of magnitude.
  2315. -The ID utilities were first posted to `comp.sources.unix' in September
  2316. -1987 under the name `id'.
  2317. -
  2318. -   Over the next few years, several versions diverged from the original
  2319. -source.  Tom Horsley at Harris Computer Systems Division stepped forward
  2320. -to take over maintenance and integrated some of the fixes from divergent
  2321. -versions.  A first release of the renamed `mkid' version 2 was posted
  2322. -to `alt.sources' near the end of 1990.  At that time, Tom wrote a
  2323. -Texinfo manual with the encouragement the net community.  (Tom
  2324. -especially thanks Doug Scofield and Bill Leonard whom he dragooned into
  2325. -helping poorfraed and edit--they found several problems in the initial
  2326. -version.)  Karl Berry revamped the manual for Texinfo style, indexing,
  2327. -and organization in 1995.
  2328. -
  2329. -   In January 1995, Greg McGary reemerged as the primary maintainer and
  2330. -launched development of `mkid' version 3, whose primary new feature is
  2331. -an efficient algorithm for building databases that is linear in both
  2332. -time and space over the size of the input text.  (The old algorithm was
  2333. -quadratic in space so it was incapable of handling very large source
  2334. -trees.)  For the first time, the code was released under the GNU Public
  2335. -License.
  2336. -
  2337. -   In June 1996, the package was renamed again to `id-utils' and was
  2338. -released for the first time under FSF copyright as part of the GNU
  2339. -system.  All programs had their command-line arguments completely
  2340. -revised.  The `mkid' and `xtokid' programs also gained a file-tree
  2341. -walker, so that directory names can be passed on the command line
  2342. -instead of the names of every individual file.  Greg reorganized and
  2343. -rewrote most of the Texinfo manual to reflect these changes.
  2344. -
  2345. -   Future releases of `id-utils' might include:
  2346. -
  2347. -     an optional coupling with GNU `grep', so that `grep' can use an ID
  2348. -     database for hints
  2349. -
  2350. -     a `cscope' work-alike query interface
  2351. -
  2352. -     incremental update of the ID database.
  2353. -
  2354. -
  2355. -File: id-utils.info,  Node: Index,  Prev: Past and Future,  Up: Top
  2356. -
  2357. -Index
  2358. -*****
  2359. -
  2360. -* Menu:
  2361. -
  2362. -* *compilation* Emacs buffer:           Emacs gid interface.
  2363. -* -ambiguous:                           lid invocation.
  2364. -* -comment:                             Assembler scanner.
  2365. -* -exclude <1>:                         Text scanner.
  2366. -* -exclude:                             Extraction options.
  2367. -* -file <1>:                            Writing options.
  2368. -* -file:                                Reading options.
  2369. -* -frequency:                           lid invocation.
  2370. -* -help:                                Universal options.
  2371. -* -ignore <1>:                          Assembler scanner.
  2372. -* -ignore:                              C/C++ scanner.
  2373. -* -ignore-case:                         lid invocation.
  2374. -* -include <1>:                         Text scanner.
  2375. -* -include:                             Extraction options.
  2376. -* -keep <1>:                            Assembler scanner.
  2377. -* -keep:                                C/C++ scanner.
  2378. -* -lang-map:                            Extraction options.
  2379. -* -lang-option:                         Extraction options.
  2380. -* -lang-option=asm:-comment:            Assembler scanner.
  2381. -* -lang-option=asm:-ignore:             Assembler scanner.
  2382. -* -lang-option=asm:-keep:               Assembler scanner.
  2383. -* -lang-option=asm:-no-cpp:             Assembler scanner.
  2384. -* -lang-option=asm:-strip-underscore:   Assembler scanner.
  2385. -* -lang-option=asm:-c:                  Assembler scanner.
  2386. -* -lang-option=asm:-i:                  Assembler scanner.
  2387. -* -lang-option=asm:-k:                  Assembler scanner.
  2388. -* -lang-option=asm:-n:                  Assembler scanner.
  2389. -* -lang-option=asm:-u:                  Assembler scanner.
  2390. -* -lang-option=C:-ignore:               C/C++ scanner.
  2391. -* -lang-option=C:-keep:                 C/C++ scanner.
  2392. -* -lang-option=C:-strip-underscore:     C/C++ scanner.
  2393. -* -lang-option=C:-i:                    C/C++ scanner.
  2394. -* -lang-option=C:-k:                    C/C++ scanner.
  2395. -* -lang-option=C:-u:                    C/C++ scanner.
  2396. -* -lang-option=text:-exclude:           Text scanner.
  2397. -* -lang-option=text:-include:           Text scanner.
  2398. -* -lang-option=text:-i:                 Text scanner.
  2399. -* -lang-option=text:-x:                 Text scanner.
  2400. -* -literal:                             lid invocation.
  2401. -* -no-cpp:                              Assembler scanner.
  2402. -* -output:                              Writing options.
  2403. -* -prune:                               Walker options.
  2404. -* -regexp:                              lid invocation.
  2405. -* -result:                              lid invocation.
  2406. -* -separator:                           File listing options.
  2407. -* -statistics:                          mkid invocation.
  2408. -* -strip-underscore <1>:                Assembler scanner.
  2409. -* -strip-underscore:                    C/C++ scanner.
  2410. -* -substring:                           lid invocation.
  2411. -* -verbose:                             mkid invocation.
  2412. -* -version:                             Universal options.
  2413. -* -word:                                lid invocation.
  2414. -* -a:                                   lid invocation.
  2415. -* -c:                                   Assembler scanner.
  2416. -* -d:                                   lid invocation.
  2417. -* -F:                                   lid invocation.
  2418. -* -f <1>:                               Writing options.
  2419. -* -f:                                   Reading options.
  2420. -* -i <1>:                               lid invocation.
  2421. -* -i <1>:                               Text scanner.
  2422. -* -i <1>:                               Assembler scanner.
  2423. -* -i <1>:                               C/C++ scanner.
  2424. -* -i:                                   Extraction options.
  2425. -* -k <1>:                               lid invocation.
  2426. -* -k <1>:                               Assembler scanner.
  2427. -* -k:                                   C/C++ scanner.
  2428. -* -l <1>:                               lid invocation.
  2429. -* -l:                                   Extraction options.
  2430. -* -l asm:-comment:                      Assembler scanner.
  2431. -* -l asm:-ignore:                       Assembler scanner.
  2432. -* -l asm:-keep:                         Assembler scanner.
  2433. -* -l asm:-no-cpp:                       Assembler scanner.
  2434. -* -l asm:-strip-underscore:             Assembler scanner.
  2435. -* -l asm:-c:                            Assembler scanner.
  2436. -* -l asm:-i:                            Assembler scanner.
  2437. -* -l asm:-k:                            Assembler scanner.
  2438. -* -l asm:-n:                            Assembler scanner.
  2439. -* -l asm:-u:                            Assembler scanner.
  2440. -* -l C:-ignore:                         C/C++ scanner.
  2441. -* -l C:-keep:                           C/C++ scanner.
  2442. -* -l C:-strip-underscore:               C/C++ scanner.
  2443. -* -l C:-i:                              C/C++ scanner.
  2444. -* -l C:-k:                              C/C++ scanner.
  2445. -* -l C:-u:                              C/C++ scanner.
  2446. -* -l text:-exclude:                     Text scanner.
  2447. -* -l text:-include:                     Text scanner.
  2448. -* -l text:-i:                           Text scanner.
  2449. -* -l text:-x:                           Text scanner.
  2450. -* -m:                                   Extraction options.
  2451. -* -n:                                   Assembler scanner.
  2452. -* -o <1>:                               lid invocation.
  2453. -* -o:                                   Writing options.
  2454. -* -p:                                   Walker options.
  2455. -* -r:                                   lid invocation.
  2456. -* -s <1>:                               lid invocation.
  2457. -* -s:                                   mkid invocation.
  2458. -* -S:                                   File listing options.
  2459. -* -u <1>:                               Assembler scanner.
  2460. -* -u:                                   C/C++ scanner.
  2461. -* -v:                                   mkid invocation.
  2462. -* -w:                                   lid invocation.
  2463. -* -x <1>:                               lid invocation.
  2464. -* -x <1>:                               Text scanner.
  2465. -* -x:                                   Extraction options.
  2466. -* mkid progress:                        mkid invocation.
  2467. -* alphabetic case, ignoring differences in: lid invocation.
  2468. -* ambiguous identifier names, finding:  lid invocation.
  2469. -* architecture-independence:            mkid invocation.
  2470. -* assembler scanner:                    Assembler scanner.
  2471. -* assembly language scanner:            Assembler scanner.
  2472. -* beginning-of-word editor argument:    eid invocation.
  2473. -* Berry, Karl:                          Past and Future.
  2474. -* bugs, reporting:                      Introduction.
  2475. -* C scanner, predefined:                C/C++ scanner.
  2476. -* common command-line options:          Common options.
  2477. -* creating databases:                   mkid invocation.
  2478. -* cron:                                 mkid invocation.
  2479. -* cscope:                               Past and Future.
  2480. -* databases, creating:                  mkid invocation.
  2481. -* eid:                                  eid invocation.
  2482. -* EIDARG:                               eid invocation.
  2483. -* EIDLDEL:                              eid invocation.
  2484. -* EIDRDEL:                              eid invocation.
  2485. -* Emacs interface to gid:               Emacs gid interface.
  2486. -* end-of-word editor argument:          eid invocation.
  2487. -* exclude languages:                    Extraction options.
  2488. -* fid:                                  fid invocation.
  2489. -* file name separator:                  File listing options.
  2490. -* file tree pruning:                    Walker options.
  2491. -* filenames, matching:                  fnid invocation.
  2492. -* fnid:                                 fnid invocation.
  2493. -* future:                               Past and Future.
  2494. -* gid Emacs function:                   Emacs gid interface.
  2495. -* grep:                                 Past and Future.
  2496. -* help, online:                         Universal options.
  2497. -* history:                              Past and Future.
  2498. -* Horsley, Tom:                         Past and Future.
  2499. -* ID database file name <1>:            Writing options.
  2500. -* ID database file name:                Reading options.
  2501. -* ID database, definition of:           Introduction.
  2502. -* ID file format:                       mkid invocation.
  2503. -* id-utils.el interface to Emacs:       Emacs gid interface.
  2504. -* ignoring differences in alphabetic case: lid invocation.
  2505. -* include languages:                    Extraction options.
  2506. -* introduction:                         Introduction.
  2507. -* language map file:                    Extraction options.
  2508. -* language-specific option:             Extraction options.
  2509. -* languages_0:                          Defining scanners.
  2510. -* left delimiter editor argument:       eid invocation.
  2511. -* Leonard, Bill:                        Past and Future.
  2512. -* load-path:                            Emacs gid interface.
  2513. -* look and mkid 1:                      Past and Future.
  2514. -* matching filenames:                   fnid invocation.
  2515. -* McGary, Greg:                         Past and Future.
  2516. -* numeric matches, specifying radix of: lid invocation.
  2517. -* overview:                             Introduction.
  2518. -* radix of numeric matches, specifying: lid invocation.
  2519. -* right delimiter editor argument:      eid invocation.
  2520. -* scanners:                             Extraction options.
  2521. -* scanners, defining in source code:    Defining scanners.
  2522. -* scanners.c:                           Defining scanners.
  2523. -* Scofield, Doug:                       Past and Future.
  2524. -* search for token, initial:            eid invocation.
  2525. -* sharing ID files:                     mkid invocation.
  2526. -* single matches, showing:              lid invocation.
  2527. -* statistics:                           mkid invocation.
  2528. -* text scanner:                         Text scanner.
  2529. -* tokens common to two files:           fid invocation.
  2530. -* tokens in a file:                     fid invocation.
  2531. -* version number, finding:              Universal options.
  2532. -
  2533. -
  2534. -
  2535. -Tag Table:
  2536. -Node: Top1278
  2537. -Node: Introduction2031
  2538. -Node: Quick start4560
  2539. -Node: Common options5485
  2540. -Node: Universal options6283
  2541. -Node: Reading options6608
  2542. -Node: Writing options7725
  2543. -Node: Walker options8221
  2544. -Node: File listing options9060
  2545. -Node: Extraction options10151
  2546. -Node: Language map12701
  2547. -Node: C/C++ scanner14907
  2548. -Node: Assembler scanner16522
  2549. -Node: Text scanner18618
  2550. -Node: Defining scanners19426
  2551. -Node: mkid invocation20648
  2552. -Node: lid invocation22929
  2553. -Node: lid aliases28314
  2554. -Node: Emacs gid interface28992
  2555. -Node: eid invocation29909
  2556. -Node: fid invocation32493
  2557. -Node: fnid invocation33180
  2558. -Node: xtokid invocation33855
  2559. -Node: Past and Future34794
  2560. -Node: Index37486
  2561. -
  2562. -End Tag Table
  2563. diff -rup --new-file baseline/fsf/id-utils/manifests/bin amiga/fsf/id-utils/manifests/bin
  2564. --- baseline/fsf/id-utils/manifests/bin    Wed Dec 31 17:00:00 1969
  2565. +++ amiga/fsf/id-utils/manifests/bin    Sat Sep 28 00:00:00 1996
  2566. @@ -0,0 +1,17 @@
  2567. +bin/aid
  2568. +bin/defid
  2569. +bin/eid
  2570. +bin/fid
  2571. +bin/fnid
  2572. +bin/gid
  2573. +bin/lid
  2574. +bin/mkid
  2575. +bin/xtokid
  2576. +dvi/id-utils.dvi
  2577. +guide/id-utils.guide
  2578. +info/id-utils.info
  2579. +lib/emacs/site-lisp/id-utils.elc
  2580. +ps/id-utils.ps
  2581. +share/id-lang.map
  2582. +share/locale/de/LC_MESSAGES/id-utils.mo
  2583. +share/locale/fr/LC_MESSAGES/id-utils.mo
  2584. diff -rup --new-file baseline/fsf/id-utils/manifests/src amiga/fsf/id-utils/manifests/src
  2585. --- baseline/fsf/id-utils/manifests/src    Wed Dec 31 17:00:00 1969
  2586. +++ amiga/fsf/id-utils/manifests/src    Sat Sep 28 00:00:00 1996
  2587. @@ -0,0 +1,138 @@
  2588. +fsf/id-utils/ABOUT-NLS
  2589. +fsf/id-utils/AUTHORS
  2590. +fsf/id-utils/COPYING
  2591. +fsf/id-utils/ChangeLog
  2592. +fsf/id-utils/INSTALL
  2593. +fsf/id-utils/Makefile.am
  2594. +fsf/id-utils/Makefile.in
  2595. +fsf/id-utils/NEWS
  2596. +fsf/id-utils/Product-Info
  2597. +fsf/id-utils/README
  2598. +fsf/id-utils/THANKS
  2599. +fsf/id-utils/TODO
  2600. +fsf/id-utils/acconfig.h
  2601. +fsf/id-utils/aclocal.m4
  2602. +fsf/id-utils/config.h.in
  2603. +fsf/id-utils/configure
  2604. +fsf/id-utils/configure.in
  2605. +fsf/id-utils/doc/Makefile.am
  2606. +fsf/id-utils/doc/Makefile.in
  2607. +fsf/id-utils/doc/id-utils.texi
  2608. +fsf/id-utils/doc/mdate-sh
  2609. +fsf/id-utils/doc/stamp-vti
  2610. +fsf/id-utils/doc/texinfo.tex
  2611. +fsf/id-utils/doc/version.texi
  2612. +fsf/id-utils/install-sh
  2613. +fsf/id-utils/intl/ChangeLog
  2614. +fsf/id-utils/intl/Makefile.in
  2615. +fsf/id-utils/intl/VERSION
  2616. +fsf/id-utils/intl/bindtextdom.c
  2617. +fsf/id-utils/intl/cat-compat.c
  2618. +fsf/id-utils/intl/dcgettext.c
  2619. +fsf/id-utils/intl/dgettext.c
  2620. +fsf/id-utils/intl/explodename.c
  2621. +fsf/id-utils/intl/finddomain.c
  2622. +fsf/id-utils/intl/gettext.c
  2623. +fsf/id-utils/intl/gettext.h
  2624. +fsf/id-utils/intl/gettextP.h
  2625. +fsf/id-utils/intl/hash-string.h
  2626. +fsf/id-utils/intl/intl-compat.c
  2627. +fsf/id-utils/intl/l10nflist.c
  2628. +fsf/id-utils/intl/libgettext.h
  2629. +fsf/id-utils/intl/linux-msg.sed
  2630. +fsf/id-utils/intl/loadinfo.h
  2631. +fsf/id-utils/intl/loadmsgcat.c
  2632. +fsf/id-utils/intl/localealias.c
  2633. +fsf/id-utils/intl/po2tbl.sed.in
  2634. +fsf/id-utils/intl/textdomain.c
  2635. +fsf/id-utils/intl/xopen-msg.sed
  2636. +fsf/id-utils/lib/Makefile.am
  2637. +fsf/id-utils/lib/Makefile.in
  2638. +fsf/id-utils/lib/alloca.c
  2639. +fsf/id-utils/lib/ansidecl.h
  2640. +fsf/id-utils/lib/basename.c
  2641. +fsf/id-utils/lib/dirname.c
  2642. +fsf/id-utils/lib/error.c
  2643. +fsf/id-utils/lib/error.h
  2644. +fsf/id-utils/lib/fnmatch.c
  2645. +fsf/id-utils/lib/fnmatch.h
  2646. +fsf/id-utils/lib/getopt.c
  2647. +fsf/id-utils/lib/getopt.h
  2648. +fsf/id-utils/lib/getopt1.c
  2649. +fsf/id-utils/lib/memcpy.c
  2650. +fsf/id-utils/lib/memset.c
  2651. +fsf/id-utils/lib/obstack.c
  2652. +fsf/id-utils/lib/obstack.h
  2653. +fsf/id-utils/lib/pathmax.h
  2654. +fsf/id-utils/lib/regex.c
  2655. +fsf/id-utils/lib/regex.h
  2656. +fsf/id-utils/lib/rx.c
  2657. +fsf/id-utils/lib/rx.h
  2658. +fsf/id-utils/lib/strcasecmp.c
  2659. +fsf/id-utils/lib/strcspn.c
  2660. +fsf/id-utils/lib/strdup.c
  2661. +fsf/id-utils/lib/strndup.c
  2662. +fsf/id-utils/lib/strpbrk.c
  2663. +fsf/id-utils/lib/strspn.c
  2664. +fsf/id-utils/lib/strstr.c
  2665. +fsf/id-utils/lib/strtok.c
  2666. +fsf/id-utils/lib/xalloca.h
  2667. +fsf/id-utils/lib/xdirent.h
  2668. +fsf/id-utils/lib/xfnmatch.h
  2669. +fsf/id-utils/lib/xgetcwd.c
  2670. +fsf/id-utils/lib/xmalloc.c
  2671. +fsf/id-utils/lib/xmalloc.h
  2672. +fsf/id-utils/lib/xobstack.h
  2673. +fsf/id-utils/lib/xstddef.h
  2674. +fsf/id-utils/lib/xstdlib.h
  2675. +fsf/id-utils/lib/xstring.h
  2676. +fsf/id-utils/lib/xsysstat.h
  2677. +fsf/id-utils/lib/xunistd.h
  2678. +fsf/id-utils/libidu/Makefile.am
  2679. +fsf/id-utils/libidu/Makefile.in
  2680. +fsf/id-utils/libidu/ansi2knr.1
  2681. +fsf/id-utils/libidu/ansi2knr.c
  2682. +fsf/id-utils/libidu/dynvec.c
  2683. +fsf/id-utils/libidu/dynvec.h
  2684. +fsf/id-utils/libidu/fnprint.c
  2685. +fsf/id-utils/libidu/hash.c
  2686. +fsf/id-utils/libidu/hash.h
  2687. +fsf/id-utils/libidu/id-lang.map
  2688. +fsf/id-utils/libidu/idfile.c
  2689. +fsf/id-utils/libidu/idfile.h
  2690. +fsf/id-utils/libidu/idread.c
  2691. +fsf/id-utils/libidu/idwrite.c
  2692. +fsf/id-utils/libidu/scanners.c
  2693. +fsf/id-utils/libidu/scanners.h
  2694. +fsf/id-utils/libidu/tokflags.h
  2695. +fsf/id-utils/libidu/walker.c
  2696. +fsf/id-utils/libidu/xnls.h
  2697. +fsf/id-utils/lisp/Makefile.am
  2698. +fsf/id-utils/lisp/Makefile.in
  2699. +fsf/id-utils/lisp/elisp-comp
  2700. +fsf/id-utils/lisp/id-utils.el
  2701. +fsf/id-utils/manifests/bin
  2702. +fsf/id-utils/manifests/src
  2703. +fsf/id-utils/mkinstalldirs
  2704. +fsf/id-utils/po/ChangeLog
  2705. +fsf/id-utils/po/Makefile.in.in
  2706. +fsf/id-utils/po/POTFILES.in
  2707. +fsf/id-utils/po/de.po
  2708. +fsf/id-utils/po/fr.po
  2709. +fsf/id-utils/src/Makefile.am
  2710. +fsf/id-utils/src/Makefile.in
  2711. +fsf/id-utils/src/aid
  2712. +fsf/id-utils/src/ansi2knr.1
  2713. +fsf/id-utils/src/ansi2knr.c
  2714. +fsf/id-utils/src/defid
  2715. +fsf/id-utils/src/eid
  2716. +fsf/id-utils/src/fid.c
  2717. +fsf/id-utils/src/fnid.c
  2718. +fsf/id-utils/src/gid
  2719. +fsf/id-utils/src/lid.c
  2720. +fsf/id-utils/src/mkid.c
  2721. +fsf/id-utils/src/xtokid.c
  2722. +fsf/id-utils/stamp-h.in
  2723. +fsf/id-utils/testsuite/Makefile.am
  2724. +fsf/id-utils/testsuite/Makefile.in
  2725. +fsf/id-utils/testsuite/consistency
  2726. diff -rup --new-file baseline/fsf/id-utils/po/Makefile.in.in amiga/fsf/id-utils/po/Makefile.in.in
  2727. --- baseline/fsf/id-utils/po/Makefile.in.in    Wed Jul 17 14:37:14 1996
  2728. +++ amiga/fsf/id-utils/po/Makefile.in.in    Sat Sep 28 00:00:00 1996
  2729. @@ -72,13 +72,13 @@ INSTOBJEXT = @INSTOBJEXT@
  2730.  
  2731.  .po.pox:
  2732.      $(MAKE) $(PACKAGE).pot
  2733. -    $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox
  2734. +    $(MSGMERGE) $< $(PACKAGE).pot -o $*.pox
  2735.  
  2736.  .po.mo:
  2737.      $(MSGFMT) -o $@ $<
  2738.  
  2739.  .po.gmo:
  2740. -    file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
  2741. +    file=`echo $* | sed 's,.*/,,'`.gmo \
  2742.        && rm -f $$file && $(GMSGFMT) -o $$file $<
  2743.  
  2744.  .po.cat:
  2745. @@ -91,31 +91,32 @@ all: all-@USE_NLS@
  2746.  all-yes: cat-id-tbl.c $(CATALOGS)
  2747.  all-no:
  2748.  
  2749. +# Build the .pot file only in the build directory.
  2750.  $(PACKAGE).pot: $(POTFILES)
  2751.      $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
  2752.        --add-comments --keyword=_ --keyword=N_ \
  2753.        --files-from=$(srcdir)/POTFILES.in
  2754.      if [ ! -s $(PACKAGE).po ] \
  2755. -      || cmp -s $(PACKAGE).po $(srcdir)/$(PACKAGE).pot; then \
  2756. +      || cmp -s $(PACKAGE).po $(PACKAGE).pot; then \
  2757.        rm -f $(PACKAGE).po; \
  2758.      else \
  2759. -      rm -f $(srcdir)/$(PACKAGE).pot \
  2760. -        && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot; \
  2761. +      rm -f $(PACKAGE).pot \
  2762. +        && mv $(PACKAGE).po $(PACKAGE).pot; \
  2763.      fi
  2764.  
  2765.  cat-id-tbl.c: stamp-cat-id
  2766.  stamp-cat-id: $(PACKAGE).pot
  2767.      rm -f cat-id-tbl.tmp
  2768. -    sed -f ../intl/po2tbl.sed $(srcdir)/$(PACKAGE).pot \
  2769. +    sed -f ../intl/po2tbl.sed $(PACKAGE).pot \
  2770.          | sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > cat-id-tbl.tmp
  2771. -    if cmp -s cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; then \
  2772. +    if cmp -s cat-id-tbl.tmp cat-id-tbl.c; then \
  2773.        rm cat-id-tbl.tmp; \
  2774.      else \
  2775.        echo cat-id-tbl.c changed; \
  2776. -      rm -f $(srcdir)/cat-id-tbl.c; \
  2777. -      mv cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; \
  2778. +      rm -f cat-id-tbl.c; \
  2779. +      mv cat-id-tbl.tmp cat-id-tbl.c; \
  2780.      fi
  2781. -    cd $(srcdir) && rm -f stamp-cat-id && echo timestamp > stamp-cat-id
  2782. +    rm -f stamp-cat-id && echo timestamp > stamp-cat-id
  2783.  
  2784.  
  2785.  install: install-exec install-data
  2786. diff -rup --new-file baseline/fsf/id-utils/po/cat-id-tbl.c amiga/fsf/id-utils/po/cat-id-tbl.c
  2787. --- baseline/fsf/id-utils/po/cat-id-tbl.c    Wed Jul 17 14:58:24 1996
  2788. +++ amiga/fsf/id-utils/po/cat-id-tbl.c    Wed Dec 31 17:00:00 1969
  2789. @@ -1,206 +0,0 @@
  2790. -/* Automatically generated by po2tbl.sed from id-utils.pot.  */
  2791. -
  2792. -#if HAVE_CONFIG_H
  2793. -# include <config.h>
  2794. -#endif
  2795. -
  2796. -#include "libgettext.h"
  2797. -
  2798. -const struct _msg_ent _msg_tbl[] = {
  2799. -  {"", 1},
  2800. -  {"can't allocate %ld bytes for hash table: memory exhausted", 2},
  2801. -  {"Load=%ld/%ld=%.0f%%, ", 3},
  2802. -  {"Rehash=%d, ", 4},
  2803. -  {"Collisions=%ld/%ld=%.0f%%", 5},
  2804. -  {"can't determine the io_size of a string!", 6},
  2805. -  {"can't open `%s'", 7},
  2806. -  {"`%s' is not an ID file! (bad magic #)", 8},
  2807. -  {"`%s' is version %d, but I only grok version %d", 9},
  2808. -  {"unsupported size in io_read (): %d", 10},
  2809. -  {"unknown I/O type: %d", 11},
  2810. -  {"unsupported size in io_write (): %d", 12},
  2811. -  {"unrecognized language: `%s'", 13},
  2812. -  {"can't allocate language args obstack: memory exhausted", 14},
  2813. -  {"can't allocate language args: memory exhausted", 15},
  2814. -  {"language name expected following `%s' in file `%s'", 16},
  2815. -  {"can't open language map file `%s'", 17},
  2816. -  {"can't get size of map file `%s'", 18},
  2817. -  {"can't read language map file `%s'", 19},
  2818. -  {"can't read entire language map file `%s'", 20},
  2819. -  {"\
  2820. -C language:\n\
  2821. -  -k,--keep=CHARS        Allow CHARS in single-token strings, keep the \
  2822. -result\n\
  2823. -  -i,--ignore=CHARS      Allow CHARS in single-token strings, toss the \
  2824. -result\n\
  2825. -  -u,--strip-underscore  Strip a leading underscore from single-token \
  2826. -strings\n", 21},
  2827. -  {"junk: `%c'", 22},
  2828. -  {"junk: `\\%03o'", 23},
  2829. -  {"\
  2830. -Assembly language:\n\
  2831. -  -c,--comment=CHARS     Any of CHARS starts a comment until end-of-line\n\
  2832. -  -k,--keep=CHARS        Allow CHARS in tokens, and keep the result\n\
  2833. -  -i,--ignore=CHARS      Allow CHARS in tokens, and toss the result\n\
  2834. -  -u,--strip-underscore  Strip a leading underscore from tokens\n\
  2835. -  -n,--no-cpp            Don't handle C pre-processor directives\n", 24},
  2836. -  {"\
  2837. -Text language:\n\
  2838. -  -i,--include=CHAR-CLASS  Treat characters of CHAR-CLASS as token \
  2839. -constituents\n\
  2840. -  -x,--exclude=CHAR-CLASS  Treat characters of CHAR-CLASS as token \
  2841. -delimiters\n", 25},
  2842. -  {"can't read directory `%s' (`.' from `%s')", 26},
  2843. -  {"notice: `%s' was a %s, but is now a %s!", 27},
  2844. -  {"file", 28},
  2845. -  {"directory", 29},
  2846. -  {"warning: `%s' and `%s' are the same file, but yield different scans!", 30},
  2847. -  {"notice: scan parameters changed for `%s'", 31},
  2848. -  {"can't get working directory", 32},
  2849. -  {"can't chdir to `%s'", 33},
  2850. -  {"can't chdir to `%s' from `%s'", 34},
  2851. -  {"can't lstat `%s' from `%s'", 35},
  2852. -  {"can't stat `%s' from `%s'", 36},
  2853. -  {"%s: option `%s' is ambiguous\n", 37},
  2854. -  {"%s: option `--%s' doesn't allow an argument\n", 38},
  2855. -  {"%s: option `%c%s' doesn't allow an argument\n", 39},
  2856. -  {"%s: option `%s' requires an argument\n", 40},
  2857. -  {"%s: unrecognized option `--%s'\n", 41},
  2858. -  {"%s: unrecognized option `%c%s'\n", 42},
  2859. -  {"%s: illegal option -- %c\n", 43},
  2860. -  {"%s: invalid option -- %c\n", 44},
  2861. -  {"%s: option requires an argument -- %c\n", 45},
  2862. -  {"Try `%s --help' for more information.\n", 46},
  2863. -  {"Usage: %s [OPTION] FILENAME [FILENAME2]\n", 47},
  2864. -  {"\
  2865. -List identifiers that occur in FILENAME, or if FILENAME2 is\n\
  2866. -also given list the identifiers that occur in both files.\n\
  2867. -\n\
  2868. -  -f, --file=FILE  file name of ID database\n\
  2869. -      --help       display this help and exit\n\
  2870. -      --version    output version information and exit\n", 48},
  2871. -  {"no file name arguments", 49},
  2872. -  {"too many file name arguments", 50},
  2873. -  {"can't locate `ID'", 51},
  2874. -  {"`%s' is ambiguous", 52},
  2875. -  {"`%s' not found", 53},
  2876. -  {"Usage: %s [OPTION]... [PATTERN]...\n", 54},
  2877. -  {"\
  2878. -Print constituent file names that match PATTERN,\n\
  2879. -using shell-style wildcards.\n\
  2880. -  -f, --file=FILE        file name of ID database\n\
  2881. -  -S, --separator=STYLE  STYLE is one of `braces', `space' or `newline'\n\
  2882. -      --help             display this help and exit\n\
  2883. -      --version          output version information and exit\n", 55},
  2884. -  {"Usage: %s [OPTION]... PATTERN...\n", 56},
  2885. -  {"\
  2886. -Query ID database and report results.\n\
  2887. -By default, output consists of multiple lines, each line containing the\n\
  2888. -matched identifier followed by the list of file names in which it occurs.\n\
  2889. -\n\
  2890. -  -f, --file=FILE       file name of ID database\n\
  2891. -\n\
  2892. -  -i, --ignore-case     match PATTERN case insensitively\n\
  2893. -  -l, --literal         match PATTERN as a literal string\n\
  2894. -  -r, --regexp          match PATTERN as a regular expression\n\
  2895. -  -w, --word            match PATTERN as a delimited word\n\
  2896. -  -s, --substring       match PATTERN as a substring\n\
  2897. -            Note: If PATTERN contains extended regular expression meta-\n\
  2898. -            characters, it is interpreted as a regular expression \
  2899. -substring.\n\
  2900. -            Otherwise, PATTERN is interpreted as a literal word.\n\
  2901. -\n\
  2902. -  -k, --key=STYLE       STYLE is one of `token', `pattern' or `none'\n\
  2903. -  -R, --result=STYLE    STYLE is one of `filenames', `grep', `edit' or \
  2904. -`none'\n\
  2905. -  -S, --separator=STYLE STYLE is one of `braces', `space' or `newline' and\n\
  2906. -                        only applies to file names when \
  2907. -`--result=filenames'\n\
  2908. -            The above STYLE options control how query results are \
  2909. -presented.\n\
  2910. -            Defaults are --key=token --result=filenames --separator=%s\n\
  2911. -\n\
  2912. -  -F, --frequency=FREQ  find tokens that occur FREQ times, where FREQ\n\
  2913. -                        is a range expressed as `N..M'.  If N is omitted, \
  2914. -it\n\
  2915. -                        defaults to 1, if M is omitted it defaults to \
  2916. -MAX_USHRT\n\
  2917. -  -a, --ambiguous=LEN   find tokens whose names are ambiguous for LEN chars\n\
  2918. -\n\
  2919. -  -x, --hex             only find numbers expressed as hexadecimal\n\
  2920. -  -d, --decimal         only find numbers expressed as decimal\n\
  2921. -  -o, --octal           only find numbers expressed as octal\n\
  2922. -            By default, searches match numbers of any radix.\n\
  2923. -\n\
  2924. -      --help            display this help and exit\n\
  2925. -      --version         output version information and exit\n", 57},
  2926. -  {"braces", 58},
  2927. -  {"space", 59},
  2928. -  {"notice: use of `-e' is deprecated, use `-r' instead", 60},
  2929. -  {"All identifiers are non-ambiguous within the first %d characters\n", 61},
  2930. -  {"invalid `--key' style: `%s'", 62},
  2931. -  {"invalid `--result' style: `%s'", 63},
  2932. -  {"edit? [y1-9^S/nq] ", 64},
  2933. -  {"can't fork", 65},
  2934. -  {"can't exec `%s'", 66},
  2935. -  {"can't match regular-expression: memory exhausted", 67},
  2936. -  {"Usage: %s [OPTION]... [FILE]...\n", 68},
  2937. -  {"\
  2938. -Build an identifier database.\n\
  2939. -  -o, --output=OUTFILE    file name of ID database output\n\
  2940. -  -f, --file=OUTFILE      synonym for --output\n\
  2941. -  -i, --include=LANGS     include languages in LANGS (default: \"C C++ \
  2942. -asm\")\n\
  2943. -  -x, --exclude=LANGS     exclude languages in LANGS\n\
  2944. -  -l, --lang-option=L:OPT pass OPT as a default for language L (see below)\n\
  2945. -  -m, --lang-map=MAPFILE  use MAPFILE to map file names onto source \
  2946. -language\n\
  2947. -  -d, --default-lang=LANG make LANG the default source language\n\
  2948. -  -p, --prune=NAMES       exclude the named files and/or directories\n\
  2949. -  -v, --verbose           report per file statistics\n\
  2950. -  -s, --statistics        report statistics at end of run\n\
  2951. -\n\
  2952. -      --help              display this help and exit\n\
  2953. -      --version           output version information and exit\n\
  2954. -\n\
  2955. -FILE may be a file name, or a directory name to recursively search.\n\
  2956. -If no FILE is given, the current directory is searched by default.\n\
  2957. -Note that the `--include' and `--exclude' options are mutually-exclusive.\n\
  2958. -\n\
  2959. -The following arguments apply to the language-specific scanners:\n", 69},
  2960. -  {"can't create `%s' in `%s'", 70},
  2961. -  {"can't modify `%s'", 71},
  2962. -  {"can't stat `%s'", 72},
  2963. -  {"  new = %d/%d", 73},
  2964. -  {"Name=%ld, ", 74},
  2965. -  {"Number=%ld, ", 75},
  2966. -  {"String=%ld, ", 76},
  2967. -  {"Literal=%ld, ", 77},
  2968. -  {"Comment=%ld\n", 78},
  2969. -  {"Files=%d, ", 79},
  2970. -  {"Tokens=%ld, ", 80},
  2971. -  {"Bytes=%ld Kb, ", 81},
  2972. -  {"Heap=%ld+%ld Kb, ", 82},
  2973. -  {"Output=%ld (%ld tok, %ld hit)\n", 83},
  2974. -  {", Freq=%ld/%ld=%.2f\n", 84},
  2975. -  {"Sorting tokens...\n", 85},
  2976. -  {"Writing `%s'...\n", 86},
  2977. -  {"can't create `%s'", 87},
  2978. -  {"level %d: %ld/%ld = %.0f%%\n", 88},
  2979. -  {"\
  2980. -Print all tokens found in a source file.\n\
  2981. -  -i, --include=LANGS     include languages in LANGS (default: \"C C++ \
  2982. -asm\")\n\
  2983. -  -x, --exclude=LANGS     exclude languages in LANGS\n\
  2984. -  -l, --lang-option=L:OPT pass OPT as a default for language L (see below)\n\
  2985. -  -m, --lang-map=MAPFILE  use MAPFILE to map file names onto source \
  2986. -language\n\
  2987. -  -d, --default-lang=LANG make LANG the default source language\n\
  2988. -  -p, --prune=NAMES       exclude the named files and/or directories\n\
  2989. -      --help              display this help and exit\n\
  2990. -      --version           output version information and exit\n\
  2991. -\n\
  2992. -The following arguments apply to the language-specific scanners:\n", 89},
  2993. -};
  2994. -
  2995. -int _msg_tbl_length = 89;
  2996. Binary files baseline/fsf/id-utils/po/de.gmo and amiga/fsf/id-utils/po/de.gmo differ
  2997. Binary files baseline/fsf/id-utils/po/fr.gmo and amiga/fsf/id-utils/po/fr.gmo differ
  2998. diff -rup --new-file baseline/fsf/id-utils/po/id-utils.pot amiga/fsf/id-utils/po/id-utils.pot
  2999. --- baseline/fsf/id-utils/po/id-utils.pot    Tue Aug  6 20:24:27 1996
  3000. +++ amiga/fsf/id-utils/po/id-utils.pot    Wed Dec 31 17:00:00 1969
  3001. @@ -1,538 +0,0 @@
  3002. -# SOME DESCRIPTIVE TITLE.
  3003. -# Copyright (C) YEAR Free Software Foundation, Inc.
  3004. -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  3005. -#
  3006. -#, fuzzy
  3007. -msgid ""
  3008. -msgstr ""
  3009. -"Project-Id-Version: PACKAGE VERSION\n"
  3010. -"POT-Creation-Date: 1996-08-06 23:24-0400\n"
  3011. -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  3012. -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  3013. -"Language-Team: LANGUAGE <LL@li.org>\n"
  3014. -"MIME-Version: 1.0\n"
  3015. -"Content-Type: text/plain; charset=CHARSET\n"
  3016. -"Content-Transfer-Encoding: ENCODING\n"
  3017. -
  3018. -#: libidu/hash.c:52
  3019. -#, c-format
  3020. -msgid "can't allocate %ld bytes for hash table: memory exhausted"
  3021. -msgstr ""
  3022. -
  3023. -#: libidu/hash.c:247
  3024. -msgid "Load=%ld/%ld=%.0f%%, "
  3025. -msgstr ""
  3026. -
  3027. -#: libidu/hash.c:249
  3028. -#, c-format
  3029. -msgid "Rehash=%d, "
  3030. -msgstr ""
  3031. -
  3032. -#: libidu/hash.c:250
  3033. -msgid "Collisions=%ld/%ld=%.0f%%"
  3034. -msgstr ""
  3035. -
  3036. -#: libidu/idfile.c:106
  3037. -msgid "can't determine the io_size of a string!"
  3038. -msgstr ""
  3039. -
  3040. -#: libidu/idread.c:45 src/mkid.c:386 src/xtokid.c:214
  3041. -#, c-format
  3042. -msgid "can't open `%s'"
  3043. -msgstr ""
  3044. -
  3045. -#: libidu/idread.c:64
  3046. -#, c-format
  3047. -msgid "`%s' is not an ID file! (bad magic #)"
  3048. -msgstr ""
  3049. -
  3050. -#: libidu/idread.c:66
  3051. -#, c-format
  3052. -msgid "`%s' is version %d, but I only grok version %d"
  3053. -msgstr ""
  3054. -
  3055. -#: libidu/idread.c:186
  3056. -#, c-format
  3057. -msgid "unsupported size in io_read (): %d"
  3058. -msgstr ""
  3059. -
  3060. -#: libidu/idread.c:194 libidu/idwrite.c:167
  3061. -#, c-format
  3062. -msgid "unknown I/O type: %d"
  3063. -msgstr ""
  3064. -
  3065. -#: libidu/idwrite.c:156
  3066. -#, c-format
  3067. -msgid "unsupported size in io_write (): %d"
  3068. -msgstr ""
  3069. -
  3070. -#: libidu/scanners.c:93
  3071. -#, c-format
  3072. -msgid "unrecognized language: `%s'"
  3073. -msgstr ""
  3074. -
  3075. -#: libidu/scanners.c:139
  3076. -msgid "can't allocate language args obstack: memory exhausted"
  3077. -msgstr ""
  3078. -
  3079. -#: libidu/scanners.c:193 libidu/scanners.c:262
  3080. -msgid "can't allocate language args: memory exhausted"
  3081. -msgstr ""
  3082. -
  3083. -#: libidu/scanners.c:201
  3084. -#, c-format
  3085. -msgid "language name expected following `%s' in file `%s'"
  3086. -msgstr ""
  3087. -
  3088. -#: libidu/scanners.c:256
  3089. -#, c-format
  3090. -msgid "can't open language map file `%s'"
  3091. -msgstr ""
  3092. -
  3093. -#: libidu/scanners.c:258
  3094. -#, c-format
  3095. -msgid "can't get size of map file `%s'"
  3096. -msgstr ""
  3097. -
  3098. -#: libidu/scanners.c:268
  3099. -#, c-format
  3100. -msgid "can't read language map file `%s'"
  3101. -msgstr ""
  3102. -
  3103. -#: libidu/scanners.c:271
  3104. -#, c-format
  3105. -msgid "can't read entire language map file `%s'"
  3106. -msgstr ""
  3107. -
  3108. -#: libidu/scanners.c:412
  3109. -msgid ""
  3110. -"C language:\n"
  3111. -"  -k,--keep=CHARS        Allow CHARS in single-token strings, keep the "
  3112. -"result\n"
  3113. -"  -i,--ignore=CHARS      Allow CHARS in single-token strings, toss the "
  3114. -"result\n"
  3115. -"  -u,--strip-underscore  Strip a leading underscore from single-token "
  3116. -"strings\n"
  3117. -msgstr ""
  3118. -
  3119. -#: libidu/scanners.c:681 libidu/scanners.c:986 libidu/scanners.c:1190
  3120. -#, c-format
  3121. -msgid "junk: `%c'"
  3122. -msgstr ""
  3123. -
  3124. -#: libidu/scanners.c:683 libidu/scanners.c:988 libidu/scanners.c:1192
  3125. -#, c-format
  3126. -msgid "junk: `\\%03o'"
  3127. -msgstr ""
  3128. -
  3129. -#: libidu/scanners.c:787
  3130. -msgid ""
  3131. -"Assembly language:\n"
  3132. -"  -c,--comment=CHARS     Any of CHARS starts a comment until end-of-line\n"
  3133. -"  -k,--keep=CHARS        Allow CHARS in tokens, and keep the result\n"
  3134. -"  -i,--ignore=CHARS      Allow CHARS in tokens, and toss the result\n"
  3135. -"  -u,--strip-underscore  Strip a leading underscore from tokens\n"
  3136. -"  -n,--no-cpp            Don't handle C pre-processor directives\n"
  3137. -msgstr ""
  3138. -
  3139. -#: libidu/scanners.c:1092
  3140. -msgid ""
  3141. -"Text language:\n"
  3142. -"  -i,--include=CHAR-CLASS  Treat characters of CHAR-CLASS as token "
  3143. -"constituents\n"
  3144. -"  -x,--exclude=CHAR-CLASS  Treat characters of CHAR-CLASS as token "
  3145. -"delimiters\n"
  3146. -msgstr ""
  3147. -
  3148. -#: libidu/walker.c:103
  3149. -#, c-format
  3150. -msgid "can't read directory `%s' (`.' from `%s')"
  3151. -msgstr ""
  3152. -
  3153. -#: libidu/walker.c:170
  3154. -#, c-format
  3155. -msgid "notice: `%s' was a %s, but is now a %s!"
  3156. -msgstr ""
  3157. -
  3158. -#: libidu/walker.c:171 libidu/walker.c:172
  3159. -msgid "file"
  3160. -msgstr ""
  3161. -
  3162. -#: libidu/walker.c:171 libidu/walker.c:172
  3163. -msgid "directory"
  3164. -msgstr ""
  3165. -
  3166. -#: libidu/walker.c:291
  3167. -#, c-format
  3168. -msgid "warning: `%s' and `%s' are the same file, but yield different scans!"
  3169. -msgstr ""
  3170. -
  3171. -#: libidu/walker.c:385
  3172. -#, c-format
  3173. -msgid "notice: scan parameters changed for `%s'"
  3174. -msgstr ""
  3175. -
  3176. -#: libidu/walker.c:580
  3177. -msgid "can't get working directory"
  3178. -msgstr ""
  3179. -
  3180. -#: libidu/walker.c:637
  3181. -#, c-format
  3182. -msgid "can't chdir to `%s'"
  3183. -msgstr ""
  3184. -
  3185. -#: libidu/walker.c:642
  3186. -#, c-format
  3187. -msgid "can't chdir to `%s' from `%s'"
  3188. -msgstr ""
  3189. -
  3190. -#: libidu/walker.c:696
  3191. -#, c-format
  3192. -msgid "can't lstat `%s' from `%s'"
  3193. -msgstr ""
  3194. -
  3195. -#: libidu/walker.c:704
  3196. -#, c-format
  3197. -msgid "can't stat `%s' from `%s'"
  3198. -msgstr ""
  3199. -
  3200. -#: lib/getopt.c:527
  3201. -#, c-format
  3202. -msgid "%s: option `%s' is ambiguous\n"
  3203. -msgstr ""
  3204. -
  3205. -#: lib/getopt.c:550
  3206. -#, c-format
  3207. -msgid "%s: option `--%s' doesn't allow an argument\n"
  3208. -msgstr ""
  3209. -
  3210. -#: lib/getopt.c:555
  3211. -#, c-format
  3212. -msgid "%s: option `%c%s' doesn't allow an argument\n"
  3213. -msgstr ""
  3214. -
  3215. -#: lib/getopt.c:570
  3216. -#, c-format
  3217. -msgid "%s: option `%s' requires an argument\n"
  3218. -msgstr ""
  3219. -
  3220. -#. --option
  3221. -#: lib/getopt.c:598
  3222. -#, c-format
  3223. -msgid "%s: unrecognized option `--%s'\n"
  3224. -msgstr ""
  3225. -
  3226. -#. +option or -option
  3227. -#: lib/getopt.c:602
  3228. -#, c-format
  3229. -msgid "%s: unrecognized option `%c%s'\n"
  3230. -msgstr ""
  3231. -
  3232. -#. 1003.2 specifies the format of this message.
  3233. -#: lib/getopt.c:627
  3234. -#, c-format
  3235. -msgid "%s: illegal option -- %c\n"
  3236. -msgstr ""
  3237. -
  3238. -#: lib/getopt.c:630
  3239. -#, c-format
  3240. -msgid "%s: invalid option -- %c\n"
  3241. -msgstr ""
  3242. -
  3243. -#: lib/getopt.c:666
  3244. -#, c-format
  3245. -msgid "%s: option requires an argument -- %c\n"
  3246. -msgstr ""
  3247. -
  3248. -#: src/fid.c:70 src/fnid.c:49 src/lid.c:237 src/mkid.c:120 src/xtokid.c:43
  3249. -#, c-format
  3250. -msgid "Try `%s --help' for more information.\n"
  3251. -msgstr ""
  3252. -
  3253. -#: src/fid.c:78
  3254. -#, c-format
  3255. -msgid "Usage: %s [OPTION] FILENAME [FILENAME2]\n"
  3256. -msgstr ""
  3257. -
  3258. -#: src/fid.c:81
  3259. -msgid ""
  3260. -"List identifiers that occur in FILENAME, or if FILENAME2 is\n"
  3261. -"also given list the identifiers that occur in both files.\n"
  3262. -"\n"
  3263. -"  -f, --file=FILE  file name of ID database\n"
  3264. -"      --help       display this help and exit\n"
  3265. -"      --version    output version information and exit\n"
  3266. -msgstr ""
  3267. -
  3268. -#: src/fid.c:141
  3269. -msgid "no file name arguments"
  3270. -msgstr ""
  3271. -
  3272. -#: src/fid.c:146
  3273. -msgid "too many file name arguments"
  3274. -msgstr ""
  3275. -
  3276. -#: src/fid.c:153 src/fnid.c:147 src/lid.c:410
  3277. -msgid "can't locate `ID'"
  3278. -msgstr ""
  3279. -
  3280. -#: src/fid.c:235
  3281. -#, c-format
  3282. -msgid "`%s' is ambiguous"
  3283. -msgstr ""
  3284. -
  3285. -#: src/fid.c:241
  3286. -#, c-format
  3287. -msgid "`%s' not found"
  3288. -msgstr ""
  3289. -
  3290. -#: src/fnid.c:66
  3291. -#, c-format
  3292. -msgid "Usage: %s [OPTION]... [PATTERN]...\n"
  3293. -msgstr ""
  3294. -
  3295. -#: src/fnid.c:70
  3296. -msgid ""
  3297. -"Print constituent file names that match PATTERN,\n"
  3298. -"using shell-style wildcards.\n"
  3299. -"  -f, --file=FILE        file name of ID database\n"
  3300. -"  -S, --separator=STYLE  STYLE is one of `braces', `space' or `newline'\n"
  3301. -"      --help             display this help and exit\n"
  3302. -"      --version          output version information and exit\n"
  3303. -msgstr ""
  3304. -
  3305. -#: src/lid.c:245
  3306. -#, c-format
  3307. -msgid "Usage: %s [OPTION]... PATTERN...\n"
  3308. -msgstr ""
  3309. -
  3310. -#: src/lid.c:249
  3311. -#, c-format
  3312. -msgid ""
  3313. -"Query ID database and report results.\n"
  3314. -"By default, output consists of multiple lines, each line containing the\n"
  3315. -"matched identifier followed by the list of file names in which it occurs.\n"
  3316. -"\n"
  3317. -"  -f, --file=FILE       file name of ID database\n"
  3318. -"\n"
  3319. -"  -i, --ignore-case     match PATTERN case insensitively\n"
  3320. -"  -l, --literal         match PATTERN as a literal string\n"
  3321. -"  -r, --regexp          match PATTERN as a regular expression\n"
  3322. -"  -w, --word            match PATTERN as a delimited word\n"
  3323. -"  -s, --substring       match PATTERN as a substring\n"
  3324. -"            Note: If PATTERN contains extended regular expression meta-\n"
  3325. -"            characters, it is interpreted as a regular expression "
  3326. -"substring.\n"
  3327. -"            Otherwise, PATTERN is interpreted as a literal word.\n"
  3328. -"\n"
  3329. -"  -k, --key=STYLE       STYLE is one of `token', `pattern' or `none'\n"
  3330. -"  -R, --result=STYLE    STYLE is one of `filenames', `grep', `edit' or "
  3331. -"`none'\n"
  3332. -"  -S, --separator=STYLE STYLE is one of `braces', `space' or `newline' and\n"
  3333. -"                        only applies to file names when "
  3334. -"`--result=filenames'\n"
  3335. -"            The above STYLE options control how query results are "
  3336. -"presented.\n"
  3337. -"            Defaults are --key=token --result=filenames --separator=%s\n"
  3338. -"\n"
  3339. -"  -F, --frequency=FREQ  find tokens that occur FREQ times, where FREQ\n"
  3340. -"                        is a range expressed as `N..M'.  If N is omitted, "
  3341. -"it\n"
  3342. -"                        defaults to 1, if M is omitted it defaults to "
  3343. -"MAX_USHRT\n"
  3344. -"  -a, --ambiguous=LEN   find tokens whose names are ambiguous for LEN chars\n"
  3345. -"\n"
  3346. -"  -x, --hex             only find numbers expressed as hexadecimal\n"
  3347. -"  -d, --decimal         only find numbers expressed as decimal\n"
  3348. -"  -o, --octal           only find numbers expressed as octal\n"
  3349. -"            By default, searches match numbers of any radix.\n"
  3350. -"\n"
  3351. -"      --help            display this help and exit\n"
  3352. -"      --version         output version information and exit\n"
  3353. -msgstr ""
  3354. -
  3355. -#: src/lid.c:285
  3356. -msgid "braces"
  3357. -msgstr ""
  3358. -
  3359. -#: src/lid.c:285
  3360. -msgid "space"
  3361. -msgstr ""
  3362. -
  3363. -#: src/lid.c:351
  3364. -msgid "notice: use of `-e' is deprecated, use `-r' instead"
  3365. -msgstr ""
  3366. -
  3367. -#: src/lid.c:431
  3368. -#, c-format
  3369. -msgid "All identifiers are non-ambiguous within the first %d characters\n"
  3370. -msgstr ""
  3371. -
  3372. -#: src/lid.c:466
  3373. -#, c-format
  3374. -msgid "invalid `--key' style: `%s'"
  3375. -msgstr ""
  3376. -
  3377. -#: src/lid.c:478
  3378. -#, c-format
  3379. -msgid "invalid `--result' style: `%s'"
  3380. -msgstr ""
  3381. -
  3382. -#. FIXME: i18n of responses
  3383. -#: src/lid.c:634
  3384. -msgid "edit? [y1-9^S/nq] "
  3385. -msgstr ""
  3386. -
  3387. -#: src/lid.c:703
  3388. -msgid "can't fork"
  3389. -msgstr ""
  3390. -
  3391. -#: src/lid.c:721
  3392. -#, c-format
  3393. -msgid "can't exec `%s'"
  3394. -msgstr ""
  3395. -
  3396. -#: src/lid.c:851
  3397. -msgid "can't match regular-expression: memory exhausted"
  3398. -msgstr ""
  3399. -
  3400. -#: src/mkid.c:145 src/xtokid.c:64
  3401. -#, c-format
  3402. -msgid "Usage: %s [OPTION]... [FILE]...\n"
  3403. -msgstr ""
  3404. -
  3405. -#: src/mkid.c:149
  3406. -msgid ""
  3407. -"Build an identifier database.\n"
  3408. -"  -o, --output=OUTFILE    file name of ID database output\n"
  3409. -"  -f, --file=OUTFILE      synonym for --output\n"
  3410. -"  -i, --include=LANGS     include languages in LANGS (default: \"C C++ "
  3411. -"asm\")\n"
  3412. -"  -x, --exclude=LANGS     exclude languages in LANGS\n"
  3413. -"  -l, --lang-option=L:OPT pass OPT as a default for language L (see below)\n"
  3414. -"  -m, --lang-map=MAPFILE  use MAPFILE to map file names onto source "
  3415. -"language\n"
  3416. -"  -d, --default-lang=LANG make LANG the default source language\n"
  3417. -"  -p, --prune=NAMES       exclude the named files and/or directories\n"
  3418. -"  -v, --verbose           report per file statistics\n"
  3419. -"  -s, --statistics        report statistics at end of run\n"
  3420. -"\n"
  3421. -"      --help              display this help and exit\n"
  3422. -"      --version           output version information and exit\n"
  3423. -"\n"
  3424. -"FILE may be a file name, or a directory name to recursively search.\n"
  3425. -"If no FILE is given, the current directory is searched by default.\n"
  3426. -"Note that the `--include' and `--exclude' options are mutually-exclusive.\n"
  3427. -"\n"
  3428. -"The following arguments apply to the language-specific scanners:\n"
  3429. -msgstr ""
  3430. -
  3431. -#: src/mkid.c:311
  3432. -#, c-format
  3433. -msgid "can't create `%s' in `%s'"
  3434. -msgstr ""
  3435. -
  3436. -#: src/mkid.c:315
  3437. -#, c-format
  3438. -msgid "can't modify `%s'"
  3439. -msgstr ""
  3440. -
  3441. -#: src/mkid.c:368
  3442. -#, c-format
  3443. -msgid "can't stat `%s'"
  3444. -msgstr ""
  3445. -
  3446. -#: src/mkid.c:435
  3447. -#, c-format
  3448. -msgid "  new = %d/%d"
  3449. -msgstr ""
  3450. -
  3451. -#: src/mkid.c:444
  3452. -#, c-format
  3453. -msgid "Name=%ld, "
  3454. -msgstr ""
  3455. -
  3456. -#: src/mkid.c:445
  3457. -#, c-format
  3458. -msgid "Number=%ld, "
  3459. -msgstr ""
  3460. -
  3461. -#: src/mkid.c:446
  3462. -#, c-format
  3463. -msgid "String=%ld, "
  3464. -msgstr ""
  3465. -
  3466. -#: src/mkid.c:447
  3467. -#, c-format
  3468. -msgid "Literal=%ld, "
  3469. -msgstr ""
  3470. -
  3471. -#: src/mkid.c:448
  3472. -#, c-format
  3473. -msgid "Comment=%ld\n"
  3474. -msgstr ""
  3475. -
  3476. -#: src/mkid.c:450
  3477. -#, c-format
  3478. -msgid "Files=%d, "
  3479. -msgstr ""
  3480. -
  3481. -#: src/mkid.c:451
  3482. -#, c-format
  3483. -msgid "Tokens=%ld, "
  3484. -msgstr ""
  3485. -
  3486. -#: src/mkid.c:452
  3487. -#, c-format
  3488. -msgid "Bytes=%ld Kb, "
  3489. -msgstr ""
  3490. -
  3491. -#: src/mkid.c:453
  3492. -#, c-format
  3493. -msgid "Heap=%ld+%ld Kb, "
  3494. -msgstr ""
  3495. -
  3496. -#: src/mkid.c:455
  3497. -#, c-format
  3498. -msgid "Output=%ld (%ld tok, %ld hit)\n"
  3499. -msgstr ""
  3500. -
  3501. -#: src/mkid.c:458
  3502. -#, c-format
  3503. -msgid ", Freq=%ld/%ld=%.2f\n"
  3504. -msgstr ""
  3505. -
  3506. -#: src/mkid.c:481
  3507. -msgid "Sorting tokens...\n"
  3508. -msgstr ""
  3509. -
  3510. -#: src/mkid.c:487
  3511. -#, c-format
  3512. -msgid "Writing `%s'...\n"
  3513. -msgstr ""
  3514. -
  3515. -#: src/mkid.c:490
  3516. -#, c-format
  3517. -msgid "can't create `%s'"
  3518. -msgstr ""
  3519. -
  3520. -#: src/mkid.c:636
  3521. -msgid "level %d: %ld/%ld = %.0f%%\n"
  3522. -msgstr ""
  3523. -
  3524. -#: src/xtokid.c:68
  3525. -msgid ""
  3526. -"Print all tokens found in a source file.\n"
  3527. -"  -i, --include=LANGS     include languages in LANGS (default: \"C C++ "
  3528. -"asm\")\n"
  3529. -"  -x, --exclude=LANGS     exclude languages in LANGS\n"
  3530. -"  -l, --lang-option=L:OPT pass OPT as a default for language L (see below)\n"
  3531. -"  -m, --lang-map=MAPFILE  use MAPFILE to map file names onto source "
  3532. -"language\n"
  3533. -"  -d, --default-lang=LANG make LANG the default source language\n"
  3534. -"  -p, --prune=NAMES       exclude the named files and/or directories\n"
  3535. -"      --help              display this help and exit\n"
  3536. -"      --version           output version information and exit\n"
  3537. -"\n"
  3538. -"The following arguments apply to the language-specific scanners:\n"
  3539. -msgstr ""
  3540. diff -rup --new-file baseline/fsf/id-utils/po/stamp-cat-id amiga/fsf/id-utils/po/stamp-cat-id
  3541. --- baseline/fsf/id-utils/po/stamp-cat-id    Tue Aug  6 20:24:28 1996
  3542. +++ amiga/fsf/id-utils/po/stamp-cat-id    Wed Dec 31 17:00:00 1969
  3543. @@ -1 +0,0 @@
  3544. -timestamp
  3545. diff -rup --new-file baseline/fsf/id-utils/src/mkid.c amiga/fsf/id-utils/src/mkid.c
  3546. --- baseline/fsf/id-utils/src/mkid.c    Mon Jul  8 21:19:09 1996
  3547. +++ amiga/fsf/id-utils/src/mkid.c    Sat Sep 28 00:00:00 1996
  3548. @@ -172,15 +172,19 @@ The following arguments apply to the lan
  3549.    exit (0);
  3550.  }
  3551.  
  3552. +#ifdef HAVE_SBRK
  3553.  char const *heap_initial;
  3554.  char const *heap_after_walk;
  3555.  char const *heap_after_scan;
  3556. +#endif
  3557.  
  3558.  int
  3559.  main (int argc, char **argv)
  3560.  {
  3561.    program_name = argv[0];
  3562. +#ifdef HAVE_SBRK
  3563.    heap_initial = (char const *) sbrk (0);
  3564. +#endif
  3565.    idh.idh_file_name = DEFAULT_ID_FILE_NAME;
  3566.  
  3567.    /* Set locale according to user's wishes.  */
  3568. @@ -276,13 +280,17 @@ main (int argc, char **argv)
  3569.        if (flink)
  3570.      walk_flink (flink, 0);
  3571.      }
  3572. +#ifdef HAVE_SBRK
  3573.    heap_after_walk = (char const *) sbrk (0);
  3574. +#endif
  3575.  
  3576.    mark_member_file_links (&idh);
  3577.    if (idh.idh_member_file_table.ht_fill)
  3578.      {
  3579.        scan_files (&idh);
  3580. +#ifdef HAVE_SBRK
  3581.        heap_after_scan = sbrk (0);
  3582. +#endif
  3583.  
  3584.        free_summary_tokens ();
  3585.        free (token_table.ht_vec);
  3586. @@ -450,8 +458,10 @@ report_statistics (void)
  3587.    printf (_("Files=%d, "), idh.idh_files);
  3588.    printf (_("Tokens=%ld, "), occurrences);
  3589.    printf (_("Bytes=%ld Kb, "), input_chars / 1024);
  3590. +#ifdef HAVE_SBRK
  3591.    printf (_("Heap=%ld+%ld Kb, "), (heap_after_scan - heap_after_walk) / 1024,
  3592.        (heap_after_walk - heap_initial) / 1024);
  3593. +#endif
  3594.    printf (_("Output=%ld (%ld tok, %ld hit)\n"), output_length, tokens_length, hits_length);
  3595.  
  3596.    hash_print_stats (&token_table, stdout);
  3597.