1323
1324
# Omit some internal or obsolete options to make the list less imposing.
1324
1325
# This message is too long to be a string in the A/UX 3.1 sh.
1326
\`configure' configures GNU Awk 4.1.0 to adapt to many kinds of systems.
1327
\`configure' configures GNU Awk 4.1.60 to adapt to many kinds of systems.
1328
1329
Usage: $0 [OPTION]... [VAR=VALUE]...
1411
1412
--disable-largefile omit support for large files
1412
1413
--disable-nls do not use Native Language Support
1413
1414
--disable-rpath do not hardcode runtime library paths
1415
--disable-extensions disable dynamic extensions (default is detect)
1415
1417
Optional Packages:
1416
1418
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2219
2221
This file contains any messages produced by compilers while
2220
2222
running configure, to aid debugging if configure makes a mistake.
2222
It was created by GNU Awk $as_me 4.1.0, which was
2224
It was created by GNU Awk $as_me 4.1.60, which was
2223
2225
generated by GNU Autoconf 2.69. Invocation command line was
3185
# Make sure we can run config.sub.
3186
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3187
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3190
$as_echo_n "checking build system type... " >&6; }
3191
if ${ac_cv_build+:} false; then :
3192
$as_echo_n "(cached) " >&6
3194
ac_build_alias=$build_alias
3195
test "x$ac_build_alias" = x &&
3196
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3197
test "x$ac_build_alias" = x &&
3198
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3199
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3200
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3204
$as_echo "$ac_cv_build" >&6; }
3205
case $ac_cv_build in
3207
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3210
ac_save_IFS=$IFS; IFS='-'
3216
# Remember, the first character of IFS is used to create $*,
3217
# except with old shells:
3220
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3224
$as_echo_n "checking host system type... " >&6; }
3225
if ${ac_cv_host+:} false; then :
3226
$as_echo_n "(cached) " >&6
3228
if test "x$host_alias" = x; then
3229
ac_cv_host=$ac_cv_build
3231
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3232
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3237
$as_echo "$ac_cv_host" >&6; }
3240
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3243
ac_save_IFS=$IFS; IFS='-'
3249
# Remember, the first character of IFS is used to create $*,
3250
# except with old shells:
3253
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3178
3256
DEPDIR="${am__leading_dot}deps"
3180
3258
ac_config_commands="$ac_config_commands depfiles"
6252
6330
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
6253
6331
prefix="$acl_save_prefix"
6255
# Make sure we can run config.sub.
6256
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6257
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6260
$as_echo_n "checking build system type... " >&6; }
6261
if ${ac_cv_build+:} false; then :
6262
$as_echo_n "(cached) " >&6
6264
ac_build_alias=$build_alias
6265
test "x$ac_build_alias" = x &&
6266
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6267
test "x$ac_build_alias" = x &&
6268
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6269
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6270
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6274
$as_echo "$ac_cv_build" >&6; }
6275
case $ac_cv_build in
6277
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6280
ac_save_IFS=$IFS; IFS='-'
6286
# Remember, the first character of IFS is used to create $*,
6287
# except with old shells:
6290
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6294
$as_echo_n "checking host system type... " >&6; }
6295
if ${ac_cv_host+:} false; then :
6296
$as_echo_n "(cached) " >&6
6298
if test "x$host_alias" = x; then
6299
ac_cv_host=$ac_cv_build
6301
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6302
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6307
$as_echo "$ac_cv_host" >&6; }
6310
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6313
ac_save_IFS=$IFS; IFS='-'
6319
# Remember, the first character of IFS is used to create $*,
6320
# except with old shells:
6323
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6327
6334
# Check whether --with-gnu-ld was given.
6328
6335
if test "${with_gnu_ld+set}" = set; then :
8983
for ac_func in vprintf
8985
ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
8986
if test "x$ac_cv_func_vprintf" = xyes; then :
8987
cat >>confdefs.h <<_ACEOF
8988
#define HAVE_VPRINTF 1
8991
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
8992
if test "x$ac_cv_func__doprnt" = xyes; then :
8994
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
10078
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
10062
# Check whether --enable-extensions was given.
10063
if test "${enable_extensions+set}" = set; then :
10064
enableval=$enable_extensions;
10067
if test "x$enable_extensions" != "xno"; then
10068
extensions_supported=no
10074
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
10079
10075
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10081
# Check this separately. Some systems have dlopen
10082
# in libc. Notably freebsd and cygwin.
10083
# HP-NSK has it in zrldsrl
10084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
10077
# Check this separately. Some systems have dlopen
10078
# in libc. Notably freebsd and cygwin.
10079
# HP-NSK has it in zrldsrl
10080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
10085
10081
$as_echo_n "checking for library containing dlopen... " >&6; }
10086
10082
if ${ac_cv_search_dlopen+:} false; then :
10087
10083
$as_echo_n "(cached) " >&6
10139
10135
gawk_have_dlopen=no
10142
# Only do DYNAMIC if we have the lib. z/OS (some versions) have
10143
# the header but not the lib, apparently
10144
if test "$gawk_have_dlopen" = yes
10138
# Only do DYNAMIC if we have the lib. z/OS (some versions) have
10139
# the header but not the lib, apparently
10140
if test "$gawk_have_dlopen" = yes
10142
extensions_supported=yes
10147
10144
$as_echo "#define DYNAMIC 1" >>confdefs.h
10149
# Add -export-dynamic for old extensions. Only works for GCC
10150
if test "$GCC" = yes &&
10151
uname | $EGREP -i 'linux|freebsd' > /dev/null
10153
LDFLAGS="$LDFLAGS -export-dynamic"
10146
# Add -export-dynamic for old extensions. Only works for GCC
10147
if test "$GCC" = yes; then
10150
LDFLAGS="$LDFLAGS -export-dynamic"
10162
if test "x$enable_extensions$extensions_supported" = "xyesno"; then
10163
as_fn_error $? "extension support requested, but unavailable" "$LINENO" 5
10165
enable_extensions=$extensions_supported
10163
case `(uname) 2> /dev/null` in
10164
*VMS*|*BeOS*|*OS/2*|*MS-DOS*)
10169
vms*|beos*|os2*|msdos)
10166
10171
$as_echo "#define GETPGRP_VOID 1" >>confdefs.h
10463
10469
LIBREADLINE=$_combo
10472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for history_list in -lreadline" >&5
10473
$as_echo_n "checking for history_list in -lreadline... " >&6; }
10474
if ${ac_cv_lib_readline_history_list+:} false; then :
10475
$as_echo_n "(cached) " >&6
10477
ac_check_lib_save_LIBS=$LIBS
10478
LIBS="-lreadline $_combo $LIBS"
10479
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480
/* end confdefs.h. */
10482
/* Override any GCC internal prototype to avoid an error.
10483
Use char because int might match the return type of a GCC
10484
builtin and then its argument prototype would still apply. */
10488
char history_list ();
10492
return history_list ();
10497
if ac_fn_c_try_link "$LINENO"; then :
10498
ac_cv_lib_readline_history_list=yes
10500
ac_cv_lib_readline_history_list=no
10502
rm -f core conftest.err conftest.$ac_objext \
10503
conftest$ac_exeext conftest.$ac_ext
10504
LIBS=$ac_check_lib_save_LIBS
10506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_history_list" >&5
10507
$as_echo "$ac_cv_lib_readline_history_list" >&6; }
10508
if test "x$ac_cv_lib_readline_history_list" = xyes; then :
10510
$as_echo "#define HAVE_HISTORY_LIST 1" >>confdefs.h
10940
10990
ac_config_files="$ac_config_files Makefile awklib/Makefile doc/Makefile po/Makefile.in test/Makefile"
10992
if test "x$enable_extensions" = "xyes"; then
10944
10995
subdirs="$subdirs extension"
10946
10998
cat >confcache <<\_ACEOF
10947
10999
# This file is a shell script that caches the results of configure
10948
11000
# tests run on this system so they can be shared between configure
11481
11533
# report actual input values of CONFIG_FILES etc. instead of their
11482
11534
# values after options handling.
11484
This file was extended by GNU Awk $as_me 4.1.0, which was
11536
This file was extended by GNU Awk $as_me 4.1.60, which was
11485
11537
generated by GNU Autoconf 2.69. Invocation command line was
11487
11539
CONFIG_FILES = $CONFIG_FILES
11549
11601
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11550
11602
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11551
11603
ac_cs_version="\\
11552
GNU Awk config.status 4.1.0
11604
GNU Awk config.status 4.1.60
11553
11605
configured by $0, generated by GNU Autoconf 2.69,
11554
11606
with options \\"\$ac_cs_config\\"
12340
12392
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12341
12393
test -z "$DEPDIR" && continue
12342
12394
am__include=`sed -n 's/^am__include = //p' < "$mf"`
12343
test -z "am__include" && continue
12395
test -z "$am__include" && continue
12344
12396
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12345
12397
# Find all dependency output files, they are included files with
12346
12398
# $(DEPDIR) in their names. We invoke sed twice because it is the