summaryrefslogtreecommitdiff
path: root/lto-plugin/configure.ac
blob: 67147db6817054a6232cad5af080e9054edca688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
ACX_LT_HOST_FLAGS
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_HEADER_SYS_WAIT
AC_CONFIG_FILES(Makefile)
AC_CONFIG_HEADERS(config.h)
AC_OUTPUT