home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / grep-2.0-src.lha / src / build / grep-2.0 / config.status next >
Encoding:
Text File  |  1994-02-23  |  1.7 KB  |  65 lines

  1. #!/bin/sh
  2. # Generated automatically by configure.
  3. # Run this file to recreate the current configuration.
  4. # This directory was configured as follows,
  5. # on host :
  6. #
  7. # /ISO/grep/grep-2.0-amiga/configure/ dummy gcc
  8.  
  9. for arg
  10. do
  11.   case "$arg" in
  12.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  13.     exec /bin/sh /ISO/grep/grep-2.0-amiga/configure/ dummy gcc ;;
  14.     *) echo "Usage: config.status --recheck" 2>&1; exit 1 ;;
  15.   esac
  16. done
  17.  
  18. trap 'rm -f Makefile; exit 1' 1 3 15
  19. AWK='gawk'
  20. CC='gcc'
  21. CPP='${CC-cc} -E'
  22. INSTALL='/bin/install -c'
  23. INSTALL_PROGRAM='$(INSTALL)'
  24. INSTALL_DATA='$(INSTALL) -m 644'
  25. ALLOCA=''
  26. LIBS=''
  27. srcdir='/ISO/grep/grep-2.0-amiga'
  28. DEFS='-DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 -DHAVE_VALLOC=1'
  29. prefix=''
  30. exec_prefix=''
  31. prsub=''
  32.  
  33. top_srcdir=$srcdir
  34.  
  35. # Allow make-time overrides of the generated file list.
  36. test -n "$gen_files" || gen_files="Makefile"
  37.  
  38. for file in .. $gen_files; do if [ "x$file" != "x.." ]; then
  39.   srcdir=$top_srcdir
  40.   # Remove last slash and all that follows it.  Not all systems have dirname.
  41.   dir=`echo $file|sed 's%/[^/][^/]*$%%'`
  42.   if test "$dir" != "$file"; then
  43.     test "$top_srcdir" != . && srcdir=$top_srcdir/$dir
  44.     test ! -d $dir && mkdir $dir
  45.   fi
  46.   echo creating $file
  47.   rm -f $file
  48.   echo "# Generated automatically from `echo $file|sed 's|.*/||'`.in by configure." > $file
  49.   sed -e "
  50. $prsub
  51. s%@AWK@%$AWK%g
  52. s%@CC@%$CC%g
  53. s%@CPP@%$CPP%g
  54. s%@INSTALL@%$INSTALL%g
  55. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  56. s%@INSTALL_DATA@%$INSTALL_DATA%g
  57. s%@ALLOCA@%$ALLOCA%g
  58. s%@LIBS@%$LIBS%g
  59. s%@srcdir@%$srcdir%g
  60. s%@DEFS@%$DEFS%
  61. " $top_srcdir/${file}.in >> $file
  62. fi; done
  63.  
  64. exit 0
  65.