Giter Site home page Giter Site logo

[libmspack Patch] autogen.sh about libmspack HOT 4 CLOSED

kyz avatar kyz commented on May 30, 2024
[libmspack Patch] autogen.sh

from libmspack.

Comments (4)

AntumDeluge avatar AntumDeluge commented on May 30, 2024

I messed up on that autogen patch. I'm pretty sure that aclocal should be run before libtoolize.

from libmspack.

kyz avatar kyz commented on May 30, 2024

Thanks for your patch. I'd like to check -- does this do something different from what rebuild.sh does today? For example, would it be useful to run the autotools without doing a cleanup, configure or make?

rebuild.sh runs cleanup.sh, then autoreconf, then performs a configure, make, etc.

autoreconf runs aclocal, libtoolize, autoconf, autoheader and automake. Example:

$ ./cleanup.sh
$ mkdir m4
$ autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:27: installing './ar-lib'
configure.ac:25: installing './compile'
configure.ac:29: installing './config.guess'
configure.ac:29: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am: installing './INSTALL'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'

from libmspack.

AntumDeluge avatar AntumDeluge commented on May 30, 2024

No, I guess it doesn't do anything more. I didn't realize that rebuild.sh runs autoreconf. I don't like to have the script run configure and make though. After I run autotools, I usually like to setup my build in a different directory, then run configure and make from there.

from libmspack.

kyz avatar kyz commented on May 30, 2024

Thanks for the feedback. I've changed the build scripts slightly.

  • cleanup.sh will delete all auto-generated / compiled files
  • autogen.sh will recreate the autotools files (using autoreconf), it will not run cleanup.sh, configure or make
  • rebuild.sh will run cleanup.sh, autogen.sh, configure, make

from libmspack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.