From 84c723d74b57bf83e0f463ef786554879b88ad61 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Thu, 1 Nov 2001 10:32:01 +0000 Subject: [PATCH] Configure scm module directory. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5757 57a11ea4-9604-0410-9ed3-97b8803252fd --- gnucash-config.in | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gnucash-config.in b/gnucash-config.in index 85ee9c90cc..8f64f2e609 100644 --- a/gnucash-config.in +++ b/gnucash-config.in @@ -15,6 +15,7 @@ Options: [--libs] [--cflags] [--ld-library-path] + [--scm-module-dir] Libraries: engine network-utils @@ -39,9 +40,6 @@ while test $# -gt 0; do esac case $1 in - --ld-library-path) - echo_ld_library_path=yes - ;; --prefix=*) prefix=$optarg if test $exec_prefix_set = no ; then @@ -68,6 +66,12 @@ while test $# -gt 0; do --libs) echo_libs=yes ;; + --ld-library-path) + echo_ld_library_path=yes + ;; + --scm-module-dir) + echo_scm_module_dir=yes + ;; engine) lib_engine=yes any_lib=yes @@ -203,3 +207,7 @@ if test "$echo_ld_library_path" = "yes"; then path="$libdir:$GNC_LIBDIR:$GNC_MODULE_DIR" echo $path fi + +if test "$echo_scm_module_dir" = "yes"; then + echo $GNC_SHAREDIR/guile-modules +fi