summaryrefslogtreecommitdiff
path: root/meta/uninstalled-env.in
Commit message (Collapse)AuthorAgeFilesLines
* Allow $GUILE_FOR_BUILD to use its own environment when cross-compiling.Ludovic Courtès2011-11-231-41/+46
| | | | | | | | | * am/guilec (.scm.go): Use `-L' to specify the search path. * module/Makefile.am (ice-9/psyntax-pp.go): Likewise. * meta/uninstalled-env.in (top_builddir): Leave $GUILE_LOAD_PATH, $GUILE_SYSTEM_PATH, and $GUILE_SYSTEM_EXTENSIONS_PATH unchanged when cross-compiling.
* Leave $GUILE_LOAD_COMPILED_PATH unchanged when cross-compiling.Ludovic Courtès2011-11-221-14/+19
| | | | | * meta/uninstalled-env.in: Don't define $GUILE_LOAD_COMPILED_PATH when cross-compiling.
* guild: Close over `$bindir/guile'.Ludovic Courtès2011-07-231-0/+4
| | | | | | | | * configure.ac: Substitute `guile_program_name'. * meta/guild.in: Use `@bindir@/@guile_program_name@' by default. * meta/uninstalled-env.in: Define $GUILE.
* fix duplicate path in uninstalled-envAndy Wingo2011-03-311-0/+3
| | | | | | | | | | * meta/uninstalled-env.in: Our code that checked for paths already being in the load path was not working for the last entry in the load path. This caused the last entry to be re-added to the beginning, which also caused relative filename canonicalization to prepend "module/" to everything. Terrible.
* uninstalled-env ordering tweaks to fix readline's file nameAndy Wingo2011-02-081-7/+7
| | | | | | | * meta/uninstalled-env.in (subdirs_with_ltlibs): Remove "srfi". Reorder the load-path and load-compiled-path to put the root dir after guile-readline, so that relative canonicalization computes the correct path for ice-9/readline.scm.
* brown-paper-bag to uninstalled-envAndy Wingo2010-06-101-1/+1
| | | | * meta/uninstalled-env.in: Fix lack of test.
* more uninstalled-env fixenAndy Wingo2010-06-101-7/+13
| | | | | | * meta/uninstalled-env.in: Don't implicitly add . to LTDL search paths if no LTDL_LIBRARY_PATH was set. Avoid a duplicate to PATH.
* uninstalled-env cleanupsAndy Wingo2010-06-101-12/+14
| | | | | * meta/uninstalled-env.in: Clean up setting of GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH.
* don't forget to set GUILE_SYSTEM_PATH in uninstalled modeAndy Wingo2010-06-101-1/+5
| | | | | * meta/uninstalled-env.in (GUILE_SYSTEM_PATH): Set this var too in uninstalled mode.
* Use portable shell in `meta/uninstalled-env'.Ludovic Courtès2009-12-151-4/+6
| | | | | | * meta/uninstalled-env.in: Don't use the `-q' and `-E' options, which are specific to GNU grep. Don't set-and-export environment variables at once since this is a GNU Bash extension.
* add $libir to the ltdl path, not $pkglibdir; add extensionsdirAndy Wingo2009-10-131-2/+2
| | | | | | | | | | | | | | | | * libguile/Makefile.am (libpath.h): Fix SCM_LIB_DIR to point to the libdir, not pkglibdir. Add SCM_EXTENSIONS_DIR, for a dir to put in the dynamic-link search path that's not managed by ldconfig or the like; and put this dir in the "extensionsdir" key of %guile-build-info. * libguile/dynl.c (sysdep_dynl_init): Rename the installed-libdir environment var to GUILE_SYSTEM_EXTENSIONS_PATH (from GUILE_SYSTEM_LTDL_PATH). Also add SCM_EXTENSIONS_DIR to the ltdl search path in the default case. * meta/uninstalled-env.in: Adapt override to match. * meta/guile-2.0.pc.in: Add extensionsdir, so you can pkg-config --variable=extensionsdir guile-2.0.
* add the libdir to the ltdl lib search pathAndy Wingo2009-09-161-0/+4
| | | | | | | | | | | | | | | | | | * libguile/Makefile.am (libpath.h): Fix pkgdatadir, pkglibdir, and pkgincludedir entries. Add a new define, SCM_LIB_DIR. * libguile/dynl.c (sysdep_dynl_init): Add the libdir to the libltdl search path. Should fix http://thread.gmane.org/gmane.lisp.guile.bugs/4289/focus=4296 -- that is, it should allow guile to be invoked from whereever it is installed, without munging LTDL_LIBRARY_PATH or the like variables. There is a trick though -- during the build, we don't want to be looking in the $libdir for loadable modules. So as with GUILE_SYSTEM_PATH, we have GUILE_SYSTEM_LTDL_PATH. * meta/uninstalled-env.in: Set GUILE_SYSTEM_LTDL_PATH to "" when building.
* Add proper `--help' and `--version' for `guile-tools compile'.Ludovic Courtès2009-08-151-1/+2
| | | | | | | | | | | | | | * configure.ac: Produce `meta/guile-tools'. * meta/Makefile.am (EXTRA_DIST): Add `guile-tools.in'. (bin_SCRIPTS): Remove `guile-tools'. * meta/uninstalled-env.in (PATH): Add "${top_builddir}/meta". * module/scripts/compile.scm (%options): Add `--version'. (parse-args): Show the offending option name upon error. (show-version): New. (compile): Use `%guile-bug-report-address'.
* Change Guile license to LGPLv3+Neil Jerram2009-06-171-5/+6
| | | | | | | | | | (Not quite finished, the following will be done tomorrow. module/srfi/*.scm module/rnrs/*.scm module/scripts/*.scm testsuite/*.scm guile-readline/* )
* update uninstalled-env.in for load-compiled path separationAndy Wingo2009-06-031-2/+19
| | | | | * meta/uninstalled-env.in: Update to set GUILE_LOAD_COMPILED_PATH and GUILE_SYSTEM_COMPILED_PATH.
* distcheck fixenAndy Wingo2009-04-211-1/+1
| | | | | | | | | | | | | | * examples/Makefile.am: Fix the installed guile-config invocation to set PKG_CONFIG_PATH. * meta/Makefile.am (EXTRA_DIST): Dist the bin_SCRIPTS. * meta/guile-config (pkg-config): Better error messages if pkg-config invocation fails. * meta/uninstalled-env.in (PATH): Now that guile-config and guile-tools are not generated, make it the srcdir/meta instead of the builddir. (Guile itself will be picked up from libguile.)
* fix build errors on fresh checkoutAndy Wingo2009-04-201-1/+1
| | | | | | | | | * meta/guile-tools: We can't use srfi-1, because on a fresh checkout the srfi-1 shlib isn't built yet. Bummer. * meta/uninstalled-env.in: Fix up the DYLD lines for BSDen. * module/scripts/snart-guile-m4-docs.scm: Fix expected arguments.
* guile-config rebased on top of pkg-configAndy Wingo2009-04-061-3/+2
| | | | | | | | | | | * configure.in: * meta/Makefile.am (EXTRA_DIST): Remove guile-config.in bits. * meta/guile-config: Reimplement to work on top of pkg-config. This lets guile-config not be substed by configure. * meta/uninstalled-env.in: Remove the path to guile-config, belatedly. Set the pkg-config path correctly.
* allow building against uninstalled guile; move some things to meta/Andy Wingo2009-03-271-0/+100
* README: Add more info about building against an uninstalled Guile. * meta/: New directory. The proximate cause of its creation is that I want to be able to build external packages against uninstalled Guile, and to do that I need guile-tools in the PATH, but I don't want $top_builddir/libtool in the path. But it seems like a good reorganization, for things that are /about/ Guile: pkg-config files, m4 files, guile-config... then we also include uninstalled info: the environment, the pre-inst-guile script, etc. * meta/guile-1.8-uninstalled.pc.in: New pkg-config template. pkg-config prefers -uninstalled pkg-config files, if they are in its path. * meta/Makefile.am: * meta/ChangeLog-2008: * meta/gdb-uninstalled-guile.in: * meta/guile-1.8.pc.in: * meta/guile-config.in: * meta/guile.m4: * meta/guile-tools.in: Moved to meta/. * meta/guile.in: This is the new name of pre-inst-guile.in. * meta/uninstalled-env.in: And this, pre-inst-guile-env.in. * Makefile.am: * am/guilec: * am/pre-inst-guile: * check-guile.in: * configure.in: * doc/ref/Makefile.am: * gc-benchmarks/run-benchmark.scm: * test-suite/standalone/Makefile.am: * test-suite/standalone/README: * testsuite/Makefile.am: Adapt to meta/ change.