summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2007-05-10 01:27:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:56 -0500
commit1b55cf43849543babe0210ea0260752212a53f22 (patch)
tree5d20527a1f7b6ea3d4cfc5ac9a1bd8ead5cbe9b0 /source3/configure.in
parent8ef8dab4fb0945974c74e96a5dd69e1559519b6c (diff)
downloadsamba-1b55cf43849543babe0210ea0260752212a53f22.tar.gz
samba-1b55cf43849543babe0210ea0260752212a53f22.tar.bz2
samba-1b55cf43849543babe0210ea0260752212a53f22.zip
r22772: - Still working on the fact that readahead() is not declared (on at least one
OS) but is available for linking. Instead of running configure tests with -Werror-implicit-function-declaration in developer mode (which may lead to different library functions being used in developer mode than when not in developer mode), add tests for whether readahead is declared. If not, provide a replacement declaration in lib/replace. (This used to be commit 7d05fa8b32b5b33e95fd9d552d2a45013b4803ec)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 497c4ac624..8c728deea2 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1337,19 +1337,6 @@ AC_CHECK_LIB(exc, trace_back_stack)
# implicit declaration warnings without failing the test (in developer mode)
ac_no_error_on_warning_CFLAGS="${CFLAGS}"
-# Since --enable-developer causes warnings to be treated as errors during
-# compilation, we should avoid using features that will fail to compile.
-#
-# We don't want to enable this earlier because the built-in functions such as
-# memset fail to configure properly.
-
-if test x"$samba_cv_HAVE_Werror_implicit_function_declaration" = x"yes" -a \
- x"$developer" = xyes; then
- CFLAGS="${CFLAGS} -Werror-implicit-function-declaration"
- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-fi
-
echo -n "checking for GPFS GPL libs... "
save_LIBS="$LIBS"
LIBS="$LIBS -lgpfs_gpl"