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 | eb3ba826ef465b95f9597043ee156ad9d7ca16a0 (patch) | |
tree | 080b9539f0fde5d9c10e5d7645c7e400b859d141 /source/aclocal.m4 | |
parent | b28e43427b43994404f109ce7da467461af12200 (diff) | |
download | samba-eb3ba826ef465b95f9597043ee156ad9d7ca16a0.tar.gz samba-eb3ba826ef465b95f9597043ee156ad9d7ca16a0.tar.xz samba-eb3ba826ef465b95f9597043ee156ad9d7ca16a0.zip |
r13418: Formalise support for checking compiler options.
Diffstat (limited to 'source/aclocal.m4')
-rw-r--r-- | source/aclocal.m4 | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source/aclocal.m4 b/source/aclocal.m4 index 86c43f80dc0..3d6642d3737 100644 --- a/source/aclocal.m4 +++ b/source/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) |