diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2013-03-13 14:09:39 +0100 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2013-03-13 14:09:39 +0100 |
commit | e4011af21308a159f2e5498f48bcc293f2edde19 (patch) | |
tree | d269b737e461951c4eb58cd377ee4baa4731d964 /libpit | |
parent | Updated Linux build files and fixed a string formatting warning in Heimdall Frontend. (diff) | |
download | Heimdall-e4011af21308a159f2e5498f48bcc293f2edde19.tar Heimdall-e4011af21308a159f2e5498f48bcc293f2edde19.tar.gz Heimdall-e4011af21308a159f2e5498f48bcc293f2edde19.tar.bz2 Heimdall-e4011af21308a159f2e5498f48bcc293f2edde19.tar.lz Heimdall-e4011af21308a159f2e5498f48bcc293f2edde19.tar.xz Heimdall-e4011af21308a159f2e5498f48bcc293f2edde19.tar.zst Heimdall-e4011af21308a159f2e5498f48bcc293f2edde19.zip |
Diffstat (limited to 'libpit')
-rw-r--r-- | libpit/configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libpit/configure.ac b/libpit/configure.ac index 30fd136..4847828 100644 --- a/libpit/configure.ac +++ b/libpit/configure.ac @@ -4,7 +4,8 @@ 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 +AM_PROG_AR +m4_pattern_allow([AM_PROG_PR], [AM_PROG_AR]) LT_INIT() @@ -18,18 +19,22 @@ case $target in *-linux*) AC_DEFINE(OS_LINUX, [], [Linux backend]) AC_MSG_RESULT([Linux]) + AC_PROG_CXX ;; *-darwin*) AC_DEFINE(OS_DARWIN, [], [Darwin backend]) AC_MSG_RESULT([Darwin/MacOS X]) + AC_PROG_CXX([clang++]) ;; *-mingw*) AC_DEFINE(OS_WINDOWS, [], [Windows backend]) AC_MSG_RESULT([Windows]) + AC_PROG_CXX ;; *-cygwin*) AC_DEFINE(OS_WINDOWS, [], [Windows backend]) AC_MSG_RESULT([Windows]) + AC_PROG_CXX ;; *) AC_MSG_ERROR([unsupported operating system]) |