mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-23 16:20:26 -05:00
- fix -flto detection on Lion for llvm-gcc.
git-svn-id: file:///svn/unbound/trunk@2537 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
ef4d9a1ecb
commit
939c103a73
2 changed files with 11 additions and 2 deletions
|
|
@ -2,7 +2,8 @@
|
||||||
# Copyright 2009, Wouter Wijngaards, NLnet Labs.
|
# Copyright 2009, Wouter Wijngaards, NLnet Labs.
|
||||||
# BSD licensed.
|
# BSD licensed.
|
||||||
#
|
#
|
||||||
# Version 14
|
# Version 15
|
||||||
|
# 2011-11-01 Fix FLTO test for llvm on Lion.
|
||||||
# 2011-08-01 Fix nonblock test (broken at v13).
|
# 2011-08-01 Fix nonblock test (broken at v13).
|
||||||
# 2011-08-01 Fix autoconf 2.68 warnings
|
# 2011-08-01 Fix autoconf 2.68 warnings
|
||||||
# 2011-06-23 Add ACX_CHECK_FLTO to check -flto.
|
# 2011-06-23 Add ACX_CHECK_FLTO to check -flto.
|
||||||
|
|
@ -394,7 +395,14 @@ AC_DEFUN([ACX_CHECK_FLTO],
|
||||||
[AC_MSG_CHECKING([if $CC supports -flto])
|
[AC_MSG_CHECKING([if $CC supports -flto])
|
||||||
BAKCFLAGS="$CFLAGS"
|
BAKCFLAGS="$CFLAGS"
|
||||||
CFLAGS="$CFLAGS -flto"
|
CFLAGS="$CFLAGS -flto"
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], [AC_MSG_RESULT(yes)], [CFLAGS="$BAKCFLAGS" ; AC_MSG_RESULT(no)])
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], [
|
||||||
|
if $CC $CFLAGS conftest.c 2>&1 | grep "warning: no debug symbols in executable" >/dev/null; then
|
||||||
|
CFLAGS="$BAKCFLAGS"
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
fi
|
||||||
|
], [CFLAGS="$BAKCFLAGS" ; AC_MSG_RESULT(no)])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Check the printf-format attribute (if any)
|
dnl Check the printf-format attribute (if any)
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
- documentation for new options: ssl-upstream, ssl-service-key and
|
- documentation for new options: ssl-upstream, ssl-service-key and
|
||||||
ssl-service.pem.
|
ssl-service.pem.
|
||||||
- iana portlist updated.
|
- iana portlist updated.
|
||||||
|
- fix -flto detection on Lion for llvm-gcc.
|
||||||
|
|
||||||
31 October 2011: Wouter
|
31 October 2011: Wouter
|
||||||
- dns over ssl support, ssl-service-pem and ssl-service-key files
|
- dns over ssl support, ssl-service-pem and ssl-service-key files
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue