home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / TCL / BLT / BLT1.7L1 / BLT1 / blt-1.7 / applications / kosherdill / configure.in next >
Encoding:
Text File  |  1993-11-23  |  2.1 KB  |  66 lines

  1.  
  2. # ---------------------------------------------------------------------------
  3. #    Configure.in for KOSHER DILL - Disk space management utility
  4. # ---------------------------------------------------------------------------
  5.  
  6. AC_INIT()
  7.  
  8. # ---------------------------------------------------------------------------
  9. #     Check for existence of install programs
  10. # ---------------------------------------------------------------------------
  11.  
  12. AC_PROG_INSTALL
  13.  
  14. # -----------------------------------------------------------------------
  15. #
  16. #     Set PWD variable if vendor's /bin/sh doesn't
  17. #
  18. # -----------------------------------------------------------------------
  19. PWD=`pwd`
  20.  
  21. # ---------------------------------------------------------------------------
  22. #     Installation path for scripts and help files
  23. # ---------------------------------------------------------------------------
  24.  
  25. echo "Where do you want to install the "scripts" and "Help" directories?"
  26. read KOSHERDILL_LIBRARY
  27. if test -z "$KOSHERDILL_LIBRARY" ; then
  28.     KOSHERDILL_LIBRARY=$PWD
  29. fi
  30. AC_SUBST(KOSHERDILL_LIBRARY) 
  31.  
  32. # ---------------------------------------------------------------------------
  33. #     Installation path for shell script
  34. # ---------------------------------------------------------------------------
  35.  
  36. echo "Where do you want to install the kosherdill executable?"
  37. read KOSHERDILL_PROGRAM
  38. if test -z "$KOSHERDILL_PROGRAM" ; then
  39.     KOSHERDILL_PROGRAM=    $PWD
  40. fi
  41. AC_SUBST(KOSHERDILL_PROGRAM) 
  42.  
  43. # ---------------------------------------------------------------------------
  44. #     BLT wish 
  45. # ---------------------------------------------------------------------------
  46.  
  47. echo "Which wish contains BLT?"
  48. read BLT_WISH
  49. if test -z "$BLT_WISH" ; then
  50.     BLT_WISH="$PWD/../../blt_wish"
  51. fi
  52. AC_SUBST(BLT_WISH) 
  53.  
  54. echo "setting KOSHERDILL_LIBRARY to "
  55. echo "  \"$KOSHERDILL_LIBRARY\""
  56. echo "setting KOSHERDILL_PROGRAM to "
  57. echo "  \"$KOSHERDILL_PROGRAM\""
  58. echo "setting BLT_WISH to "
  59. echo "  \"$BLT_WISH\""
  60.  
  61. # ---------------------------------------------------------------------------
  62. #     Generate only the Makefile
  63. # ---------------------------------------------------------------------------
  64. AC_OUTPUT(Makefile)
  65.  
  66.