]> git.ipfire.org Git - thirdparty/gcc.git/blame - lto-plugin/configure.ac
re PR debug/46252 (-fcompare-debug failure (length) with -O -frerun-cse-after-loop...
[thirdparty/gcc.git] / lto-plugin / configure.ac
CommitLineData
d7f09764
DN
1AC_PREREQ(2.64)
2AC_INIT([LTO plugin for ld], 0.1,,[lto-plugin])
73d5e770 3AC_CANONICAL_SYSTEM
d7f09764 4GCC_TOPLEV_SUBDIRS
13917ae3 5AM_INIT_AUTOMAKE([foreign no-dist])
03428d41 6AM_MAINTAINER_MODE
d7f09764 7AC_PROG_CC
4c0f4b0b 8AC_SYS_LARGEFILE
d7f09764
DN
9AC_ARG_VAR(LIBELFLIBS,[How to link libelf])
10AC_ARG_VAR(LIBELFINC,[How to find libelf include files])
11AM_PROG_LIBTOOL
12AC_SUBST(target_noncanonical)
1cd0b716
DK
13. ${srcdir}/../gcc/config.gcc
14case ${lto_binary_reader} in
15 *coff*) LTO_FORMAT=coff ;;
16 *elf*) LTO_FORMAT=elf ;;
17 *) AC_MSG_ERROR([LTO plugin is not supported on this target.]) ;;
18esac
19
20AC_SUBST(LTO_FORMAT)
21750c78 21AC_TYPE_UINT64_T
d7f09764
DN
22AC_CONFIG_FILES(Makefile)
23AC_OUTPUT