summaryrefslogtreecommitdiffstats
path: root/source/aclocal.m4
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-02-09 23:04:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:00 -0500
commiteb3ba826ef465b95f9597043ee156ad9d7ca16a0 (patch)
tree080b9539f0fde5d9c10e5d7645c7e400b859d141 /source/aclocal.m4
parentb28e43427b43994404f109ce7da467461af12200 (diff)
downloadsamba-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.m412
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)