fi
echo "Testing conversion from ANSEL to UTF-8" >> testgedcom.out
-iconv -f ANSEL -t UTF-8 input/ansel.ged > anselutf8.out
-if ! diff input/anselutf8.ged anselutf8.out >> testgedcom.out
+iconv -f ANSEL -t UTF-8 $srcdir/input/ansel.ged > anselutf8.out
+if ! diff $srcdir/input/anselutf8.ged anselutf8.out >> testgedcom.out
then
retval=1
else
echo "Testing conversion from UTF-8 to ANSEL" >> testgedcom.out
- iconv -f UTF-8 -t ANSEL input/anselutf8.ged > ansel.out
- if ! diff input/ansel.ged ansel.out >> testgedcom.out
+ iconv -f UTF-8 -t ANSEL $srcdir/input/anselutf8.ged > ansel.out
+ if ! diff $srcdir/input/ansel.ged ansel.out >> testgedcom.out
then
retval=1
fi
fi
builddir=`pwd`
-ltcmd="$srcdir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la -dlopen $builddir/../gom/libgedcom_gom.la"
+ltcmd="$builddir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la -dlopen $builddir/../gom/libgedcom_gom.la"
export GCONV_PATH=.:$GCONV_PATH
ln -s $srcdir/../data/gedcom.enc .
ln -s $builddir/../iconv/glibc/.libs/ANSI_Z39.47.so .
fi
builddir=`pwd`
-ltcmd="$srcdir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la"
+ltcmd="$builddir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la"
export GCONV_PATH=.:$GCONV_PATH
ln -s $srcdir/../data/gedcom.enc .
ln -s $builddir/../iconv/glibc/.libs/ANSI_Z39.47.so .
fi
builddir=`pwd`
-ltcmd="$srcdir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la"
+ltcmd="$builddir/../libtool --mode=execute -dlopen $builddir/../gedcom/libgedcom.la"
export GCONV_PATH=.:$GCONV_PATH
ln -s $srcdir/../data/gedcom.enc .
ln -s $srcdir/../data/new.ged .