[[project @ 2000-11-27 23:59:16 by ghouston] ghouston**20001127235916 Ignore-this: 7d283f7cc506e6d9993eb8cb17035a3b * Removed auto-generated files from the CVS repository. * configure.in: don't use AM_MAINTAINER_MODE. set version to 0.0. check for guile-config. * Makefile.am (scsh_DATA): updated the file list. rename to subpkgdata_DATA. (EXTRA_DIST): add autogen.sh. (subpkgdatadir): new variable, set via configure. * autogen.sh: new file. ] addfile ./AUTHORS rmfile ./INSTALL rmfile ./Makefile.in addfile ./NEWS rmfile ./aclocal.m4 addfile ./autogen.sh rmfile ./configure rmfile ./install-sh rmfile ./missing rmfile ./mkinstalldirs hunk ./ChangeLog 3 + * Removed auto-generated files from the CVS repository. + + * configure.in: don't use AM_MAINTAINER_MODE. set version to 0.0. + check for guile-config. + + * Makefile.am (scsh_DATA): updated the file list. rename to + subpkgdata_DATA. + (EXTRA_DIST): add autogen.sh. + (subpkgdatadir): new variable, set via configure. + + * autogen.sh: new file. + hunk ./Makefile.am 3 -AUTOMAKE_OPTIONS = foreign +# AUTOMAKE_OPTIONS = foreign hunk ./Makefile.am 5 -scshdir = $(datadir)/guile/scsh -scsh_DATA = alt-syntax.scm awk.scm bitwise.scm char-set.scm condition.scm \ - defrec.scm ekko.scm enumconst.scm \ - errno.scm fileinfo.scm filemtch.scm filesys.scm \ +subpkgdatadir = @GUILE_SCSH_DIR@ + +subpkgdata_DATA = alt-syntax.scm ascii.scm awk.scm bitwise.scm \ + char-set.scm \ + defrec.scm ekko.scm errno.scm features.scm \ + fileinfo.scm filemtch.scm filesys.scm \ hunk ./Makefile.am 12 - init.scm let-opt.scm netconst.scm \ - network.scm newports.scm population.scm procobj.scm \ - rdelim.scm re.scm receive.scm rw.scm \ + init.scm let-opt.scm \ + lib/list-lib.scm lib/string-lib.scm \ + loophole.scm module-system.scm \ + netconst.scm network.scm newports.scm population.scm \ + primitives.scm procobj.scm \ + rdelim.scm reading.scm receive.scm rw.scm \ + rx/cond-package.scm rx/let-match.scm rx/oldfuns.scm \ + rx/parse.scm rx/posixstr.scm rx/re-fold.scm rx/re-high.scm \ + rx/re-low.scm rx/re-subst.scm \ + rx/re-syntax.scm rx/re.scm rx/rx-lib.scm rx/simp.scm rx/spencer.scm \ hunk ./Makefile.am 23 - sighandlers.scm stringcoll.scm \ + sighandlers.scm signals.scm stringcoll.scm \ hunk ./Makefile.am 27 -EXTRA_DIST = $(scsh_DATA) INCOMPAT USAGE make-module-list +EXTRA_DIST = $subpkgdatadir_DATA INCOMPAT USAGE make-module-list autogen.sh hunk ./README 21 -configure --prefix=/usr/local -make +./configure hunk ./README 24 -For now, the configure prefix must match the one where Guile is installed. -(FIXME: use guile-config to find the installation directory). - -See the INSTALL file for more details. +The configure script will attempt to install guile-scsh in the Guile +site directory, as reported by guile-config in the current PATH. +Supplying a prefix argument to configure doesn't have any effect. hunk ./README 34 - -FIXME: delete the autogenerated files from the repository and remove -the text below. - -Hacking It Yourself ================================================== - -As distributed, the Guile SCSH port needs only a Unix system to build -and install. However, its makefiles, configuration scripts, and a few -other files are automatically generated, not written by hand. If you -want to make changes to the system (which we encourage!) you will find -it helpful to have the tools we use to develop it. They are the -following: - -Autoconf 2.12 --- a system for automatically generating `configure' - scripts from templates which list the non-portable features a - program would like to use. Available in - "ftp://prep.ai.mit.edu/pub/gnu". - -Automake 1.1p --- a system for automatically generating Makefiles that - conform to the (rather Byzantine) GNU coding standards. The - nice thing is that it takes care of hairy targets like 'make - dist' and 'make distclean', and automatically generates - Makefile dependencies. Available in - "ftp://ftp.cygnus.com/pub/tromey". - -libtool 0.9d --- a system for managing the zillion hairy options needed - on various systems to produce shared libraries. Available in - "ftp://alpha.gnu.ai.mit.edu/gnu". - -You are lost in a little maze of automatically generated files, all -different. -> - - hunk ./autogen.sh 1 +#!/bin/sh +aclocal +autoconf +automake --add-missing hunk ./configure.in 2 -AC_INIT(network.scm) -AM_INIT_AUTOMAKE(guile-scsh, 1.2a, no-define) -AM_MAINTAINER_MODE +AC_INIT(scsh.scm) +AM_INIT_AUTOMAKE(guile-scsh, 0.0, no-define) + +AC_CHECK_PROG(have_guile, guile-config, yes, no) +if test $have_guile = no; then + AC_MSG_ERROR([guile-config not found]) +fi +GUILE_SCSH_DIR=`guile-config info pkgdatadir`/site/scsh +AC_MSG_RESULT(* directory for make install is $GUILE_SCSH_DIR) +AC_SUBST(GUILE_SCSH_DIR)