mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Autoconf: minor reduction of redundancy
Joined BIRD_CHECK_GCC_OPTION and BIRD_ADD_GCC_OPTION.
This commit is contained in:
parent
c9b7b03211
commit
108c4cfaf3
6
aclocal.m4
vendored
6
aclocal.m4
vendored
@ -201,6 +201,12 @@ AC_DEFUN([BIRD_ADD_GCC_OPTION],
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
AC_DEFUN([BIRD_CHECK_AND_ADD_GCC_OPTION],
|
||||||
|
[
|
||||||
|
BIRD_CHECK_GCC_OPTION($@)
|
||||||
|
BIRD_ADD_GCC_OPTION($1,$2)
|
||||||
|
])
|
||||||
|
|
||||||
# BIRD_CHECK_PROG_FLAVOR_GNU(PROGRAM-PATH, IF-SUCCESS, [IF-FAILURE])
|
# BIRD_CHECK_PROG_FLAVOR_GNU(PROGRAM-PATH, IF-SUCCESS, [IF-FAILURE])
|
||||||
# copied from autoconf internal _AC_PATH_PROG_FLAVOR_GNU
|
# copied from autoconf internal _AC_PATH_PROG_FLAVOR_GNU
|
||||||
AC_DEFUN([BIRD_CHECK_PROG_FLAVOR_GNU],
|
AC_DEFUN([BIRD_CHECK_PROG_FLAVOR_GNU],
|
||||||
|
@ -393,8 +393,7 @@ if test "$enable_debug" = yes ; then
|
|||||||
LDFLAGS="$LDFLAGS -rdynamic"
|
LDFLAGS="$LDFLAGS -rdynamic"
|
||||||
CFLAGS="$CFLAGS -O0 -ggdb -g3"
|
CFLAGS="$CFLAGS -O0 -ggdb -g3"
|
||||||
|
|
||||||
BIRD_CHECK_GCC_OPTION([bird_cv_c_option_dwarf4], [-gdwarf-4], [])
|
BIRD_CHECK_AND_ADD_GCC_OPTION([bird_cv_c_option_dwarf4], [-gdwarf-4], [])
|
||||||
BIRD_ADD_GCC_OPTION([bird_cv_c_option_dwarf4], [-gdwarf-4])
|
|
||||||
|
|
||||||
AC_CHECK_HEADER([execinfo.h],
|
AC_CHECK_HEADER([execinfo.h],
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user