From 8c5e602fbd3e70c005036fb8b9b93d6676b3c282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 10 May 2007 17:22:58 +0000 Subject: [PATCH] we have a fnmatch.h only if there is a working implementation and a header file. If we do use roken, lets use our own headerfile that does symbol renaming. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20639 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/roken-frag.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cf/roken-frag.m4 b/cf/roken-frag.m4 index 67c6da3f3..a46c894fb 100644 --- a/cf/roken-frag.m4 +++ b/cf/roken-frag.m4 @@ -144,7 +144,6 @@ AC_CHECK_HEADERS(sys/proc.h, , , [AC_INCLUDES_DEFAULT AC_REQUIRE([CHECK_NETINET_IP_AND_TCP]) AM_CONDITIONAL(have_err_h, test "$ac_cv_header_err_h" = yes) -AM_CONDITIONAL(have_fnmatch_h, test "$ac_cv_header_fnmatch_h" = yes) AM_CONDITIONAL(have_ifaddrs_h, test "$ac_cv_header_ifaddrs_h" = yes) AM_CONDITIONAL(have_vis_h, test "$ac_cv_header_vis_h" = yes) @@ -349,6 +348,9 @@ AC_BROKEN([ \ writev \ ]) +AM_CONDITIONAL(have_fnmatch_h, + test "$ac_cv_header_fnmatch_h" = yes -a "$ac_cv_func_fnmatch" = yes) + AC_FOREACH([rk_func], [strndup strsep strtok_r], [AC_NEED_PROTO([#include ], rk_func)])