diff --git a/autogen.sh b/autogen.sh index 6ed382767..a816f7c7f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -191,14 +191,14 @@ $LIBTOOLIZE --copy --force \ || error_and_exit "$LIBTOOLIZE failed" echo "Running aclocal $ACLOCAL_FLAGS" -aclocal $ACLOCAL_FLAGS -I m4 \ +aclocal $ACLOCAL_FLAGS --force -I m4 \ || error_and_exit "aclocal failed" # optional feature: autoheader (autoheader --version) < /dev/null > /dev/null 2>&1 if [ $? -eq 0 ]; then echo "Running autoheader" - autoheader \ + autoheader --force \ || error_and_exit "autoheader failed" fi @@ -214,12 +214,12 @@ fi echo "Running autoconf" if [ "$ADMS" -gt 0 ]; then - autoconf temp-adms.ac > configure \ + autoconf --force temp-adms.ac > configure \ || error_and_exit "autoconf failed, with adms" rm -f temp-adms.ac chmod +x configure else - autoconf \ + autoconf --force \ || error_and_exit "autoconf failed" fi diff --git a/src/Makefile.am b/src/Makefile.am index 9dcbc9257..eec46cd59 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = misc maths frontend spicelib include/ngspice -DIST_SUBDIRS = misc maths frontend spicelib include/ngspice xspice ciderlib unsupported +SUBDIRS = include/ngspice misc maths frontend spicelib +DIST_SUBDIRS = include/ngspice misc maths frontend spicelib xspice ciderlib unsupported if XSPICE_WANTED SUBDIRS += xspice