|
From: stephan b. <sg...@us...> - 2004-06-01 07:02:49
|
Update of /cvsroot/qub/eshell In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8814 Added Files: configure.libeshell toc.libeshell.make.at toc.libeshell.help Log Message: egg --- NEW FILE: configure.libeshell --- #!/do/not/bash # configure script for the eshell project toc_test check_dist_md5s toc_test user_is_stephan_beal toc_test_require gnu_cpp_tools toc_test_require gcc_try_compile ${TOC_HOME}/tests/cpp/check_stl_newstyle.cpp toc_test_require libs11n # eval $(${s11n_config} --toc-config | sed -e 's/$/; /') { # readline support? readln=0 if [ 1 = ${configure_with_readline-1} ] ; then toc_test find_appconfig libreadline_cpp && { readln=1 eval $(${libreadline_cpp_config} --toc-config | sed -e 's/$/; /') } else echo "libreadline_cpp support has been disabled via --without-readline." fi toc_export HAVE_LIBREADLINECPP=$readln test x0 = "x${readln}" && { cat <<EOF ${TOC_BOLD_} ************************************************************************ WARNING: building without libreadine_cpp! This means that interactive editing and command history will not be enabled! ************************************************************************ ${_TOC_BOLD} EOF } unset readln } # end readline toc_test_require find_header s11n.net/tostring/to_string.hpp ${prefix}/include:/usr/include:/usr/local/include ############################ eshell-config removeDupes=${TOC_HOME}/bin/removeDupeArgs ldadd="$(${removeDupes} -L${prefix}/lib ${LIBREADLINECPP_CLIENT_LDADD} ${LIBS11N_CLIENT_LDADD} -leshell)" inc="$(${removeDupes} -I${prefix}/include ${LIBREADLINECPP_CLIENT_INCLUDES} ${LIBS11N_CLIENT_INCLUDES})" toc_test_require PACKAGE_NAME-config \ PACKAGE_PREFIX=LIBESHELL_ \ CLIENT_LDADD="${ldadd}" \ CLIENT_INCLUDES="${inc}" eval $(./${PACKAGE_NAME}-config --toc-config | sed -e 's/$/; /') ############################ /eshell-config toc_test_require atfilter_file lib/eshell/eshell_config.h.at lib/eshell/eshell_config.h toc_test_require toc_project_makefile --- NEW FILE: toc.libeshell.make.at --- #!/do/not/make #^^^ only to help emacs out. # # Expects AT LEAST the following configure tests to be run: # # zlib, bzlib, libltdl, libs11n, flex, boost, readline, lyxport # # But this code doesn't care whether the tests pass or not. configure_with_lyxport = @configure_with_lyxport@ INCLUDES += $(LIBS11N_CLIENT_INCLUDES) -I$(top_srcdir)/include CLEAN_FILES += $(wildcard *.o *~) LIBESHELL_LIBDIR = $(top_srcdir)/lib/eshell LIBESHELL_CLIENT_LDADD := \ -L$(LIBESHELL_LIBDIR) \ $(LIBESHELL_CLIENT_LDADD) \ -export-dynamic LIBESHELL_LDADD = $(LIBREADLINECPP_CLIENT_LDADD) $(LIBS11N_CLIENT_LDADD) ifeq (1,$(configure_with_lyxport)) LYXPORT_L2HARGS = -nonavigation -show_section_numbers -split 0 -noimages LYXPORT_ARGS = -c -tt LYXPORT_ARGS += --html --opts_l2h '$(LYXPORT_L2HARGS)' LYXPORT_ARGS += --ps --pdf LYXPORT_BIN = @LYXPORT_BIN@ endif --- NEW FILE: toc.libeshell.help --- #!/bin/sh cat <<EOF --disable-zlib disables zlib support for es11n. --with-lyxport=/path/to/lyxport Specify a path to find lyxport (a LyX-to-PDF/PS/HTML conversion utility) --with-boost=/path/to/boost/src/tree Top-most path to the boost source tree (espace needs this). --s11n-prefix=/prefix Path under which libs11n is installed. There are many other options supported by various tests. Try --help-X, where X is any of these: EOF sed -n -e 's/^ *//;/^toc_test/p;' configure.common configure.eshell | cut -d' ' -f 2 echo echo "(there may be others, not shown here)" |