home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / useful / dist / gnu / flex / flex-2.4.5.diffs next >
Encoding:
Text File  |  1993-12-13  |  5.5 KB  |  241 lines

  1. diff -rc flex-2.4.5-fsf/Makefile.in flex-2.4.5-amiga/Makefile.in
  2. *** flex-2.4.5-fsf/Makefile.in    Sat Dec 11 18:34:02 1993
  3. --- flex-2.4.5-amiga/Makefile.in    Mon Dec 13 17:19:32 1993
  4. ***************
  5. *** 28,34 ****
  6.   # Raw, unformatted troff source will be installed if INSTALLMAN=man,
  7.   # nroff preformatted versions will be installed if INSTALLMAN=cat.
  8.   
  9. ! prefix = /usr/local
  10.   exec_prefix = $(prefix)
  11.   bindir = $(exec_prefix)/bin
  12.   libdir = $(exec_prefix)/lib
  13. --- 28,34 ----
  14.   # Raw, unformatted troff source will be installed if INSTALLMAN=man,
  15.   # nroff preformatted versions will be installed if INSTALLMAN=cat.
  16.   
  17. ! prefix = /usr
  18.   exec_prefix = $(prefix)
  19.   bindir = $(exec_prefix)/bin
  20.   libdir = $(exec_prefix)/lib
  21. diff -rc flex-2.4.5-fsf/configure flex-2.4.5-amiga/configure
  22. *** flex-2.4.5-fsf/configure    Fri Dec  3 05:59:16 1993
  23. --- flex-2.4.5-amiga/configure    Mon Dec 13 17:25:33 1993
  24. ***************
  25. *** 69,75 ****
  26.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  27.            *) val=1 ;;
  28.          esac
  29. !        eval "with_$package='$val'" ;;
  30.   
  31.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  32.          verbose=yes ;;
  33. --- 69,75 ----
  34.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  35.            *) val=1 ;;
  36.          esac
  37. !        "with_$package='$val'" ;;
  38.   
  39.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  40.          verbose=yes ;;
  41. ***************
  42. *** 91,97 ****
  43.   rm -f conftest* confdefs.h
  44.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  45.   echo > confdefs.h
  46. ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  47.   
  48.   # A filename unique to this package, relative to the directory that
  49.   # configure is in, which we can look for to find out if srcdir is correct.
  50. --- 91,97 ----
  51.   rm -f conftest* confdefs.h
  52.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  53.   echo > confdefs.h
  54. ! compile="${CC-gcc} $CFLAGS conftest.c -o conftest $LIBS"
  55.   
  56.   # A filename unique to this package, relative to the directory that
  57.   # configure is in, which we can look for to find out if srcdir is correct.
  58. ***************
  59. *** 109,114 ****
  60. --- 109,115 ----
  61.       srcdir=..
  62.     fi
  63.   fi
  64. + srcdir=../flex-2.4.5-amiga    #HACK
  65.   if test ! -r $srcdir/$unique_file; then
  66.     if test x$srcdirdefaulted = xyes; then
  67.       echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  68. ***************
  69. *** 216,221 ****
  70. --- 217,223 ----
  71.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  72.   # `staff'.  On most BSDish systems install is in /usr/bin, not /usr/ucb
  73.   # anyway.  Sigh.
  74. + INSTALL=/bin/ginstall   #HACK (fnf)
  75.   if test "z${INSTALL}" = "z" ; then
  76.     echo checking for install
  77.     IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  78. ***************
  79. *** 306,312 ****
  80.   int main() { exit(0); }
  81.   int t() { $prog }
  82.   EOF
  83. ! if eval $compile; then
  84.     :
  85.   else
  86.     rm -rf conftest*
  87. --- 308,314 ----
  88.   int main() { exit(0); }
  89.   int t() { $prog }
  90.   EOF
  91. ! if $compile; then
  92.     :
  93.   else
  94.     rm -rf conftest*
  95. ***************
  96. *** 322,327 ****
  97. --- 324,330 ----
  98.   rm -f conftest*
  99.   
  100.   echo checking how to run the C preprocessor
  101. + CPP="/lib/gcc-lib/amigados/2.3.3/cpp"    #HACK
  102.   if test -z "$CPP"; then
  103.     # This must be in double quotes, not single quotes, because CPP may get
  104.     # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  105. ***************
  106. *** 372,378 ****
  107.   exit (0); }
  108.   
  109.   EOF
  110. ! eval $compile
  111.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  112.     
  113.   {
  114. --- 375,381 ----
  115.   exit (0); }
  116.   
  117.   EOF
  118. ! $compile
  119.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  120.     
  121.   {
  122. ***************
  123. *** 405,411 ****
  124.   int main() { exit(0); }
  125.   int t() { char *p = alloca(2 * sizeof(int)); }
  126.   EOF
  127. ! if eval $compile; then
  128.     rm -rf conftest*
  129.     
  130.   {
  131. --- 408,414 ----
  132.   int main() { exit(0); }
  133.   int t() { char *p = alloca(2 * sizeof(int)); }
  134.   EOF
  135. ! if $compile; then
  136.     rm -rf conftest*
  137.     
  138.   {
  139. ***************
  140. *** 440,446 ****
  141.   int main() { exit(0); }
  142.   int t() { char *p = (char *) alloca(1); }
  143.   EOF
  144. ! if eval $compile; then
  145.     :
  146.   else
  147.     rm -rf conftest*
  148. --- 443,449 ----
  149.   int main() { exit(0); }
  150.   int t() { char *p = (char *) alloca(1); }
  151.   EOF
  152. ! if $compile; then
  153.     :
  154.   else
  155.     rm -rf conftest*
  156. ***************
  157. *** 475,481 ****
  158.   #endif
  159.    }
  160.   EOF
  161. ! if eval $compile; then
  162.     rm -rf conftest*
  163.     {
  164.   test -n "$verbose" && \
  165. --- 478,484 ----
  166.   #endif
  167.    }
  168.   EOF
  169. ! if $compile; then
  170.     rm -rf conftest*
  171.     {
  172.   test -n "$verbose" && \
  173. ***************
  174. *** 504,510 ****
  175.   #endif
  176.    }
  177.   EOF
  178. ! if eval $compile; then
  179.     rm -rf conftest*
  180.     {
  181.   test -n "$verbose" && \
  182. --- 507,513 ----
  183.   #endif
  184.    }
  185.   EOF
  186. ! if $compile; then
  187.     rm -rf conftest*
  188.     {
  189.   test -n "$verbose" && \
  190. ***************
  191. *** 533,539 ****
  192.   #endif
  193.    }
  194.   EOF
  195. ! if eval $compile; then
  196.     rm -rf conftest*
  197.     {
  198.   test -n "$verbose" && \
  199. --- 536,542 ----
  200.   #endif
  201.    }
  202.   EOF
  203. ! if $compile; then
  204.     rm -rf conftest*
  205.     {
  206.   test -n "$verbose" && \
  207. ***************
  208. *** 582,588 ****
  209.   #include "confdefs.h"
  210.   main(){exit(0);}
  211.   EOF
  212. ! eval $compile
  213.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  214.     :
  215.   else
  216. --- 585,591 ----
  217.   #include "confdefs.h"
  218.   main(){exit(0);}
  219.   EOF
  220. ! $compile
  221.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  222.     :
  223.   else
  224. ***************
  225. *** 620,626 ****
  226.     exit (find_stack_direction() < 0);
  227.   }
  228.   EOF
  229. ! eval $compile
  230.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  231.     
  232.   {
  233. --- 623,629 ----
  234.     exit (find_stack_direction() < 0);
  235.   }
  236.   EOF
  237. ! $compile
  238.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  239.     
  240.   {
  241.