54 |
# modified version of the Autoconf Macro, you may extend this special |
# modified version of the Autoconf Macro, you may extend this special |
55 |
# exception to the GPL to apply to your modified version as well. |
# exception to the GPL to apply to your modified version as well. |
56 |
|
|
57 |
#serial 3 |
#serial 4 |
58 |
|
|
59 |
AC_DEFUN([AX_APPEND_COMPILE_FLAGS], |
AC_DEFUN([AX_APPEND_COMPILE_FLAGS], |
60 |
[AC_REQUIRE([AX_CHECK_COMPILE_FLAG]) |
[AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) |
61 |
AC_REQUIRE([AX_APPEND_FLAG]) |
AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) |
62 |
for flag in $1; do |
for flag in $1; do |
63 |
AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3]) |
AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3]) |
64 |
done |
done |