|
|
@ -114,17 +114,28 @@ test $TEST_TYPE $FILE || { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cp -p configure.in configure.temp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "$ADMS" -eq 1; then |
|
|
if test "$ADMS" -eq 1; then |
|
|
|
|
|
|
|
|
|
|
|
cp -p configure.in configure.temp |
|
|
|
|
|
|
|
|
# automake needs these entries in configure.in for adms enabled |
|
|
# automake needs these entries in configure.in for adms enabled |
|
|
sed 's/${VLAMKF}/src\/spicelib\/devices\/adms\/ekv\/Makefile\ |
|
|
|
|
|
|
|
|
# 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.temp >configure.test |
|
|
|
|
|
|
|
|
|
|
|
sed 's/tests\/vbic\/Makefile/tests\/vbic\/Makefile\ |
|
|
|
|
|
src\/spicelib\/devices\/adms\/ekv\/Makefile\ |
|
|
src\/spicelib\/devices\/adms\/hicum0\/Makefile\ |
|
|
src\/spicelib\/devices\/adms\/hicum0\/Makefile\ |
|
|
src\/spicelib\/devices\/adms\/hicum2\/Makefile\ |
|
|
src\/spicelib\/devices\/adms\/hicum2\/Makefile\ |
|
|
src\/spicelib\/devices\/adms\/mextram\/Makefile\ |
|
|
src\/spicelib\/devices\/adms\/mextram\/Makefile\ |
|
|
src\/spicelib\/devices\/adms\/psp102\/Makefile/g' configure.temp >configure.in |
|
|
src\/spicelib\/devices\/adms\/psp102\/Makefile/g' configure.temp >configure.in |
|
|
|
|
|
|
|
|
|
|
|
# cp -p configure.in configure.test |
|
|
|
|
|
|
|
|
currentdir=`pwd` |
|
|
currentdir=`pwd` |
|
|
|
|
|
|
|
|
for adms_dir in `ls $ADMSDIR` |
|
|
for adms_dir in `ls $ADMSDIR` |
|
|
@ -155,36 +166,43 @@ if test "$ADMS" -eq 1; then |
|
|
fi |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
sed '/${VLAMKF}/d' configure.temp >configure.in |
|
|
|
|
|
|
|
|
|
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
echo "Running libtoolize" |
|
|
echo "Running libtoolize" |
|
|
libtoolize --copy --force |
|
|
libtoolize --copy --force |
|
|
if [ $? -ne 0 ];then echo "libtoolize failed"; exit 1 ; fi |
|
|
|
|
|
|
|
|
if [ $? -ne 0 ];then echo "libtoolize failed"; goto errorhandler ; fi |
|
|
|
|
|
|
|
|
echo "Running aclocal $ACLOCAL_FLAGS" |
|
|
echo "Running aclocal $ACLOCAL_FLAGS" |
|
|
aclocal $ACLOCAL_FLAGS |
|
|
aclocal $ACLOCAL_FLAGS |
|
|
if [ $? -ne 0 ]; then echo "aclocal failed"; exit 1 ; fi |
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then echo "aclocal failed"; goto errorhandler ; fi |
|
|
|
|
|
|
|
|
# optional feature: autoheader |
|
|
# optional feature: autoheader |
|
|
(autoheader --version) < /dev/null > /dev/null 2>&1 |
|
|
(autoheader --version) < /dev/null > /dev/null 2>&1 |
|
|
if [ $? -eq 0 ]; then |
|
|
if [ $? -eq 0 ]; then |
|
|
echo "Running autoheader" |
|
|
echo "Running autoheader" |
|
|
autoheader |
|
|
autoheader |
|
|
if [ $? -ne 0 ]; then echo "autoheader failed"; exit 1 ; fi |
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then echo "autoheader failed"; goto errorhandler ; fi |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
echo "Running automake -Wall --copy --add-missing" |
|
|
echo "Running automake -Wall --copy --add-missing" |
|
|
automake -Wall --copy --add-missing $am_opt |
|
|
automake -Wall --copy --add-missing $am_opt |
|
|
if [ $? -ne 0 ]; then echo "automake failed"; exit 1 ; fi |
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then echo "automake failed"; goto errorhandler ; fi |
|
|
|
|
|
|
|
|
echo "Running autoconf" |
|
|
echo "Running autoconf" |
|
|
autoconf |
|
|
autoconf |
|
|
if [ $? -ne 0 ]; then echo "autoconf failed"; exit 1 ; fi |
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then echo "autoconf failed"; goto errorhandler ; fi |
|
|
|
|
|
|
|
|
mv configure.temp configure.in |
|
|
|
|
|
|
|
|
if test "$ADMS" -eq 1; then |
|
|
|
|
|
mv configure.temp configure.in |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
echo "Success." |
|
|
echo "Success." |
|
|
|
|
|
|
|
|
|
|
|
exit 0 |
|
|
|
|
|
|
|
|
|
|
|
errorhandler: |
|
|
|
|
|
if test "$ADMS" -eq 1; then |
|
|
|
|
|
mv configure.temp configure.in |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
exit 1 |