-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUILD: Apply xoreos build system changes to Phaethon
- Bump required Boost version to 1.53.0; add Atomic and Locale - Fix autotools out of tree builds - Fix autotools gitstamp .dirty flag - Add automake foreign option - Check for C/C++ warning flag support before using them - Add --with-lto - Add --with-release
- Loading branch information
Showing
12 changed files
with
162 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ EXTRA_DIST = \ | |
BUILDDEP \ | ||
Doxyfile \ | ||
README.dox \ | ||
README.md \ | ||
$(EMPTY) | ||
|
||
dist_doc_DATA = \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#serial 1000 | ||
dnl @synopsis AX_CHECK_COMPILER_FLAGS(FLAGS, EXTRAFLAGS, [ACTION-SUCCESS], [ACTION-FAILURE]) | ||
dnl | ||
dnl @summary check whether FLAGS are accepted by the compiler | ||
dnl | ||
dnl Check whether the given compiler FLAGS work with the current | ||
dnl language's compiler, or whether they give an error. (Warnings, | ||
dnl however, are ignored.) | ||
dnl | ||
dnl EXTRAFLAGS will be added for the check, and can be used to, for | ||
dnl example, for warnings to produce an error. | ||
dnl | ||
dnl ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on | ||
dnl success/failure. | ||
dnl | ||
dnl @category Misc | ||
dnl @author Steven G. Johnson <[email protected]> and Matteo Frigo. | ||
dnl @version 2005-05-30 | ||
dnl @license GPLWithACException | ||
|
||
AC_DEFUN([AX_CHECK_COMPILER_FLAGS], | ||
[AC_PREREQ(2.59) dnl for _AC_LANG_PREFIX | ||
AC_MSG_CHECKING([whether _AC_LANG compiler accepts $1]) | ||
dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname: | ||
AS_LITERAL_IF([$1], | ||
[AC_CACHE_VAL(AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1), [ | ||
ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS | ||
_AC_LANG_PREFIX[]FLAGS="$1 $2" | ||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], | ||
AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1)=yes, | ||
AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1)=no) | ||
_AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS])], | ||
[ax_save_FLAGS=$[]_AC_LANG_PREFIX[]FLAGS | ||
_AC_LANG_PREFIX[]FLAGS="$1 $2" | ||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], | ||
eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1)=yes, | ||
eval AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1)=no) | ||
_AC_LANG_PREFIX[]FLAGS=$ax_save_FLAGS]) | ||
eval ax_check_compiler_flags=$AS_TR_SH(ax_cv_[]_AC_LANG_ABBREV[]_flags_$1) | ||
AC_MSG_RESULT($ax_check_compiler_flags) | ||
if test "x$ax_check_compiler_flags" = xyes; then | ||
m4_default([$3], :) | ||
else | ||
m4_default([$4], :) | ||
fi | ||
])dnl AX_CHECK_COMPILER_FLAGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#serial 1000 | ||
dnl @synopsis AX_CHECK_COMPILER_FLAGS_VAR(language, variable, flag) | ||
dnl | ||
dnl @summary Check whether the compiler for this language accepts this flag, and | ||
dnl add it to the variable if it does | ||
dnl | ||
dnl Depends on the AX_CHECK_COMPILER_FLAGS macro. | ||
dnl | ||
dnl @category Misc | ||
dnl @author Sven Hesse <[email protected]> | ||
dnl @version 2015-07-12 | ||
dnl @license Creative Commons CC0 1.0 Universal Public Domain Dedication | ||
|
||
AC_DEFUN([AX_CHECK_COMPILER_FLAGS_VAR], [ | ||
AC_LANG_PUSH([$1]) | ||
AX_CHECK_COMPILER_FLAGS([$3], [-Werror], AS_VAR_APPEND([$2], [" $3"])) | ||
AC_LANG_POP([$1]) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters