aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--NEWS3
-rw-r--r--configh.in3
-rwxr-xr-xconfigure13
-rw-r--r--configure.ac6
-rw-r--r--pc/config.h6
6 files changed, 37 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d92e23af..71ef7105 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,12 @@
* awkgram.y (check_for_bad): Bitwise-and the bad character with 0xFF
to avoid sign extension into a large integer.
+ Unrelated:
+
+ * configure.ac: Add an option to enable locale letters in identifiers.
+ Undocumented and subject to being rescinded at any time in the future.
+ * NEWS: Mention to look at configure --help.
+
2014-09-23 Arnold D. Robbins <arnold@skeeve.com>
* awkgram.y (yylex): Don't check for junk characters inside
diff --git a/NEWS b/NEWS
index 4e045760..2b921d51 100644
--- a/NEWS
+++ b/NEWS
@@ -27,6 +27,9 @@ Changes from 4.1.1 to 4.1.2
beside those of the English alphabet in identifiers. This has
been fixed. (isalpha and isalnum are NOT our friends.)
+ If you feel that you must have this misfeature, use `configure --help'
+ to see what option to use when configuring gawk to reenable it.
+
XX. A number of bugs have been fixed. See the ChangeLog.
Changes from 4.1.0 to 4.1.1
diff --git a/configh.in b/configh.in
index 90924526..7ef6678d 100644
--- a/configh.in
+++ b/configh.in
@@ -320,6 +320,9 @@
/* Define to 1 if the system has the type `_Bool'. */
#undef HAVE__BOOL
+/* enable severe portability problems */
+#undef I_DONT_KNOW_WHAT_IM_DOING
+
/* libc is broken for regex handling */
#undef LIBC_IS_BORKED
diff --git a/configure b/configure
index b59d9355..44b420ba 100755
--- a/configure
+++ b/configure
@@ -761,6 +761,7 @@ enable_option_checking
enable_silent_rules
with_whiny_user_strftime
enable_lint
+enable_severe_portability_problems
enable_dependency_tracking
enable_largefile
enable_nls
@@ -1405,6 +1406,7 @@ 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 Disable gawk lint checking
+ --enable-severe-portability-problems Enable really nasty portability problems
--enable-dependency-tracking
do not reject slow dependency extractors
--disable-dependency-tracking
@@ -3181,6 +3183,17 @@ $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
+
# Make sure we can run config.sub.
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
diff --git a/configure.ac b/configure.ac
index 5ad3b564..55ca72de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,12 @@ AC_ARG_ENABLE([lint], [ --disable-lint Disable gawk lint checking],
AC_DEFINE(NO_LINT, 1, [disable lint checks])
fi
)
+AC_ARG_ENABLE([severe-portability-problems], [ --enable-severe-portability-problems Enable really nasty portability problems],
+ if test "$enableval" = yes
+ then
+ AC_DEFINE(I_DONT_KNOW_WHAT_IM_DOING, 1, [enable severe portability problems])
+ fi
+)
AC_CANONICAL_HOST
AC_USE_SYSTEM_EXTENSIONS
diff --git a/pc/config.h b/pc/config.h
index 85389eb2..04024007 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -242,6 +242,9 @@
#define HAVE_STDLIB_H 1
#endif
+/* Define to 1 if you have the `strcasecmp' function. */
+#undef HAVE_STRCASECMP
+
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
@@ -407,6 +410,9 @@
/* Define to 1 if the system has the type `_Bool'. */
#undef HAVE__BOOL
+/* enable severe portability problems */
+#undef I_DONT_KNOW_WHAT_IM_DOING
+
/* libc is broken for regex handling */
#undef LIBC_IS_BORKED