From 95adc4bfd09a43a0095c6c4bbdcf4d273e977473 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Tue, 30 Jun 1998 04:52:06 +0000 Subject: [PATCH] updateed script git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@908 57a11ea4-9604-0410-9ed3-97b8803252fd --- xacc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/xacc b/xacc index 647b9f6144..5eedd12654 100755 --- a/xacc +++ b/xacc @@ -1,6 +1,13 @@ #! /bin/sh # Generated automatically from xacc.in by configure. -XACC_HELP=${XACC_HELP}:./Docs:/usr/local/share/xacc/Docs +XACC_HELP=${XACC_HELP:-/usr/local/share/xacc/Docs} export XACC_HELP -exec xacc.bin $@ + +# hack alert -- we should really be using ldconfig to look for +# this library. +if [ -f /usr/X11R6/lib/libXm.so -o -L /usr/X11R6/lib/libXm.so ]; then + exec xacc.bin $@ +else + exec xacc-static.bin $@ +fi