diff options
author | Benjamin Dobell <benjamin.dobell@glassechidna.com.au> | 2011-07-09 09:37:36 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell@glassechidna.com.au> | 2011-07-09 09:37:36 +0200 |
commit | bf17bbf5736e4774b1ac8e18698bc2fcf6ff9a1e (patch) | |
tree | c0199127003c2d5418fa6b10fb0676c7abcb0a7e /libpit/configure.ac | |
parent | 1.3 beta (diff) | |
download | Heimdall-bf17bbf5736e4774b1ac8e18698bc2fcf6ff9a1e.tar Heimdall-bf17bbf5736e4774b1ac8e18698bc2fcf6ff9a1e.tar.gz Heimdall-bf17bbf5736e4774b1ac8e18698bc2fcf6ff9a1e.tar.bz2 Heimdall-bf17bbf5736e4774b1ac8e18698bc2fcf6ff9a1e.tar.lz Heimdall-bf17bbf5736e4774b1ac8e18698bc2fcf6ff9a1e.tar.xz Heimdall-bf17bbf5736e4774b1ac8e18698bc2fcf6ff9a1e.tar.zst Heimdall-bf17bbf5736e4774b1ac8e18698bc2fcf6ff9a1e.zip |
Diffstat (limited to 'libpit/configure.ac')
-rw-r--r-- | libpit/configure.ac | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libpit/configure.ac b/libpit/configure.ac new file mode 100644 index 0000000..883bbb2 --- /dev/null +++ b/libpit/configure.ac @@ -0,0 +1,40 @@ +AC_INIT([libpit], [1.3], [bug-report@glassechidna.com.au], [libpit], [http://www.glassechidna.com.au/]) +AC_PREREQ([2.59]) +AC_CANONICAL_TARGET +AC_CONFIG_MACRO_DIR([m4]) +AM_INIT_AUTOMAKE([1.10 -Wall no-define foreign]) +AC_CONFIG_HEADERS([config.h]) +AC_PROG_CXX + +LT_INIT() + +AC_SUBST([LIBPIT_API_VERSION], [1.3]) +AC_CONFIG_FILES([Makefile]) + +AM_MAINTAINER_MODE + +AC_MSG_CHECKING([operating system]) +case $target in +*-linux*) + AC_DEFINE(OS_LINUX, [], [Linux backend]) + AC_MSG_RESULT([Linux]) + ;; +*-darwin*) + AC_DEFINE(OS_DARWIN, [], [Darwin backend]) + AC_MSG_RESULT([Darwin/MacOS X]) + ;; +*-mingw*) + AC_DEFINE(OS_WINDOWS, [], [Windows backend]) + AC_MSG_RESULT([Windows]) + ;; +*-cygwin*) + AC_DEFINE(OS_WINDOWS, [], [Windows backend]) + AC_MSG_RESULT([Windows]) + ;; +*) + AC_MSG_ERROR([unsupported operating system]) +esac + +AC_C_BIGENDIAN + +AC_OUTPUT |