From 3eeff592ed736031456d4f74f8aa4d1be6647d65 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Sun, 15 Nov 2020 09:31:46 +0000 Subject: [PATCH] got rid of an unneeded config item --- moo/Makefile.in | 4 ++-- moo/configure | 42 ++++++++++++++++++------------------------ moo/configure.ac | 11 ----------- moo/lib/moo-cfg.h.in | 3 --- moo/mod/Makefile.in | 1 + moo/wasm/Makefile.in | 1 + 6 files changed, 22 insertions(+), 40 deletions(-) diff --git a/moo/Makefile.in b/moo/Makefile.in index 7155394..cb5e67a 100644 --- a/moo/Makefile.in +++ b/moo/Makefile.in @@ -165,8 +165,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/ac/ar-lib \ $(top_srcdir)/ac/compile $(top_srcdir)/ac/config.guess \ $(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \ $(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing ac/ar-lib \ - ac/compile ac/config.guess ac/config.sub ac/depcomp \ - ac/install-sh ac/ltmain.sh ac/missing + ac/compile ac/config.guess ac/config.sub ac/install-sh \ + ac/ltmain.sh ac/missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) diff --git a/moo/configure b/moo/configure index e809320..89f5ecb 100755 --- a/moo/configure +++ b/moo/configure @@ -771,6 +771,7 @@ infodir docdir oldincludedir includedir +runstatedir localstatedir sharedstatedir sysconfdir @@ -809,7 +810,6 @@ enable_experimental enable_debug enable_wide_char enable_full_liw -enable_fltmax enable_dynamic_module enable_static_module enable_libltdl @@ -868,6 +868,7 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' +runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1120,6 +1121,15 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1257,7 +1267,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir + libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1410,6 +1420,7 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1467,8 +1478,6 @@ Optional Features: (default. yes) --enable-full-liw Use a full word as a large integer word (default. no) - --enable-awk-fltmax use hawk_fltmax_t for floating-point numbers - (default. no) --enable-dynamic-module enable dynamic module capability(default. yes) --enable-static-module build modules statically into the main library(default. no) @@ -13259,7 +13268,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -13305,7 +13314,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -13329,7 +13338,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -13374,7 +13383,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -13398,7 +13407,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -17959,21 +17968,6 @@ $as_echo "#define MOO_ENABLE_FULL_LIW 1" >>confdefs.h fi -# Check whether --enable-fltmax was given. -if test "${enable_fltmax+set}" = set; then : - enableval=$enable_fltmax; enable_fltmax_is=$enableval -else - enable_fltmax_is=no - -fi - -if test "${enable_fltmax_is}" = "yes" -then - -$as_echo "#define MOO_USE_FLTMAX /**/" >>confdefs.h - -fi - # Check whether --enable-dynamic-module was given. if test "${enable_dynamic_module+set}" = set; then : enableval=$enable_dynamic_module; enable_dynamic_module_is=$enableval diff --git a/moo/configure.ac b/moo/configure.ac index 949f67c..606bcf2 100644 --- a/moo/configure.ac +++ b/moo/configure.ac @@ -711,17 +711,6 @@ then AC_DEFINE([MOO_ENABLE_FULL_LIW],[1],[Use a full word as a large integer word]) fi -dnl ===== enable-fltmax ===== -AC_ARG_ENABLE([fltmax], - [AS_HELP_STRING([--enable-awk-fltmax],[use hawk_fltmax_t for floating-point numbers (default. no)])], - enable_fltmax_is=$enableval, - enable_fltmax_is=no -) -if test "${enable_fltmax_is}" = "yes" -then - AC_DEFINE([MOO_USE_FLTMAX],[],[use hawk_fltmax_t for floating-point numbers]) -fi - dnl ===== enable-dynamic-module ===== AC_ARG_ENABLE([dynamic-module], [AS_HELP_STRING([--enable-dynamic-module],[enable dynamic module capability(default. yes)])], diff --git a/moo/lib/moo-cfg.h.in b/moo/lib/moo-cfg.h.in index 7b9c0a3..5f62bde 100644 --- a/moo/lib/moo-cfg.h.in +++ b/moo/lib/moo-cfg.h.in @@ -501,9 +501,6 @@ /* Define if socklen_t is signed */ #undef MOO_SOCKLEN_T_IS_SIGNED -/* use hawk_fltmax_t for floating-point numbers */ -#undef MOO_USE_FLTMAX - /* Wide-character type size */ #undef MOO_WIDE_CHAR_SIZE diff --git a/moo/mod/Makefile.in b/moo/mod/Makefile.in index b4334a1..a0217b8 100644 --- a/moo/mod/Makefile.in +++ b/moo/mod/Makefile.in @@ -419,6 +419,7 @@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ diff --git a/moo/wasm/Makefile.in b/moo/wasm/Makefile.in index 68b17cb..f1757ae 100644 --- a/moo/wasm/Makefile.in +++ b/moo/wasm/Makefile.in @@ -251,6 +251,7 @@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@