removed unneeded tests from configure.ac

fixed a flaw in lib/Makefile.am
This commit is contained in:
hyung-hwan 2020-11-15 05:14:52 +00:00
parent f59332b88a
commit 43330b44b6
6 changed files with 13 additions and 110 deletions

View File

@ -164,8 +164,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/ac/ar-lib \
$(top_srcdir)/ac/compile $(top_srcdir)/ac/config.guess \ $(top_srcdir)/ac/compile $(top_srcdir)/ac/config.guess \
$(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \ $(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \
$(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing ac/ar-lib \ $(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing ac/ar-lib \
ac/compile ac/config.guess ac/config.sub ac/install-sh \ ac/compile ac/config.guess ac/config.sub ac/depcomp \
ac/ltmain.sh ac/missing ac/install-sh ac/ltmain.sh ac/missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION) distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir) top_distdir = $(distdir)

30
mio/configure vendored
View File

@ -18406,36 +18406,6 @@ fi
QUADMATH_LIBS="$LIBM" QUADMATH_LIBS="$LIBM"
fi fi
fi fi
if test ${ac_cv_sizeof___float128} -gt 0
then
OLDLIBS="$LIBS"
LIBS="$LIBM $LIBS"
for ac_func in powq fmodq sinq cosq tanq sinhq coshq tanhq asinq acosq atanq atan2q logq log10q expq sqrtq ceilq floorq roundq
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
for ac_func in strtoflt128
do :
ac_fn_c_check_func "$LINENO" "strtoflt128" "ac_cv_func_strtoflt128"
if test "x$ac_cv_func_strtoflt128" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_STRTOFLT128 1
_ACEOF
fi
done
LIBS="$OLDLIBS"
fi
fi fi

View File

@ -663,15 +663,6 @@ then
QUADMATH_LIBS="$LIBM" QUADMATH_LIBS="$LIBM"
fi fi
fi fi
if test ${ac_cv_sizeof___float128} -gt 0
then
OLDLIBS="$LIBS"
LIBS="$LIBM $LIBS"
AC_CHECK_FUNCS([powq fmodq sinq cosq tanq sinhq coshq tanhq asinq acosq atanq atan2q logq log10q expq sqrtq ceilq floorq roundq])
AC_CHECK_FUNCS([strtoflt128])
LIBS="$OLDLIBS"
fi
fi fi
AC_SUBST(QUADMATH_LIBS) AC_SUBST(QUADMATH_LIBS)

View File

@ -64,6 +64,7 @@ libmio_la_SOURCES = \
http.c \ http.c \
http-cgi.c \ http-cgi.c \
http-fil.c \ http-fil.c \
http-prv.h \
http-svr.c \ http-svr.c \
http-thr.c \ http-thr.c \
http-txt.c \ http-txt.c \

View File

@ -149,11 +149,11 @@ libmio_la_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_3) $(am__DEPENDENCIES_4) $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_4)
am__libmio_la_SOURCES_DIST = chr.c dns.c dns-cli.c ecs.c ecs-imp.h \ am__libmio_la_SOURCES_DIST = chr.c dns.c dns-cli.c ecs.c ecs-imp.h \
err.c fmt.c fmt-imp.h htb.c htrd.c htre.c http.c http-cgi.c \ err.c fmt.c fmt-imp.h htb.c htrd.c htre.c http.c http-cgi.c \
http-fil.c http-svr.c http-thr.c http-txt.c json.c mio-prv.h \ http-fil.c http-prv.h http-svr.c http-thr.c http-txt.c json.c \
mio.c nwif.c path.c pipe.c pro.c sck.c skad.c sys.c sys-ass.c \ mio-prv.h mio.c nwif.c path.c pipe.c pro.c sck.c skad.c sys.c \
sys-err.c sys-log.c sys-mux.c sys-prv.h sys-tim.c thr.c \ sys-ass.c sys-err.c sys-log.c sys-mux.c sys-prv.h sys-tim.c \
uch-case.h uch-prop.h tmr.c utf8.c utl.c utl-siph.c mar.c \ thr.c uch-case.h uch-prop.h tmr.c utf8.c utl.c utl-siph.c \
mar-cli.c mar.c mar-cli.c
@ENABLE_MARIADB_TRUE@am__objects_1 = libmio_la-mar.lo \ @ENABLE_MARIADB_TRUE@am__objects_1 = libmio_la-mar.lo \
@ENABLE_MARIADB_TRUE@ libmio_la-mar-cli.lo @ENABLE_MARIADB_TRUE@ libmio_la-mar-cli.lo
am_libmio_la_OBJECTS = libmio_la-chr.lo libmio_la-dns.lo \ am_libmio_la_OBJECTS = libmio_la-chr.lo libmio_la-dns.lo \
@ -443,10 +443,11 @@ include_HEADERS = mio-cfg.h mio-chr.h mio-cmn.h mio-dns.h mio-ecs.h \
lib_LTLIBRARIES = libmio.la lib_LTLIBRARIES = libmio.la
libmio_la_SOURCES = chr.c dns.c dns-cli.c ecs.c ecs-imp.h err.c fmt.c \ libmio_la_SOURCES = chr.c dns.c dns-cli.c ecs.c ecs-imp.h err.c fmt.c \
fmt-imp.h htb.c htrd.c htre.c http.c http-cgi.c http-fil.c \ fmt-imp.h htb.c htrd.c htre.c http.c http-cgi.c http-fil.c \
http-svr.c http-thr.c http-txt.c json.c mio-prv.h mio.c nwif.c \ http-prv.h http-svr.c http-thr.c http-txt.c json.c mio-prv.h \
path.c pipe.c pro.c sck.c skad.c sys.c sys-ass.c sys-err.c \ mio.c nwif.c path.c pipe.c pro.c sck.c skad.c sys.c sys-ass.c \
sys-log.c sys-mux.c sys-prv.h sys-tim.c thr.c uch-case.h \ sys-err.c sys-log.c sys-mux.c sys-prv.h sys-tim.c thr.c \
uch-prop.h tmr.c utf8.c utl.c utl-siph.c $(am__append_2) uch-case.h uch-prop.h tmr.c utf8.c utl.c utl-siph.c \
$(am__append_2)
libmio_la_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) libmio_la_CPPFLAGS = $(CPPFLAGS_LIB_COMMON)
libmio_la_CFLAGS = $(CFLAGS_LIB_COMMON) $(am__append_3) libmio_la_CFLAGS = $(CFLAGS_LIB_COMMON) $(am__append_3)
libmio_la_LDFLAGS = $(LDFLAGS_LIB_COMMON) $(am__append_4) libmio_la_LDFLAGS = $(LDFLAGS_LIB_COMMON) $(am__append_4)

