Certain platforms (like ppc64_linux26) compiler options might
affect some autoconf tests. In particular, the ones related to
the size of certain primitive types.
Change-Id: I20c3f737ee4623451bc6cab3f97e86d152cb397f
Reviewed-on: http://gerrit.openafs.org/5366
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
fi
LIBS="$save_LIBS"
+OPENAFS_OSCONF
+openafs_cv_saved_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $XCFLAGS_NOCHECKING"
+
AC_TYPE_SIGNAL
OPENAFS_RETSIGTYPE
AC_CHECK_SIZEOF(void *)
AC_SIZEOF_TYPE(long)
+CFLAGS="$openafs_cv_saved_CFLAGS"
+
RRA_HEADER_PAM_CONST
AC_SUBST(DOCBOOK2PDF)
AC_SUBST(DOCBOOK_STYLESHEETS)
-OPENAFS_OSCONF
OPENAFS_FUSE
OPENAFS_SWIG
MT_CC="$CC"
XLIBS="${LIB_AFSDB} ${XBSA_XLIBS} ${LIB_libintl}"
MT_LIBS='-lpthread ${XLIBS}'
+XCFLAGS=
dnl debugging and optimization flag defaults
dnl Note, these are all the defaults for if debug/optimize turned on, and
CFLAGS_NOSTRICT=
CFLAGS_NOUNUSED=
CFLAGS_NOOLDSTYLE=
+XCFLAGS_NOCHECKING="$XCFLAGS"
if test "x$GCC" = "xyes"; then
if test "x$enable_warnings" = "xyes"; then