From e6d847d8c463d3577fd2eb9810bf6e49c530cc10 Mon Sep 17 00:00:00 2001 From: James Peach Date: Thu, 9 Feb 2006 23:04:38 +0000 Subject: r13418: Formalise support for checking compiler options. (This used to be commit eb3ba826ef465b95f9597043ee156ad9d7ca16a0) --- source3/aclocal.m4 | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source3/aclocal.m4') diff --git a/source3/aclocal.m4 b/source3/aclocal.m4 index 86c43f80dc..3d6642d373 100644 --- a/source3/aclocal.m4 +++ b/source3/aclocal.m4 @@ -76,18 +76,6 @@ AC_DEFUN(SMB_SUBSYSTEM, ifelse([$2], , :, [rm -f $2]) ]) -dnl AC_PROG_CC_FLAG(flag) -AC_DEFUN(AC_PROG_CC_FLAG, -[AC_CACHE_CHECK(whether ${CC-cc} accepts -$1, ac_cv_prog_cc_$1, -[echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -$1 -c conftest.c 2>&1`"; then - ac_cv_prog_cc_$1=yes -else - ac_cv_prog_cc_$1=no -fi -rm -f conftest* -])]) - dnl see if a declaration exists for a function or variable dnl defines HAVE_function_DECL if it exists dnl AC_HAVE_DECL(var, includes) -- cgit