View File

@ -6,27 +6,12 @@
/* Define to 1 if you have the `accept4' function. */ /* Define to 1 if you have the `accept4' function. */
#undef HAVE_ACCEPT4 #undef HAVE_ACCEPT4
/* Define to 1 if you have the `acosq' function. */
#undef HAVE_ACOSQ
/* Define to 1 if you have the `asinq' function. */
#undef HAVE_ASINQ
/* Define to 1 if you have the `atan2q' function. */
#undef HAVE_ATAN2Q
/* Define to 1 if you have the `atanq' function. */
#undef HAVE_ATANQ
/* Define to 1 if you have the `backtrace' function. */ /* Define to 1 if you have the `backtrace' function. */
#undef HAVE_BACKTRACE #undef HAVE_BACKTRACE
/* Define to 1 if you have the `backtrace_symbols' function. */ /* Define to 1 if you have the `backtrace_symbols' function. */
#undef HAVE_BACKTRACE_SYMBOLS #undef HAVE_BACKTRACE_SYMBOLS
/* Define to 1 if you have the `ceilq' function. */
#undef HAVE_CEILQ
/* Define to 1 if you have the `clearenv' function. */ /* Define to 1 if you have the `clearenv' function. */
#undef HAVE_CLEARENV #undef HAVE_CLEARENV
@ -39,12 +24,6 @@
/* Define to 1 if you have the `connect' function. */ /* Define to 1 if you have the `connect' function. */
#undef HAVE_CONNECT #undef HAVE_CONNECT
/* Define to 1 if you have the `coshq' function. */
#undef HAVE_COSHQ
/* Define to 1 if you have the `cosq' function. */
#undef HAVE_COSQ
/* Define to 1 if you have the <crt_externs.h> header file. */ /* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H #undef HAVE_CRT_EXTERNS_H
@ -85,9 +64,6 @@
/* Define to 1 if you have the <execinfo.h> header file. */ /* Define to 1 if you have the <execinfo.h> header file. */
#undef HAVE_EXECINFO_H #undef HAVE_EXECINFO_H
/* Define to 1 if you have the `expq' function. */
#undef HAVE_EXPQ
/* Define to 1 if you have the `fchmod' function. */ /* Define to 1 if you have the `fchmod' function. */
#undef HAVE_FCHMOD #undef HAVE_FCHMOD
@ -97,12 +73,6 @@
/* Define to 1 if you have the `fdopendir' function. */ /* Define to 1 if you have the `fdopendir' function. */
#undef HAVE_FDOPENDIR #undef HAVE_FDOPENDIR
/* Define to 1 if you have the `floorq' function. */
#undef HAVE_FLOORQ
/* Define to 1 if you have the `fmodq' function. */
#undef HAVE_FMODQ
/* Define to 1 if you have the `fork' function. */ /* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK #undef HAVE_FORK
@ -193,12 +163,6 @@
/* Define to 1 if you have the `localtime_r' function. */ /* Define to 1 if you have the `localtime_r' function. */
#undef HAVE_LOCALTIME_R #undef HAVE_LOCALTIME_R
/* Define to 1 if you have the `log10q' function. */
#undef HAVE_LOG10Q
/* Define to 1 if you have the `logq' function. */
#undef HAVE_LOGQ
/* Define to 1 if you have the `lseek64' function. */ /* Define to 1 if you have the `lseek64' function. */
#undef HAVE_LSEEK64 #undef HAVE_LSEEK64
@ -277,9 +241,6 @@
/* Define to 1 if you have the `posix_spawn' function. */ /* Define to 1 if you have the `posix_spawn' function. */
#undef HAVE_POSIX_SPAWN #undef HAVE_POSIX_SPAWN
/* Define to 1 if you have the `powq' function. */
#undef HAVE_POWQ
/* Define to 1 if you have the `prctl' function. */ /* Define to 1 if you have the `prctl' function. */
#undef HAVE_PRCTL #undef HAVE_PRCTL
@ -310,9 +271,6 @@
/* Define to 1 if you have the `recvmsg' function. */ /* Define to 1 if you have the `recvmsg' function. */
#undef HAVE_RECVMSG #undef HAVE_RECVMSG
/* Define to 1 if you have the `roundq' function. */
#undef HAVE_ROUNDQ
/* Define to 1 if you have the `select' function. */ /* Define to 1 if you have the `select' function. */
#undef HAVE_SELECT #undef HAVE_SELECT
@ -343,21 +301,12 @@
/* Define to 1 if you have the <signal.h> header file. */ /* Define to 1 if you have the <signal.h> header file. */
#undef HAVE_SIGNAL_H #undef HAVE_SIGNAL_H
/* Define to 1 if you have the `sinhq' function. */
#undef HAVE_SINHQ
/* Define to 1 if you have the `sinq' function. */
#undef HAVE_SINQ
/* Define to 1 if you have the `snprintf' function. */ /* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF #undef HAVE_SNPRINTF
/* Define to 1 if you have the <spawn.h> header file. */ /* Define to 1 if you have the <spawn.h> header file. */
#undef HAVE_SPAWN_H #undef HAVE_SPAWN_H
/* Define to 1 if you have the `sqrtq' function. */
#undef HAVE_SQRTQ
/* ssl support */ /* ssl support */
#undef HAVE_SSL #undef HAVE_SSL
@ -385,9 +334,6 @@
/* Define to 1 if you have the <string.h> header file. */ /* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H #undef HAVE_STRING_H
/* Define to 1 if you have the `strtoflt128' function. */
#undef HAVE_STRTOFLT128
/* Define to 1 if `d_type' is a member of `struct dirent'. */ /* Define to 1 if `d_type' is a member of `struct dirent'. */
#undef HAVE_STRUCT_DIRENT_D_TYPE #undef HAVE_STRUCT_DIRENT_D_TYPE
@ -495,12 +441,6 @@
/* Define to 1 if you have the <sys/wait.h> header file. */ /* Define to 1 if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H #undef HAVE_SYS_WAIT_H
/* Define to 1 if you have the `tanhq' function. */
#undef HAVE_TANHQ
/* Define to 1 if you have the `tanq' function. */
#undef HAVE_TANQ
/* Define to 1 if you have the `timegm' function. */ /* Define to 1 if you have the `timegm' function. */
#undef HAVE_TIMEGM #undef HAVE_TIMEGM