8 dump_path
="\$XDG_CACHE_HOME/clfswm/"
9 clfswm_asd_path
="$PREFIX/lib/clfswm"
10 asdf_path
="$PREFIX/lib/clfswm/contrib"
13 echo "'configure' configures clfswm to adapt to many kinds of systems.
15 Usage: ./configure [OPTION]... [VAR=VALUE]...
17 Defaults for the options are specified in brackets.
20 -h, --help display this help and exit
21 -V, --version display version information and exit
22 --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local]
23 -l, --with-lisp use <lisp> as the common lisp implementation [$lisp]
24 -o, --lisp-opt use <opt> as lisp option [$lisp_opt]
25 -d, --dump-path path to the dump directory [$dump_path]
26 --with-clfswm path to clfswm.asd file [$clfswm_asd_path]
27 --with-asdf path to the asdf.lisp file [$asdf_path]
29 By default, 'make install' will install all the files in
30 '/usr/local/bin', '/usr/local/lib' etc. You can specify
31 an installation prefix other than '/usr/local' using '--prefix',
32 for instance '--prefix=\$HOME/clfswm'."
38 echo "Configure version: $CONFIGURE_VERSION"
42 reset_clfswm_asd_path
=true
57 reset_clfswm_asd_path
=false
;;
61 reset_asdf_path
=false
;;
67 clisp|sbcl|cmucl|ccl|ecl
)
86 if [ "$reset_clfswm_asd_path" = "true" ]; then
87 clfswm_asd_path
="$PREFIX/lib/clfswm"
90 if [ "$reset_asdf_path" = "true" ]; then
91 asdf_path
="$PREFIX/lib/clfswm/contrib"
99 with-clfswm=$clfswm_asd_path
100 with-asdf=$asdf_path"
104 sed -e "s?^lisp=.*# +config+?lisp=\"$lisp\" # +config+?g" \
105 -e "s?^lisp_opt=.*# +config+?lisp_opt=\"$lisp_opt\" # +config+?g" \
106 -e "s?^dump_path=.*# +config+?dump_path=\"$dump_path\" # +config+?g" \
107 -e "s?^clfswm_asd_path=.*# +config+?clfswm_asd_path=\"$clfswm_asd_path\" # +config+?g" \
108 -e "s?^asdf_path=.*# +config+?asdf_path=\"$asdf_path\" # +config+?g" \
109 $
(pwd)/contrib
/clfswm
> $
(pwd)/clfswm
111 sed -e "s#+DESTDIR+#$DESTDIR#g" \
112 -e "s#+BUILD_PATH+#$(pwd)/#g" \
113 Makefile.template
> Makefile
117 echo "Type 'make' to build clfswm"