path: root/autogen.sh
Commit message (Collapse)AuthorAgeFilesLines
* config/unconfig.h: eliminate #undef directivesH. Peter Anvin2019-10-031-0/+9
| | | | | | | | | | config/config.h as generated by autoconf has #undef directives commented out, but the autoheader-generated template contains them, and config/unconfig.h should not contain them. Re-introduce config/config.h.in, and postprocess it to generate config/unconfig.h by commenting out all the #undef directives, just as configure does. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* autogen.sh: don't update helpers unless there is a newer versionH. Peter Anvin (Intel)2019-09-241-1/+8
| | | | | | | | Updating the autoconf helpers unconditionally is very noisy and probably the wrong thing to do anyway. Check the version numbers and only update if the current machine has a newer version installed. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* autogen.sh: allow overriding autotools location, and handle missingH. Peter Anvin (Intel)2019-08-071-11/+25
| | | | | | | | | | Allow overriding the autotools install location via environment variables. Handle missing aclocal or automake, which aren't mandatory as we cache the files we get from them. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* autoconf: move aux directory, define AC_CONFIG_AUX_DIR()H. Peter Anvin2019-02-221-2/+2
| | | | | | | | | | | | | The name "aux" is reserved on Windows platforms, a legacy from CP/M via MS-DOS. Rename it to "helpers". Turns out that that directory wasn't actually used properly, because AC_CONFIG_AUX_DIR was never defined, and there was a redundant copy of install-sh checked into the base of the source tree. Reported-by: Ehsan Alem Mohammad Ghasemlou <e.ghasemloo@gmail.com> NASM-Bugzilla: https://bugzilla.nasm.us/show_bug.cgi?id=3392560 Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* autogen.sh: add code to re-run configure afterwardsH. Peter Anvin2018-12-221-0/+11
| | | | | | | Add code to autogen.sh to (re-)run configure, with preserved configuration. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* autoconf: use librarized autoconf setupH. Peter Anvin2018-12-221-5/+17
| | | | | | | I have been setting up a cross-project librarized autoconf setup; use it for NASM as well. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* More autoconf modernizations; upgrade AC_PREREQ to 2.69H. Peter Anvin2017-11-081-2/+1
| | | | | | | | | | Make further autoconf rule improvements and update the required version of autoconf to 2.69. That version is now 5+ years old and although there might be older versions which have the prerequisite macros they are known to have lots of bugs, and we can't really test them. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Move config.h to a subdirectory, add MSVC-specific config fileH. Peter Anvin2016-10-041-1/+2
| | | | | | | | | Instead of trying to do hacks in the Makefiles, define header files for specific compilers if they can't use autoconf. Currently defined for Microsoft Visual Studio, based on MSDN documentation. It is currently untested. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* autogen.sh: remove configure-generated filesH. Peter Anvin2016-05-161-0/+1
| | | | | | Remove files generated by configure when running autogen.sh. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* autogen.sh: remove config.statusH. Peter Anvin2008-04-101-1/+1
| | | | Remove config.status when rebuilding the autoconf files.
* autogen.sh script to create configure, et al.H. Peter Anvin2007-04-121-0/+7
It's become custom to create a script called autogen.sh, which creates all the auto-generated files using all the appropriate auto* tools when run, so one doesn't have to worry about checking them into the repository. This seems like a good idea, follow suit.