summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-11-18 23:00:31 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-11-18 23:00:31 +0200
commit6f3612539c425da2bc1d34db621696e6a273b01c (patch)
tree9623b3ac2c54a93e5eed3be2b1dda7f4e4bf0e47 /configure
parent4e3701015635401df2fc4da58abaab7645f4ebd3 (diff)
downloadgawk-6f3612539c425da2bc1d34db621696e6a273b01c.tar.gz
Bring latest byte code gawk into git. Hurray!
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure118
1 files changed, 92 insertions, 26 deletions
diff --git a/configure b/configure
index e084dc92..25e74436 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for GNU Awk 3.1.70.
+# Generated by GNU Autoconf 2.65 for GNU Awk 3.1.76.
#
# Report bugs to <bug-gawk@gnu.org>.
#
@@ -552,8 +552,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='GNU Awk'
PACKAGE_TARNAME='gawk'
-PACKAGE_VERSION='3.1.70'
-PACKAGE_STRING='GNU Awk 3.1.70'
+PACKAGE_VERSION='3.1.76'
+PACKAGE_STRING='GNU Awk 3.1.76'
PACKAGE_BUGREPORT='bug-gawk@gnu.org'
PACKAGE_URL='http://www.gnu.org/software/gawk/'
@@ -599,6 +599,7 @@ ac_func_list=
ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
+LIBREADLINE
SOCKET_LIBS
LIBSIGSEGV_PREFIX
LTLIBSIGSEGV
@@ -718,7 +719,6 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
-enable_portals
with_whiny_user_strftime
enable_lint
enable_dependency_tracking
@@ -729,6 +729,7 @@ enable_rpath
with_libiconv_prefix
with_libintl_prefix
with_libsigsegv_prefix
+with_readline
'
ac_precious_vars='build_alias
host_alias
@@ -1282,7 +1283,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures GNU Awk 3.1.70 to adapt to many kinds of systems.
+\`configure' configures GNU Awk 3.1.76 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1352,7 +1353,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of GNU Awk 3.1.70:";;
+ short | recursive ) echo "Configuration of GNU Awk 3.1.76:";;
esac
cat <<\_ACEOF
@@ -1360,7 +1361,6 @@ Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-portals Enable /p as path prefix for portals
--disable-lint Disable gawk lint checking
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
@@ -1379,6 +1379,7 @@ Optional Packages:
--without-libintl-prefix don't search for libintl in includedir and libdir
--with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib
--without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir
+ --with-readline=DIR look for the readline library in DIR
Some influential environment variables:
CC C compiler command
@@ -1463,7 +1464,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-GNU Awk configure 3.1.70
+GNU Awk configure 3.1.76
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2162,7 +2163,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by GNU Awk $as_me 3.1.70, which was
+It was created by GNU Awk $as_me 3.1.76, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
@@ -2990,7 +2991,7 @@ fi
# Define the identity of the package.
PACKAGE='gawk'
- VERSION='3.1.70'
+ VERSION='3.1.76'
cat >>confdefs.h <<_ACEOF
@@ -3033,17 +3034,6 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
-# Check whether --enable-portals was given.
-if test "${enable_portals+set}" = set; then :
- enableval=$enable_portals; if test "$enableval" = yes
- then
-
-$as_echo "#define HAVE_PORTALS 1" >>confdefs.h
-
- fi
-
-fi
-
# Check whether --with-whiny-user-strftime was given.
if test "${with_whiny_user_strftime+set}" = set; then :
@@ -5505,8 +5495,8 @@ $as_echo_n "checking for z/OS USS compilation... " >&6; }
if test "OS/390" = "`uname`"
then
CFLAGS="$CFLAGS -D_ALL_SOURCE -DZOS_USS -DUSE_EBCDIC"
- # Must rebuild awkgram.c from Bison for EBCDIC
- rm -f awkgram.c
+ # Must rebuild awkgram.c and command.c from Bison for EBCDIC
+ rm -f awkgram.c command.c
ac_cv_zos_uss=yes
else
ac_cv_zos_uss=no
@@ -9756,7 +9746,7 @@ esac
for ac_func in atexit btowc fmod getgrent getgroups grantpt \
isascii iswctype iswlower iswupper mbrlen \
memcmp memcpy memcpy_ulong memmove memset \
- memset_ulong mkstemp setlocale snprintf strchr \
+ memset_ulong mkstemp setenv setlocale snprintf strchr \
strerror strftime strncasecmp strtod strtoul \
system tmpfile towlower towupper tzset usleep wcrtomb \
wcscoll wcscoll wctype
@@ -10122,6 +10112,82 @@ $as_echo "#define HAVE_SOCKETS 1" >>confdefs.h
fi
+
+
+# Check whether --with-readline was given.
+if test "${with_readline+set}" = set; then :
+ withval=$with_readline; _do_readline=$withval
+else
+ _do_readline=yes
+fi
+
+
+ if test "$_do_readline" != "no" ; then
+ if test -d "$withval" ; then
+ CPPFLAGS="${CPPFLAGS} -I$withval/include"
+ LDFLAGS="${LDFLAGS} -L$withval/lib"
+ fi
+
+ for _termcap in "" "-ltermcap" "-lcurses" "-lncurses" ; do
+ _readline_save_libs=$LIBS
+ _combo="-lreadline${_termcap:+ $_termcap}"
+ LIBS="$LIBS $_combo"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline via \"$_combo\" is present and sane" >&5
+$as_echo_n "checking whether readline via \"$_combo\" is present and sane... " >&6; }
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <stdio.h>
+#include <readline/readline.h>
+#include <readline/history.h>
+
+int
+main ()
+{
+
+rl_completion_func_t *completer;
+add_history("foobar");
+rl_catch_signals=0;
+rl_inhibit_completion=0;
+rl_attempted_completion_function=NULL;
+rl_completion_matches(NULL,NULL);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ _found_readline=yes
+else
+ _found_readline=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_found_readline" >&5
+$as_echo "$_found_readline" >&6; }
+
+ LIBS=$_readline_save_libs
+
+ if test $_found_readline = yes ; then
+
+$as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
+
+ LIBREADLINE=$_combo
+
+ break
+ fi
+ done
+
+ unset _termcap
+ unset _readline_save_libs
+ unset _combo
+ unset _found_readline
+ fi
+
+
ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
@@ -11033,7 +11099,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by GNU Awk $as_me 3.1.70, which was
+This file was extended by GNU Awk $as_me 3.1.76, which was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -11101,7 +11167,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-GNU Awk config.status 3.1.70
+GNU Awk config.status 3.1.76
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"