]>
Commit | Line | Data |
---|---|---|
d7f09764 DN |
1 | AC_PREREQ(2.64) |
2 | AC_INIT([LTO plugin for ld], 0.1,,[lto-plugin]) | |
73d5e770 | 3 | AC_CANONICAL_SYSTEM |
d7f09764 | 4 | GCC_TOPLEV_SUBDIRS |
13917ae3 | 5 | AM_INIT_AUTOMAKE([foreign no-dist]) |
03428d41 | 6 | AM_MAINTAINER_MODE |
d7f09764 | 7 | AC_PROG_CC |
4c0f4b0b | 8 | AC_SYS_LARGEFILE |
f3016c47 | 9 | ACX_PROG_CC_WARNING_OPTS([-Wall], [ac_lto_plugin_warn_cflags]) |
5523efdf RO |
10 | # Need -Wc to get it through libtool. |
11 | if test "x$GCC" = xyes; then ac_lto_plugin_ldflags="-Wc,-static-libgcc"; fi | |
12 | AC_SUBST(ac_lto_plugin_ldflags) | |
d7f09764 | 13 | AM_PROG_LIBTOOL |
7de6ba7a | 14 | ACX_LT_HOST_FLAGS |
d7f09764 | 15 | AC_SUBST(target_noncanonical) |
d19e0f01 | 16 | AC_TYPE_INT64_T |
21750c78 | 17 | AC_TYPE_UINT64_T |
ec692d5f | 18 | AC_HEADER_SYS_WAIT |
d7f09764 | 19 | AC_CONFIG_FILES(Makefile) |
48215350 | 20 | AC_CONFIG_HEADERS(config.h) |
d7f09764 | 21 | AC_OUTPUT |