home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / autoconf-2.2-diffs.lha / GNU / diffs / autoconf-2.2.diffs
Encoding:
Text File  |  1995-04-14  |  75.7 KB  |  2,417 lines

  1. diff -rc --new-file autoconf-2.2-base/Makefile.in autoconf-2.2/Makefile.in
  2. *** autoconf-2.2-base/Makefile.in    Wed Mar  8 17:47:20 1995
  3. --- autoconf-2.2/Makefile.in    Thu Mar  9 21:41:54 1995
  4. ***************
  5. *** 42,48 ****
  6.   bindir = $(exec_prefix)/bin
  7.   
  8.   # Directory in which to install library files.
  9. ! datadir = $(prefix)/share
  10.   acdatadir = $(datadir)/autoconf
  11.   
  12.   # Directory in which to install documentation info files.
  13. --- 42,48 ----
  14.   bindir = $(exec_prefix)/bin
  15.   
  16.   # Directory in which to install library files.
  17. ! datadir = $(prefix)/lib
  18.   acdatadir = $(datadir)/autoconf
  19.   
  20.   # Directory in which to install documentation info files.
  21. diff -rc --new-file autoconf-2.2-base/Product-Info autoconf-2.2/Product-Info
  22. *** autoconf-2.2-base/Product-Info    Thu Jan  1 00:00:00 1970
  23. --- autoconf-2.2/Product-Info    Thu Mar  9 22:23:08 1995
  24. ***************
  25. *** 0 ****
  26. --- 1,28 ----
  27. + .name
  28. + autoconf
  29. + .fullname
  30. + GNU autoconfig
  31. + .type
  32. + Programmer Tool
  33. + .short
  34. + GNU automatic configuration generator.
  35. + .description
  36. + Autoconf is an extensible package of m4 macros that produce shell
  37. + scripts to automatically configure software source code packages.
  38. + These scripts can adapt the packages to many kinds of UNIX-like
  39. + systems without manual user intervention.  Autoconf creates a
  40. + configuration script for a package from a template file that lists the
  41. + operating system features that the package can use, in the form of m4
  42. + macro calls.
  43. + Autoconf requires GNU m4.  The configuration scripts produced by
  44. + Autoconf are independent of Autoconf when they are run, so their users
  45. + do not need to have Autoconf (or GNU m4).
  46. + .version
  47. + 2.2
  48. + .author
  49. + Free Software Foundation
  50. + .distribution
  51. + GNU Public License
  52. + .described-by
  53. + Fred Fish (fnf@amigalib.com)
  54. diff -rc --new-file autoconf-2.2-base/acgeneral.m4 autoconf-2.2/acgeneral.m4
  55. *** autoconf-2.2-base/acgeneral.m4    Wed Mar  8 22:02:57 1995
  56. --- autoconf-2.2/acgeneral.m4    Thu Mar  9 22:48:24 1995
  57. ***************
  58. *** 150,156 ****
  59.   
  60.   # Defaults:
  61.   ac_help=
  62. ! ac_default_prefix=/usr/local
  63.   [#] Any additions from configure.in:])
  64.   
  65.   dnl AC_PREFIX_DEFAULT(PREFIX)
  66. --- 150,156 ----
  67.   
  68.   # Defaults:
  69.   ac_help=
  70. ! ac_default_prefix=/gnu
  71.   [#] Any additions from configure.in:])
  72.   
  73.   dnl AC_PREFIX_DEFAULT(PREFIX)
  74. ***************
  75. *** 200,206 ****
  76.   
  77.     case "$ac_option" in
  78.   changequote(, )dnl
  79. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  80.   changequote([, ])dnl
  81.     *) ac_optarg= ;;
  82.     esac
  83. --- 200,206 ----
  84.   
  85.     case "$ac_option" in
  86.   changequote(, )dnl
  87. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  88.   changequote([, ])dnl
  89.     *) ac_optarg= ;;
  90.     esac
  91. ***************
  92. *** 222,246 ****
  93.       cache_file="$ac_optarg" ;;
  94.   
  95.     -disable-* | --disable-*)
  96. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  97.       # Reject names that are not valid shell variable names.
  98.   changequote(, )dnl
  99. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  100.   changequote([, ])dnl
  101.         AC_MSG_ERROR($ac_feature: invalid feature name)
  102.       fi
  103. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  104.       eval "enable_${ac_feature}=no" ;;
  105.   
  106.     -enable-* | --enable-*)
  107. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  108.       # Reject names that are not valid shell variable names.
  109.   changequote(, )dnl
  110. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  111.   changequote([, ])dnl
  112.         AC_MSG_ERROR($ac_feature: invalid feature name)
  113.       fi
  114. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  115.       case "$ac_option" in
  116.         *=*) ;;
  117.         *) ac_optarg=yes ;;
  118. --- 222,246 ----
  119.       cache_file="$ac_optarg" ;;
  120.   
  121.     -disable-* | --disable-*)
  122. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  123.       # Reject names that are not valid shell variable names.
  124.   changequote(, )dnl
  125. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  126.   changequote([, ])dnl
  127.         AC_MSG_ERROR($ac_feature: invalid feature name)
  128.       fi
  129. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  130.       eval "enable_${ac_feature}=no" ;;
  131.   
  132.     -enable-* | --enable-*)
  133. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  134.       # Reject names that are not valid shell variable names.
  135.   changequote(, )dnl
  136. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  137.   changequote([, ])dnl
  138.         AC_MSG_ERROR($ac_feature: invalid feature name)
  139.       fi
  140. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  141.       case "$ac_option" in
  142.         *=*) ;;
  143.         *) ac_optarg=yes ;;
  144. ***************
  145. *** 378,391 ****
  146.       exit 0 ;;
  147.   
  148.     -with-* | --with-*)
  149. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  150.       # Reject names that are not valid shell variable names.
  151.   changequote(, )dnl
  152. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  153.   changequote([, ])dnl
  154.         AC_MSG_ERROR($ac_package: invalid package name)
  155.       fi
  156. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  157.       case "$ac_option" in
  158.         *=*) ;;
  159.         *) ac_optarg=yes ;;
  160. --- 378,391 ----
  161.       exit 0 ;;
  162.   
  163.     -with-* | --with-*)
  164. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  165.       # Reject names that are not valid shell variable names.
  166.   changequote(, )dnl
  167. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  168.   changequote([, ])dnl
  169.         AC_MSG_ERROR($ac_package: invalid package name)
  170.       fi
  171. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  172.       case "$ac_option" in
  173.         *=*) ;;
  174.         *) ac_optarg=yes ;;
  175. ***************
  176. *** 393,406 ****
  177.       eval "with_${ac_package}='$ac_optarg'" ;;
  178.   
  179.     -without-* | --without-*)
  180. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  181.       # Reject names that are not valid shell variable names.
  182.   changequote(, )dnl
  183. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  184.   changequote([, ])dnl
  185.         AC_MSG_ERROR($ac_package: invalid package name)
  186.       fi
  187. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  188.       eval "with_${ac_package}=no" ;;
  189.   
  190.     --x)
  191. --- 393,406 ----
  192.       eval "with_${ac_package}='$ac_optarg'" ;;
  193.   
  194.     -without-* | --without-*)
  195. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  196.       # Reject names that are not valid shell variable names.
  197.   changequote(, )dnl
  198. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  199.   changequote([, ])dnl
  200.         AC_MSG_ERROR($ac_package: invalid package name)
  201.       fi
  202. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  203.       eval "with_${ac_package}=no" ;;
  204.   
  205.     --x)
  206. ***************
  207. *** 426,432 ****
  208.   
  209.     *) 
  210.   changequote(, )dnl
  211. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  212.   changequote([, ])dnl
  213.         AC_MSG_WARN($ac_option: invalid host type)
  214.       fi
  215. --- 426,432 ----
  216.   
  217.     *) 
  218.   changequote(, )dnl
  219. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  220.   changequote([, ])dnl
  221.         AC_MSG_WARN($ac_option: invalid host type)
  222.       fi
  223. ***************
  224. *** 440,446 ****
  225.   done
  226.   
  227.   if test -n "$ac_prev"; then
  228. !   AC_MSG_ERROR(missing argument to --`echo $ac_prev | sed 's/_/-/g'`)
  229.   fi
  230.   ])
  231.   
  232. --- 440,446 ----
  233.   done
  234.   
  235.   if test -n "$ac_prev"; then
  236. !   AC_MSG_ERROR(missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`)
  237.   fi
  238.   ])
  239.   
  240. ***************
  241. *** 520,526 ****
  242.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  243.   rm -rf conftest* confdefs.h
  244.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  245. ! echo > confdefs.h
  246.   
  247.   # A filename unique to this package, relative to the directory that
  248.   # configure is in, which we can look for to find out if srcdir is correct.
  249. --- 520,526 ----
  250.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  251.   rm -rf conftest* confdefs.h
  252.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  253. ! /bin/echo > confdefs.h
  254.   
  255.   # A filename unique to this package, relative to the directory that
  256.   # configure is in, which we can look for to find out if srcdir is correct.
  257. ***************
  258. *** 532,538 ****
  259.     # Try the directory containing this script, then its parent.
  260.     ac_prog=[$]0
  261.   changequote(, )dnl
  262. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  263.   changequote([, ])dnl
  264.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  265.     srcdir=$ac_confdir
  266. --- 532,538 ----
  267.     # Try the directory containing this script, then its parent.
  268.     ac_prog=[$]0
  269.   changequote(, )dnl
  270. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  271.   changequote([, ])dnl
  272.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  273.     srcdir=$ac_confdir
  274. ***************
  275. *** 552,558 ****
  276.   dnl Double slashes in pathnames in object file debugging info
  277.   dnl mess up M-x gdb in Emacs.
  278.   changequote(, )dnl
  279. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  280.   changequote([, ])dnl
  281.   
  282.   dnl Let the site file select an alternate cache file if it wants to.
  283. --- 552,558 ----
  284.   dnl Double slashes in pathnames in object file debugging info
  285.   dnl mess up M-x gdb in Emacs.
  286.   changequote(, )dnl
  287. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  288.   changequote([, ])dnl
  289.   
  290.   dnl Let the site file select an alternate cache file if it wants to.
  291. ***************
  292. *** 633,639 ****
  293.   else
  294.     # Double any \ or $.
  295.     echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
  296. !   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  297.     rm -f conftestsed
  298.   fi
  299.   test "$program_prefix" != NONE &&
  300. --- 633,639 ----
  301.   else
  302.     # Double any \ or $.
  303.     echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
  304. !   program_transform_name="`/bin/echo $program_transform_name|sed -f conftestsed`"
  305.     rm -f conftestsed
  306.   fi
  307.   test "$program_prefix" != NONE &&
  308. ***************
  309. *** 786,794 ****
  310.   
  311.   dnl Set the other host vars.
  312.   host=`$ac_config_sub $host_alias`
  313. ! host_cpu=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  314. ! host_vendor=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  315. ! host_os=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  316.   AC_MSG_RESULT($host)
  317.   AC_SUBST(host)dnl
  318.   AC_SUBST(host_alias)dnl
  319. --- 786,794 ----
  320.   
  321.   dnl Set the other host vars.
  322.   host=`$ac_config_sub $host_alias`
  323. ! host_cpu=`/bin/echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  324. ! host_vendor=`/bin/echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  325. ! host_os=`/bin/echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  326.   AC_MSG_RESULT($host)
  327.   AC_SUBST(host)dnl
  328.   AC_SUBST(host_alias)dnl
  329. ***************
  330. *** 814,822 ****
  331.   
  332.   dnl Set the other target vars.
  333.   target=`$ac_config_sub $target_alias`
  334. ! target_cpu=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  335. ! target_vendor=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  336. ! target_os=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  337.   AC_MSG_RESULT($target)
  338.   AC_SUBST(target)dnl
  339.   AC_SUBST(target_alias)dnl
  340. --- 814,822 ----
  341.   
  342.   dnl Set the other target vars.
  343.   target=`$ac_config_sub $target_alias`
  344. ! target_cpu=`/bin/echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  345. ! target_vendor=`/bin/echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  346. ! target_os=`/bin/echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  347.   AC_MSG_RESULT($target)
  348.   AC_SUBST(target)dnl
  349.   AC_SUBST(target_alias)dnl
  350. ***************
  351. *** 842,850 ****
  352.   
  353.   dnl Set the other build vars.
  354.   build=`$ac_config_sub $build_alias`
  355. ! build_cpu=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  356. ! build_vendor=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  357. ! build_os=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  358.   AC_MSG_RESULT($build)
  359.   AC_SUBST(build)dnl
  360.   AC_SUBST(build_alias)dnl
  361. --- 842,850 ----
  362.   
  363.   dnl Set the other build vars.
  364.   build=`$ac_config_sub $build_alias`
  365. ! build_cpu=`/bin/echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  366. ! build_vendor=`/bin/echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  367. ! build_os=`/bin/echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  368.   AC_MSG_RESULT($build)
  369.   AC_SUBST(build)dnl
  370.   AC_SUBST(build_alias)dnl
  371. ***************
  372. *** 934,940 ****
  373.   dnl if test "${$1+set}" = set; then
  374.   dnl the '' avoids an AIX 4.1 sh bug ("invalid expansion").
  375.   if eval "test \"`echo '$''{'$1'+set}'`\" = set"; then
  376. !   echo $ac_n "(cached) $ac_c" 1>&AC_FD_MSG
  377.   else
  378.     $2
  379.   fi
  380. --- 934,940 ----
  381.   dnl if test "${$1+set}" = set; then
  382.   dnl the '' avoids an AIX 4.1 sh bug ("invalid expansion").
  383.   if eval "test \"`echo '$''{'$1'+set}'`\" = set"; then
  384. !   /bin/echo $ac_n "(cached) $ac_c" 1>&AC_FD_MSG
  385.   else
  386.     $2
  387.   fi
  388. ***************
  389. *** 990,996 ****
  390.   
  391.   dnl AC_MSG_CHECKING(FEATURE-DESCRIPTION)
  392.   define(AC_MSG_CHECKING,
  393. ! [echo $ac_n "checking $1""... $ac_c" 1>&AC_FD_MSG])
  394.   
  395.   dnl AC_CHECKING(FEATURE-DESCRIPTION)
  396.   define(AC_CHECKING,
  397. --- 990,996 ----
  398.   
  399.   dnl AC_MSG_CHECKING(FEATURE-DESCRIPTION)
  400.   define(AC_MSG_CHECKING,
  401. ! [/bin/echo $ac_n "checking $1""... $ac_c" 1>&AC_FD_MSG])
  402.   
  403.   dnl AC_CHECKING(FEATURE-DESCRIPTION)
  404.   define(AC_CHECKING,
  405. ***************
  406. *** 998,1004 ****
  407.   
  408.   dnl AC_MSG_RESULT(RESULT-DESCRIPTION)
  409.   define(AC_MSG_RESULT,
  410. ! [echo "$ac_t""$1" 1>&AC_FD_MSG])
  411.   
  412.   dnl AC_VERBOSE(RESULT-DESCRIPTION)
  413.   define(AC_VERBOSE,
  414. --- 998,1004 ----
  415.   
  416.   dnl AC_MSG_RESULT(RESULT-DESCRIPTION)
  417.   define(AC_MSG_RESULT,
  418. ! [/bin/echo "$ac_t""$1" 1>&AC_FD_MSG])
  419.   
  420.   dnl AC_VERBOSE(RESULT-DESCRIPTION)
  421.   define(AC_VERBOSE,
  422. ***************
  423. *** 1207,1213 ****
  424.   AC_PATH_PROG(AC_VAR_NAME, $1)
  425.   changequote(<<, >>)dnl
  426.     if test -n "$ac_cv_path_<<>>AC_VAR_NAME"; then
  427. !     prefix=`echo $ac_cv_path_<<>>AC_VAR_NAME|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
  428.   changequote([, ])dnl
  429.     fi
  430.   fi
  431. --- 1207,1213 ----
  432.   AC_PATH_PROG(AC_VAR_NAME, $1)
  433.   changequote(<<, >>)dnl
  434.     if test -n "$ac_cv_path_<<>>AC_VAR_NAME"; then
  435. !     prefix=`/bin/echo $ac_cv_path_<<>>AC_VAR_NAME|sed 's%/[^/][^/]*//*[^/][^/]*$%%'`
  436.   changequote([, ])dnl
  437.     fi
  438.   fi
  439. ***************
  440. *** 1232,1238 ****
  441.     AC_MSG_RESULT(yes)
  442.     ifelse([$3], , 
  443.   [changequote(, )dnl
  444. !   ac_tr_lib=HAVE_LIB`echo $1 | tr '[a-z]' '[A-Z]'`
  445.   changequote([, ])dnl
  446.     AC_DEFINE_UNQUOTED($ac_tr_lib)
  447.     LIBS="-l$1 $LIBS"
  448. --- 1232,1238 ----
  449.     AC_MSG_RESULT(yes)
  450.     ifelse([$3], , 
  451.   [changequote(, )dnl
  452. !   ac_tr_lib=HAVE_LIB`/bin/echo $1 | tr '[a-z]' '[A-Z]'`
  453.   changequote([, ])dnl
  454.     AC_DEFINE_UNQUOTED($ac_tr_lib)
  455.     LIBS="-l$1 $LIBS"
  456. ***************
  457. *** 1296,1302 ****
  458.     ifelse([$2], , :, [rm -rf conftest*
  459.     $2])
  460.   else
  461. !   echo "$ac_err" >&AC_FD_CC
  462.   ifelse([$3], , , [  rm -rf conftest*
  463.     $3
  464.   ])dnl
  465. --- 1296,1302 ----
  466.     ifelse([$2], , :, [rm -rf conftest*
  467.     $2])
  468.   else
  469. !   /bin/echo "$ac_err" >&AC_FD_CC
  470.   ifelse([$3], , , [  rm -rf conftest*
  471.     $3
  472.   ])dnl
  473. ***************
  474. *** 1441,1447 ****
  475.   dnl AC_CHECK_HEADER(HEADER-FILE, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND])
  476.   AC_DEFUN(AC_CHECK_HEADER,
  477.   [dnl Do the transliteration at runtime so arg 1 can be a shell variable.
  478. ! ac_safe=`echo "$1" | tr './\055' '___'`
  479.   AC_MSG_CHECKING([for $1])
  480.   AC_CACHE_VAL(ac_cv_header_$ac_safe,
  481.   [AC_TRY_CPP([#include <$1>], eval "ac_cv_header_$ac_safe=yes",
  482. --- 1441,1447 ----
  483.   dnl AC_CHECK_HEADER(HEADER-FILE, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND])
  484.   AC_DEFUN(AC_CHECK_HEADER,
  485.   [dnl Do the transliteration at runtime so arg 1 can be a shell variable.
  486. ! ac_safe=`/bin/echo "$1" | tr './\055' '___'`
  487.   AC_MSG_CHECKING([for $1])
  488.   AC_CACHE_VAL(ac_cv_header_$ac_safe,
  489.   [AC_TRY_CPP([#include <$1>], eval "ac_cv_header_$ac_safe=yes",
  490. ***************
  491. *** 1462,1468 ****
  492.   do
  493.   AC_CHECK_HEADER($ac_hdr,
  494.   [changequote(, )dnl
  495. !   ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  496.   changequote([, ])dnl
  497.     AC_DEFINE_UNQUOTED($ac_tr_hdr) $2], $3)dnl
  498.   done
  499. --- 1462,1468 ----
  500.   do
  501.   AC_CHECK_HEADER($ac_hdr,
  502.   [changequote(, )dnl
  503. !   ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  504.   changequote([, ])dnl
  505.     AC_DEFINE_UNQUOTED($ac_tr_hdr) $2], $3)dnl
  506.   done
  507. ***************
  508. *** 1515,1521 ****
  509.   do
  510.   AC_CHECK_FUNC($ac_func,
  511.   [changequote(, )dnl
  512. !   ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  513.   changequote([, ])dnl
  514.     AC_DEFINE_UNQUOTED($ac_tr_func) $2], $3)dnl
  515.   done
  516. --- 1515,1521 ----
  517.   do
  518.   AC_CHECK_FUNC($ac_func,
  519.   [changequote(, )dnl
  520. !   ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  521.   changequote([, ])dnl
  522.     AC_DEFINE_UNQUOTED($ac_tr_func) $2], $3)dnl
  523.   done
  524. ***************
  525. *** 1628,1634 ****
  526.   : ${CONFIG_STATUS=./config.status}
  527.   
  528.   echo creating $CONFIG_STATUS
  529. ! rm -f $CONFIG_STATUS
  530.   cat > $CONFIG_STATUS <<EOF
  531.   #! /bin/sh
  532.   # Generated automatically by configure.
  533. --- 1628,1636 ----
  534.   : ${CONFIG_STATUS=./config.status}
  535.   
  536.   echo creating $CONFIG_STATUS
  537. ! # Some systems, like AmigaDOS, won't allow you to remove a script that is
  538. ! # being executed, so just move it out of the way instead.
  539. ! if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  540.   cat > $CONFIG_STATUS <<EOF
  541.   #! /bin/sh
  542.   # Generated automatically by configure.
  543. ***************
  544. *** 1653,1659 ****
  545.       echo "running [\$]{CONFIG_SHELL-/bin/sh} [$]0 [$]ac_configure_args --no-create --no-recursion"
  546.       exec [\$]{CONFIG_SHELL-/bin/sh} [$]0 [$]ac_configure_args --no-create --no-recursion ;;
  547.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  548. !     echo "$CONFIG_STATUS generated by autoconf version AC_ACVERSION"
  549.       exit 0 ;;
  550.     -help | --help | --hel | --he | --h)
  551.       echo "[\$]ac_cs_usage"; exit 0 ;;
  552. --- 1655,1661 ----
  553.       echo "running [\$]{CONFIG_SHELL-/bin/sh} [$]0 [$]ac_configure_args --no-create --no-recursion"
  554.       exec [\$]{CONFIG_SHELL-/bin/sh} [$]0 [$]ac_configure_args --no-create --no-recursion ;;
  555.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  556. !     /bin/echo "$CONFIG_STATUS generated by autoconf version AC_ACVERSION"
  557.       exit 0 ;;
  558.     -help | --help | --hel | --he | --h)
  559.       echo "[\$]ac_cs_usage"; exit 0 ;;
  560. ***************
  561. *** 1666,1672 ****
  562.   ])dnl
  563.   
  564.   ifdef([AC_LIST_HEADER],
  565. ! [trap 'rm -fr `echo $1 AC_LIST_HEADER | tr : " "` conftest*; exit 1' 1 2 15],
  566.   [trap 'rm -f $1; exit 1' 1 2 15])
  567.   
  568.   AC_OUTPUT_FILES($1)
  569. --- 1668,1674 ----
  570.   ])dnl
  571.   
  572.   ifdef([AC_LIST_HEADER],
  573. ! [trap 'rm -fr `/bin/echo $1 AC_LIST_HEADER | tr : " "` conftest*; exit 1' 1 2 15],
  574.   [trap 'rm -f $1; exit 1' 1 2 15])
  575.   
  576.   AC_OUTPUT_FILES($1)
  577. ***************
  578. *** 1737,1744 ****
  579.   dnl but that's not a huge problem.
  580.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  581.     case "$ac_file" in
  582. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  583. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  584.     *) ac_file_in="${ac_file}.in" ;;
  585.     esac
  586.   
  587. --- 1739,1746 ----
  588.   dnl but that's not a huge problem.
  589.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  590.     case "$ac_file" in
  591. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  592. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  593.     *) ac_file_in="${ac_file}.in" ;;
  594.     esac
  595.   
  596. ***************
  597. *** 1746,1760 ****
  598.   
  599.     # Remove last slash and all that follows it.  Not all systems have dirname.
  600.   changequote(, )dnl
  601. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  602.   changequote([, ])dnl
  603.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  604.       # The file is in a subdirectory.
  605.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  606. !     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  607.       # A "../" for each directory in $ac_dir_suffix.
  608.   changequote(, )dnl
  609. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  610.   changequote([, ])dnl
  611.     else
  612.       ac_dir_suffix= ac_dots=
  613. --- 1748,1762 ----
  614.   
  615.     # Remove last slash and all that follows it.  Not all systems have dirname.
  616.   changequote(, )dnl
  617. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  618.   changequote([, ])dnl
  619.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  620.       # The file is in a subdirectory.
  621.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  622. !     ac_dir_suffix="/`/bin/echo $ac_dir|sed 's%^\./%%'`"
  623.       # A "../" for each directory in $ac_dir_suffix.
  624.   changequote(, )dnl
  625. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  626.   changequote([, ])dnl
  627.     else
  628.       ac_dir_suffix= ac_dots=
  629. ***************
  630. *** 1763,1769 ****
  631.     case "$ac_given_srcdir" in
  632.     .)  srcdir=.
  633.         if test -z "$ac_dots"; then top_srcdir=.
  634. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  635.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  636.     *) # Relative path.
  637.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  638. --- 1765,1771 ----
  639.     case "$ac_given_srcdir" in
  640.     .)  srcdir=.
  641.         if test -z "$ac_dots"; then top_srcdir=.
  642. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  643.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  644.     *) # Relative path.
  645.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  646. ***************
  647. *** 1780,1786 ****
  648.   ])dnl
  649.     echo creating "$ac_file"
  650.     rm -f "$ac_file"
  651. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  652.     case "$ac_file" in
  653.     *Makefile*) ac_comsub="1i\\
  654.   # $configure_input" ;;
  655. --- 1782,1788 ----
  656.   ])dnl
  657.     echo creating "$ac_file"
  658.     rm -f "$ac_file"
  659. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  660.     case "$ac_file" in
  661.     *Makefile*) ac_comsub="1i\\
  662.   # $configure_input" ;;
  663. ***************
  664. *** 1826,1833 ****
  665.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  666.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  667.     case "$ac_file" in
  668. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  669. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  670.     *) ac_file_in="${ac_file}.in" ;;
  671.     esac
  672.   
  673. --- 1828,1835 ----
  674.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  675.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  676.     case "$ac_file" in
  677. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  678. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  679.     *) ac_file_in="${ac_file}.in" ;;
  680.     esac
  681.   
  682. ***************
  683. *** 1898,1907 ****
  684.     cat conftest.in >> conftest.h
  685.     rm -f conftest.in
  686.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  687. !     echo "$ac_file is unchanged"
  688.       rm -f conftest.h
  689.     else
  690.       rm -f $ac_file
  691.       mv conftest.h $ac_file
  692.     fi
  693.   fi; done
  694. --- 1900,1912 ----
  695.     cat conftest.in >> conftest.h
  696.     rm -f conftest.in
  697.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  698. !     /bin/echo "$ac_file is unchanged"
  699.       rm -f conftest.h
  700.     else
  701.       rm -f $ac_file
  702. +     # Make include path if necessary.
  703. +     dir=`dirname $ac_file`
  704. +     if test -d $dir; then true; else mkdir -p $dir; fi
  705.       mv conftest.h $ac_file
  706.     fi
  707.   fi; done
  708. ***************
  709. *** 1935,1949 ****
  710.     # Make relative symlinks.
  711.     # Remove last slash and all that follows it.  Not all systems have dirname.
  712.   changequote(, )dnl
  713. !   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
  714.   changequote([, ])dnl
  715.     if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
  716.       # The dest file is in a subdirectory.
  717.       test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
  718. !     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
  719.       # A "../" for each directory in $ac_dest_dir_suffix.
  720.   changequote(, )dnl
  721. !     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
  722.   changequote([, ])dnl
  723.     else
  724.       ac_dest_dir_suffix= ac_dots=
  725. --- 1940,1954 ----
  726.     # Make relative symlinks.
  727.     # Remove last slash and all that follows it.  Not all systems have dirname.
  728.   changequote(, )dnl
  729. !   ac_dest_dir=`/bin/echo $ac_dest|sed 's%/[^/][^/]*$%%'`
  730.   changequote([, ])dnl
  731.     if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
  732.       # The dest file is in a subdirectory.
  733.       test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
  734. !     ac_dest_dir_suffix="/`/bin/echo $ac_dest_dir|sed 's%^\./%%'`"
  735.       # A "../" for each directory in $ac_dest_dir_suffix.
  736.   changequote(, )dnl
  737. !     ac_dots=`/bin/echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
  738.   changequote([, ])dnl
  739.     else
  740.       ac_dest_dir_suffix= ac_dots=
  741. ***************
  742. *** 1957,1964 ****
  743.     esac
  744.   
  745.     # Make a symlink if possible; otherwise try a hard link.
  746. !   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
  747. !     ln $srcdir/$ac_source $ac_dest; then :
  748.     else
  749.       AC_MSG_ERROR(can not link $ac_dest to $srcdir/$ac_source)
  750.     fi
  751. --- 1962,1971 ----
  752.     esac
  753.   
  754.     # Make a symlink if possible; otherwise try a hard link.
  755. !   # On the Amiga, we instead try a hard link first and then
  756. !   # just do a cp, since symbolic links still have rough edges.
  757. !   if ln $ac_rel_source $ac_dest 2>/dev/null ||
  758. !     cp -p $srcdir/$ac_source $ac_dest; then :
  759.     else
  760.       AC_MSG_ERROR(can not link $ac_dest to $srcdir/$ac_source)
  761.     fi
  762. ***************
  763. *** 2043,2049 ****
  764.         # Make the cache file name correct relative to the subdirectory.
  765.   changequote(, )dnl
  766.         # A "../" for each directory in /$ac_config_dir.
  767. !       ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
  768.   changequote([, ])dnl
  769.         case "$cache_file" in
  770.         /*) ac_sub_cache_file=$cache_file ;;
  771. --- 2050,2056 ----
  772.         # Make the cache file name correct relative to the subdirectory.
  773.   changequote(, )dnl
  774.         # A "../" for each directory in /$ac_config_dir.
  775. !       ac_dots=`/bin/echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
  776.   changequote([, ])dnl
  777.         case "$cache_file" in
  778.         /*) ac_sub_cache_file=$cache_file ;;
  779. diff -rc --new-file autoconf-2.2-base/acspecific.m4 autoconf-2.2/acspecific.m4
  780. *** autoconf-2.2-base/acspecific.m4    Tue Mar  7 17:07:02 1995
  781. --- autoconf-2.2/acspecific.m4    Thu Mar  9 23:04:58 1995
  782. ***************
  783. *** 102,110 ****
  784.   ])dnl
  785.       AC_MSG_RESULT($ac_cv_prog_gcc_g)
  786.       if test $ac_cv_prog_gcc_g = yes; then
  787. !       CFLAGS="-g -O"
  788.       else
  789. !       CFLAGS="-O"
  790.       fi
  791.     fi
  792.   else
  793. --- 102,112 ----
  794.   ])dnl
  795.       AC_MSG_RESULT($ac_cv_prog_gcc_g)
  796.       if test $ac_cv_prog_gcc_g = yes; then
  797. !       # Amiga hack - suppress automatically using -g for now
  798. !       # Also default to using -O2
  799. !       CFLAGS="-O2"
  800.       else
  801. !       CFLAGS="-O2"
  802.       fi
  803.     fi
  804.   else
  805. ***************
  806. *** 146,154 ****
  807.   ])dnl
  808.       AC_MSG_RESULT($ac_cv_prog_gxx_g)
  809.       if test $ac_cv_prog_gxx_g = yes; then
  810. !       CXXFLAGS="-g -O"
  811.       else
  812. !       CXXFLAGS="-O"
  813.       fi
  814.     fi
  815.   else
  816. --- 148,158 ----
  817.   ])dnl
  818.       AC_MSG_RESULT($ac_cv_prog_gxx_g)
  819.       if test $ac_cv_prog_gxx_g = yes; then
  820. !       # Amiga hack - suppress automatically using -g for now
  821. !       # Also default to using -O2
  822. !       CXXFLAGS="-O2"
  823.       else
  824. !       CXXFLAGS="-O2"
  825.       fi
  826.     fi
  827.   else
  828. ***************
  829. *** 213,219 ****
  830.   fi
  831.   rm -f conftest*
  832.   ])dnl
  833. ! if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
  834.     AC_MSG_RESULT(yes)
  835.   else
  836.     AC_MSG_RESULT(no)
  837. --- 217,223 ----
  838.   fi
  839.   rm -f conftest*
  840.   ])dnl
  841. ! if eval "test \"`/bin/echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
  842.     AC_MSG_RESULT(yes)
  843.   else
  844.     AC_MSG_RESULT(no)
  845. ***************
  846. *** 228,234 ****
  847.   AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set,
  848.   [cat > conftestmake <<\EOF
  849.   all:
  850. !     @echo 'ac_maketemp="${MAKE}"'
  851.   EOF
  852.   changequote(, )dnl
  853.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  854. --- 232,238 ----
  855.   AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set,
  856.   [cat > conftestmake <<\EOF
  857.   all:
  858. !     @/bin/echo 'ac_maketemp="${MAKE}"'
  859.   EOF
  860.   changequote(, )dnl
  861.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  862. ***************
  863. *** 240,246 ****
  864.     eval ac_cv_prog_make_${ac_make}_set=no
  865.   fi
  866.   rm -f conftestmake])dnl
  867. ! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  868.     AC_MSG_RESULT(yes)
  869.     SET_MAKE=
  870.   else
  871. --- 244,250 ----
  872.     eval ac_cv_prog_make_${ac_make}_set=no
  873.   fi
  874.   rm -f conftestmake])dnl
  875. ! if eval "test \"`/bin/echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  876.     AC_MSG_RESULT(yes)
  877.     SET_MAKE=
  878.   else
  879. ***************
  880. *** 369,374 ****
  881. --- 373,379 ----
  882.   # SunOS /usr/etc/install
  883.   # IRIX /sbin/install
  884.   # AIX /bin/install
  885. + # AmigaDOS /c/install
  886.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  887.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  888.   # ./install, which can be erroneously created by make from ./install.sh.
  889. ***************
  890. *** 379,385 ****
  891.     for ac_dir in $PATH; do
  892.       # Account for people who put trailing slashes in PATH elements.
  893.       case "$ac_dir/" in
  894. !     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  895.       *)
  896.         # OSF1 and SCO ODT 3.0 have their own names for install.
  897.         for ac_prog in ginstall installbsd scoinst install; do
  898. --- 384,390 ----
  899.     for ac_dir in $PATH; do
  900.       # Account for people who put trailing slashes in PATH elements.
  901.       case "$ac_dir/" in
  902. !     /|./|.//|/c/*) ;;
  903.       *)
  904.         # OSF1 and SCO ODT 3.0 have their own names for install.
  905.         for ac_prog in ginstall installbsd scoinst install; do
  906. ***************
  907. *** 419,424 ****
  908. --- 424,433 ----
  909.   AC_SUBST(INSTALL_DATA)dnl
  910.   ])
  911.   
  912. + # Symbolic links do work, however they need to be created in
  913. + # canonical AmigaDOS format (foo:path/file) rather than
  914. + # the current Unix style (/foo/path/file).  So for now,
  915. + # act as if they don't work.  -fnf
  916.   AC_DEFUN(AC_PROG_LN_S,
  917.   [AC_MSG_CHECKING(whether ln -s works)
  918.   AC_CACHE_VAL(ac_cv_prog_LN_S,
  919. ***************
  920. *** 426,432 ****
  921.   if ln -s X conftestdata 2>/dev/null
  922.   then
  923.     rm -f conftestdata
  924. !   ac_cv_prog_LN_S="ln -s"
  925.   else
  926.     ac_cv_prog_LN_S=ln
  927.   fi])dnl
  928. --- 435,441 ----
  929.   if ln -s X conftestdata 2>/dev/null
  930.   then
  931.     rm -f conftestdata
  932. !   ac_cv_prog_LN_S="ln"        # hack; was "ln -s"; see note above; fnf
  933.   else
  934.     ac_cv_prog_LN_S=ln
  935.   fi])dnl
  936. ***************
  937. *** 540,553 ****
  938.   dnl defines the type `DIR'.  dirent.h on NextStep 3.2 doesn't.
  939.   dnl AC_CHECK_HEADER_DIRENT(HEADER-FILE, ACTION-IF-FOUND)
  940.   AC_DEFUN(AC_CHECK_HEADER_DIRENT,
  941. ! [ac_safe=`echo "$1" | tr './\055' '___'`
  942.   AC_MSG_CHECKING([for $1 that defines DIR])
  943.   AC_CACHE_VAL(ac_cv_header_dirent_$ac_safe,
  944.   [AC_TRY_COMPILE([#include <sys/types.h>
  945.   #include <$1>], [DIR *dirp = 0;],
  946.     eval "ac_cv_header_dirent_$ac_safe=yes",
  947.     eval "ac_cv_header_dirent_$ac_safe=no")])dnl
  948. ! if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  949.     AC_MSG_RESULT(yes)
  950.     $2
  951.   else
  952. --- 549,562 ----
  953.   dnl defines the type `DIR'.  dirent.h on NextStep 3.2 doesn't.
  954.   dnl AC_CHECK_HEADER_DIRENT(HEADER-FILE, ACTION-IF-FOUND)
  955.   AC_DEFUN(AC_CHECK_HEADER_DIRENT,
  956. ! [ac_safe=`/bin/echo "$1" | tr './\055' '___'`
  957.   AC_MSG_CHECKING([for $1 that defines DIR])
  958.   AC_CACHE_VAL(ac_cv_header_dirent_$ac_safe,
  959.   [AC_TRY_COMPILE([#include <sys/types.h>
  960.   #include <$1>], [DIR *dirp = 0;],
  961.     eval "ac_cv_header_dirent_$ac_safe=yes",
  962.     eval "ac_cv_header_dirent_$ac_safe=no")])dnl
  963. ! if eval "test \"`/bin/echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  964.     AC_MSG_RESULT(yes)
  965.     $2
  966.   else
  967. ***************
  968. *** 563,569 ****
  969.   do
  970.   AC_CHECK_HEADER_DIRENT($ac_hdr,
  971.   [changequote(, )dnl
  972. !   ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  973.   changequote([, ])dnl
  974.     AC_DEFINE_UNQUOTED($ac_tr_hdr) $2])dnl
  975.   done])
  976. --- 572,578 ----
  977.   do
  978.   AC_CHECK_HEADER_DIRENT($ac_hdr,
  979.   [changequote(, )dnl
  980. !   ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  981.   changequote([, ])dnl
  982.     AC_DEFINE_UNQUOTED($ac_tr_hdr) $2])dnl
  983.   done])
  984. ***************
  985. *** 969,974 ****
  986. --- 978,989 ----
  987.   
  988.     sparc_address_test ();
  989.   
  990. + #ifdef __amigados__
  991. +   /* Force this test to succeed for AmigaDOS, which has a fairly good
  992. +      vfork() emulation, but doesn't support fork() at all.  -fnf */
  993. +   exit (0);
  994. + #endif
  995.     child = vfork ();
  996.   
  997.     if (child == 0) {
  998. ***************
  999. *** 1164,1170 ****
  1000.   if test $ac_have_func = no; then
  1001.     # There is a commonly available library for RS/6000 AIX.
  1002.     # Since it is not a standard part of AIX, it might be installed locally.
  1003. !   ac_save_LIBS="$LIBS" LIBS="-L/usr/local/lib $LIBS"
  1004.     AC_CHECK_LIB(getloadavg, getloadavg,
  1005.       LIBS="-lgetloadavg $LIBS", LIBS="$ac_save_LIBS")
  1006.   fi
  1007. --- 1179,1185 ----
  1008.   if test $ac_have_func = no; then
  1009.     # There is a commonly available library for RS/6000 AIX.
  1010.     # Since it is not a standard part of AIX, it might be installed locally.
  1011. !   ac_save_LIBS="$LIBS" LIBS="-L/local/lib $LIBS"
  1012.     AC_CHECK_LIB(getloadavg, getloadavg,
  1013.       LIBS="-lgetloadavg $LIBS", LIBS="$ac_save_LIBS")
  1014.   fi
  1015. ***************
  1016. *** 1244,1250 ****
  1017.     ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
  1018.     # If we got an error (system does not support symlinks), try without -L.
  1019.     test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
  1020. !   ac_cv_group_kmem=`echo $ac_ls_output \
  1021.       | sed -ne 's/[     ][     ]*/ /g;
  1022.              s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\)  *.*/\1/;
  1023.              / /s/.* //;p;'`
  1024. --- 1259,1265 ----
  1025.     ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
  1026.     # If we got an error (system does not support symlinks), try without -L.
  1027.     test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
  1028. !   ac_cv_group_kmem=`/bin/echo $ac_ls_output \
  1029.       | sed -ne 's/[     ][     ]*/ /g;
  1030.              s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\)  *.*/\1/;
  1031.              / /s/.* //;p;'`
  1032. ***************
  1033. *** 1299,1304 ****
  1034. --- 1314,1326 ----
  1035.   [AC_TRY_RUN([#include <stdio.h>
  1036.   /* If setvbuf has the reversed format, exit 0. */
  1037.   main () {
  1038. + #ifdef __amigados__
  1039. +   /* AmigaDOS is a non-reversed system.  Instead of the test program
  1040. +      getting a segfault (no memory protection), it causes enforcer hits
  1041. +      or other nastiness, so don't run the test program, just exit with
  1042. +      status 1 to indicate that it is non-reversed.  -fnf */
  1043. +   exit(1);
  1044. + #endif
  1045.     /* This call has the arguments reversed.
  1046.        A reversed system may check and see that the address of main
  1047.        is not _IOLBF, _IONBF, or _IOFBF, and return nonzero.  */
  1048. ***************
  1049. *** 1665,1671 ****
  1050.   #      $prefix/lib    where we will be installing things
  1051.   #      $exec_prefix/lib    likewise
  1052.   # eval it to expand exec_prefix.
  1053. ! for ac_dir in `eval echo . /tmp /var/tmp /usr/tmp $prefix/lib $exec_prefix/lib` ; do
  1054.     test -d $ac_dir || continue
  1055.     test -w $ac_dir || continue # It is less confusing to not echo anything here.
  1056.     (echo 1 > $ac_dir/conftest9012345) 2>/dev/null
  1057. --- 1687,1693 ----
  1058.   #      $prefix/lib    where we will be installing things
  1059.   #      $exec_prefix/lib    likewise
  1060.   # eval it to expand exec_prefix.
  1061. ! for ac_dir in `eval echo . /tmp $prefix/lib $exec_prefix/lib` ; do
  1062.     test -d $ac_dir || continue
  1063.     test -w $ac_dir || continue # It is less confusing to not echo anything here.
  1064.     (echo 1 > $ac_dir/conftest9012345) 2>/dev/null
  1065. ***************
  1066. *** 1759,1765 ****
  1067.     # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  1068.     cat > Imakefile <<'EOF'
  1069.   acfindx:
  1070. !     @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
  1071.   EOF
  1072.     if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
  1073.       no_x=
  1074. --- 1781,1787 ----
  1075.     # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  1076.     cat > Imakefile <<'EOF'
  1077.   acfindx:
  1078. !     @/bin/echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
  1079.   EOF
  1080.     if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
  1081.       no_x=
  1082. ***************
  1083. *** 1772,1782 ****
  1084.       fi
  1085.       # Screen out bogus values from the imake configuration.
  1086.       case "$ac_im_incroot" in
  1087. !     /usr/include) ;;
  1088.       *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
  1089.       esac
  1090.       case "$ac_im_usrlibdir" in
  1091. !     /usr/lib | /lib) ;;
  1092.       *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
  1093.       esac
  1094.     fi
  1095. --- 1794,1804 ----
  1096.       fi
  1097.       # Screen out bogus values from the imake configuration.
  1098.       case "$ac_im_incroot" in
  1099. !     /gnu/include) ;;
  1100.       *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
  1101.       esac
  1102.       case "$ac_im_usrlibdir" in
  1103. !     /gnu/lib) ;;
  1104.       *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
  1105.       esac
  1106.     fi
  1107. ***************
  1108. *** 1798,1806 ****
  1109.       /usr/X11R5/include        \
  1110.       /usr/X11R4/include        \
  1111.                                 \
  1112. !     /usr/include/X11R6        \
  1113. !     /usr/include/X11R5        \
  1114. !     /usr/include/X11R4        \
  1115.                                 \
  1116.       /usr/local/X11R6/include  \
  1117.       /usr/local/X11R5/include  \
  1118. --- 1820,1828 ----
  1119.       /usr/X11R5/include        \
  1120.       /usr/X11R4/include        \
  1121.                                 \
  1122. !     /gnu/include/X11R6        \
  1123. !     /gnu/include/X11R5        \
  1124. !     /gnu/include/X11R4        \
  1125.                                 \
  1126.       /usr/local/X11R6/include  \
  1127.       /usr/local/X11R5/include  \
  1128. ***************
  1129. *** 1811,1817 ****
  1130.       /usr/local/include/X11R4  \
  1131.                                 \
  1132.       /usr/X11/include          \
  1133. !     /usr/include/X11          \
  1134.       /usr/local/X11/include    \
  1135.       /usr/local/include/X11    \
  1136.                                 \
  1137. --- 1833,1839 ----
  1138.       /usr/local/include/X11R4  \
  1139.                                 \
  1140.       /usr/X11/include          \
  1141. !     /gnu/include/X11          \
  1142.       /usr/local/X11/include    \
  1143.       /usr/local/include/X11    \
  1144.                                 \
  1145. ***************
  1146. *** 1819,1825 ****
  1147.       /usr/x386/include         \
  1148.       /usr/XFree86/include/X11  \
  1149.                                 \
  1150. !     /usr/include              \
  1151.       /usr/local/include        \
  1152.       /usr/unsupported/include  \
  1153.       /usr/athena/include       \
  1154. --- 1841,1847 ----
  1155.       /usr/x386/include         \
  1156.       /usr/XFree86/include/X11  \
  1157.                                 \
  1158. !     /gnu/include              \
  1159.       /usr/local/include        \
  1160.       /usr/unsupported/include  \
  1161.       /usr/athena/include       \
  1162. ***************
  1163. *** 1845,1851 ****
  1164.   [LIBS="$ac_save_LIBS" no_x= ac_x_libraries=],
  1165.   [LIBS="$ac_save_LIBS"
  1166.   # First see if replacing the include by lib works.
  1167. ! for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
  1168.       /usr/X11R6/lib        \
  1169.       /usr/X11R5/lib        \
  1170.       /usr/X11R4/lib        \
  1171. --- 1867,1873 ----
  1172.   [LIBS="$ac_save_LIBS" no_x= ac_x_libraries=],
  1173.   [LIBS="$ac_save_LIBS"
  1174.   # First see if replacing the include by lib works.
  1175. ! for ac_dir in `/bin/echo "$ac_x_includes" | sed s/include/lib/` \
  1176.       /usr/X11R6/lib        \
  1177.       /usr/X11R5/lib        \
  1178.       /usr/X11R4/lib        \
  1179. ***************
  1180. *** 1996,2003 ****
  1181.   AC_BEFORE([$0], [AC_TRY_LINK])dnl
  1182.   AC_BEFORE([$0], [AC_TRY_RUN])dnl
  1183.   AC_MSG_CHECKING(for POSIXized ISC)
  1184. ! if test -d /etc/conf/kconfig.d &&
  1185. !   grep _POSIX_VERSION [/usr/include/sys/unistd.h] >/dev/null 2>&1
  1186.   then
  1187.     AC_MSG_RESULT(yes)
  1188.     ISC=yes # If later tests want to check for ISC.
  1189. --- 2018,2025 ----
  1190.   AC_BEFORE([$0], [AC_TRY_LINK])dnl
  1191.   AC_BEFORE([$0], [AC_TRY_RUN])dnl
  1192.   AC_MSG_CHECKING(for POSIXized ISC)
  1193. ! if test -d /gnu/etc/conf/kconfig.d &&
  1194. !   grep _POSIX_VERSION [/gnu/include/sys/unistd.h] >/dev/null 2>&1
  1195.   then
  1196.     AC_MSG_RESULT(yes)
  1197.     ISC=yes # If later tests want to check for ISC.
  1198. diff -rc --new-file autoconf-2.2-base/autoconf.info autoconf-2.2/autoconf.info
  1199. *** autoconf-2.2-base/autoconf.info    Wed Mar  8 22:08:50 1995
  1200. --- autoconf-2.2/autoconf.info    Thu Mar  9 22:03:00 1995
  1201. ***************
  1202. *** 1,5 ****
  1203. ! This is Info file autoconf.info, produced by Makeinfo-1.55 from the
  1204. ! input file ./autoconf.texi.
  1205.   
  1206.   START-INFO-DIR-ENTRY
  1207.   * Autoconf: (autoconf).         Create source code configuration scripts.
  1208. --- 1,5 ----
  1209. ! This is Info file /gnu-src/autoconf-2.2/autoconf.info, produced by
  1210. ! Makeinfo-1.55 from the input file /gnu-src/autoconf-2.2/autoconf.texi.
  1211.   
  1212.   START-INFO-DIR-ENTRY
  1213.   * Autoconf: (autoconf).         Create source code configuration scripts.
  1214. ***************
  1215. *** 2090,2096 ****
  1216.        and asterisks changed to `P'.  For example, the call
  1217.             AC_CHECK_SIZEOF(int *)
  1218.   
  1219. !      defines `SIZEOF_INT_P' to be 8 on DEC Alpha AXP systems.
  1220.   
  1221.    - Macro: AC_INT_16_BITS
  1222.        If the C type `int' is 16 bits wide, define `INT_16_BITS'.  This
  1223. --- 2090,2096 ----
  1224.        and asterisks changed to `P'.  For example, the call
  1225.             AC_CHECK_SIZEOF(int *)
  1226.   
  1227. !      defines `SIZEOF_INT_P' to be 64 on DEC Alpha AXP systems.
  1228.   
  1229.    - Macro: AC_INT_16_BITS
  1230.        If the C type `int' is 16 bits wide, define `INT_16_BITS'.  This
  1231. ***************
  1232. *** 5245,5362 ****
  1233.   
  1234.   
  1235.   Tag Table:
  1236. ! Node: Top1085
  1237. ! Node: Introduction9224
  1238. ! Node: Making configure Scripts13064
  1239. ! Node: Writing configure.in16129
  1240. ! Node: Invoking autoscan19829
  1241. ! Node: Invoking ifnames22134
  1242. ! Node: Invoking autoconf23624
  1243. ! Node: Invoking autoreconf25462
  1244. ! Node: Setup27782
  1245. ! Node: Input28668
  1246. ! Node: Output30391
  1247. ! Node: Makefile Substitutions33141
  1248. ! Node: Preset Output Variables34730
  1249. ! Node: Build Directories37969
  1250. ! Node: Automatic Remaking39602
  1251. ! Node: Configuration Headers41688
  1252. ! Node: Header Templates44055
  1253. ! Node: Invoking autoheader45234
  1254. ! Node: Subdirectories48321
  1255. ! Node: Default Prefix49664
  1256. ! Node: Versions51068
  1257. ! Node: Existing Tests52972
  1258. ! Node: Alternative Programs54437
  1259. ! Node: Particular Programs55101
  1260. ! Node: Generic Programs60951
  1261. ! Node: Libraries63460
  1262. ! Node: Library Functions65289
  1263. ! Node: Particular Functions65847
  1264. ! Node: Generic Functions72131
  1265. ! Node: Header Files73972
  1266. ! Node: Particular Headers74531
  1267. ! Node: Generic Headers81502
  1268. ! Node: Structures82802
  1269. ! Node: Typedefs85039
  1270. ! Node: Particular Typedefs85543
  1271. ! Node: Generic Typedefs86743
  1272. ! Node: Compiler Characteristics87186
  1273. ! Node: System Services89670
  1274. ! Node: UNIX Variants92019
  1275. ! Node: Writing Tests94038
  1276. ! Node: Examining Declarations96004
  1277. ! Node: Examining Syntax98470
  1278. ! Node: Examining Libraries99525
  1279. ! Node: Run Time102082
  1280. ! Node: Test Programs103043
  1281. ! Node: Guidelines105578
  1282. ! Node: Test Functions106767
  1283. ! Node: Portable Shell108310
  1284. ! Node: Testing Values and Files110247
  1285. ! Node: Multiple Cases111902
  1286. ! Node: Language Choice113100
  1287. ! Node: Results114658
  1288. ! Node: Defining Symbols115417
  1289. ! Node: Setting Output Variables118426
  1290. ! Node: Caching Results120272
  1291. ! Node: Cache Variable Names122174
  1292. ! Node: Cache Files123723
  1293. ! Node: Printing Messages125508
  1294. ! Node: Writing Macros128795
  1295. ! Node: Macro Definitions129414
  1296. ! Node: Macro Names130519
  1297. ! Node: Quoting132970
  1298. ! Node: Dependencies Between Macros134872
  1299. ! Node: Prerequisite Macros135504
  1300. ! Node: Suggested Ordering136959
  1301. ! Node: Obsolete Macros138489
  1302. ! Node: Manual Configuration139713
  1303. ! Node: Specifying Names140612
  1304. ! Node: Canonicalizing142484
  1305. ! Node: System Type Variables143798
  1306. ! Node: Using System Type144545
  1307. ! Node: Site Configuration145992
  1308. ! Node: External Software146765
  1309. ! Node: Package Options149250
  1310. ! Node: Site Details151321
  1311. ! Node: Transforming Names152544
  1312. ! Node: Transformation Options153722
  1313. ! Node: Transformation Examples154188
  1314. ! Node: Transformation Rules155756
  1315. ! Node: Site Defaults157165
  1316. ! Node: Invoking configure160327
  1317. ! Node: Basic Installation161276
  1318. ! Node: Compilers and Options163856
  1319. ! Node: Multiple Architectures164505
  1320. ! Node: Installation Names165491
  1321. ! Node: Optional Features166416
  1322. ! Node: System Type167186
  1323. ! Node: Sharing Defaults168208
  1324. ! Node: Operation Controls168832
  1325. ! Node: Invoking config.status169707
  1326. ! Node: Questions173095
  1327. ! Node: Distributing173627
  1328. ! Node: Why GNU m4174753
  1329. ! Node: Bootstrapping175566
  1330. ! Node: Why Not Imake176182
  1331. ! Node: Upgrading180765
  1332. ! Node: Changed File Names182286
  1333. ! Node: Changed Makefiles183022
  1334. ! Node: Changed Macros184118
  1335. ! Node: Invoking autoupdate185365
  1336. ! Node: Changed Results186956
  1337. ! Node: Changed Macro Writing189058
  1338. ! Node: History190321
  1339. ! Node: Genesis191028
  1340. ! Node: Exodus192201
  1341. ! Node: Leviticus195250
  1342. ! Node: Numbers196773
  1343. ! Node: Deuteronomy198689
  1344. ! Node: Old Macro Names201353
  1345. ! Node: Environment Variable Index204402
  1346. ! Node: Output Variable Index205404
  1347. ! Node: Preprocessor Symbol Index209485
  1348. ! Node: Macro Index214355
  1349.   
  1350.   End Tag Table
  1351. --- 5245,5362 ----
  1352.   
  1353.   
  1354.   Tag Table:
  1355. ! Node: Top1127
  1356. ! Node: Introduction9266
  1357. ! Node: Making configure Scripts13106
  1358. ! Node: Writing configure.in16171
  1359. ! Node: Invoking autoscan19871
  1360. ! Node: Invoking ifnames22176
  1361. ! Node: Invoking autoconf23666
  1362. ! Node: Invoking autoreconf25504
  1363. ! Node: Setup27824
  1364. ! Node: Input28710
  1365. ! Node: Output30433
  1366. ! Node: Makefile Substitutions33183
  1367. ! Node: Preset Output Variables34772
  1368. ! Node: Build Directories38011
  1369. ! Node: Automatic Remaking39644
  1370. ! Node: Configuration Headers41730
  1371. ! Node: Header Templates44097
  1372. ! Node: Invoking autoheader45276
  1373. ! Node: Subdirectories48363
  1374. ! Node: Default Prefix49706
  1375. ! Node: Versions51110
  1376. ! Node: Existing Tests53014
  1377. ! Node: Alternative Programs54479
  1378. ! Node: Particular Programs55143
  1379. ! Node: Generic Programs60993
  1380. ! Node: Libraries63502
  1381. ! Node: Library Functions65331
  1382. ! Node: Particular Functions65889
  1383. ! Node: Generic Functions72173
  1384. ! Node: Header Files74014
  1385. ! Node: Particular Headers74573
  1386. ! Node: Generic Headers81544
  1387. ! Node: Structures82844
  1388. ! Node: Typedefs85081
  1389. ! Node: Particular Typedefs85585
  1390. ! Node: Generic Typedefs86785
  1391. ! Node: Compiler Characteristics87228
  1392. ! Node: System Services89713
  1393. ! Node: UNIX Variants92062
  1394. ! Node: Writing Tests94081
  1395. ! Node: Examining Declarations96047
  1396. ! Node: Examining Syntax98513
  1397. ! Node: Examining Libraries99568
  1398. ! Node: Run Time102125
  1399. ! Node: Test Programs103086
  1400. ! Node: Guidelines105621
  1401. ! Node: Test Functions106810
  1402. ! Node: Portable Shell108353
  1403. ! Node: Testing Values and Files110290
  1404. ! Node: Multiple Cases111945
  1405. ! Node: Language Choice113143
  1406. ! Node: Results114701
  1407. ! Node: Defining Symbols115460
  1408. ! Node: Setting Output Variables118469
  1409. ! Node: Caching Results120315
  1410. ! Node: Cache Variable Names122217
  1411. ! Node: Cache Files123766
  1412. ! Node: Printing Messages125551
  1413. ! Node: Writing Macros128838
  1414. ! Node: Macro Definitions129457
  1415. ! Node: Macro Names130562
  1416. ! Node: Quoting133013
  1417. ! Node: Dependencies Between Macros134915
  1418. ! Node: Prerequisite Macros135547
  1419. ! Node: Suggested Ordering137002
  1420. ! Node: Obsolete Macros138532
  1421. ! Node: Manual Configuration139756
  1422. ! Node: Specifying Names140655
  1423. ! Node: Canonicalizing142527
  1424. ! Node: System Type Variables143841
  1425. ! Node: Using System Type144588
  1426. ! Node: Site Configuration146035
  1427. ! Node: External Software146808
  1428. ! Node: Package Options149293
  1429. ! Node: Site Details151364
  1430. ! Node: Transforming Names152587
  1431. ! Node: Transformation Options153765
  1432. ! Node: Transformation Examples154231
  1433. ! Node: Transformation Rules155799
  1434. ! Node: Site Defaults157208
  1435. ! Node: Invoking configure160370
  1436. ! Node: Basic Installation161319
  1437. ! Node: Compilers and Options163899
  1438. ! Node: Multiple Architectures164548
  1439. ! Node: Installation Names165534
  1440. ! Node: Optional Features166459
  1441. ! Node: System Type167229
  1442. ! Node: Sharing Defaults168251
  1443. ! Node: Operation Controls168875
  1444. ! Node: Invoking config.status169750
  1445. ! Node: Questions173138
  1446. ! Node: Distributing173670
  1447. ! Node: Why GNU m4174796
  1448. ! Node: Bootstrapping175609
  1449. ! Node: Why Not Imake176225
  1450. ! Node: Upgrading180808
  1451. ! Node: Changed File Names182329
  1452. ! Node: Changed Makefiles183065
  1453. ! Node: Changed Macros184161
  1454. ! Node: Invoking autoupdate185408
  1455. ! Node: Changed Results186999
  1456. ! Node: Changed Macro Writing189101
  1457. ! Node: History190364
  1458. ! Node: Genesis191071
  1459. ! Node: Exodus192244
  1460. ! Node: Leviticus195293
  1461. ! Node: Numbers196816
  1462. ! Node: Deuteronomy198732
  1463. ! Node: Old Macro Names201396
  1464. ! Node: Environment Variable Index204445
  1465. ! Node: Output Variable Index205447
  1466. ! Node: Preprocessor Symbol Index209528
  1467. ! Node: Macro Index214398
  1468.   
  1469.   End Tag Table
  1470. diff -rc --new-file autoconf-2.2-base/autoconf.sh autoconf-2.2/autoconf.sh
  1471. *** autoconf-2.2-base/autoconf.sh    Tue Feb  7 22:31:24 1995
  1472. --- autoconf-2.2/autoconf.sh    Thu Mar  9 21:42:34 1995
  1473. ***************
  1474. *** 47,59 ****
  1475.   while test $# -gt 0 ; do
  1476.      case "${1}" in 
  1477.         -h | --help | --h* )
  1478. !          echo "${usage}" 1>&2; exit 0 ;;
  1479.         --localdir=* | --l*=* )
  1480.            localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
  1481.            shift ;;
  1482.         -l | --localdir | --l*)
  1483.            shift
  1484. !          test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
  1485.            localdir="${1}"
  1486.            shift ;;
  1487.         --macrodir=* | --m*=* )
  1488. --- 47,59 ----
  1489.   while test $# -gt 0 ; do
  1490.      case "${1}" in 
  1491.         -h | --help | --h* )
  1492. !          /bin/echo "${usage}" 1>&2; exit 0 ;;
  1493.         --localdir=* | --l*=* )
  1494.            localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
  1495.            shift ;;
  1496.         -l | --localdir | --l*)
  1497.            shift
  1498. !          test $# -eq 0 && { /bin/echo "${usage}" 1>&2; exit 1; }
  1499.            localdir="${1}"
  1500.            shift ;;
  1501.         --macrodir=* | --m*=* )
  1502. ***************
  1503. *** 61,67 ****
  1504.            shift ;;
  1505.         -m | --macrodir | --m* ) 
  1506.            shift
  1507. !          test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
  1508.            AC_MACRODIR="${1}"
  1509.            shift ;;
  1510.         --version | --v* )
  1511. --- 61,67 ----
  1512.            shift ;;
  1513.         -m | --macrodir | --m* ) 
  1514.            shift
  1515. !          test $# -eq 0 && { /bin/echo "${usage}" 1>&2; exit 1; }
  1516.            AC_MACRODIR="${1}"
  1517.            shift ;;
  1518.         --version | --v* )
  1519. ***************
  1520. *** 71,77 ****
  1521.         - )    # Use stdin as input.
  1522.           break ;;
  1523.         -* )
  1524. !         echo "${usage}" 1>&2; exit 1 ;;
  1525.         * )
  1526.           break ;;
  1527.      esac
  1528. --- 71,77 ----
  1529.         - )    # Use stdin as input.
  1530.           break ;;
  1531.         -* )
  1532. !         /bin/echo "${usage}" 1>&2; exit 1 ;;
  1533.         * )
  1534.           break ;;
  1535.      esac
  1536. ***************
  1537. *** 87,93 ****
  1538.   case $# in
  1539.     0) infile=configure.in ;;
  1540.     1) infile="$1" ;;
  1541. !   *) echo "$usage" >&2; exit 1 ;;
  1542.   esac
  1543.   
  1544.   trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
  1545. --- 87,93 ----
  1546.   case $# in
  1547.     0) infile=configure.in ;;
  1548.     1) infile="$1" ;;
  1549. !   *) /bin/echo "$usage" >&2; exit 1 ;;
  1550.   esac
  1551.   
  1552.   trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
  1553. ***************
  1554. *** 126,132 ****
  1555.   
  1556.   status=0
  1557.   if grep "${pattern}" $tmpout > /dev/null 2>&1; then
  1558. !   echo "autoconf: Undefined macros:" >&2
  1559.     grep "${pattern}" $tmpout | sed "s/.*\(${pattern}[_A-Z0-9]*\).*/\1/" |
  1560.       while read name; do
  1561.         grep -n $name $infile /dev/null
  1562. --- 126,132 ----
  1563.   
  1564.   status=0
  1565.   if grep "${pattern}" $tmpout > /dev/null 2>&1; then
  1566. !   /bin/echo "autoconf: Undefined macros:" >&2
  1567.     grep "${pattern}" $tmpout | sed "s/.*\(${pattern}[_A-Z0-9]*\).*/\1/" |
  1568.       while read name; do
  1569.         grep -n $name $infile /dev/null
  1570. ***************
  1571. *** 135,141 ****
  1572.   fi
  1573.   
  1574.   if test $# -eq 0; then
  1575. !   exec 4> configure; chmod +x configure
  1576.   else
  1577.     exec 4>&1
  1578.   fi
  1579. --- 135,141 ----
  1580.   fi
  1581.   
  1582.   if test $# -eq 0; then
  1583. !   exec 4> configure
  1584.   else
  1585.     exec 4>&1
  1586.   fi
  1587. diff -rc --new-file autoconf-2.2-base/autoconf.texi autoconf-2.2/autoconf.texi
  1588. *** autoconf-2.2-base/autoconf.texi    Wed Mar  8 22:02:53 1995
  1589. --- autoconf-2.2/autoconf.texi    Thu Mar  9 21:42:40 1995
  1590. ***************
  1591. *** 2463,2469 ****
  1592.   AC_CHECK_SIZEOF(int *)
  1593.   @end example
  1594.   @noindent
  1595. ! defines @code{SIZEOF_INT_P} to be 8 on DEC Alpha AXP systems.
  1596.   @end defmac
  1597.   
  1598.   @defmac AC_INT_16_BITS
  1599. --- 2463,2469 ----
  1600.   AC_CHECK_SIZEOF(int *)
  1601.   @end example
  1602.   @noindent
  1603. ! defines @code{SIZEOF_INT_P} to be 64 on DEC Alpha AXP systems.
  1604.   @end defmac
  1605.   
  1606.   @defmac AC_INT_16_BITS
  1607. diff -rc --new-file autoconf-2.2-base/autoheader.sh autoconf-2.2/autoheader.sh
  1608. *** autoconf-2.2-base/autoheader.sh    Tue Feb 21 20:09:19 1995
  1609. --- autoconf-2.2/autoheader.sh    Thu Mar  9 21:42:42 1995
  1610. ***************
  1611. *** 47,59 ****
  1612.   while test $# -gt 0 ; do
  1613.      case "${1}" in 
  1614.         -h | --help | --h* )
  1615. !          echo "${usage}"; exit 0 ;;
  1616.         --localdir=* | --l*=* )
  1617.            localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
  1618.            shift ;;
  1619.         -l | --localdir | --l*)
  1620.            shift
  1621. !          test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
  1622.            localdir="${1}"
  1623.            shift ;;
  1624.         --macrodir=* | --m*=* )
  1625. --- 47,59 ----
  1626.   while test $# -gt 0 ; do
  1627.      case "${1}" in 
  1628.         -h | --help | --h* )
  1629. !          /bin/echo "${usage}"; exit 0 ;;
  1630.         --localdir=* | --l*=* )
  1631.            localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
  1632.            shift ;;
  1633.         -l | --localdir | --l*)
  1634.            shift
  1635. !          test $# -eq 0 && { /bin/echo "${usage}" 1>&2; exit 1; }
  1636.            localdir="${1}"
  1637.            shift ;;
  1638.         --macrodir=* | --m*=* )
  1639. ***************
  1640. *** 61,67 ****
  1641.            shift ;;
  1642.         -m | --macrodir | --m* ) 
  1643.            shift
  1644. !          test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
  1645.            AC_MACRODIR="${1}"
  1646.            shift ;;
  1647.         --version | --v* )
  1648. --- 61,67 ----
  1649.            shift ;;
  1650.         -m | --macrodir | --m* ) 
  1651.            shift
  1652. !          test $# -eq 0 && { /bin/echo "${usage}" 1>&2; exit 1; }
  1653.            AC_MACRODIR="${1}"
  1654.            shift ;;
  1655.         --version | --v* )
  1656. ***************
  1657. *** 71,77 ****
  1658.         - )    # Use stdin as input.
  1659.           break ;;
  1660.         -* )
  1661. !         echo "${usage}" 1>&2; exit 1 ;;
  1662.         * )
  1663.           break ;;
  1664.      esac
  1665. --- 71,77 ----
  1666.         - )    # Use stdin as input.
  1667.           break ;;
  1668.         -* )
  1669. !         /bin/echo "${usage}" 1>&2; exit 1 ;;
  1670.         * )
  1671.           break ;;
  1672.      esac
  1673. ***************
  1674. *** 90,96 ****
  1675.   case $# in
  1676.     0) infile=configure.in ;;
  1677.     1) infile=$1 ;;
  1678. !   *) echo "$usage" >&2; exit 1 ;;
  1679.   esac
  1680.   
  1681.   config_h=config.h
  1682. --- 90,96 ----
  1683.   case $# in
  1684.     0) infile=configure.in ;;
  1685.     1) infile=$1 ;;
  1686. !   *) /bin//bin/echo "$usage" >&2; exit 1 ;;
  1687.   esac
  1688.   
  1689.   config_h=config.h
  1690. ***************
  1691. *** 133,139 ****
  1692.   # Start each symbol with a blank (to match the blank after "#undef")
  1693.   # to reduce the possibility of mistakenly matching another symbol that
  1694.   # is a substring of it.
  1695. ! syms="`for sym in $syms; do echo $sym; done | sort | uniq | sed 's@^@ @'`"
  1696.   
  1697.   if test $# -eq 0; then
  1698.     tmpout=autoh$$
  1699. --- 133,139 ----
  1700.   # Start each symbol with a blank (to match the blank after "#undef")
  1701.   # to reduce the possibility of mistakenly matching another symbol that
  1702.   # is a substring of it.
  1703. ! syms="`for sym in $syms; do /bin/echo $sym; done | sort | uniq | sed 's@^@ @'`"
  1704.   
  1705.   if test $# -eq 0; then
  1706.     tmpout=autoh$$
  1707. ***************
  1708. *** 143,150 ****
  1709.   
  1710.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  1711.   case "$config_h" in
  1712. ! *:*) config_h_in=`echo "$config_h"|sed 's%.*:%%'`
  1713. !      config_h=`echo "$config_h"|sed 's%:.*%%'` ;;
  1714.   *) config_h_in="${config_h}.in" ;;
  1715.   esac
  1716.   
  1717. --- 143,150 ----
  1718.   
  1719.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  1720.   case "$config_h" in
  1721. ! *:*) config_h_in=`/bin/echo "$config_h"|sed 's%.*:%%'`
  1722. !      config_h=`/bin/echo "$config_h"|sed 's%:.*%%'` ;;
  1723.   *) config_h_in="${config_h}.in" ;;
  1724.   esac
  1725.   
  1726. ***************
  1727. *** 162,168 ****
  1728.      # Make sure the boundary of template files is also the boundary
  1729.      # of the paragraph.  Extra newlines don't hurt since they will
  1730.      # be removed.
  1731. !    for t in $TEMPLATES; do cat $t; echo; echo; done |
  1732.      # The sed script is suboptimal because it has to take care of
  1733.      # some broken seds (e.g. AIX) that remove '\n' from the
  1734.      # pattern/hold space if the line is empty. (junio@twinsun.com).
  1735. --- 162,168 ----
  1736.      # Make sure the boundary of template files is also the boundary
  1737.      # of the paragraph.  Extra newlines don't hurt since they will
  1738.      # be removed.
  1739. !    for t in $TEMPLATES; do cat $t; /bin/echo; /bin/echo; done |
  1740.      # The sed script is suboptimal because it has to take care of
  1741.      # some broken seds (e.g. AIX) that remove '\n' from the
  1742.      # pattern/hold space if the line is empty. (junio@twinsun.com).
  1743. ***************
  1744. *** 180,189 ****
  1745.      tr @ \\012
  1746.   fi
  1747.   
  1748. ! echo "$types" | tr , \\012 | sort | uniq | while read ctype; do
  1749.     test -z "$ctype" && continue
  1750.     # Solaris 2.3 tr rejects noncontiguous characters in character classes.
  1751. !   sym="`echo "${ctype}" | tr '[a-z] *' '[A-Z]_P'`"
  1752.     echo "
  1753.   /* The number of bytes in a ${ctype}.  */
  1754.   #undef SIZEOF_${sym}"
  1755. --- 180,189 ----
  1756.      tr @ \\012
  1757.   fi
  1758.   
  1759. ! /bin/echo "$types" | tr , \\012 | sort | uniq | while read ctype; do
  1760.     test -z "$ctype" && continue
  1761.     # Solaris 2.3 tr rejects noncontiguous characters in character classes.
  1762. !   sym="`/bin/echo "${ctype}" | tr '[a-z] *' '[A-Z]_P'`"
  1763.     echo "
  1764.   /* The number of bytes in a ${ctype}.  */
  1765.   #undef SIZEOF_${sym}"
  1766. ***************
  1767. *** 191,198 ****
  1768.   
  1769.   # /bin/sh on the Alpha gives `for' a random value if $funcs is empty.
  1770.   if test -n "$funcs"; then
  1771. !   for func in `for x in $funcs; do echo $x; done | sort | uniq`; do
  1772. !     sym="`echo ${func} | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]'`"
  1773.       echo "
  1774.   /* Define if you have the ${func} function.  */
  1775.   #undef HAVE_${sym}"
  1776. --- 191,198 ----
  1777.   
  1778.   # /bin/sh on the Alpha gives `for' a random value if $funcs is empty.
  1779.   if test -n "$funcs"; then
  1780. !   for func in `for x in $funcs; do /bin/echo $x; done | sort | uniq`; do
  1781. !     sym="`/bin/echo ${func} | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]'`"
  1782.       echo "
  1783.   /* Define if you have the ${func} function.  */
  1784.   #undef HAVE_${sym}"
  1785. ***************
  1786. *** 200,207 ****
  1787.   fi
  1788.   
  1789.   if test -n "$headers"; then
  1790. !   for header in `for x in $headers; do echo $x; done | sort | uniq`; do
  1791. !     sym="`echo ${header} | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]'`"
  1792.       echo "
  1793.   /* Define if you have the <${header}> header file.  */
  1794.   #undef HAVE_${sym}"
  1795. --- 200,207 ----
  1796.   fi
  1797.   
  1798.   if test -n "$headers"; then
  1799. !   for header in `for x in $headers; do /bin/echo $x; done | sort | uniq`; do
  1800. !     sym="`/bin/echo ${header} | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]'`"
  1801.       echo "
  1802.   /* Define if you have the <${header}> header file.  */
  1803.   #undef HAVE_${sym}"
  1804. ***************
  1805. *** 209,216 ****
  1806.   fi
  1807.   
  1808.   if test -n "$libs"; then
  1809. !   for lib in `for x in $libs; do echo $x; done | sort | uniq`; do
  1810. !    sym="`echo ${lib} | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]'`"
  1811.       echo "
  1812.   /* Define if you have the ${lib} library (-l${lib}).  */
  1813.   #undef HAVE_LIB${sym}"
  1814. --- 209,216 ----
  1815.   fi
  1816.   
  1817.   if test -n "$libs"; then
  1818. !   for lib in `for x in $libs; do /bin/echo $x; done | sort | uniq`; do
  1819. !    sym="`/bin/echo ${lib} | sed 's/[^a-zA-Z0-9_]/_/g' | tr '[a-z]' '[A-Z]'`"
  1820.       echo "
  1821.   /* Define if you have the ${lib} library (-l${lib}).  */
  1822.   #undef HAVE_LIB${sym}"
  1823. ***************
  1824. *** 230,236 ****
  1825.       if fgrep $sym $TEMPLATES >/dev/null; then
  1826.         : # All is well.
  1827.       else
  1828. !       echo "$0: Symbol \`${sym}' is not covered by $TEMPLATES" >&2
  1829.         status=1
  1830.       fi
  1831.     done
  1832. --- 230,236 ----
  1833.       if fgrep $sym $TEMPLATES >/dev/null; then
  1834.         : # All is well.
  1835.       else
  1836. !       /bin/echo "$0: Symbol \`${sym}' is not covered by $TEMPLATES" >&2
  1837.         status=1
  1838.       fi
  1839.     done
  1840. diff -rc --new-file autoconf-2.2-base/configure autoconf-2.2/configure
  1841. *** autoconf-2.2-base/configure    Wed Mar  8 22:07:03 1995
  1842. --- autoconf-2.2/configure    Thu Mar  9 23:10:52 1995
  1843. ***************
  1844. *** 9,15 ****
  1845.   
  1846.   # Defaults:
  1847.   ac_help=
  1848. ! ac_default_prefix=/usr/local
  1849.   # Any additions from configure.in:
  1850.   
  1851.   # Initialize some variables set by options.
  1852. --- 9,15 ----
  1853.   
  1854.   # Defaults:
  1855.   ac_help=
  1856. ! ac_default_prefix=/gnu
  1857.   # Any additions from configure.in:
  1858.   
  1859.   # Initialize some variables set by options.
  1860. ***************
  1861. *** 49,55 ****
  1862.     fi
  1863.   
  1864.     case "$ac_option" in
  1865. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  1866.     *) ac_optarg= ;;
  1867.     esac
  1868.   
  1869. --- 49,55 ----
  1870.     fi
  1871.   
  1872.     case "$ac_option" in
  1873. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  1874.     *) ac_optarg= ;;
  1875.     esac
  1876.   
  1877. ***************
  1878. *** 70,90 ****
  1879.       cache_file="$ac_optarg" ;;
  1880.   
  1881.     -disable-* | --disable-*)
  1882. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  1883.       # Reject names that are not valid shell variable names.
  1884. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1885.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1886.       fi
  1887. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  1888.       eval "enable_${ac_feature}=no" ;;
  1889.   
  1890.     -enable-* | --enable-*)
  1891. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  1892.       # Reject names that are not valid shell variable names.
  1893. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1894.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1895.       fi
  1896. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  1897.       case "$ac_option" in
  1898.         *=*) ;;
  1899.         *) ac_optarg=yes ;;
  1900. --- 70,90 ----
  1901.       cache_file="$ac_optarg" ;;
  1902.   
  1903.     -disable-* | --disable-*)
  1904. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  1905.       # Reject names that are not valid shell variable names.
  1906. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1907.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1908.       fi
  1909. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  1910.       eval "enable_${ac_feature}=no" ;;
  1911.   
  1912.     -enable-* | --enable-*)
  1913. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  1914.       # Reject names that are not valid shell variable names.
  1915. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1916.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1917.       fi
  1918. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  1919.       case "$ac_option" in
  1920.         *=*) ;;
  1921.         *) ac_optarg=yes ;;
  1922. ***************
  1923. *** 220,231 ****
  1924.       exit 0 ;;
  1925.   
  1926.     -with-* | --with-*)
  1927. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  1928.       # Reject names that are not valid shell variable names.
  1929. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1930.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1931.       fi
  1932. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  1933.       case "$ac_option" in
  1934.         *=*) ;;
  1935.         *) ac_optarg=yes ;;
  1936. --- 220,231 ----
  1937.       exit 0 ;;
  1938.   
  1939.     -with-* | --with-*)
  1940. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  1941.       # Reject names that are not valid shell variable names.
  1942. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1943.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1944.       fi
  1945. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  1946.       case "$ac_option" in
  1947.         *=*) ;;
  1948.         *) ac_optarg=yes ;;
  1949. ***************
  1950. *** 233,244 ****
  1951.       eval "with_${ac_package}='$ac_optarg'" ;;
  1952.   
  1953.     -without-* | --without-*)
  1954. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  1955.       # Reject names that are not valid shell variable names.
  1956. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1957.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1958.       fi
  1959. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  1960.       eval "with_${ac_package}=no" ;;
  1961.   
  1962.     --x)
  1963. --- 233,244 ----
  1964.       eval "with_${ac_package}='$ac_optarg'" ;;
  1965.   
  1966.     -without-* | --without-*)
  1967. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  1968.       # Reject names that are not valid shell variable names.
  1969. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1970.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1971.       fi
  1972. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  1973.       eval "with_${ac_package}=no" ;;
  1974.   
  1975.     --x)
  1976. ***************
  1977. *** 263,269 ****
  1978.       ;;
  1979.   
  1980.     *) 
  1981. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  1982.         echo "configure: warning: $ac_option: invalid host type" 1>&2
  1983.       fi
  1984.       if test "x$nonopt" != xNONE; then
  1985. --- 263,269 ----
  1986.       ;;
  1987.   
  1988.     *) 
  1989. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  1990.         echo "configure: warning: $ac_option: invalid host type" 1>&2
  1991.       fi
  1992.       if test "x$nonopt" != xNONE; then
  1993. ***************
  1994. *** 276,282 ****
  1995.   done
  1996.   
  1997.   if test -n "$ac_prev"; then
  1998. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  1999.   fi
  2000.   
  2001.   trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2002. --- 276,282 ----
  2003.   done
  2004.   
  2005.   if test -n "$ac_prev"; then
  2006. !   { echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  2007.   fi
  2008.   
  2009.   trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2010. ***************
  2011. *** 327,333 ****
  2012.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2013.   rm -rf conftest* confdefs.h
  2014.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  2015. ! echo > confdefs.h
  2016.   
  2017.   # A filename unique to this package, relative to the directory that
  2018.   # configure is in, which we can look for to find out if srcdir is correct.
  2019. --- 327,333 ----
  2020.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2021.   rm -rf conftest* confdefs.h
  2022.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  2023. ! /bin/echo > confdefs.h
  2024.   
  2025.   # A filename unique to this package, relative to the directory that
  2026.   # configure is in, which we can look for to find out if srcdir is correct.
  2027. ***************
  2028. *** 338,344 ****
  2029.     ac_srcdir_defaulted=yes
  2030.     # Try the directory containing this script, then its parent.
  2031.     ac_prog=$0
  2032. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  2033.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  2034.     srcdir=$ac_confdir
  2035.     if test ! -r $srcdir/$ac_unique_file; then
  2036. --- 338,344 ----
  2037.     ac_srcdir_defaulted=yes
  2038.     # Try the directory containing this script, then its parent.
  2039.     ac_prog=$0
  2040. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  2041.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  2042.     srcdir=$ac_confdir
  2043.     if test ! -r $srcdir/$ac_unique_file; then
  2044. ***************
  2045. *** 354,360 ****
  2046.       { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  2047.     fi
  2048.   fi
  2049. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  2050.   
  2051.   # Prefer explicitly selected file to automatically selected ones.
  2052.   if test -z "$CONFIG_SITE"; then
  2053. --- 354,360 ----
  2054.       { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  2055.     fi
  2056.   fi
  2057. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  2058.   
  2059.   # Prefer explicitly selected file to automatically selected ones.
  2060.   if test -z "$CONFIG_SITE"; then
  2061. ***************
  2062. *** 404,410 ****
  2063.   else
  2064.     # Double any \ or $.
  2065.     echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
  2066. !   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  2067.     rm -f conftestsed
  2068.   fi
  2069.   test "$program_prefix" != NONE &&
  2070. --- 404,410 ----
  2071.   else
  2072.     # Double any \ or $.
  2073.     echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
  2074. !   program_transform_name="`/bin/echo $program_transform_name|sed -f conftestsed`"
  2075.     rm -f conftestsed
  2076.   fi
  2077.   test "$program_prefix" != NONE &&
  2078. ***************
  2079. *** 421,429 ****
  2080.   do
  2081.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2082.   set dummy $ac_prog; ac_word=$2
  2083. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2084.   if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
  2085. !   echo $ac_n "(cached) $ac_c" 1>&6
  2086.   else
  2087.     case "$M4" in
  2088.     /*)
  2089. --- 421,429 ----
  2090.   do
  2091.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2092.   set dummy $ac_prog; ac_word=$2
  2093. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2094.   if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
  2095. !   /bin/echo $ac_n "(cached) $ac_c" 1>&6
  2096.   else
  2097.     case "$M4" in
  2098.     /*)
  2099. ***************
  2100. *** 444,452 ****
  2101.   fi
  2102.   M4="$ac_cv_path_M4"
  2103.   if test -n "$M4"; then
  2104. !   echo "$ac_t""$M4" 1>&6
  2105.   else
  2106. !   echo "$ac_t""no" 1>&6
  2107.   fi
  2108.   
  2109.   test -n "$M4" && break
  2110. --- 444,452 ----
  2111.   fi
  2112.   M4="$ac_cv_path_M4"
  2113.   if test -n "$M4"; then
  2114. !   /bin/echo "$ac_t""$M4" 1>&6
  2115.   else
  2116. !   /bin/echo "$ac_t""no" 1>&6
  2117.   fi
  2118.   
  2119.   test -n "$M4" && break
  2120. ***************
  2121. *** 457,465 ****
  2122.   do
  2123.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2124.   set dummy $ac_prog; ac_word=$2
  2125. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2126.   if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
  2127. !   echo $ac_n "(cached) $ac_c" 1>&6
  2128.   else
  2129.     if test -n "$AWK"; then
  2130.     ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2131. --- 457,465 ----
  2132.   do
  2133.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2134.   set dummy $ac_prog; ac_word=$2
  2135. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2136.   if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
  2137. !   /bin/echo $ac_n "(cached) $ac_c" 1>&6
  2138.   else
  2139.     if test -n "$AWK"; then
  2140.     ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2141. ***************
  2142. *** 477,485 ****
  2143.   fi
  2144.   AWK="$ac_cv_prog_AWK"
  2145.   if test -n "$AWK"; then
  2146. !   echo "$ac_t""$AWK" 1>&6
  2147.   else
  2148. !   echo "$ac_t""no" 1>&6
  2149.   fi
  2150.   
  2151.   test -n "$AWK" && break
  2152. --- 477,485 ----
  2153.   fi
  2154.   AWK="$ac_cv_prog_AWK"
  2155.   if test -n "$AWK"; then
  2156. !   /bin/echo "$ac_t""$AWK" 1>&6
  2157.   else
  2158. !   /bin/echo "$ac_t""no" 1>&6
  2159.   fi
  2160.   
  2161.   test -n "$AWK" && break
  2162. ***************
  2163. *** 488,496 ****
  2164.   
  2165.   # Extract the first word of "perl", so it can be a program name with args.
  2166.   set dummy perl; ac_word=$2
  2167. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2168.   if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
  2169. !   echo $ac_n "(cached) $ac_c" 1>&6
  2170.   else
  2171.     case "$PERL" in
  2172.     /*)
  2173. --- 488,496 ----
  2174.   
  2175.   # Extract the first word of "perl", so it can be a program name with args.
  2176.   set dummy perl; ac_word=$2
  2177. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2178.   if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
  2179. !   /bin/echo $ac_n "(cached) $ac_c" 1>&6
  2180.   else
  2181.     case "$PERL" in
  2182.     /*)
  2183. ***************
  2184. *** 512,520 ****
  2185.   fi
  2186.   PERL="$ac_cv_path_PERL"
  2187.   if test -n "$PERL"; then
  2188. !   echo "$ac_t""$PERL" 1>&6
  2189.   else
  2190. !   echo "$ac_t""no" 1>&6
  2191.   fi
  2192.   
  2193.   if test "$PERL" != no; then
  2194. --- 512,520 ----
  2195.   fi
  2196.   PERL="$ac_cv_path_PERL"
  2197.   if test -n "$PERL"; then
  2198. !   /bin/echo "$ac_t""$PERL" 1>&6
  2199.   else
  2200. !   /bin/echo "$ac_t""no" 1>&6
  2201.   fi
  2202.   
  2203.   if test "$PERL" != no; then
  2204. ***************
  2205. *** 549,567 ****
  2206.   # SunOS /usr/etc/install
  2207.   # IRIX /sbin/install
  2208.   # AIX /bin/install
  2209.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2210.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2211.   # ./install, which can be erroneously created by make from ./install.sh.
  2212. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  2213.   if test -z "$INSTALL"; then
  2214.   if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  2215. !   echo $ac_n "(cached) $ac_c" 1>&6
  2216.   else
  2217.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2218.     for ac_dir in $PATH; do
  2219.       # Account for people who put trailing slashes in PATH elements.
  2220.       case "$ac_dir/" in
  2221. !     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  2222.       *)
  2223.         # OSF1 and SCO ODT 3.0 have their own names for install.
  2224.         for ac_prog in ginstall installbsd scoinst install; do
  2225. --- 549,568 ----
  2226.   # SunOS /usr/etc/install
  2227.   # IRIX /sbin/install
  2228.   # AIX /bin/install
  2229. + # AmigaDOS /c/install
  2230.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2231.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2232.   # ./install, which can be erroneously created by make from ./install.sh.
  2233. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  2234.   if test -z "$INSTALL"; then
  2235.   if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  2236. !   /bin/echo $ac_n "(cached) $ac_c" 1>&6
  2237.   else
  2238.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2239.     for ac_dir in $PATH; do
  2240.       # Account for people who put trailing slashes in PATH elements.
  2241.       case "$ac_dir/" in
  2242. !     /|./|.//|/c/*) ;;
  2243.       *)
  2244.         # OSF1 and SCO ODT 3.0 have their own names for install.
  2245.         for ac_prog in ginstall installbsd scoinst install; do
  2246. ***************
  2247. *** 586,592 ****
  2248.   fi
  2249.     INSTALL="$ac_cv_path_install"
  2250.   fi
  2251. ! echo "$ac_t""$INSTALL" 1>&6
  2252.   
  2253.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2254.   # It thinks the first close brace ends the variable substitution.
  2255. --- 587,593 ----
  2256.   fi
  2257.     INSTALL="$ac_cv_path_install"
  2258.   fi
  2259. ! /bin/echo "$ac_t""$INSTALL" 1>&6
  2260.   
  2261.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2262.   # It thinks the first close brace ends the variable substitution.
  2263. ***************
  2264. *** 667,673 ****
  2265.   : ${CONFIG_STATUS=./config.status}
  2266.   
  2267.   echo creating $CONFIG_STATUS
  2268. ! rm -f $CONFIG_STATUS
  2269.   cat > $CONFIG_STATUS <<EOF
  2270.   #! /bin/sh
  2271.   # Generated automatically by configure.
  2272. --- 668,676 ----
  2273.   : ${CONFIG_STATUS=./config.status}
  2274.   
  2275.   echo creating $CONFIG_STATUS
  2276. ! # Some systems, like AmigaDOS, won't allow you to remove a script that is
  2277. ! # being executed, so just move it out of the way instead.
  2278. ! if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  2279.   cat > $CONFIG_STATUS <<EOF
  2280.   #! /bin/sh
  2281.   # Generated automatically by configure.
  2282. ***************
  2283. *** 688,694 ****
  2284.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2285.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2286.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2287. !     echo "$CONFIG_STATUS generated by autoconf version 2.2"
  2288.       exit 0 ;;
  2289.     -help | --help | --hel | --he | --h)
  2290.       echo "\$ac_cs_usage"; exit 0 ;;
  2291. --- 691,697 ----
  2292.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2293.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2294.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2295. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.2"
  2296.       exit 0 ;;
  2297.     -help | --help | --hel | --he | --h)
  2298.       echo "\$ac_cs_usage"; exit 0 ;;
  2299. ***************
  2300. *** 734,754 ****
  2301.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2302.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2303.     case "$ac_file" in
  2304. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  2305. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2306.     *) ac_file_in="${ac_file}.in" ;;
  2307.     esac
  2308.   
  2309.     # Adjust relative srcdir, etc. for subdirectories.
  2310.   
  2311.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2312. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2313.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2314.       # The file is in a subdirectory.
  2315.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  2316. !     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  2317.       # A "../" for each directory in $ac_dir_suffix.
  2318. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2319.     else
  2320.       ac_dir_suffix= ac_dots=
  2321.     fi
  2322. --- 737,757 ----
  2323.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2324.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2325.     case "$ac_file" in
  2326. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  2327. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  2328.     *) ac_file_in="${ac_file}.in" ;;
  2329.     esac
  2330.   
  2331.     # Adjust relative srcdir, etc. for subdirectories.
  2332.   
  2333.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2334. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2335.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2336.       # The file is in a subdirectory.
  2337.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  2338. !     ac_dir_suffix="/`/bin/echo $ac_dir|sed 's%^\./%%'`"
  2339.       # A "../" for each directory in $ac_dir_suffix.
  2340. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2341.     else
  2342.       ac_dir_suffix= ac_dots=
  2343.     fi
  2344. ***************
  2345. *** 756,762 ****
  2346.     case "$ac_given_srcdir" in
  2347.     .)  srcdir=.
  2348.         if test -z "$ac_dots"; then top_srcdir=.
  2349. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  2350.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2351.     *) # Relative path.
  2352.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2353. --- 759,765 ----
  2354.     case "$ac_given_srcdir" in
  2355.     .)  srcdir=.
  2356.         if test -z "$ac_dots"; then top_srcdir=.
  2357. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  2358.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2359.     *) # Relative path.
  2360.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2361. ***************
  2362. *** 769,775 ****
  2363.     esac
  2364.     echo creating "$ac_file"
  2365.     rm -f "$ac_file"
  2366. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  2367.     case "$ac_file" in
  2368.     *Makefile*) ac_comsub="1i\\
  2369.   # $configure_input" ;;
  2370. --- 772,778 ----
  2371.     esac
  2372.     echo creating "$ac_file"
  2373.     rm -f "$ac_file"
  2374. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  2375.     case "$ac_file" in
  2376.     *Makefile*) ac_comsub="1i\\
  2377.   # $configure_input" ;;
  2378. diff -rc --new-file autoconf-2.2-base/mkinstalldirs autoconf-2.2/mkinstalldirs
  2379. *** autoconf-2.2-base/mkinstalldirs    Wed Feb  8 14:58:43 1995
  2380. --- autoconf-2.2/mkinstalldirs    Thu Mar  9 21:42:46 1995
  2381. ***************
  2382. *** 8,14 ****
  2383.   errstatus=0
  2384.   
  2385.   for file in ${1+"$@"} ; do 
  2386. !    set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
  2387.      shift
  2388.   
  2389.      pathcomp=
  2390. --- 8,14 ----
  2391.   errstatus=0
  2392.   
  2393.   for file in ${1+"$@"} ; do 
  2394. !    set fnord `/bin/echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
  2395.      shift
  2396.   
  2397.      pathcomp=
  2398. ***************
  2399. *** 19,25 ****
  2400.        esac
  2401.   
  2402.        if test ! -d "$pathcomp"; then
  2403. !         echo "mkdir $pathcomp" 1>&2
  2404.           mkdir "$pathcomp" || errstatus=$?
  2405.        fi
  2406.   
  2407. --- 19,25 ----
  2408.        esac
  2409.   
  2410.        if test ! -d "$pathcomp"; then
  2411. !         /bin/echo "mkdir $pathcomp" 1>&2
  2412.           mkdir "$pathcomp" || errstatus=$?
  2413.        fi
  2414.   
  2415.