home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / useful / dist / gnu / diffutils / diffutils-2.6.diffs next >
Encoding:
Text File  |  1993-12-12  |  10.5 KB  |  504 lines

  1. # Most of the changes to configure are to work around problems in
  2. # pdksh with the 'eval' command.
  3. #
  4. # -fnf
  5.  
  6. diff -rc diffutils-2.6-fsf/Makefile.in diffutils-2.6-amiga/Makefile.in
  7. *** diffutils-2.6-fsf/Makefile.in    Mon Sep 27 06:18:21 1993
  8. --- diffutils-2.6-amiga/Makefile.in    Sat Dec 11 16:42:00 1993
  9. ***************
  10. *** 28,42 ****
  11.   INSTALL_DATA = @INSTALL_DATA@
  12.   MAKEINFO = makeinfo
  13.   
  14. ! CFLAGS = -g
  15. ! LDFLAGS = -g
  16.   LIBS = @LIBS@
  17.   
  18.   # Some System V machines do not come with libPW.
  19.   # If this is true for you, use the GNU alloca.o here.
  20.   ALLOCA = @ALLOCA@
  21.   
  22. ! prefix = /usr/local
  23.   exec_prefix = $(prefix)
  24.   
  25.   # Prefix for each installed program, normally empty or `g'.
  26. --- 28,42 ----
  27.   INSTALL_DATA = @INSTALL_DATA@
  28.   MAKEINFO = makeinfo
  29.   
  30. ! CFLAGS = -O
  31. ! LDFLAGS =
  32.   LIBS = @LIBS@
  33.   
  34.   # Some System V machines do not come with libPW.
  35.   # If this is true for you, use the GNU alloca.o here.
  36.   ALLOCA = @ALLOCA@
  37.   
  38. ! prefix = /usr
  39.   exec_prefix = $(prefix)
  40.   
  41.   # Prefix for each installed program, normally empty or `g'.
  42. diff -rc diffutils-2.6-fsf/configure diffutils-2.6-amiga/configure
  43. *** diffutils-2.6-fsf/configure    Wed Nov 10 08:41:58 1993
  44. --- diffutils-2.6-amiga/configure    Sat Dec 11 16:06:37 1993
  45. ***************
  46. *** 69,75 ****
  47.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  48.            *) val=1 ;;
  49.          esac
  50. !        eval "with_$package='$val'" ;;
  51.   
  52.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  53.          verbose=yes ;;
  54. --- 69,75 ----
  55.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  56.            *) val=1 ;;
  57.          esac
  58. !        with_$package='$val' ;;
  59.   
  60.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  61.          verbose=yes ;;
  62. ***************
  63. *** 91,97 ****
  64.   rm -f conftest* confdefs.h
  65.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  66.   echo > confdefs.h
  67. ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  68.   
  69.   # A filename unique to this package, relative to the directory that
  70.   # configure is in, which we can look for to find out if srcdir is correct.
  71. --- 91,97 ----
  72.   rm -f conftest* confdefs.h
  73.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  74.   echo > confdefs.h
  75. ! compile="${CC-gcc} $CFLAGS conftest.c -o conftest $LIBS"
  76.   
  77.   # A filename unique to this package, relative to the directory that
  78.   # configure is in, which we can look for to find out if srcdir is correct.
  79. ***************
  80. *** 109,114 ****
  81. --- 109,115 ----
  82.       srcdir=..
  83.     fi
  84.   fi
  85. + srcdir=../diffutils-2.6-amiga    #HACK
  86.   if test ! -r $srcdir/$unique_file; then
  87.     if test x$srcdirdefaulted = xyes; then
  88.       echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  89. ***************
  90. *** 152,169 ****
  91.     yes
  92.   #endif
  93.   EOF
  94. ! ${CC-cc} -E conftest.c > conftest.out 2>&1
  95.   if egrep yes conftest.out >/dev/null 2>&1; then
  96.     GCC=1 # For later tests.
  97.   fi
  98.   rm -f conftest*
  99.   
  100.   echo checking how to run the C preprocessor
  101.   if test -z "$CPP"; then
  102.     # This must be in double quotes, not single quotes, because CPP may get
  103. !   # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  104.     # make.  It must be expanded now.
  105. !   CPP="${CC-cc} -E"
  106.     cat > conftest.c <<EOF
  107.   #include "confdefs.h"
  108.   #include <stdio.h>
  109. --- 153,171 ----
  110.     yes
  111.   #endif
  112.   EOF
  113. ! ${CC-gcc} -E conftest.c > conftest.out 2>&1
  114.   if egrep yes conftest.out >/dev/null 2>&1; then
  115.     GCC=1 # For later tests.
  116.   fi
  117.   rm -f conftest*
  118.   
  119.   echo checking how to run the C preprocessor
  120. + CPP="/lib/gcc-lib/amigados/2.3.3/cpp"    #HACK
  121.   if test -z "$CPP"; then
  122.     # This must be in double quotes, not single quotes, because CPP may get
  123. !   # substituted into the Makefile and ``${CC-gcc}'' will simply confuse
  124.     # make.  It must be expanded now.
  125. !   CPP="${CC-gcc} -E"
  126.     cat > conftest.c <<EOF
  127.   #include "confdefs.h"
  128.   #include <stdio.h>
  129. ***************
  130. *** 311,317 ****
  131.   int main() { exit(0); }
  132.   int t() { DIR *dirp = 0; }
  133.   EOF
  134. ! if eval $compile; then
  135.     rm -rf conftest*
  136.     
  137.   {
  138. --- 313,319 ----
  139.   int main() { exit(0); }
  140.   int t() { DIR *dirp = 0; }
  141.   EOF
  142. ! if $compile; then
  143.     rm -rf conftest*
  144.     
  145.   {
  146. ***************
  147. *** 338,344 ****
  148.   int main() { exit(0); }
  149.   int t() { DIR *dirp = 0; }
  150.   EOF
  151. ! if eval $compile; then
  152.     rm -rf conftest*
  153.     
  154.   {
  155. --- 340,346 ----
  156.   int main() { exit(0); }
  157.   int t() { DIR *dirp = 0; }
  158.   EOF
  159. ! if $compile; then
  160.     rm -rf conftest*
  161.     
  162.   {
  163. ***************
  164. *** 365,371 ****
  165.   int main() { exit(0); }
  166.   int t() { DIR *dirp = 0; }
  167.   EOF
  168. ! if eval $compile; then
  169.     rm -rf conftest*
  170.     
  171.   {
  172. --- 367,373 ----
  173.   int main() { exit(0); }
  174.   int t() { DIR *dirp = 0; }
  175.   EOF
  176. ! if $compile; then
  177.     rm -rf conftest*
  178.     
  179.   {
  180. ***************
  181. *** 392,398 ****
  182.   int main() { exit(0); }
  183.   int t() { DIR *dirp = 0; }
  184.   EOF
  185. ! if eval $compile; then
  186.     rm -rf conftest*
  187.     
  188.   {
  189. --- 394,400 ----
  190.   int main() { exit(0); }
  191.   int t() { DIR *dirp = 0; }
  192.   EOF
  193. ! if $compile; then
  194.     rm -rf conftest*
  195.     
  196.   {
  197. ***************
  198. *** 418,424 ****
  199.   #include <$dirheader>
  200.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  201.   EOF
  202. ! eval $compile
  203.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  204.     :
  205.   else
  206. --- 420,426 ----
  207.   #include <$dirheader>
  208.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  209.   EOF
  210. ! $compile
  211.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  212.     :
  213.   else
  214. ***************
  215. *** 482,488 ****
  216.   int main() { exit(0); }
  217.   int t() { $prog }
  218.   EOF
  219. ! if eval $compile; then
  220.     :
  221.   else
  222.     rm -rf conftest*
  223. --- 484,490 ----
  224.   int main() { exit(0); }
  225.   int t() { $prog }
  226.   EOF
  227. ! if $compile; then
  228.     :
  229.   else
  230.     rm -rf conftest*
  231. ***************
  232. *** 530,536 ****
  233.   exit (0); }
  234.   
  235.   EOF
  236. ! eval $compile
  237.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  238.     
  239.   {
  240. --- 532,538 ----
  241.   exit (0); }
  242.   
  243.   EOF
  244. ! $compile
  245.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  246.     
  247.   {
  248. ***************
  249. *** 618,624 ****
  250.   int main() { exit(0); }
  251.   int t() { int i; }
  252.   EOF
  253. ! if eval $compile; then
  254.     rm -rf conftest*
  255.     
  256.   {
  257. --- 620,626 ----
  258.   int main() { exit(0); }
  259.   int t() { int i; }
  260.   EOF
  261. ! if $compile; then
  262.     rm -rf conftest*
  263.     
  264.   {
  265. ***************
  266. *** 671,677 ****
  267.   #endif
  268.    }
  269.   EOF
  270. ! if eval $compile; then
  271.     rm -rf conftest*
  272.     {
  273.   test -n "$verbose" && \
  274. --- 673,679 ----
  275.   #endif
  276.    }
  277.   EOF
  278. ! if $compile; then
  279.     rm -rf conftest*
  280.     {
  281.   test -n "$verbose" && \
  282. ***************
  283. *** 799,805 ****
  284.     }
  285.   }
  286.   EOF
  287. ! eval $compile
  288.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  289.     :
  290.   else
  291. --- 801,807 ----
  292.     }
  293.   }
  294.   EOF
  295. ! $compile
  296.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  297.     :
  298.   else
  299. ***************
  300. *** 825,831 ****
  301.   int main() { exit(0); }
  302.   int t() { vprintf(); }
  303.   EOF
  304. ! if eval $compile; then
  305.     rm -rf conftest*
  306.     
  307.   {
  308. --- 827,833 ----
  309.   int main() { exit(0); }
  310.   int t() { vprintf(); }
  311.   EOF
  312. ! if $compile; then
  313.     rm -rf conftest*
  314.     
  315.   {
  316. ***************
  317. *** 854,860 ****
  318.   int main() { exit(0); }
  319.   int t() { _doprnt(); }
  320.   EOF
  321. ! if eval $compile; then
  322.     rm -rf conftest*
  323.     
  324.   {
  325. --- 856,862 ----
  326.   int main() { exit(0); }
  327.   int t() { _doprnt(); }
  328.   EOF
  329. ! if $compile; then
  330.     rm -rf conftest*
  331.     
  332.   {
  333. ***************
  334. *** 883,889 ****
  335.   int main() { exit(0); }
  336.   int t() { char *p = alloca(2 * sizeof(int)); }
  337.   EOF
  338. ! if eval $compile; then
  339.     rm -rf conftest*
  340.     
  341.   {
  342. --- 885,891 ----
  343.   int main() { exit(0); }
  344.   int t() { char *p = alloca(2 * sizeof(int)); }
  345.   EOF
  346. ! if $compile; then
  347.     rm -rf conftest*
  348.     
  349.   {
  350. ***************
  351. *** 922,928 ****
  352.   int main() { exit(0); }
  353.   int t() { char *p = (char *) alloca(1); }
  354.   EOF
  355. ! if eval $compile; then
  356.     :
  357.   else
  358.     rm -rf conftest*
  359. --- 924,930 ----
  360.   int main() { exit(0); }
  361.   int t() { char *p = (char *) alloca(1); }
  362.   EOF
  363. ! if $compile; then
  364.     :
  365.   else
  366.     rm -rf conftest*
  367. ***************
  368. *** 957,963 ****
  369.   #endif
  370.    }
  371.   EOF
  372. ! if eval $compile; then
  373.     rm -rf conftest*
  374.     {
  375.   test -n "$verbose" && \
  376. --- 959,965 ----
  377.   #endif
  378.    }
  379.   EOF
  380. ! if $compile; then
  381.     rm -rf conftest*
  382.     {
  383.   test -n "$verbose" && \
  384. ***************
  385. *** 990,996 ****
  386.   #endif
  387.    }
  388.   EOF
  389. ! if eval $compile; then
  390.     rm -rf conftest*
  391.     {
  392.   test -n "$verbose" && \
  393. --- 992,998 ----
  394.   #endif
  395.    }
  396.   EOF
  397. ! if $compile; then
  398.     rm -rf conftest*
  399.     {
  400.   test -n "$verbose" && \
  401. ***************
  402. *** 1023,1029 ****
  403.   #endif
  404.    }
  405.   EOF
  406. ! if eval $compile; then
  407.     rm -rf conftest*
  408.     {
  409.   test -n "$verbose" && \
  410. --- 1025,1031 ----
  411.   #endif
  412.    }
  413.   EOF
  414. ! if $compile; then
  415.     rm -rf conftest*
  416.     {
  417.   test -n "$verbose" && \
  418. ***************
  419. *** 1080,1086 ****
  420.   #include "confdefs.h"
  421.   main(){exit(0);}
  422.   EOF
  423. ! eval $compile
  424.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  425.     :
  426.   else
  427. --- 1082,1088 ----
  428.   #include "confdefs.h"
  429.   main(){exit(0);}
  430.   EOF
  431. ! $compile
  432.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  433.     :
  434.   else
  435. ***************
  436. *** 1122,1128 ****
  437.     exit (find_stack_direction() < 0);
  438.   }
  439.   EOF
  440. ! eval $compile
  441.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  442.     
  443.   {
  444. --- 1124,1130 ----
  445.     exit (find_stack_direction() < 0);
  446.   }
  447.   EOF
  448. ! $compile
  449.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  450.     
  451.   {
  452. ***************
  453. *** 1163,1169 ****
  454.   int main() { exit(0); }
  455.   int t() { struct stat s; s.st_blksize; }
  456.   EOF
  457. ! if eval $compile; then
  458.     rm -rf conftest*
  459.     
  460.   {
  461. --- 1165,1171 ----
  462.   int main() { exit(0); }
  463.   int t() { struct stat s; s.st_blksize; }
  464.   EOF
  465. ! if $compile; then
  466.     rm -rf conftest*
  467.     
  468.   {
  469. diff -rc diffutils-2.6-fsf/fnmatch.h diffutils-2.6-amiga/fnmatch.h
  470. *** diffutils-2.6-fsf/fnmatch.h    Sun Apr 11 22:54:32 1993
  471. --- diffutils-2.6-amiga/fnmatch.h    Sat Dec 11 14:00:59 1993
  472. ***************
  473. *** 35,41 ****
  474. --- 35,43 ----
  475.   #endif /* C++ or ANSI C.  */
  476.   
  477.   /* Bits set in the FLAGS argument to `fnmatch'.  */
  478. + #ifndef FNM_PATHNAME
  479.   #define    FNM_PATHNAME    (1 << 0) /* No wildcard can ever match `/'.  */
  480. + #endif
  481.   #define    FNM_NOESCAPE    (1 << 1) /* Backslashes don't quote special chars.  */
  482.   #define    FNM_PERIOD    (1 << 2) /* Leading `.' is matched only explicitly.  */
  483.   
  484. diff -rc diffutils-2.6-fsf/system.h diffutils-2.6-amiga/system.h
  485. *** diffutils-2.6-fsf/system.h    Mon Sep 27 04:54:33 1993
  486. --- diffutils-2.6-amiga/system.h    Sat Dec 11 14:01:04 1993
  487. ***************
  488. *** 115,121 ****
  489.   #define O_RDONLY 0
  490.   #endif
  491.   
  492. ! #if HAVE_SYS_WAIT_H
  493.   #ifndef _POSIX_VERSION
  494.   /* Prevent the NeXT prototype using union wait from causing problems.  */
  495.   #define wait system_wait
  496. --- 115,121 ----
  497.   #define O_RDONLY 0
  498.   #endif
  499.   
  500. ! #if HAVE_SYS_WAIT_H && !defined (amigados)
  501.   #ifndef _POSIX_VERSION
  502.   /* Prevent the NeXT prototype using union wait from causing problems.  */
  503.   #define wait system_wait
  504.