Commit Graph

17 Commits

Author SHA1 Message Date
Ming-Hung Tsai
6a2fa73924 [build] Enable building the dev-tools for functional tests
- Factor out the dev-tools into a stand-alone, no-installed program
- Built the dev-tools if --enable-testing is specified
- Remove the --enable-dev-tools configure option
- Allow suffix on the binary name
- Update symlinks
- Cleanup Makefile
2021-01-12 16:08:51 +08:00
Ming-Hung Tsai
7a332d43c3 [build] Fix the default value for the AR variable (#145)
Initialize the AR variable during configuration, to avoid leaving
unsubstituted string if the AR shell/environment variable is not set.
2020-07-29 10:06:39 +08:00
Arthur Gautier
e6faac9b80 autoconf: allow a user to override ar
This is used on specific buildchains (nixos static builds for example).
2020-07-25 15:16:28 -07:00
Joe Thornber
db5a71a53c [rust tools] Get the tools version from autoconf 2020-06-09 10:23:52 +01:00
Joe Thornber
4313469475 [all] Switch from boost::shared_ptr -> std::shared_ptr.
Shared_ptr has moved into the standard library since these tools were
first written.
2020-04-30 15:02:43 +01:00
Ming-Hung Tsai
e6a4ba53f0 [build] add options for gprof 2020-02-17 11:42:24 +00:00
Joe Thornber
1b7ec80501 [build] fix typo 2017-10-10 10:29:24 +01:00
Thanos Makatos
3464f005ff add configure option to enable static linking
(cherry picked from commit c6a2620f5d)

Conflicts:
	configure.ac
2016-04-06 15:56:08 +03:00
Joe Thornber
c7813e07e4 [thin_dump] --format custom=<shared lib>
Allow people to use their own emitters held in a shared library.

Put a trivial emitter in contrib/ as an example.
2016-03-24 13:59:08 +00:00
Joe Thornber
5f879237f5 [build] add --enable-dev-tools configure flag
This builds tools that I want to keep in the same code base, but not
intended for general release.
2016-02-24 13:41:43 +00:00
Joe Thornber
244405ed5d [build] g++ versions prior to 4.5 don't support the --static-libstdc++ flag so hack around it 2016-02-08 11:58:19 +00:00
Joe Thornber
20bf5bb06d [build] add --enable-static-cxx config option
Links libstdc++ statically.
2016-02-04 15:26:33 +00:00
Ming-Hung Tsai
3be4fe985f [build] Add AC_SYS_LARGEFILE to check for large-file support
To use off64_t on 32-bit system
2015-11-27 23:38:55 +08:00
Ming-Hung Tsai
77f803c528 [build] Support external strip command 2015-11-27 23:35:46 +08:00
Joe Thornber
25b4b526f4 Introduce error_string() as a portable replacement for strerror_r() 2015-01-16 12:54:09 +00:00
Joe Thornber
7e2ea38534 [configure.ac] Make sure libaio.h is present, and remove deps for a couple of boost headers we're no longer using. 2014-08-06 16:27:18 +01:00
Joe Thornber
d8f678b079 Rename configure.in to configure.ac to stop auto tools bleating 2014-08-06 15:20:40 +01:00