|
|
|
@ -23,7 +23,6 @@ ADMS=0 |
|
|
|
DIE=0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
help() |
|
|
|
{ |
|
|
|
echo |
|
|
|
@ -115,18 +114,16 @@ test $TEST_TYPE $FILE || { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
cp -p configure.in configure.tmp |
|
|
|
|
|
|
|
if test "$ADMS" -eq 1; then |
|
|
|
|
|
|
|
# Build admsXml arguments list |
|
|
|
# for xml in `ls $XMLPATH | grep .xml`; do |
|
|
|
# if [ "$xml" != "ngspiceVersion.xml" ]; then |
|
|
|
# XMLARG="$XMLARG -e ../admst/$xml" |
|
|
|
# fi |
|
|
|
# done |
|
|
|
|
|
|
|
# Prepend ngspiceVersion.xml |
|
|
|
# XMLARG="-e ../admst/ngspiceVersion.xml $XMLARG" |
|
|
|
# automake needs these entries in configure.in for adms enabled |
|
|
|
sed 's/${VLAMKF}/src\/spicelib\/devices\/adms\/ekv\/Makefile\ |
|
|
|
src\/spicelib\/devices\/adms\/hicum0\/Makefile\ |
|
|
|
src\/spicelib\/devices\/adms\/hicum2\/Makefile\ |
|
|
|
src\/spicelib\/devices\/adms\/mextram\/Makefile\ |
|
|
|
src\/spicelib\/devices\/adms\/psp102\/Makefile/g' configure.tmp >configure.in |
|
|
|
|
|
|
|
currentdir=`pwd` |
|
|
|
|
|
|
|
@ -157,6 +154,11 @@ do |
|
|
|
esac |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
sed '/${VLAMKF}/d' configure.tmp >configure.in |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
echo "Running libtoolize" |
|
|
|
@ -183,4 +185,6 @@ echo "Running autoconf" |
|
|
|
autoconf |
|
|
|
if [ $? -ne 0 ]; then echo "autoconf failed"; exit 1 ; fi |
|
|
|
|
|
|
|
mv configure.tmp configure.in |
|
|
|
|
|
|
|
echo "Success." |