[patch 38/39] pimp auto_gen.sh
Robert Schwebel <[email protected]> Sun, 04 Feb 2007 03:31:58 +0100
| Newsgroups | gmane.comp.gnu.dotgnu.developer |
|---|---|
| Message-ID | <[email protected]> |
Modify auto_gen.sh to create local files instead of links. Signed-off-by: Robert Schwebel <[email protected]> --- auto_gen.sh | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) Index: auto_gen.sh =================================================================== --- auto_gen.sh.orig +++ auto_gen.sh @@ -18,22 +18,30 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +banner() { + echo + TG=`echo $1 | sed -e "s,/.*/,,g"` + LINE=`echo $TG |sed -e "s/./-/g"` + echo $LINE + echo $TG + echo $LINE + echo +} + +banner "running libtoolize" +libtoolize --copy --force || exit + +banner "running aclocal" +aclocal --version +aclocal || exit -# Run aclocal to update the macros. -aclocal +banner "running autoheader" +autoheader || exit -# Run autoheader to generate il_config.h.in. -autoheader +banner "running automake" +automake --add-missing --copy --ignore-deps || exit -# Get extra options to use depending upon the automake version. -AM_VERSION=`automake --version` -case "$AM_VERSION" in - automake*1.4*) AM_FLAGS="" ;; - *) AM_FLAGS="--ignore-deps" ;; -esac - -# Run automake and autoconf. -automake --add-missing --copy $AM_FLAGS +banner "running autoconf" autoconf for dir in libffi libgc; do -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9