d19e0f01a1
PR bootstrap/46397 PR bootstrap/46362 * configure.ac: Add AC_TYPE_INT64_T test. * config.h.in: Regenerate. * configure: Likewise. * lto-plugin.c (debug): Use char not bool. (nop): Likewise. (check_1): Rename from check, and use int not bool for gate argument. (check): Macro wrapper for the above to coerce gate argument into boolean-valued integer in case it has pointer type. (parse_table_entry): Use 0 not false. (claim_file_handler): Avoid use of PRIx64 by splitting 64-bit size into two 32-bit parts and printing as hex ints. From-SVN: r166601
28 lines
672 B
Plaintext
28 lines
672 B
Plaintext
AC_PREREQ(2.64)
|
|
AC_INIT([LTO plugin for ld], 0.1,,[lto-plugin])
|
|
AC_CANONICAL_SYSTEM
|
|
GCC_TOPLEV_SUBDIRS
|
|
AM_INIT_AUTOMAKE([foreign no-dist])
|
|
AM_MAINTAINER_MODE
|
|
AC_PROG_CC
|
|
AC_SYS_LARGEFILE
|
|
AM_PROG_LIBTOOL
|
|
AC_SUBST(target_noncanonical)
|
|
# Trying to get this information from gcc's config is tricky.
|
|
case $target in
|
|
x86_64*-mingw*)
|
|
AC_DEFINE([SYM_STYLE], [ss_none], [Default symbol style])
|
|
;;
|
|
*-cygwin* | i?86*-mingw* )
|
|
AC_DEFINE([SYM_STYLE], [ss_win32], [Default symbol style])
|
|
;;
|
|
*)
|
|
AC_DEFINE([SYM_STYLE], [ss_none], [Default symbol style])
|
|
;;
|
|
esac
|
|
AC_TYPE_INT64_T
|
|
AC_TYPE_UINT64_T
|
|
AC_CONFIG_FILES(Makefile)
|
|
AC_CONFIG_HEADERS(config.h)
|
|
AC_OUTPUT
|