X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpandora_canonical.m4;h=49d4fc4955768cda61d0df2b4aa9518385c09a55;hb=1c4810dbaee4d95078b4b49b9e01971cd14a48e7;hp=c7fc981817677fdf38ab2ba8e8f3950dd7099c67;hpb=fd632c80c5d393253d394c9a8721339876602882;p=awesomized%2Flibmemcached diff --git a/m4/pandora_canonical.m4 b/m4/pandora_canonical.m4 index c7fc9818..49d4fc49 100644 --- a/m4/pandora_canonical.m4 +++ b/m4/pandora_canonical.m4 @@ -214,10 +214,6 @@ AC_DEFUN([PANDORA_CANONICAL_TARGET],[ [Define if system doesn't define]) ]) - AC_CHECK_LIBM - dnl Bug on FreeBSD - LIBM check doesn't set the damn variable - AC_SUBST([LIBM]) - AC_CHECK_FUNC(setsockopt, [], [AC_CHECK_LIB(socket, setsockopt)]) AC_CHECK_FUNC(bind, [], [AC_CHECK_LIB(bind, bind)]) @@ -269,20 +265,6 @@ AC_DEFUN([PANDORA_CANONICAL_TARGET],[ AM_CONDITIONAL(HAVE_SPHINX,[test "x${SPHINXBUILD}" != "x:"]) AM_CONDITIONAL(HAVE_RECENT_SPHINX,[test "x${ac_cv_recent_sphinx}" = "xyes"]) - m4_if(m4_substr(m4_esyscmd(test -d po && echo 0),0,1),0, [ - AM_PO_SUBDIRS - IT_PROG_INTLTOOL([0.35],[no-xml]) - - GETTEXT_PACKAGE=$PACKAGE - AC_CHECK_LIB(intl, libintl_gettext) - AC_SUBST([GETTEXT_PACKAGE]) - AS_IF([test "x${USE_NLS}" = "xyes" -a "x${pandora_have_intltool}" = "xyes"], - [AC_DEFINE([ENABLE_NLS],[1],[Turn on language support]) - AC_CONFIG_FILES([po/Makefile.in]) - ]) - ]) - AM_CONDITIONAL(BUILD_PO,[test "x${USE_NLS}" = "xyes" -a "x${pandora_have_intltool}" = "xyes"]) - AS_IF([test "x${gl_LIBOBJS}" != "x"],[ AS_IF([test "$GCC" = "yes"],[ AM_CPPFLAGS="-isystem \${top_srcdir}/gnulib -isystem \${top_builddir}/gnulib ${AM_CPPFLAGS}" @@ -298,7 +280,7 @@ AC_DEFUN([PANDORA_CANONICAL_TARGET],[ PANDORA_USE_PIPE - AM_CFLAGS="${AM_CFLAGS} ${CC_WARNINGS} ${CC_PROFILING} ${CC_COVERAGE}" + AM_CFLAGS="-std=c99 ${AM_CFLAGS} ${CC_WARNINGS} ${CC_PROFILING} ${CC_COVERAGE}" AM_CXXFLAGS="${AM_CXXFLAGS} ${CXX_WARNINGS} ${CC_PROFILING} ${CC_COVERAGE}" AC_SUBST([AM_CFLAGS])