diff options
author | James Peach <jpeach@samba.org> | 2006-02-09 23:04:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:00 -0500 |
commit | e6d847d8c463d3577fd2eb9810bf6e49c530cc10 (patch) | |
tree | 19393418e6b954a70245b558c128f46505b54265 /source3/aclocal.m4 | |
parent | 34352fe039fb0fc08ce7a410d913da6d4342f809 (diff) | |
download | samba-e6d847d8c463d3577fd2eb9810bf6e49c530cc10.tar.gz samba-e6d847d8c463d3577fd2eb9810bf6e49c530cc10.tar.bz2 samba-e6d847d8c463d3577fd2eb9810bf6e49c530cc10.zip |
r13418: Formalise support for checking compiler options.
(This used to be commit eb3ba826ef465b95f9597043ee156ad9d7ca16a0)
Diffstat (limited to 'source3/aclocal.m4')
-rw-r--r-- | source3/aclocal.m4 | 12 |
1 files changed, 0 insertions, 12 deletions
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) |