From e0e0ce1f22f57f3f285821c0cd488cce6b4d3495 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 25 Dec 2014 16:57:22 +0000 Subject: [PATCH] - configure.ac: removed AC_FUNC_STRFTIME git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5123 82007160-df01-0410-b94d-b575c5fd34c7 --- configure | 56 -------------------------------------------------- configure.ac | 3 --- src/setup.h.in | 3 --- 3 files changed, 62 deletions(-) diff --git a/configure b/configure index f65f05c..47e1b45 100755 --- a/configure +++ b/configure @@ -12549,62 +12549,6 @@ $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h fi -for ac_func in strftime -do : - ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" -if test "x$ac_cv_func_strftime" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRFTIME 1 -_ACEOF - -else - # strftime is in -lintl on SCO UNIX. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 -$as_echo_n "checking for strftime in -lintl... " >&6; } -if ${ac_cv_lib_intl_strftime+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lintl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char strftime (); -int -main () -{ -return strftime (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_intl_strftime=yes -else - ac_cv_lib_intl_strftime=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 -$as_echo "$ac_cv_lib_intl_strftime" >&6; } -if test "x$ac_cv_lib_intl_strftime" = xyes; then : - $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h - -LIBS="-lintl $LIBS" -fi - -fi -done - - for ac_prog in 'bison -y' byacc do diff --git a/configure.ac b/configure.ac index 3c42b85..c15f5bb 100644 --- a/configure.ac +++ b/configure.ac @@ -45,9 +45,6 @@ AC_TYPE_SIZE_T AC_HEADER_TIME AC_STRUCT_TM -dnl Checks for library functions. -AC_FUNC_STRFTIME - dnl check for yacc AC_PROG_INSTALL AC_PROG_YACC diff --git a/src/setup.h.in b/src/setup.h.in index 5d89ef1..9bc1139 100644 --- a/src/setup.h.in +++ b/src/setup.h.in @@ -36,9 +36,6 @@ /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP -/* Define to 1 if you have the `strftime' function. */ -#undef HAVE_STRFTIME - /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H -- 2.30.2