aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog15
-rw-r--r--ChangeLog.02
-rw-r--r--NEWS8
-rw-r--r--awkgram.c4
-rw-r--r--awkgram.y4
-rw-r--r--configh.in6
-rwxr-xr-xconfigure30
-rw-r--r--configure.ac16
-rw-r--r--custom.h5
-rw-r--r--doc/ChangeLog7
-rw-r--r--doc/gawk.info114
-rw-r--r--doc/gawk.texi6
-rw-r--r--doc/gawktexi.in6
13 files changed, 83 insertions, 140 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c322124..4686e41a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-10-10 Arnold D. Robbins <arnold@skeeve.com>
+
+ * configure.ac: Remove --with-whiny-user-strftime option.
+ * NEWS: Updated.
+ * ChangeLog.0: Fix a typo. :-)
+
2017-10-08 Arnold D. Robbins <arnold@skeeve.com>
* command.y: Fix the FSF's address.
@@ -17,6 +23,14 @@
2017-10-02 Arnold D. Robbins <arnold@skeeve.com>
+ Undo change of 2014-09-07:
+
+ * configure.ac: Remove the undocumented option to enable locale
+ letters in identifiers.
+ * awkgram.y (is_alpha): Remove related code.
+
+2017-10-02 Arnold D. Robbins <arnold@skeeve.com>
+
* config.guess, config.sub: Updated.
2017-09-28 Arnold D. Robbins <arnold@skeeve.com>
@@ -3705,6 +3719,7 @@
* configure.ac: Add an option to enable locale letters in identifiers.
Undocumented and subject to being rescinded at any time in the future.
+ * awkgram.y (is_alpha): Actual code is here.
* NEWS: Mention to look at configure --help.
Unrelated:
diff --git a/ChangeLog.0 b/ChangeLog.0
index af6bd99f..595442d4 100644
--- a/ChangeLog.0
+++ b/ChangeLog.0
@@ -7020,7 +7020,7 @@ Tue Dec 4 17:54:30 2001 Arnold D. Robbins <arnold@skeeve.com>
* configure.in (AC_ARG_WITH): Add appropriate code for autoconf.
* accondig.h (USE_INCLUDED_STRFTIME): Add #undef for it.
- * custom.h (USE_INCLUDED_STRFTIME): Set things up write.
+ * custom.h (USE_INCLUDED_STRFTIME): Set things up right.
Tue Dec 4 16:44:07 2001 Andreas Buening <andreas.buening@nexgo.de>
diff --git a/NEWS b/NEWS
index 2e84ee1d..bcc24091 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,14 @@
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
+Changes from 4.2.0 to 5.0.0
+---------------------------
+
+1. The undocumented configure option and code that enabled the use of
+ non-English "letters" in identifiers is now gone.
+
+2. The `--with-whiny-user-strftime' configuration option is now gone.
+
Changes from 4.1.4 to 4.2.0
---------------------------
diff --git a/awkgram.c b/awkgram.c
index 97b59706..0c52841e 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -8702,9 +8702,6 @@ install_builtins(void)
bool
is_alpha(int c)
{
-#ifdef I_DONT_KNOW_WHAT_IM_DOING
- return isalpha(c);
-#else /* ! I_DONT_KNOW_WHAT_IM_DOING */
switch (c) {
case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
case 'g': case 'h': case 'i': case 'j': case 'k': case 'l':
@@ -8719,7 +8716,6 @@ is_alpha(int c)
return true;
}
return false;
-#endif /* ! I_DONT_KNOW_WHAT_IM_DOING */
}
/* is_alnum --- return true for alphanumeric, English only letters */
diff --git a/awkgram.y b/awkgram.y
index 1a75e641..f8b3035d 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -6282,9 +6282,6 @@ install_builtins(void)
bool
is_alpha(int c)
{
-#ifdef I_DONT_KNOW_WHAT_IM_DOING
- return isalpha(c);
-#else /* ! I_DONT_KNOW_WHAT_IM_DOING */
switch (c) {
case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
case 'g': case 'h': case 'i': case 'j': case 'k': case 'l':
@@ -6299,7 +6296,6 @@ is_alpha(int c)
return true;
}
return false;
-#endif /* ! I_DONT_KNOW_WHAT_IM_DOING */
}
/* is_alnum --- return true for alphanumeric, English only letters */
diff --git a/configh.in b/configh.in
index e6000054..4ac4461a 100644
--- a/configh.in
+++ b/configh.in
@@ -341,9 +341,6 @@
/* Define to 1 if you have the `__etoa_l' function. */
#undef HAVE___ETOA_L
-/* enable severe portability problems */
-#undef I_DONT_KNOW_WHAT_IM_DOING
-
/* disable lint checks */
#undef NO_LINT
@@ -395,9 +392,6 @@
/* Define to 1 if the character set is EBCDIC */
#undef USE_EBCDIC
-/* force use of our version of strftime */
-#undef USE_INCLUDED_STRFTIME
-
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
diff --git a/configure b/configure
index d4f49bb7..b4563e04 100755
--- a/configure
+++ b/configure
@@ -763,9 +763,7 @@ ac_subst_files=''
ac_user_opts='
enable_option_checking
enable_silent_rules
-with_whiny_user_strftime
enable_lint
-enable_severe_portability_problems
enable_builtin_intdiv0
enable_mpfr
enable_dependency_tracking
@@ -1412,8 +1410,6 @@ Optional Features:
--enable-silent-rules less verbose build output (undo: "make V=1")
--disable-silent-rules verbose build output (undo: "make V=0")
--disable-lint do not compile in gawk lint checking
- --enable-severe-portability-problems
- allow really nasty portability problems
--enable-builtin-intdiv0
enable built-in intdiv0 function
--disable-mpfr do not check for MPFR
@@ -1429,9 +1425,6 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-whiny-user-strftime
- force use of included version of strftime for
- deficient systems
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
--without-libiconv-prefix don't search for libiconv in includedir and libdir
@@ -3214,18 +3207,6 @@ fi
-
-# Check whether --with-whiny-user-strftime was given.
-if test "${with_whiny_user_strftime+set}" = set; then :
- withval=$with_whiny_user_strftime; if test "$withval" = yes
- then
-
-$as_echo "#define USE_INCLUDED_STRFTIME 1" >>confdefs.h
-
- fi
-
-fi
-
# Check whether --enable-lint was given.
if test "${enable_lint+set}" = set; then :
enableval=$enable_lint; if test "$enableval" = no
@@ -3237,17 +3218,6 @@ $as_echo "#define NO_LINT 1" >>confdefs.h
fi
-# Check whether --enable-severe-portability-problems was given.
-if test "${enable_severe_portability_problems+set}" = set; then :
- enableval=$enable_severe_portability_problems; if test "$enableval" = yes
- then
-
-$as_echo "#define I_DONT_KNOW_WHAT_IM_DOING 1" >>confdefs.h
-
- fi
-
-fi
-
# Check whether --enable-builtin-intdiv0 was given.
if test "${enable_builtin_intdiv0+set}" = set; then :
enableval=$enable_builtin_intdiv0; if test "$enableval" = yes
diff --git a/configure.ac b/configure.ac
index 53bbaa47..d7a66c84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,15 +44,6 @@ AM_INIT_AUTOMAKE([1.15 dist-xz dist-lzip])
AC_CONFIG_MACRO_DIR([m4])
-dnl Additional argument stuff
-AC_ARG_WITH(whiny-user-strftime,
- [AS_HELP_STRING([--with-whiny-user-strftime], [force use of included version of strftime for deficient systems])],
- if test "$withval" = yes
- then
- AC_DEFINE(USE_INCLUDED_STRFTIME, 1,
- [force use of our version of strftime])
- fi
-)
AC_ARG_ENABLE([lint],
[AS_HELP_STRING([--disable-lint],[do not compile in gawk lint checking])],
if test "$enableval" = no
@@ -60,13 +51,6 @@ AC_ARG_ENABLE([lint],
AC_DEFINE(NO_LINT, 1, [disable lint checks])
fi
)
-AC_ARG_ENABLE([severe-portability-problems],
- [AS_HELP_STRING([--enable-severe-portability-problems],[allow really nasty portability problems])],
- if test "$enableval" = yes
- then
- AC_DEFINE(I_DONT_KNOW_WHAT_IM_DOING, 1, [enable severe portability problems])
- fi
-)
AC_ARG_ENABLE([builtin-intdiv0],
[AS_HELP_STRING([--enable-builtin-intdiv0],[enable built-in intdiv0 function])],
if test "$enableval" = yes
diff --git a/custom.h b/custom.h
index 90fd1f63..ef330167 100644
--- a/custom.h
+++ b/custom.h
@@ -48,11 +48,6 @@
#define HAVE_MKTIME 1
#endif
-/* For whiny users */
-#ifdef USE_INCLUDED_STRFTIME
-#undef HAVE_STRFTIME
-#endif
-
/* For HP/UX with gcc */
#if defined(hpux) || defined(_HPUX_SOURCE)
#undef HAVE_TZSET
diff --git a/doc/ChangeLog b/doc/ChangeLog
index dca86df1..1371bd9b 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -4,7 +4,12 @@
function to be syntactically and semantically correct. Thanks to
Jaromir Obr <jaromir.obr@gmail.com> for the report.
(POSIX String Comparison): Add some URL references in @ignore.
-
+
+ Unrelated:
+
+ * gawktexi.in: Remove description of --with-whiny-user-strftime
+ configuration option.
+
2017-10-08 Andrew J. Schorr <aschorr@telemetry-investments.com>
* gawktexi.in: Fix discussion of AWKPATH in section on @include.
diff --git a/doc/gawk.info b/doc/gawk.info
index 6b826cc2..18cc047b 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -28933,10 +28933,6 @@ command line when compiling 'gawk' from scratch, including:
desirable, but it may bring you some slight performance
improvement.
-'--with-whiny-user-strftime'
- Force use of the included version of the C 'strftime()' function
- for deficient systems.
-
Use the command './configure --help' to see the full list of options
supplied by 'configure'.
@@ -32877,8 +32873,6 @@ Index
* --traditional option, --posix option and: Options. (line 286)
* --use-lc-numeric option: Options. (line 232)
* --version option: Options. (line 318)
-* --with-whiny-user-strftime configuration option: Additional Configuration Options.
- (line 42)
* -b option: Options. (line 69)
* -c option: Options. (line 82)
* -C option: Options. (line 89)
@@ -33582,8 +33576,6 @@ Index
(line 32)
* configuration option, --disable-nls: Additional Configuration Options.
(line 37)
-* configuration option, --with-whiny-user-strftime: Additional Configuration Options.
- (line 42)
* configuration options, gawk: Additional Configuration Options.
(line 6)
* constant regexps: Regexp Usage. (line 57)
@@ -36409,58 +36401,58 @@ Node: Unix Installation1161877
Node: Quick Installation1162559
Node: Shell Startup Files1164973
Node: Additional Configuration Options1166062
-Node: Configuration Philosophy1168051
-Node: Non-Unix Installation1170420
-Node: PC Installation1170880
-Node: PC Binary Installation1171718
-Node: PC Compiling1172153
-Node: PC Using1173270
-Node: Cygwin1176315
-Node: MSYS1177085
-Node: VMS Installation1177586
-Node: VMS Compilation1178377
-Ref: VMS Compilation-Footnote-11179606
-Node: VMS Dynamic Extensions1179664
-Node: VMS Installation Details1181349
-Node: VMS Running1183602
-Node: VMS GNV1187881
-Node: VMS Old Gawk1188616
-Node: Bugs1189087
-Node: Bug address1189750
-Node: Usenet1192542
-Node: Maintainers1193319
-Node: Other Versions1194580
-Node: Installation summary1201375
-Node: Notes1202577
-Node: Compatibility Mode1203442
-Node: Additions1204224
-Node: Accessing The Source1205149
-Node: Adding Code1206586
-Node: New Ports1212805
-Node: Derived Files1217293
-Ref: Derived Files-Footnote-11222939
-Ref: Derived Files-Footnote-21222974
-Ref: Derived Files-Footnote-31223572
-Node: Future Extensions1223686
-Node: Implementation Limitations1224344
-Node: Extension Design1225527
-Node: Old Extension Problems1226681
-Ref: Old Extension Problems-Footnote-11228199
-Node: Extension New Mechanism Goals1228256
-Ref: Extension New Mechanism Goals-Footnote-11231620
-Node: Extension Other Design Decisions1231809
-Node: Extension Future Growth1233922
-Node: Old Extension Mechanism1234758
-Node: Notes summary1236521
-Node: Basic Concepts1237703
-Node: Basic High Level1238384
-Ref: figure-general-flow1238666
-Ref: figure-process-flow1239351
-Ref: Basic High Level-Footnote-11242652
-Node: Basic Data Typing1242837
-Node: Glossary1246165
-Node: Copying1278115
-Node: GNU Free Documentation License1315654
-Node: Index1340772
+Node: Configuration Philosophy1167923
+Node: Non-Unix Installation1170292
+Node: PC Installation1170752
+Node: PC Binary Installation1171590
+Node: PC Compiling1172025
+Node: PC Using1173142
+Node: Cygwin1176187
+Node: MSYS1176957
+Node: VMS Installation1177458
+Node: VMS Compilation1178249
+Ref: VMS Compilation-Footnote-11179478
+Node: VMS Dynamic Extensions1179536
+Node: VMS Installation Details1181221
+Node: VMS Running1183474
+Node: VMS GNV1187753
+Node: VMS Old Gawk1188488
+Node: Bugs1188959
+Node: Bug address1189622
+Node: Usenet1192414
+Node: Maintainers1193191
+Node: Other Versions1194452
+Node: Installation summary1201247
+Node: Notes1202449
+Node: Compatibility Mode1203314
+Node: Additions1204096
+Node: Accessing The Source1205021
+Node: Adding Code1206458
+Node: New Ports1212677
+Node: Derived Files1217165
+Ref: Derived Files-Footnote-11222811
+Ref: Derived Files-Footnote-21222846
+Ref: Derived Files-Footnote-31223444
+Node: Future Extensions1223558
+Node: Implementation Limitations1224216
+Node: Extension Design1225399
+Node: Old Extension Problems1226553
+Ref: Old Extension Problems-Footnote-11228071
+Node: Extension New Mechanism Goals1228128
+Ref: Extension New Mechanism Goals-Footnote-11231492
+Node: Extension Other Design Decisions1231681
+Node: Extension Future Growth1233794
+Node: Old Extension Mechanism1234630
+Node: Notes summary1236393
+Node: Basic Concepts1237575
+Node: Basic High Level1238256
+Ref: figure-general-flow1238538
+Ref: figure-process-flow1239223
+Ref: Basic High Level-Footnote-11242524
+Node: Basic Data Typing1242709
+Node: Glossary1246037
+Node: Copying1277987
+Node: GNU Free Documentation License1315526
+Node: Index1340644

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index e1eea073..bb5aee3c 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -39278,12 +39278,6 @@ MPFR support is not available.
Disable all message-translation facilities.
This is usually not desirable, but it may bring you some slight performance
improvement.
-
-@cindex @option{--with-whiny-user-strftime} configuration option
-@cindex configuration option, @code{--with-whiny-user-strftime}
-@item --with-whiny-user-strftime
-Force use of the included version of the C @code{strftime()}
-function for deficient systems.
@end table
Use the command @samp{./configure --help} to see the full list of
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index cbc28419..1d7543e3 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -38292,12 +38292,6 @@ MPFR support is not available.
Disable all message-translation facilities.
This is usually not desirable, but it may bring you some slight performance
improvement.
-
-@cindex @option{--with-whiny-user-strftime} configuration option
-@cindex configuration option, @code{--with-whiny-user-strftime}
-@item --with-whiny-user-strftime
-Force use of the included version of the C @code{strftime()}
-function for deficient systems.
@end table
Use the command @samp{./configure --help} to see the full list of