diff options
author | Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr> | 2010-03-25 10:07:03 +0100 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:37 +0200 |
commit | aeedae61d12778c4428a7e266913221269480162 (patch) | |
tree | 023ce3b78a8d62a129032fc6028d457f5e9199c1 /configure | |
parent | 2fa86d0c611b69e175c3b07116e9b67b85fe20ef (diff) |
102_libc6-2.9-fixes.diff from the Debian package version 20080615-8:
"Fixes for recent libc releases."
[ignoring changes to the build generated cftoken.c file]
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 50 |
1 files changed, 49 insertions, 1 deletions
@@ -6013,7 +6013,55 @@ fi done - ac_config_files="$ac_config_files Makefile" +{ echo "$as_me:$LINENO: checking whether libc defines struct in6_pktinfo" >&5 +echo $ECHO_N "checking whether libc defines struct in6_pktinfo... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <netinet/in.h> +int +main () +{ +struct in6_pktinfo p6; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + CFLAGS="$CFLAGS -DHAVE_IN6_PKTINFO" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +ac_config_files="$ac_config_files Makefile" + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure |